hudson.util.IOException2: Failed to copy C:\Program Files (x86)\Jenkins\jobs\TEST_MULTIBRANCH\branches\master\builds\87\archive\install.zip to D:\Jenkins\workspace\TEST_PIPELINE_CLOSURE\install.zip

Jenkins JIRA | Daniel Butler | 7 months ago
  1. 0

    My Jenkins environment contains a node running on the same machine as the master, as well as several other nodes on other machines. Copying artifacts to workspaces on other nodes works without a problem but if i try and copy to the node that's running alongside the master it appears to just halt. I can see an empty file created in the target workspace but no data appears to copy no matter how long I wait. The pipeline thread dump isn't terribly useful: Thread #2 at DSL.step(Native Method) at WorkflowScript.run(WorkflowScript:2) at DSL.node(Native Method) at WorkflowScript.run(WorkflowScript:1) Cancelling the job gives this stack trace: hudson.util.IOException2: Failed to copy C:\Program Files (x86)\Jenkins\jobs\TEST_MULTIBRANCH\branches\master\builds\87\archive\install.zip to D:\Jenkins\workspace\TEST_PIPELINE_CLOSURE\install.zip at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:117) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:67) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:526) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:460) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49) at hudson.security.ACL.impersonate(ACL.java:213) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.InterruptedIOException at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:147) at hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110) at java.security.DigestOutputStream.write(DigestOutputStream.java:145) at hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110) at hudson.Util.copyStream(Util.java:485) at hudson.FilePath$41.invoke(FilePath.java:2017) at hudson.FilePath$41.invoke(FilePath.java:2011) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at hudson.FilePath.copyTo(FilePath.java:2011) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:83) ... 13 more Caused by: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:209) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:122) ... 23 more The pipeline script is: node("master-buildnode"){ step([$class: 'CopyArtifact', filter: 'install.zip', fingerprintArtifacts: true, projectName: 'TEST_MULTIBRANCH/master', resultVariableSuffix: 'MASTER_BUILD_NUMBER']) }

    Jenkins JIRA | 7 months ago | Daniel Butler
    hudson.util.IOException2: Failed to copy C:\Program Files (x86)\Jenkins\jobs\TEST_MULTIBRANCH\branches\master\builds\87\archive\install.zip to D:\Jenkins\workspace\TEST_PIPELINE_CLOSURE\install.zip
  2. 0

    My Jenkins environment contains a node running on the same machine as the master, as well as several other nodes on other machines. Copying artifacts to workspaces on other nodes works without a problem but if i try and copy to the node that's running alongside the master it appears to just halt. I can see an empty file created in the target workspace but no data appears to copy no matter how long I wait. The pipeline thread dump isn't terribly useful: Thread #2 at DSL.step(Native Method) at WorkflowScript.run(WorkflowScript:2) at DSL.node(Native Method) at WorkflowScript.run(WorkflowScript:1) Cancelling the job gives this stack trace: hudson.util.IOException2: Failed to copy C:\Program Files (x86)\Jenkins\jobs\TEST_MULTIBRANCH\branches\master\builds\87\archive\install.zip to D:\Jenkins\workspace\TEST_PIPELINE_CLOSURE\install.zip at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:117) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:67) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:526) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:460) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49) at hudson.security.ACL.impersonate(ACL.java:213) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.InterruptedIOException at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:147) at hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110) at java.security.DigestOutputStream.write(DigestOutputStream.java:145) at hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110) at hudson.Util.copyStream(Util.java:485) at hudson.FilePath$41.invoke(FilePath.java:2017) at hudson.FilePath$41.invoke(FilePath.java:2011) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at hudson.FilePath.copyTo(FilePath.java:2011) at hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:83) ... 13 more Caused by: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:209) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:122) ... 23 more The pipeline script is: node("master-buildnode"){ step([$class: 'CopyArtifact', filter: 'install.zip', fingerprintArtifacts: true, projectName: 'TEST_MULTIBRANCH/master', resultVariableSuffix: 'MASTER_BUILD_NUMBER']) }

    Jenkins JIRA | 7 months ago | Daniel Butler
    hudson.util.IOException2: Failed to copy C:\Program Files (x86)\Jenkins\jobs\TEST_MULTIBRANCH\branches\master\builds\87\archive\install.zip to D:\Jenkins\workspace\TEST_PIPELINE_CLOSURE\install.zip
  3. 0

    copy artifact fail

    Google Groups | 4 years ago | Chris Withers
    tar.gz
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IQueue.take() method can throw InterruptedException, but throws HazelcastException instead

    GitHub | 2 years ago | fargus
    com.hazelcast.core.HazelcastException: java.lang.InterruptedException

  1. treefolk 1 times, last 2 weeks ago
  2. danleyb2Interintel 1 times, last 2 weeks ago
  3. filpgame 1 times, last 2 months ago
  4. Nikolay Rybak 4 times, last 4 months ago
  5. Handemelindo 1 times, last 4 months ago
6 more registered users
18 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.lang.InterruptedException

    No message provided

    at java.lang.Object.wait()
  2. Java RT
    Object.wait
    1. java.lang.Object.wait(Native Method)
    1 frame
  3. Hudson :: Remoting Layer
    RemoteOutputStream.write
    1. hudson.remoting.PipeWindow$Real.get(PipeWindow.java:209)
    2. hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:122)
    3. hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110)
    3 frames
  4. Java RT
    DigestOutputStream.write
    1. java.security.DigestOutputStream.write(DigestOutputStream.java:145)
    1 frame
  5. Hudson :: Remoting Layer
    RemoteOutputStream.write
    1. hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110)
    1 frame
  6. Hudson
    FilePath.copyTo
    1. hudson.Util.copyStream(Util.java:485)
    2. hudson.FilePath$41.invoke(FilePath.java:2017)
    3. hudson.FilePath$41.invoke(FilePath.java:2011)
    4. hudson.FilePath.act(FilePath.java:990)
    5. hudson.FilePath.act(FilePath.java:968)
    6. hudson.FilePath.copyTo(FilePath.java:2011)
    6 frames
  7. hudson.plugins.copyartifact
    CopyArtifact.perform
    1. hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:83)
    2. hudson.plugins.copyartifact.FingerprintingCopyMethod.copyAll(FingerprintingCopyMethod.java:67)
    3. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:526)
    4. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:460)
    4 frames
  8. org.jenkinsci.plugins
    AbstractSynchronousNonBlockingStepExecution$1$1.call
    1. org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68)
    2. org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59)
    3. org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49)
    3 frames
  9. Hudson
    ACL.impersonate
    1. hudson.security.ACL.impersonate(ACL.java:213)
    1 frame
  10. org.jenkinsci.plugins
    AbstractSynchronousNonBlockingStepExecution$1.run
    1. org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47)
    1 frame
  11. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames