java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files

Jenkins JIRA | Steve Roth | 3 years ago
  1. 0

    [JENKINS-21905] intermittent Failed to archive artifacts: Failed to extract caused by Unexpected end of ZLIB input stream - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files
  2. 0

    Since approximately 1/30 we have seen 15 very intermittent archiving failures in Jenkins, of the form: {noformat} Archiving artifacts ERROR: Failed to archive artifacts: versions/**, archive/** java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files at hudson.FilePath.readFromTar(FilePath.java:2088) at hudson.FilePath.copyRecursiveTo(FilePath.java:2000) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:784) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:756) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) at hudson.model.Run.execute(Run.java:1695) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.io.EOFException: Unexpected end of ZLIB input stream at com.jcraft.jzlib.InflaterInputStream.fill(InflaterInputStream.java:186) at com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:106) at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257) at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223) at hudson.org.apache.tools.tar.TarInputStream.getNextEntry(TarInputStream.java:228) at hudson.FilePath.readFromTar(FilePath.java:2066) ... 12 more Build step 'Archive the artifacts' changed build result to FAILURE {noformat} We definitely have seen this running 1.548 and later, especially with 1.549. I cannot confirm if we saw it with 1.547 or earlier, but if so, I think it was less frequent. It seems to be a relatively new issue we are seeing.

    Jenkins JIRA | 3 years ago | Steve Roth
    java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files
  3. 0

    [JENKINS-21905] intermittent Failed to archive artifacts: Failed to extract caused by Unexpected end of ZLIB input stream - Jenkins JIRA

    jenkins-ci.org | 5 months ago
    java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Since approximately 1/30 we have seen 15 very intermittent archiving failures in Jenkins, of the form: {noformat} Archiving artifacts ERROR: Failed to archive artifacts: versions/**, archive/** java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files at hudson.FilePath.readFromTar(FilePath.java:2088) at hudson.FilePath.copyRecursiveTo(FilePath.java:2000) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:784) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:756) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) at hudson.model.Run.execute(Run.java:1695) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.io.EOFException: Unexpected end of ZLIB input stream at com.jcraft.jzlib.InflaterInputStream.fill(InflaterInputStream.java:186) at com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:106) at org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257) at org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223) at hudson.org.apache.tools.tar.TarInputStream.getNextEntry(TarInputStream.java:228) at hudson.FilePath.readFromTar(FilePath.java:2066) ... 12 more Build step 'Archive the artifacts' changed build result to FAILURE {noformat} We definitely have seen this running 1.548 and later, especially with 1.549. I cannot confirm if we saw it with 1.547 or earlier, but if so, I think it was less frequent. It seems to be a relatively new issue we are seeing.

    Jenkins JIRA | 3 years ago | Steve Roth
    java.io.IOException: Failed to extract /foo/bar/slave/workspace/someJob/transfer of 7 files
  6. 0

    [JENKINS-19473] failed to archive slave artifacts. Unexpected end of ZLIB input stream - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract /var/lib/jenkins/workspace/MainlineDevtest/ .log,product/ .log,product/ .xml,product/ / / .xml

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      Unexpected end of ZLIB input stream

      at com.jcraft.jzlib.InflaterInputStream.fill()
    2. JZlib
      InflaterInputStream.read
      1. com.jcraft.jzlib.InflaterInputStream.fill(InflaterInputStream.java:186)
      2. com.jcraft.jzlib.InflaterInputStream.read(InflaterInputStream.java:106)
      2 frames
    3. Ant
      TarBuffer.readRecord
      1. org.apache.tools.tar.TarBuffer.readBlock(TarBuffer.java:257)
      2. org.apache.tools.tar.TarBuffer.readRecord(TarBuffer.java:223)
      2 frames
    4. Hudson
      FilePath.copyRecursiveTo
      1. hudson.org.apache.tools.tar.TarInputStream.getNextEntry(TarInputStream.java:228)
      2. hudson.FilePath.readFromTar(FilePath.java:2066)
      3. hudson.FilePath.copyRecursiveTo(FilePath.java:2000)
      3 frames
    5. jenkins.model
      StandardArtifactManager.archive
      1. jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:140)
      2. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:784)
      4. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:756)
      5. hudson.model.Build$BuildExecution.post2(Build.java:183)
      6. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705)
      7. hudson.model.Run.execute(Run.java:1695)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:231)
      10 frames