java.io.IOException: java.io.IOException: Failed to extract /..... of 193 files

Jenkins JIRA | Yoann Dubreuil | 1 year ago
  1. 0

    Aborting a build while artifacts are being copied through the remoting channel results in a FAILED status instead of an ABORTED status. After discussing this with [~jglick], he provided me hints on how to fix that, I quote him: bq. {{FastPipedInputStream.read}} could be made to throw {{InterruptedIOException}} rather than a generic {{IOException}}. Then {{FilePath.readFromTar}} could rethrow either {{InterruptedIOException}} or another {{InterruptedException}} as an {{InterruptedException}} with details about the tar entry (the signatures of its callers allow {{InterruptedException}}). Proving this all works in a test could be tricky, since you would need to have a special remoting channel that deliberately hangs at a specific point (the code in the mock-slave plugin could perhaps be ported to a test utility). Stack trace on build log: {code} java.io.IOException: java.io.IOException: Failed to extract /..... of 193 files at hudson.FilePath.readFromTar(FilePath.java:2286) at hudson.FilePath.copyRecursiveTo(FilePath.java:2197) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:218) ... Caused by: java.io.IOException: java.lang.InterruptedException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:177) at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61) ... Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) {code}

    Jenkins JIRA | 1 year ago | Yoann Dubreuil
    java.io.IOException: java.io.IOException: Failed to extract /..... of 193 files
  2. 0

    [JENKINS-30713] FAILED status reported for interrupted build - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    java.io.IOException: java.io.IOException: Failed to extract /..... of 193 files
  3. 0

    Aborting a build while artifacts are being copied through the remoting channel results in a FAILED status instead of an ABORTED status. After discussing this with [~jglick], he provided me hints on how to fix that, I quote him: bq. {{FastPipedInputStream.read}} could be made to throw {{InterruptedIOException}} rather than a generic {{IOException}}. Then {{FilePath.readFromTar}} could rethrow either {{InterruptedIOException}} or another {{InterruptedException}} as an {{InterruptedException}} with details about the tar entry (the signatures of its callers allow {{InterruptedException}}). Proving this all works in a test could be tricky, since you would need to have a special remoting channel that deliberately hangs at a specific point (the code in the mock-slave plugin could perhaps be ported to a test utility). Stack trace on build log: {code} java.io.IOException: java.io.IOException: Failed to extract /..... of 193 files at hudson.FilePath.readFromTar(FilePath.java:2286) at hudson.FilePath.copyRecursiveTo(FilePath.java:2197) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:218) ... Caused by: java.io.IOException: java.lang.InterruptedException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:177) at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61) ... Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) {code}

    Jenkins JIRA | 1 year ago | Yoann Dubreuil
    java.io.IOException: java.io.IOException: Failed to extract /..... of 193 files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4466#95646937

    GitHub | 2 years ago | lrytz
    java.io.IOException: Failed to extract /home/jenkins/workspace/scala-2.11.x-validate-test@3/transfer of 87 files
  6. 0

    gen report fail:Failed to extract tar archive

    GitHub | 2 years ago | wuhuizuo
    java.io.IOException: Failed to extract /jenkins/workspace/VMP4.0_BDD_Testing/allure4934002028448897885.tmp/report/**/*

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

      java.io.IOException: Failed to extract /..... of 193 files

      at hudson.FilePath.readFromTar()
    2. Hudson
      FilePath.copyRecursiveTo
      1. hudson.FilePath.readFromTar(FilePath.java:2286)
      2. hudson.FilePath.copyRecursiveTo(FilePath.java:2197)
      2 frames
    3. jenkins.model
      StandardArtifactManager.archive
      1. jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:61)
      1 frame
    4. Hudson
      ArtifactArchiver.perform
      1. hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:218)
      1 frame