Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13205

Warnings Next Generation plugin slows down build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 13.0.0.Dev03
    • Fix Version/s: 13.0.0.Dev04
    • Component/s: Build
    • Labels:
      None

      Description

      Recording all the warnings generated by Maven/Javac/Javadoc/Checkstyle/static analysis tools takes almost 1 hour, and it happens for every non-PR build.
      Even PR builds, which do not run the static analysis tools, take 20+ minutes to record the warnings from Maven/javac/Javadoc/Checkstyle.

      It's not clear what the plugin is doing all this time. Processing the Maven warnings is very fast

      23:31:45  [Maven] Successfully parsed console log
      23:31:45  [Maven] -> found 2577 issues (skipped 0 duplicates)
      23:31:45  [Maven] Parsing console log (workspace: '/home/infinispan/workspace/Infinispan_main')
      23:31:45  [Maven] Skipping post processing
      23:31:45  [Maven] No filter has been set, publishing all 2577 issues
      

      But processing the Java warnings from the same console log is not

      23:31:46  [Java Compiler] Sleeping for 5 seconds due to JENKINS-32191...
      23:31:51  [Java Compiler] Parsing console log (workspace: '/home/infinispan/workspace/Infinispan_main')
      23:31:52  [Java Compiler] Successfully parsed console log
      23:31:52  [Java Compiler] -> found 2527 issues (skipped 5458 duplicates)
      23:40:43  [Java Compiler] Post processing issues on 'rhos-infinispan-ci-3.localdomain' with source code encoding 'UTF-8'
      

        Attachments

          Activity

            People

            Assignee:
            dan.berindei Dan Berindei
            Reporter:
            dan.berindei Dan Berindei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: