hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I am copying a large artifact from a previous step and am getting the stack trace below. I downgraded the copyartifact plugin to 1.19 - which does not have this problem. step1 - checkout a git repo into directory "pro", then archive "pro/**" and trigger buildstep2, passing a parmeter step2 - checkout another git repo and then copy artifact from step1 from "upstream build that triggered this job" Commencing build of Revision 04a5687ef9869a96a488b5be559f5a4a77fec3ba (origin/HEAD) Checking out Revision 04a5687ef9869a96a488b5be559f5a4a77fec3ba (origin/HEAD) Cleaning workspace ERROR: Failed to copy artifacts from branch-pro-step01-checkout-pro with filter: pro/** hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/branch-pro-step01-checkout-pro/builds/2012-02-08_16-31-54/archive/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx to /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:90) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:231) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:203) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.FileNotFoundException: /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.FilePath$26.call(FilePath.java:1401) at hudson.FilePath$26.call(FilePath.java:1397) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Build step 'Copy artifacts from another project' marked build as failure Archiving artifacts Recording test results Finished: FAILURE
    via by Ruth Morgenstein,
  • I am copying a large artifact from a previous step and am getting the stack trace below. I downgraded the copyartifact plugin to 1.19 - which does not have this problem. step1 - checkout a git repo into directory "pro", then archive "pro/**" and trigger buildstep2, passing a parmeter step2 - checkout another git repo and then copy artifact from step1 from "upstream build that triggered this job" Commencing build of Revision 04a5687ef9869a96a488b5be559f5a4a77fec3ba (origin/HEAD) Checking out Revision 04a5687ef9869a96a488b5be559f5a4a77fec3ba (origin/HEAD) Cleaning workspace ERROR: Failed to copy artifacts from branch-pro-step01-checkout-pro with filter: pro/** hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/branch-pro-step01-checkout-pro/builds/2012-02-08_16-31-54/archive/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx to /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:90) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:231) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:203) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.FileNotFoundException: /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.FilePath$26.call(FilePath.java:1401) at hudson.FilePath$26.call(FilePath.java:1397) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Build step 'Copy artifacts from another project' marked build as failure Archiving artifacts Recording test results Finished: FAILURE
    via by Ruth Morgenstein,
  • TeamCity is leaking caches/git file descriptors
    via by Unknown author,
  • Marker Issues
    via GitHub by TheSeize
    ,
  • Embedded Jetty | Page number 3 | PC E-World
    via by Unknown author,
    • hudson.util.IOException2: Failed to copy /var/lib/jenkins/jobs/branch-pro-step01-checkout-pro/builds/2012-02-08_16-31-54/archive/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx to /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:90) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:63) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:231) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:203) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470) at hudson.model.Run.run(Run.java:1409) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.FileNotFoundException: /var/voltdb/jenkins/workspace/branch-pro-step02-checkout-voltdb-and-build/pro/.git/objects/pack/pack-b6bcfbde9cf85594588dc36e89676d73b43a3de0.idx (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.FilePath$26.call(FilePath.java:1401) at hudson.FilePath$26.call(FilePath.java:1397) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    filipebatistafilipebatista
    5 times, last one,
    MattyMatty
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    AxeloAxelo
    2 times, last one,
    rprp
    1 times, last one,
    150 more bugmates