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

Micro Focus Application Automation Tools - file descriptor leak

    Details

    • Similar Issues:

      Description

      At some point in time, with the increase in the number of builds on Jenkins, we faced a  "Too many open files" exception in Jenkins log.
      Analysis of lsof command output (lsof-jenkins.zip) showed that there are a lot of open files in some projects (Freestyle or Maven type)  created at build completion on Jenkins master with name:

      {$JENKINS_HOME}/jobs/test_project/builds/140/GetJUnitTestResults4300391778772244764.tmp 
      

      I found file with non zero size with the folowing content:

      $  cat GetJUnitTestResults1715785790472604747.tmp
      ▒▒ ♣sr Gcom.hpe.application.automation.tools.octane.tests.junit.JUnitTestResult▒▒▒▒▒▒▒  JdurationJ startedL     classNamet Ljava/lang/String;L ◄externalReportUrlq ~ L
      moduleNameq ~ L packageNameq ~ L ♠resultt JLcom/hpe/application/automation/tools/octane/tests/junit/TestResultStatus;L  testErrort CLcom/hpe/application/automation/tools/octane/tests/junit/TestErrorTestTryOrFailptp◄storage-test-coret  ~r Hcom.hpe.application.automation.tools.octane.tests.junit.TestResultStatus          xr java.lang.Enum          xpt ♠PASSEDsr Acom.hpe.application.automation.toTestTryOrFailpq~~x♠qi~.qe~tqr~ot▒♣test1sqL~rrorMsgq ♠ Le▒":{t   errorTypeq ~ L
      TestTryOrFailpq~~t♠qt~sq2~q ~         $  e▒":{t
      

      So I decided that hp-application-automation-tools-plugin leaves files opened after build finish.

      The graph shows number of opened files by jenkins process. The red line is when plugin turned off

       

        Attachments

          Activity

          brainsam Alexander Moiseenko created issue -
          gront Daniel Gront made changes -
          Field Original Value New Value
          Labels octane
          gront Daniel Gront made changes -
          Assignee Daniel Gront [ gront ] Michael Seldin [ mseldin ]
          awalls Alejandro Jurado Walls made changes -
          Comment [ Same problem here ]
          radislavb Radi Berkovich made changes -
          Assignee Michael Seldin [ mseldin ] Radi Berkovich [ radislavb ]
          radislavb Radi Berkovich made changes -
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          Resolution Fixed [ 1 ]
          radislavb Radi Berkovich made changes -
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

            • Assignee:
              radislavb Radi Berkovich
              Reporter:
              brainsam Alexander Moiseenko
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: