hudson.util.IOException2: Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini

Jenkins JIRA | Jason Swager | 5 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

    Occassionally, copyartifact will fail to copy the proper artifacts, throw and exception, and terminate the build. Suspected cause is concurrent builds attempting to retrieve the same artifacts at the same time. Our setup performs a build, then archives the output to artifacts. Several hundred test jobs will pull down those artifacts to run builds. During a typical build-and-test run, about one third of the test builds will fail trying to retrieve the artifacts. Copying a sample failure from the log files; all failures origina in the same method: FingerprintingCopyMethod.copyOne(): ERROR: Failed to copy artifacts from TIER_1_BUILD_SMOKE with filter: source_settings.ini 09:08:54 hudson.util.IOException2: Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini 09:08:54 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91) 09:08:54 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) 09:08:54 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243) 09:08:54 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215) 09:08:54 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 09:08:54 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) 09:08:54 at hudson.model.Build$RunnerImpl.build(Build.java:178) 09:08:54 at hudson.model.Build$RunnerImpl.doRun(Build.java:139) 09:08:54 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) 09:08:54 at hudson.model.Run.run(Run.java:1434) 09:08:54 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:08:54 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:08:54 at hudson.model.Executor.run(Executor.java:239)

    Jenkins JIRA | 5 years ago | Jason Swager
    hudson.util.IOException2: Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini
  2. 0

    Occassionally, copyartifact will fail to copy the proper artifacts, throw and exception, and terminate the build. Suspected cause is concurrent builds attempting to retrieve the same artifacts at the same time. Our setup performs a build, then archives the output to artifacts. Several hundred test jobs will pull down those artifacts to run builds. During a typical build-and-test run, about one third of the test builds will fail trying to retrieve the artifacts. Copying a sample failure from the log files; all failures origina in the same method: FingerprintingCopyMethod.copyOne(): ERROR: Failed to copy artifacts from TIER_1_BUILD_SMOKE with filter: source_settings.ini 09:08:54 hudson.util.IOException2: Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini 09:08:54 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91) 09:08:54 at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) 09:08:54 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243) 09:08:54 at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215) 09:08:54 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 09:08:54 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) 09:08:54 at hudson.model.Build$RunnerImpl.build(Build.java:178) 09:08:54 at hudson.model.Build$RunnerImpl.doRun(Build.java:139) 09:08:54 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) 09:08:54 at hudson.model.Run.run(Run.java:1434) 09:08:54 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 09:08:54 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:08:54 at hudson.model.Executor.run(Executor.java:239)

    Jenkins JIRA | 5 years ago | Jason Swager
    hudson.util.IOException2: Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini

    Root Cause Analysis

    1. hudson.util.IOException2

      Failed to copy D:\Jenkins\.jenkins\jobs\TIER_1_BUILD_SMOKE\builds\2012-04-28_09-07-27\archive\source_settings.ini to E:\JenkinsSlave\workspace\BUILD_WINDOWS_ALL\source_settings.ini

      at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne()
    2. hudson.plugins.copyartifact
      CopyArtifact.perform
      1. hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91)
      2. hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63)
      3. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:243)
      4. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
      3. hudson.model.Build$RunnerImpl.build(Build.java:178)
      4. hudson.model.Build$RunnerImpl.doRun(Build.java:139)
      5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
      6. hudson.model.Run.run(Run.java:1434)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:239)
      9 frames