java.io.IOException: Failed to extract c:\jenkins\workspace\Integration/transfer of 18960 files

Jenkins JIRA | Mark Syms | 1 year ago
  1. 0

    We recently replaced our Windows based Jenkins master with a Linux (Debian 7) based master and since this time we are seeing repeated failures to archive the artefacts from the build jobs that runs on a Windows build slave. I can't see any existing issues which directly match this although there are some which look superficially similar. I have the following from the build log but if there is more information I can gather about this issue please let me know (with instructions) as this is becoming a severe blocker to our build processes. Archiving artifacts ERROR: Failed to archive artifacts: _<artifact names>_ java.io.IOException: Failed to extract c:\jenkins\workspace\Integration/transfer of 18960 files at hudson.FilePath.readFromTar(FilePath.java:2299) at hudson.FilePath.copyRecursiveTo(FilePath.java:2210) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:219) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1769) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.io.IOException: unexpected EOF with 1024 bytes unread at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349) at java.io.FilterInputStream.read(FilterInputStream.java:107) 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:40) at hudson.FilePath.readFromTar(FilePath.java:2289) ... 13 more Build step 'Archive the artifacts' changed build result to FAILURE

    Jenkins JIRA | 1 year ago | Mark Syms
    java.io.IOException: Failed to extract c:\jenkins\workspace\Integration/transfer of 18960 files
  2. 0

    We recently replaced our Windows based Jenkins master with a Linux (Debian 7) based master and since this time we are seeing repeated failures to archive the artefacts from the build jobs that runs on a Windows build slave. I can't see any existing issues which directly match this although there are some which look superficially similar. I have the following from the build log but if there is more information I can gather about this issue please let me know (with instructions) as this is becoming a severe blocker to our build processes. Archiving artifacts ERROR: Failed to archive artifacts: _<artifact names>_ java.io.IOException: Failed to extract c:\jenkins\workspace\Integration/transfer of 18960 files at hudson.FilePath.readFromTar(FilePath.java:2299) at hudson.FilePath.copyRecursiveTo(FilePath.java:2210) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:219) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1769) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.io.IOException: unexpected EOF with 1024 bytes unread at hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349) at java.io.FilterInputStream.read(FilterInputStream.java:107) 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:40) at hudson.FilePath.readFromTar(FilePath.java:2289) ... 13 more Build step 'Archive the artifacts' changed build result to FAILURE

    Jenkins JIRA | 1 year ago | Mark Syms
    java.io.IOException: Failed to extract c:\jenkins\workspace\Integration/transfer of 18960 files
  3. 0

    Lucene - Java Developer - [JENKINS] Lucene-Solr-NightlyTests-5.x - Build # 912 - Failure

    nabble.com | 1 year ago
    java.io.IOException: Failed to extract /home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-5.x/transfer of 4 files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lucene - Java Developer - [JENKINS] Lucene-Solr-NightlyTests-trunk - Build # 751 - Failure

    nabble.com | 1 year ago
    java.io.IOException: Failed to extract /home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-trunk/transfer of 4 files
  6. 0

    Lucene - Java Developer - [JENKINS] Lucene-Solr-NightlyTests-5.3 - Build # 1 - Failure

    nabble.com | 12 months ago
    java.io.IOException: Failed to extract /home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-5.3/transfer of 5 files

    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.IOException

      unexpected EOF with 1024 bytes unread

      at hudson.org.apache.tools.tar.TarInputStream.read()
    2. Hudson
      TarInputStream.read
      1. hudson.org.apache.tools.tar.TarInputStream.read(TarInputStream.java:349)
      1 frame
    3. Java RT
      FilterInputStream.read
      1. java.io.FilterInputStream.read(FilterInputStream.java:107)
      1 frame
    4. Commons IO
      IOUtils.copy
      1. org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1792)
      2. org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1769)
      3. org.apache.commons.io.IOUtils.copy(IOUtils.java:1744)
      3 frames
    5. Hudson
      FilePath.copyRecursiveTo
      1. hudson.util.IOUtils.copy(IOUtils.java:40)
      2. hudson.FilePath.readFromTar(FilePath.java:2289)
      3. hudson.FilePath.copyRecursiveTo(FilePath.java:2210)
      3 frames
    6. jenkins.model
      StandardArtifactManager.archive
      1. jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:219)
      2. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:75)
      3. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      4. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      6. hudson.model.Build$BuildExecution.post2(Build.java:185)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      8. hudson.model.Run.execute(Run.java:1769)
      9. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      10. hudson.model.ResourceController.execute(ResourceController.java:98)
      11. hudson.model.Executor.run(Executor.java:374)
      11 frames