Archive the artifacts fails, still build successful

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When Archive the Artifacts fails, e.g. when disk is full, still build is successful!
      This applies to the built-in "archive the artifacts" as well as to "archive for clone workspace SCM".

      Seems to be related to JENKINS-2058.

      Log output (sorry, partly in German; translations behind "--->")
      ----------------------------------8<------------------------------------
      Archiviere Artefakte ---> archiving artifacts
      ERROR: Artefakte konnten nicht archiviert werden: fooProject/** ---> artifacts could not be archived
      hudson.util.IOException2: Failed to copy C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\workspace/fooProject/** to C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\builds\2010-08-05_14-32-18\archive
      at hudson.FilePath$31.invoke(FilePath.java:1451)
      at hudson.FilePath$31.invoke(FilePath.java:1418)
      at hudson.FilePath.act(FilePath.java:753)
      at hudson.FilePath.act(FilePath.java:735)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:1418)
      at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1281)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)
      Caused by: Failed to copy C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\workspace\fooProject\fooBar\fooBarProject to C:\BuildRoot\Config\.hudson\jobs\fooProject-barBranch\builds\2010-08-05_14-32-18\archive\fooProject\fooBar\fooBarProject due to Es steht nicht genug Speicherplatz auf dem Datenträger zur VerfĂ¼gung
      ---> there isn't enough disk space available
      at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:853)
      at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java:1434)
      at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:523)
      at hudson.FilePath$31.invoke(FilePath.java:1448)
      ... 15 more
      Caused by: java.io.IOException: Es steht nicht genug Speicherplatz auf dem Datenträger zur VerfĂ¼gung
      ---> there isn't enough disk space available
      at sun.nio.ch.FileDispatcher.write0(Native Method)
      at sun.nio.ch.FileDispatcher.write(Unknown Source)
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
      at sun.nio.ch.IOUtil.write(Unknown Source)
      at sun.nio.ch.FileChannelImpl.write(Unknown Source)
      at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(Unknown Source)
      at sun.nio.ch.FileChannelImpl.transferTo(Unknown Source)
      at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:475)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:481)
      at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:310)
      at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:841)
      ... 18 more
      Notifying upstream projects of job completion
      Finished: SUCCESS
      ----------------------------------8<------------------------------------

            Assignee:
            Unassigned
            Reporter:
            Harry G.
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: