copy artifact fail

375 views
Skip to first unread message

Chris Withers

unread,
Jan 29, 2013, 7:21:37 AM1/29/13
to jenkins...@googlegroups.com
Hi All,

I've seen stack traces such as the following a couple of times:

"""
Deleting project workspace... ERROR: Failed to copy artifacts from
<job> with filter: **
hudson.util.IOException2: Failed to copy
/var/lib/jenkins/jobs/<job>/builds/2013-01-29_08-01-48/archive/source/<name>.tar.gz
to
/var/lib/jenkins/workspace/<job2>/<name>.tar.gz
at
hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:91)
at
hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:248)
at
hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:215)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1502)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at
hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: java.io.InterruptedIOException
at
hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:120)
at
hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
at
hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110)
at
java.security.DigestOutputStream.write(DigestOutputStream.java:100)
at
hudson.remoting.RemoteOutputStream.write(RemoteOutputStream.java:110)
at hudson.Util.copyStream(Util.java:414)
at hudson.FilePath$33.invoke(FilePath.java:1605)
at hudson.FilePath$33.invoke(FilePath.java:1598)
at hudson.FilePath.act(FilePath.java:842)
at hudson.FilePath.act(FilePath.java:824)
at hudson.FilePath.copyTo(FilePath.java:1598)
at
hudson.plugins.copyartifact.FingerprintingCopyMethod.copyOne(FingerprintingCopyMethod.java:74)
... 11 more
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:167)
at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:177)
at
hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118)
... 22 more
Build step 'Copy artifacts from another project' marked build as failure
...
"""

What's going on here? What actually failed and how?

cheers,

Chris

Sami Tikka

unread,
Feb 2, 2013, 6:47:24 PM2/2/13
to jenkins...@googlegroups.com
It looks like the artifact was being copied to a slave and the connection broke. The reason is not clear from the stacktrace. Is there anything in the logs on the slave side?

-- Sami
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages