Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71492

Postprocessing hangs for minutes between "Successfully processed file" and "Post processing issues"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-ng-plugin
    • None
    • Windows Server 2019, Java 17, Jenkins LTS 2.401.1

      Hello we have the problem that the NG-warnings plugin hangs for 5+ minutes between these two log lines for each tool it processes.
       
      00:00:08.015 [PMD] -> found 1 file
      00:00:08.015 [PMD] Successfully parsed file E.\...\src\target\pmd.xml
      00:00:08.015 [PMD] -> found 47 issues (skipped 0 duplicates)
      00:00:08.016 [PMD] Successfully processed file '\src\target\pmd.xml'
      00:08:01.389 [PMD] Post processing issues on 'Master' with source code encoding 'UTF-8'
      It doesn't seem to matter which tool we use. (PMD, JUnit, CPPcheck, CheckStyle) or how many issues are in the report. They all show the same behavior and block our build.

      During the hang, the Jenkins process is permanently utilizing one CPU core.

      Unfortunately, I have no idea what is happening during these two log lines.

      So far I have tried:

      • Tried all possible settings (free-job) from the plugin.
      • reloaded configurations
      • restarted Jenkins
      • "builds" folder of the job deleted
      • deleted the folder "fingerprints" in the Jenkins directory
      • In the report (which is analyzed) invalidated all paths to the source file so they can't be moved

      I think it has to do with our very large workspace (~19GiB, 200k files).
      But I don't understand why, because only the files in the reports should be touched (single digit number).

      In a small job the problem does not occur but there we see that even with a full path (without wildcards) the file is parsed three times. (See attachment)
      This also seems unnecessary to me.

      Can you give me tips on how to further isolate the problem?

            drulli Ulli Hafner
            martinbauer Martin Bauer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: