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

Archive the artifacts fails, still build successful

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Windows XP, Windows 2003 Server (probably all Windows)

      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<------------------------------------

          [JENKINS-7140] Archive the artifacts fails, still build successful

          Harry G. created issue -
          nhofmeister made changes -
          Link New: This issue is related to JENKINS-11087 [ JENKINS-11087 ]
          nhofmeister made changes -
          Link New: This issue is related to JENKINS-7653 [ JENKINS-7653 ]
          nhofmeister made changes -
          Link New: This issue is related to JENKINS-2058 [ JENKINS-2058 ]
          Dima Korobskiy made changes -
          Link New: This issue is related to JENKINS-13920 [ JENKINS-13920 ]
          bap made changes -
          Link Original: This issue is related to JENKINS-13920 [ JENKINS-13920 ]
          Harry G. made changes -
          Description Original: When Copy 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<-------------------------------------
          New: 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<-------------------------------------
          Environment Original: Windows XP New: Windows XP, Windows 2003 Server (probably all Windows)
          Summary Original: Copy artifacts fails, still build successful New: Archive the artifacts fails, still build successful
          Jesse Glick made changes -
          Link Original: This issue is related to JENKINS-7653 [ JENKINS-7653 ]
          Jesse Glick made changes -
          Link Original: This issue is related to JENKINS-11087 [ JENKINS-11087 ]
          Jesse Glick made changes -
          Component/s Original: core [ 15593 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137237 ] New: JNJira + In-Review [ 174661 ]

            Unassigned Unassigned
            harrygg Harry G.
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: