Pb with Copy Artifact

5 views
Skip to first unread message

jl_fr38

unread,
Mar 29, 2011, 12:15:50 PM3/29/11
to Jenkins Users
We face this problem with the very last Copy arttifact plugin version
and Hudson 1.393 :
FATAL: null
java.lang.AssertionError
at hudson.remoting.PipeWindow$Real.decrease(PipeWindow.java:
160)
at
hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:124)
at
hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
at java.util.zip.DeflaterOutputStream.write(Unknown Source)
at java.util.zip.GZIPOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:
410)
at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:
388)
at
hudson.org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:
337)
at hudson.util.io.TarArchiver.visit(TarArchiver.java:103)
at hudson.util.DirScanner$Glob.scan(DirScanner.java:104)
at hudson.FilePath.writeToTar(FilePath.java:1543)
at hudson.FilePath.copyRecursiveTo(FilePath.java:1470)
at hudson.FilePath.copyRecursiveTo(FilePath.java:1399)
at
hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:
172)
at hudson.tasks.BuildStepMonitor
$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild
$AbstractRunner.perform(AbstractBuild.java:601)
at hudson.model.Build$RunnerImpl.build(Build.java:174)
at hudson.model.Build$RunnerImpl.doRun(Build.java:138)
at hudson.model.AbstractBuild
$AbstractRunner.run(AbstractBuild.java:416)
at hudson.model.Run.run(Run.java:1280)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at
hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:140)

It occur in a context where :

* One job creates a set of artifacts (around 30 files, around 50kb
total size)
* Another job launch, via parameterized or join, around 25 jobs
which all run copy artifact.

But it is not systematic, and can also occur with less parallel jobs
triggered.

Could there be a link between this error and the number of jobs
involved ?
Something like an access conflict ?

By the way, it is a very critical problem for us, because we built a
solution based on the copy artifact.

Thanks for your help.
J-L

Kohsuke Kawaguchi

unread,
Mar 29, 2011, 1:25:53 PM3/29/11
to jenkins...@googlegroups.com, jl_fr38

I'm pretty sure this is the bug we fixed in Jenkins 1.403. See the
changelog for JENKINS-7871.


--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/

Uwe Stuehler

unread,
Mar 31, 2011, 6:54:01 PM3/31/11
to jenkins...@googlegroups.com, Kohsuke Kawaguchi, jl_fr38
Could this be related to
http://issues.jenkins-ci.org/browse/JENKINS-9189 as well?

Kohsuke, could you have a look at this issue? I think that even if
9189 has nothing to do with the assertion (I enabled the assertion
and found that isn't triggered) the bug which I'm describing there
could affect CopyArtifacts as well as anything else using
ProxyInputStream and ProxyOutputStream, if that's where the
problem lies.

I'm happy to provide more details if needed. We are looking into
the code as well but we've never done any work on Jenkins before,
so we're moving slowly. :)

Cheers,
Uwe

Reply all
Reply to author
Forward
0 new messages