Hi,
We encounter an unstash exception with the following error message:
[2020-07-17T23:48:55.218Z] java.io.EOFException: Unexpected end of ZLIB input stream [2020-07-17T23:48:55.218Z] at com.jcraft.jzlib.InflaterInputStream.fill(InflaterInputStream.java:186) [2020-07-17T23:48:55.218Z] at com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:106) [2020-07-17T23:48:55.218Z] at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:639) [2020-07-17T23:48:55.218Z] at java.base/java.io.InputStream.read(InputStream.java:205) [2020-07-17T23:48:55.218Z] at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314) [2020-07-17T23:48:55.218Z] at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270) [2020-07-17T23:48:55.218Z] at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291) [2020-07-17T23:48:55.218Z] at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246) [2020-07-17T23:48:55.218Z] at hudson.util.IOUtils.copy(IOUtils.java:43) [2020-07-17T23:48:55.218Z] at hudson.FilePath.readFromTar(FilePath.java:2602) [2020-07-17T23:48:55.218Z] Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from emappa3590dev.emea.cib/10.118.190.76:65114 [2020-07-17T23:48:55.218Z] at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1788) [2020-07-17T23:48:55.218Z] at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) [2020-07-17T23:48:55.218Z] at hudson.remoting.Channel.call(Channel.java:998) [2020-07-17T23:48:55.218Z] at hudson.FilePath.act(FilePath.java:1069) [2020-07-17T23:48:55.218Z] at hudson.FilePath.act(FilePath.java:1058) [2020-07-17T23:48:55.218Z] at hudson.FilePath.untar(FilePath.java:571) [2020-07-17T23:48:55.218Z] at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:161) [2020-07-17T23:48:55.218Z] at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:76) [2020-07-17T23:48:55.218Z] at org.jenkinsci.plugins.workflow.support.steps.stash.UnstashStep$Execution.run(UnstashStep.java:63) [2020-07-17T23:48:55.218Z] at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [2020-07-17T23:48:55.218Z] Caused: java.io.IOException: Failed to extract compil_r_x86.tar.gz [2020-07-17T23:48:55.218Z] at hudson.FilePath.readFromTar(FilePath.java:2612) [2020-07-17T23:48:55.218Z] at hudson.FilePath.access$500(FilePath.java:211) [2020-07-17T23:48:55.218Z] at hudson.FilePath$UntarRemote.invoke(FilePath.java:585) [2020-07-17T23:48:55.218Z] at hudson.FilePath$UntarRemote.invoke(FilePath.java:576) [2020-07-17T23:48:55.218Z] at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3073) [2020-07-17T23:48:55.218Z] at hudson.remoting.UserRequest.perform(UserRequest.java:211) [2020-07-17T23:48:55.218Z] at hudson.remoting.UserRequest.perform(UserRequest.java:54) [2020-07-17T23:48:55.218Z] at hudson.remoting.Request$2.run(Request.java:369) [2020-07-17T23:48:55.218Z] at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [2020-07-17T23:48:55.218Z] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [2020-07-17T23:48:55.218Z] at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:117) [2020-07-17T23:48:55.218Z] at java.base/java.lang.Thread.run(Thread.java:834)
This append during a step execution. The next steps run on the same slave didn't encounter this unstash problem. compil_r_x86.tar.gz is the stashed build we use for all our tests. It's a big object. We encounter this problem just once. We launch our job around 5-10 times during the day and 1 at night.