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

CompositeIOException is thrown and Multibranch pipeline fails to load organization repos

XMLWordPrintable

      Install a plugin "convert job to pipeline" with option "download and install later" that throws error "CompositeIOException" while downloading and after restart all the repos under our organization is gone... And also few of the already installed plugins like "github branch source" somehow moved to "available" tab of plugin manager indicating that it got uninstalled on its own... Also when tried to re install we get same "CompositeIOException" error stating the directory cannot be removed .

       
      One more point -
      This error "CompositeIOException" was also observed in job's publish html report step ( we don't archive for each build) since 2.157 release on January 6th.
       
      [htmlpublisher] Archiving HTML reports...
      [htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/WORKSPACE_NAME/reports to /var/lib/jenkins/jobs/JOB_NAME/htmlreports/*****
      FATAL: HTML Publisher failure
      java.io.IOException: Unable to delete '/var/lib/jenkins/jobs/JOB_NAME/htmlreports/REPORT_NAME'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      at jenkins.util.io.PathRemover.forceRemoveFile(PathRemover.java:75)
      at hudson.Util.deleteFile(Util.java:255)
      at hudson.FilePath.deleteRecursive(FilePath.java:1305)
      at hudson.FilePath.access$1600(FilePath.java:213)
      at hudson.FilePath$DeleteRecursive.invoke(FilePath.java:1274)
      at hudson.FilePath$DeleteRecursive.invoke(FilePath.java:1270)
      at hudson.FilePath.act(FilePath.java:1078)
      at hudson.FilePath.act(FilePath.java:1061)
      at hudson.FilePath.deleteRecursive(FilePath.java:1268)
      at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:285)
      at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:193)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1835)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Caused by: jenkins.util.io.CompositeIOException: Unable to remove directory

            jvz Matt Sicker
            mpreethi Preethi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: