hudson.util.IOException2: Failed to copy x:\xxx/xxx/xxx/xxx/, xxx.exe to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive

Jenkins JIRA | robsimon | 5 years ago
  1. 0

    The build times out due to some software issue which prevents the build to make certain files that should be archived in the end. There are two issues: 1) Even though the build is marked as failed its final status is ABORTED. That means the ball is grey instead of red. This might be caused by the second issue. 2) IOException while archiving files which due to a build error do not exist 00:21:07 Build timed out (after 120 minutes). Marking the build as failed. 00:21:07 Archiving artifacts 00:21:08 ERROR: Failed to archive artifacts: xxx/xxx/xxx/, xxx.exe 00:21:08 hudson.util.IOException2: Failed to copy x:\xxx/xxx/xxx/xxx/, xxx.exe to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive 00:21:08 at hudson.FilePath$31.invoke(FilePath.java:1526) 00:21:08 at hudson.FilePath$31.invoke(FilePath.java:1493) 00:21:08 at hudson.FilePath.act(FilePath.java:758) 00:21:08 at hudson.FilePath.act(FilePath.java:740) 00:21:08 at hudson.FilePath.copyRecursiveTo(FilePath.java:1493) 00:21:08 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117) 00:21:08 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:663) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616) 00:21:08 at hudson.model.Build$RunnerImpl.post2(Build.java:161) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:585) 00:21:08 at hudson.model.Run.run(Run.java:1399) 00:21:08 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:21:08 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:21:08 at hudson.model.Executor.run(Executor.java:145) 00:21:08 Caused by: Failed to copy x:\xxx\xxx\xxx\xxx\xxx\xxx\xxx.h to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive\xxx\xxx\xxx\xxx\xxx\xxx.h due to java.nio.channels.ClosedByInterruptException 00:21:08 at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:839) 00:21:08 at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java:1509) 00:21:08 at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:508) 00:21:08 at hudson.FilePath$31.invoke(FilePath.java:1523) 00:21:08 ... 15 more 00:21:08 Caused by: java.nio.channels.ClosedByInterruptException 00:21:08 at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184) 00:21:08 at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:304) 00:21:08 at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:466) 00:21:08 at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519) 00:21:08 at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:481) 00:21:08 at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:310) 00:21:08 at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:827) 00:21:08 ... 18 more 00:21:08 No emails were triggered. 00:21:08 Notifying upstream build xxx #70 of job completion 00:21:08 Project xxx still waiting for 1 builds to complete 00:21:08 Notifying upstream projects of job completion 00:21:08 Notifying upstream of completion: xxx #70 00:21:08 Finished: ABORTED

    Jenkins JIRA | 5 years ago | robsimon
    hudson.util.IOException2: Failed to copy x:\xxx/xxx/xxx/xxx/, xxx.exe to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive
  2. 0

    The build times out due to some software issue which prevents the build to make certain files that should be archived in the end. There are two issues: 1) Even though the build is marked as failed its final status is ABORTED. That means the ball is grey instead of red. This might be caused by the second issue. 2) IOException while archiving files which due to a build error do not exist 00:21:07 Build timed out (after 120 minutes). Marking the build as failed. 00:21:07 Archiving artifacts 00:21:08 ERROR: Failed to archive artifacts: xxx/xxx/xxx/, xxx.exe 00:21:08 hudson.util.IOException2: Failed to copy x:\xxx/xxx/xxx/xxx/, xxx.exe to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive 00:21:08 at hudson.FilePath$31.invoke(FilePath.java:1526) 00:21:08 at hudson.FilePath$31.invoke(FilePath.java:1493) 00:21:08 at hudson.FilePath.act(FilePath.java:758) 00:21:08 at hudson.FilePath.act(FilePath.java:740) 00:21:08 at hudson.FilePath.copyRecursiveTo(FilePath.java:1493) 00:21:08 at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117) 00:21:08 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:663) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616) 00:21:08 at hudson.model.Build$RunnerImpl.post2(Build.java:161) 00:21:08 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:585) 00:21:08 at hudson.model.Run.run(Run.java:1399) 00:21:08 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 00:21:08 at hudson.model.ResourceController.execute(ResourceController.java:88) 00:21:08 at hudson.model.Executor.run(Executor.java:145) 00:21:08 Caused by: Failed to copy x:\xxx\xxx\xxx\xxx\xxx\xxx\xxx.h to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive\xxx\xxx\xxx\xxx\xxx\xxx.h due to java.nio.channels.ClosedByInterruptException 00:21:08 at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:839) 00:21:08 at hudson.FilePath$31$1CopyImpl.doFileOperations(FilePath.java:1509) 00:21:08 at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:508) 00:21:08 at hudson.FilePath$31.invoke(FilePath.java:1523) 00:21:08 ... 15 more 00:21:08 Caused by: java.nio.channels.ClosedByInterruptException 00:21:08 at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:184) 00:21:08 at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:304) 00:21:08 at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:466) 00:21:08 at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519) 00:21:08 at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:481) 00:21:08 at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:310) 00:21:08 at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:827) 00:21:08 ... 18 more 00:21:08 No emails were triggered. 00:21:08 Notifying upstream build xxx #70 of job completion 00:21:08 Project xxx still waiting for 1 builds to complete 00:21:08 Notifying upstream projects of job completion 00:21:08 Notifying upstream of completion: xxx #70 00:21:08 Finished: ABORTED

    Jenkins JIRA | 5 years ago | robsimon
    hudson.util.IOException2: Failed to copy x:\xxx/xxx/xxx/xxx/, xxx.exe to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive
  3. 0

    Missing DTD File.

    GitHub | 3 years ago | Sharpek
    hudson.util.IOException2: Failed to read ...reports/coverage.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ant 1.9.3 and jenkins 1_539 installation issue

    Stack Overflow | 3 years ago | wadi3
    hudson.util.IOException2: Failed to install <a href="http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.3-bin.zip" rel="nofollow">http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.3-bin.zip</a> to /root/.jenkins/tools/hudson.tasks.Ant_AntInstallation/ant1.9.3
  6. 0

    java.hudson.devel - RE: Re: slave cannot connect to master (1.224) - msg#00254 - Recent Discussion OSDir.com

    osdir.com | 7 months ago
    hudson.util.IOException2: remote file operation failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.util.IOException2

      Failed to copy x:\xxx/xxx/xxx/xxx/, xxx.exe to x:\xxx\jobs\xxx\builds\2011-07-22_22-21-07\archive

      at hudson.FilePath$31.invoke()
    2. Hudson
      Executor.run
      1. hudson.FilePath$31.invoke(FilePath.java:1526)
      2. hudson.FilePath$31.invoke(FilePath.java:1493)
      3. hudson.FilePath.act(FilePath.java:758)
      4. hudson.FilePath.act(FilePath.java:740)
      5. hudson.FilePath.copyRecursiveTo(FilePath.java:1493)
      6. hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
      7. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      8. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:663)
      9. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638)
      10. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616)
      11. hudson.model.Build$RunnerImpl.post2(Build.java:161)
      12. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:585)
      13. hudson.model.Run.run(Run.java:1399)
      14. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      15. hudson.model.ResourceController.execute(ResourceController.java:88)
      16. hudson.model.Executor.run(Executor.java:145)
      16 frames