Hi All,

We are getting intermittent error during unstash operation. We are using 
kubernetes agents, and stash is done in a diff agent, and now trying to 
unstash in another agent/container. Any suggestions on this? Getting this 
just 1/10 times, with same config / settings. 

*java.io.IOException: invalid distance code*

*        at 
com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:112)*

*        at 
org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:639)*

*        at java.io.InputStream.read(InputStream.java:101)*

*        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314)*

*        at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)*

*        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)*

*        at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246)*

*        at hudson.util.IOUtils.copy(IOUtils.java:43)*

*        at hudson.FilePath.readFromTar(FilePath.java:2602)*

* Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
docker-container-0464d*

*                 at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788)*

*                 at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)*

*                 at hudson.remoting.Channel.call(Channel.java:998)*

*                 at hudson.FilePath.act(FilePath.java:1069)*

*                 at hudson.FilePath.act(FilePath.java:1058)*

*                 at hudson.FilePath.untar(FilePath.java:571)*

*                 at 
org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:161)*

*                 at 
org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76)*

*                 at 
org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63)*

*                 at 
org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.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:1149)*

*                 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)*

* Caused: java.io.IOException: Failed to extract git_checkout.tar.gz*

*        at hudson.FilePath.readFromTar(FilePath.java:2612)*

*        at hudson.FilePath.access$500(FilePath.java:211)*

*        at hudson.FilePath$UntarRemote.invoke(FilePath.java:585)*

*        at hudson.FilePath$UntarRemote.invoke(FilePath.java:576)*

*        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3073)*

*        at hudson.remoting.UserRequest.perform(UserRequest.java:211)*

*        at hudson.remoting.UserRequest.perform(UserRequest.java:54)*

*        at hudson.remoting.Request$2.run(Request.java:369)*

*        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)*

*        at java.util.concurrent.FutureTask.run(FutureTask.java:266)*

*        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)*

*        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)*

*        at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117)*

*        at java.lang.Thread.run(Thread.java:748)*
*Finished: FAILURE*

 

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ee47c3d6-bf30-48cb-a51e-9c68b59b13b4n%40googlegroups.com.

Reply via email to