hudson.util.IOException2: hudson.util.IOException2: Failed to extract C:\HudsonOnHudson\workspace\Hudson Main\jdk/SUN JDK 6.0/label/Windows/**/war/target/hudson.war

Jenkins JIRA | redsolo | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I just had this build problem, that a job that normally takes 5-10 mins (building hudson/main at hudson.ramfelt.se) was still running after an hour. The build had stopped at "Archiving artifacts", which is a simple "**/war/target/hudson.war". The job was executed on a Hudson windows machine running JNLP. This may be related to that the Hudson just was updated to 1.236 and Im not sure what version the JNLP slave is using. Killing the job through the web UI, generated the below exception stack. For the job itself: http://hudson.ramfelt.se/job/Hudson%20Main/139/jdk=SUN%20JDK%206.0,label=Windows /console ERROR: Failed to archive artifacts: **/war/target/hudson.war hudson.util.IOException2: hudson.util.IOException2: Failed to extract C:\HudsonOnHudson\workspace\Hudson Main\jdk/SUN JDK 6.0/label/Windows/**/war/target/hudson.war at hudson.FilePath.readFromTar(FilePath.java:1731) at hudson.FilePath.copyRecursiveTo(FilePath.java:1402) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :466) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :454) at hudson.model.Build$RunnerImpl.post2(Build.java:146) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:438) at hudson.model.Run.run(Run.java:1143) at hudson.matrix.MatrixRun.run(MatrixRun.java:130) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Caused by: java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:161) at hudson.util.HeadBufferingStream.read(HeadBufferingStream.java:61) at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:221) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92) 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.read(TarInputStream.java:345) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at hudson.FilePath.readFromTar(FilePath.java:1716) ... 12 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1409) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :466) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :454) at hudson.model.Build$RunnerImpl.post2(Build.java:146) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:438) at hudson.model.Run.run(Run.java:1143) at hudson.matrix.MatrixRun.run(MatrixRun.java:130) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection timed out at hudson.remoting.Request$1.get(Request.java:210) at hudson.remoting.Request$1.get(Request.java:165) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1405) ... 11 more Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection timed out at hudson.remoting.Request.abort(Request.java:231) at hudson.remoting.Channel.terminate(Channel.java:596) at hudson.remoting.Channel$ReaderThread.run(Channel.java:871) Caused by: java.net.SocketException: Connection timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249) at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2 552) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.Channel$ReaderThread.run(Channel.java:851)

    Jenkins JIRA | 8 years ago | redsolo
    hudson.util.IOException2: hudson.util.IOException2: Failed to extract C:\HudsonOnHudson\workspace\Hudson Main\jdk/SUN JDK 6.0/label/Windows/**/war/target/hudson.war
  2. 0

    [JENKINS-5073] hudson.util.IOException2: Failed to join the process - on a Windows slave - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    hudson.util.IOException2: remote file operation failed: /tmp/hudson6048046841607430352.sh at hudson.remoting.Channel@af5ea0: (Ubuntu)
  3. 0

    Failed to join process v1.327/1.328 - crbeng - net.java.dev.hudson.users - MarkMail

    markmail.org | 1 year ago
    hudson.util.IOException2: Failed to join the process
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. hudson.util.IOException2

      hudson.util.IOException2: Failed to extract C:\HudsonOnHudson\workspace\Hudson Main\jdk/SUN JDK 6.0/label/Windows/**/war/target/hudson.war

      at hudson.FilePath.readFromTar()
    2. Hudson
      BuildStepMonitor$1.perform
      1. hudson.FilePath.readFromTar(FilePath.java:1731)
      2. hudson.FilePath.copyRecursiveTo(FilePath.java:1402)
      3. hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:117)
      4. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      4 frames