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

Leaking file descriptors with junitParser

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Ssince recently we are running in a 'too many open files' issue on our jnlp agent build nodes (the Jenkins server itself is fine). All the file descriptors 'leaking' are for the junit/surefire reports of our maven builds. Disabling the junitParser from the warnings-ng-plugin seems to resolve the issue.

      Browsing the code I wonder if there is a close call missing in the JunitAdapter count method (analysis model plugin: https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/parser/violations/JUnitAdapter.java#L45). Other calls to readStream seem to be wrapped in a try-with-resources, like https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/parser/AjcParser.java#L30.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            sverre_boschman Sverre Boschman
            Reporter:
            sverre_boschman Sverre Boschman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: