Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1274

crw-theia build fails to stash and unstash images

XMLWordPrintable

    • False
    • False
    • Undefined

      Snippets from the latest crw-theia builds:

      [Pipeline] [rhel7-releng] findFiles
      [Pipeline] [rhel7-releng] stash
      
      [Pipeline] [s390x-rhel7-beaker] findFiles
      [Pipeline] [s390x-rhel7-beaker] stash
      [s390x-rhel7-beaker] Warning: overwriting stash 'stashDockerfilesToSync'
      
      [Pipeline] [ppc64le-rhel7-beaker] findFiles
      [Pipeline] [ppc64le-rhel7-beaker] stash
      [ppc64le-rhel7-beaker] Warning: overwriting stash 'stashDockerfilesToSync'
      
      then
      
      java.io.IOException: oversubscribed dynamic bit lengths tree
      	at com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:112)
      	at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.read(TarArchiveInputStream.java:614)
      	at java.io.InputStream.read(InputStream.java:101)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      	at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      	at org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      	at hudson.util.IOUtils.copy(IOUtils.java:43)
      	at hudson.FilePath.readFromTar(FilePath.java:2464)
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to rhel7-releng-10009
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
      		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
      		at hudson.remoting.Channel.call(Channel.java:955)
      		at hudson.FilePath.act(FilePath.java:1036)
      		at hudson.FilePath.act(FilePath.java:1025)
      		at hudson.FilePath.untar(FilePath.java:553)
      		at org.jenkinsci.plugins.workflow.flow.StashManager.unstash(StashManager.java:165)
      		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$1$1.call(SynchronousNonBlockingStepExecution.java:50)
      		at hudson.security.ACL.impersonate(ACL.java:290)
      		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)
      		at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      Caused: java.io.IOException: Failed to extract stashDockerfilesToSync.tar.gz
      	at hudson.FilePath.readFromTar(FilePath.java:2474)
      	at hudson.FilePath.access$400(FilePath.java:210)
      	at hudson.FilePath$4.invoke(FilePath.java:555)
      	at hudson.FilePath$4.invoke(FilePath.java:553)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2917)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
      	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 java.lang.Thread.run(Thread.java:748)
      

      Not sure what's causing this, but one solution could be to split the job into two... one that archives artefacts, and another that does the sync step.

              kcrane@redhat.com Kirk Crane
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: