Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22914

file transfer from slave to master failed with pipe closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • master: Win 7 Ent SP1 x64, jre1.7.0_17_64, Jenkins v1.557
      slave: Ubuntu 12.04.4 x86_64, slave launched via ssh, keep alive as much as possible

      1) have a file generated on a slave 8.76GB which shall be archived on master
      2) smaller files around 6.37GB are archived from slave to master without problems
      3) during the archiving of the 8.76GB file the following exception occurred, the file didn't make it on the master and the job was marked as failed, filename on master archive looks strange with all those cryptic symbols - file can be copied with other tools from slave to master without problems

      Archiving artifacts
      ERROR: Failed to archive artifacts: AFILE.EXT
      java.io.IOException: java.io.IOException: Failed to extract /SLAVE/workspace/JOBNAME/transfer of 1 files
      at hudson.FilePath.readFromTar(FilePath.java:2089)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2001)
      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:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:714)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663)
      at hudson.model.Run.execute(Run.java:1713)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Caused by: java.io.FileNotFoundException: MASTER\jobs\JOBNAME\builds\2014-05-02_10-55-39\archive\ᅲDマ¦￲ム-qヘ﾿￰ᆲ￸ᄋ¬w' (The filename, directory name, or volume label syntax is incorrect)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(Unknown Source)
      at java.io.FileOutputStream.<init>(Unknown Source)
      at hudson.util.IOUtils.copy(IOUtils.java:38)
      at hudson.FilePath.readFromTar(FilePath.java:2079)
      ... 12 more

      at hudson.FilePath.copyRecursiveTo(FilePath.java:2008)
      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:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:714)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663)
      at hudson.model.Run.execute(Run.java:1713)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed
      at hudson.remoting.Channel$3.adapt(Channel.java:755)
      at hudson.remoting.Channel$3.adapt(Channel.java:750)
      at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2004)
      ... 11 more
      Caused by: java.io.IOException: Pipe is already closed
      at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:108)
      at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:203)
      at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:135)
      at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
      at com.jcraft.jzlib.DeflaterOutputStream.deflate(DeflaterOutputStream.java:144)
      at com.jcraft.jzlib.DeflaterOutputStream.write(DeflaterOutputStream.java:102)
      at java.io.BufferedOutputStream.write(BufferedOutputStream.java:122)
      at org.apache.tools.tar.TarBuffer.writeBlock(TarBuffer.java:410)
      at org.apache.tools.tar.TarBuffer.writeRecord(TarBuffer.java:351)
      at hudson.org.apache.tools.tar.TarOutputStream.writeEOFRecord(TarOutputStream.java:356)
      at hudson.org.apache.tools.tar.TarOutputStream.finish(TarOutputStream.java:137)
      at hudson.org.apache.tools.tar.TarOutputStream.close(TarOutputStream.java:149)
      at hudson.util.io.TarArchiver.close(TarArchiver.java:125)
      at hudson.FilePath.writeToTar(FilePath.java:2055)
      at hudson.FilePath.access$1000(FilePath.java:172)
      at hudson.FilePath$41.invoke(FilePath.java:1994)
      at hudson.FilePath$41.invoke(FilePath.java:1990)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:328)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:701)
      Caused by: java.io.IOException: Pipe is already closed
      at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:147)
      at hudson.remoting.FastPipedOutputStream.write(FastPipedOutputStream.java:131)
      at hudson.remoting.ProxyOutputStream$Chunk$1.run(ProxyOutputStream.java:250)
      at hudson.remoting.PipeWriter$1.run(PipeWriter.java:158)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at...
      at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112)
      at java.io.FilterInputStream.close(Unknown Source)
      at com.jcraft.jzlib.InflaterInputStream.close(InflaterInputStream.java:168)
      at org.apache.tools.tar.TarBuffer.close(TarBuffer.java:456)
      at hudson.org.apache.tools.tar.TarInputStream.close(TarInputStream.java:110)
      at hudson.FilePath.readFromTar(FilePath.java:2096)
      at hudson.FilePath.copyRecursiveTo(FilePath.java:2001)
      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:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:714)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:663)
      at hudson.model.Run.execute(Run.java:1713)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      Build step 'Archive the artifacts' changed build result to FAILURE
      Email was triggered for: Failure
      Sending email for trigger: Failure

            Unassigned Unassigned
            robsimon robsimon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: