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

          sverre_boschman Sverre Boschman created issue -
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Assignee Ulli Hafner [ drulli ] Sverre Boschman [ sverre_boschman ]
          drulli Ulli Hafner made changes -
          Released As https://github.com/jenkinsci/analysis-model/releases/tag/v9.3.1
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

            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: