hudson.util.IOException2: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive

Jenkins JIRA | ma_ids | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Before the update from (approx.) 1.357 to 1.367 the copying of a large artifact file (~2.1 GByte) worked fine. The changelog says that in release 1.363 the bundled Ant version, which is used internally by Hudson to copy files, was updated to 1.8.1 (JENKINS-6562). I assume that this might cause the problems. I have downgraded Hudson to 1.362 and the archiving was successful again. The following stack trace supports this assumption: ERROR: Artefakte konnten nicht archiviert werden: >>stripped name of artifact file<< hudson.util.IOException2: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\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:1280) 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 e:\hudson_home\jobs\>>stripped some path<<\workspace\>>stripped name of artifact file<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive\>>stripped name of artifact file<< due to Falscher Parameter 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: Falscher Parameter at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:747) at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:450) at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:523) 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 The German parts in the description say: "artifacts could not be archived" and "Failed to copy [...] due to wrong parameter"

    Jenkins JIRA | 7 years ago | ma_ids
    hudson.util.IOException2: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive
  2. 0

    Before the update from (approx.) 1.357 to 1.367 the copying of a large artifact file (~2.1 GByte) worked fine. The changelog says that in release 1.363 the bundled Ant version, which is used internally by Hudson to copy files, was updated to 1.8.1 (JENKINS-6562). I assume that this might cause the problems. I have downgraded Hudson to 1.362 and the archiving was successful again. The following stack trace supports this assumption: ERROR: Artefakte konnten nicht archiviert werden: >>stripped name of artifact file<< hudson.util.IOException2: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\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:1280) 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 e:\hudson_home\jobs\>>stripped some path<<\workspace\>>stripped name of artifact file<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive\>>stripped name of artifact file<< due to Falscher Parameter 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: Falscher Parameter at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:747) at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:450) at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:523) 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 The German parts in the description say: "artifacts could not be archived" and "Failed to copy [...] due to wrong parameter"

    Jenkins JIRA | 7 years ago | ma_ids
    hudson.util.IOException2: Failed to copy e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive
  3. 0

    [JENKINS-7013] Build fails to archive the artifacts - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.util.IOException2: Failed to copy c:\opencm\hudson\jobs\Jade_M1-daily\workspace/publish/* to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\archive
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Since last 2-3 versions (now 1.367) artifacts archiving fails with the following error: BUILD SUCCESSFUL Total time: 4 seconds Archiving artifacts ERROR: Failed to archive artifacts: publish/**/* hudson.util.IOException2: Failed to copy c:\opencm\hudson\jobs\Jade_M1-daily\workspace/publish/**/* to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\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:1280) 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:\opencm\hudson\jobs\Jade_M1-daily\workspace\publish\dailydictionary_50.47_19072010.mdb to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\archive\publish\dailydictionary_50.47_19072010.mdb due to Map failed 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: Map failed at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:761) at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:450) at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:523) 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 Caused by: java.lang.OutOfMemoryError: Map failed at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:758) ... 25 more Finished: SUCCESS Page generated: Jul 19, 2010 2:23:10 PMHudson ver. 1.367 while some of the files are copied.

    Jenkins JIRA | 7 years ago | liyatikal
    hudson.util.IOException2: Failed to copy c:\opencm\hudson\jobs\Jade_M1-daily\workspace/publish/**/* to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\archive
  6. 0

    Since last 2-3 versions (now 1.367) artifacts archiving fails with the following error: BUILD SUCCESSFUL Total time: 4 seconds Archiving artifacts ERROR: Failed to archive artifacts: publish/**/* hudson.util.IOException2: Failed to copy c:\opencm\hudson\jobs\Jade_M1-daily\workspace/publish/**/* to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\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:1280) 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:\opencm\hudson\jobs\Jade_M1-daily\workspace\publish\dailydictionary_50.47_19072010.mdb to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\archive\publish\dailydictionary_50.47_19072010.mdb due to Map failed 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: Map failed at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:761) at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:450) at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:523) 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 Caused by: java.lang.OutOfMemoryError: Map failed at sun.nio.ch.FileChannelImpl.map0(Native Method) at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:758) ... 25 more Finished: SUCCESS Page generated: Jul 19, 2010 2:23:10 PMHudson ver. 1.367 while some of the files are copied.

    Jenkins JIRA | 7 years ago | liyatikal
    hudson.util.IOException2: Failed to copy c:\opencm\hudson\jobs\Jade_M1-daily\workspace/publish/**/* to c:\opencm\hudson\jobs\Jade_M1-daily\builds\2010-07-19_13-27-32\archive

    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 e:\hudson_home\jobs\>>stripped some path<<\workspace/>>stripped name of artifact<< to e:\hudson_home\jobs\>>stripped some path<<\builds\2010-07-21_09-54-24\archive

      at hudson.FilePath$31.invoke()
    2. Hudson
      Executor.run
      1. hudson.FilePath$31.invoke(FilePath.java:1451)
      2. hudson.FilePath$31.invoke(FilePath.java:1418)
      3. hudson.FilePath.act(FilePath.java:753)
      4. hudson.FilePath.act(FilePath.java:735)
      5. hudson.FilePath.copyRecursiveTo(FilePath.java:1418)
      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:601)
      9. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      10. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      11. hudson.model.Build$RunnerImpl.post2(Build.java:158)
      12. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      13. hudson.model.Run.run(Run.java:1280)
      14. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      15. hudson.model.ResourceController.execute(ResourceController.java:88)
      16. hudson.model.Executor.run(Executor.java:129)
      16 frames