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

FATAL: Bad file descriptor while aggregating findbugs reports

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • findbugs-plugin
    • None
    • Platform: All, OS: Linux

      After build ends, while hudson is gathering findbugs reports and copying it from
      slave to master, following exception is thrown:

      java.io.IOException: Bad file descriptor

      More log output:

      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: **********************
      [INFO] Finished at: *********************
      [INFO] Final Memory: ********************
      [INFO] ------------------------------------------------------------------------
      Publishing Javadoc
      Recording test results
      [FINDBUGS] Collecting findbugs analysis files...
      [FINDBUGS] A total of 166 annotations have been found for priority HIGH
      [FINDBUGS] A total of 172 annotations have been found for priority NORMAL
      [FINDBUGS] A total of 111 annotations have been found for priority LOW
      FATAL: Bad file descriptor
      java.io.IOException: Bad file descriptor
      at java.io.FileOutputStream.writeBytes(Native Method)
      at java.io.FileOutputStream.write(FileOutputStream.java:247)
      at org.apache.commons.io.IOUtils.write(IOUtils.java:784)
      at
      hudson.plugins.findbugs.util.HealthAwarePublisher.copyFilesFromSlaveToMaster(HealthAwarePublisher.java:224)
      at
      hudson.plugins.findbugs.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:175)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)
      at hudson.model.Build$RunnerImpl.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
      at hudson.model.Run.run(Run.java:943)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

            drulli Ulli Hafner
            octo777 octo777
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: