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

Jenkins JIRA | Ruth Morgenstein | 5 years ago
  1. 0

    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

    Jenkins JIRA | 5 years ago | Ruth Morgenstein
    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
  2. 0

    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

    Jenkins JIRA | 5 years ago | Ruth Morgenstein
    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
  3. 0

    TeamCity is leaking caches/git file descriptors

    YouTrack | 6 years ago
    java.io.FileNotFoundException: /data/teamcity/BuildServer/system/pluginData/customDataStorage/buildTypes/bt2613/485653500 (Too many open files)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FileNotFoundException during saving of PDF file

    GitHub | 5 years ago | mbastian
    java.io.FileNotFoundException: C:\****\Untilted.pdf (Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus)
  6. 0

    Marker Issues

    GitHub | 4 years ago | TheSeize
    java.io.FileNotFoundException: plugins/dynmap/web/tiles/_markers_/marker_final.json.new (No such file or directory)

  1. eti22 3 times, last 2 weeks ago
  2. tyson925 49 times, last 1 week ago
  3. MoYapro 1 times, last 1 month ago
  4. musketyr 3 times, last 1 month ago
  5. iridic 12 times, last 1 month ago
23 more registered users
72 unregistered visitors
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. 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()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    3 frames
  3. Hudson
    FilePath$26.call
    1. hudson.FilePath$26.call(FilePath.java:1401)
    2. hudson.FilePath$26.call(FilePath.java:1397)
    2 frames
  4. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:287)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    4 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    5. java.lang.Thread.run(Thread.java:619)
    5 frames