java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When upgrading the ssh-slaves plugin from 0.18 to 0.19 my builds on linux remote nodes fail when communicating with perforce. They are simply hanging forever. When I cancel the build I get exceptions like this: 5826655 [Executor #0 for node1 : executing testproject #26] WARN perforce - java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:330) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:54) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1179) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:593) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) I started jenkins in debug and attached to the process and found that the perforce-plugin is waiting forever at this line: https://github.com/jenkinsci/perforce-plugin/blob/master/src/main/java/com/tek42/perforce/parse/AbstractPerforceTemplate.java#L330 I first thought that the problem depends on the jenkins version 1.430, but I also get it with 1.428 when using ssh-slaves 0.19. Falling back to ssh-slaves 0.18 fixes the problem for me.
    via by Felix Drueke,
  • When upgrading the ssh-slaves plugin from 0.18 to 0.19 my builds on linux remote nodes fail when communicating with perforce. They are simply hanging forever. When I cancel the build I get exceptions like this: 5826655 [Executor #0 for node1 : executing testproject #26] WARN perforce - java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:330) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:54) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1179) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:593) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) I started jenkins in debug and attached to the process and found that the perforce-plugin is waiting forever at this line: https://github.com/jenkinsci/perforce-plugin/blob/master/src/main/java/com/tek42/perforce/parse/AbstractPerforceTemplate.java#L330 I first thought that the problem depends on the jenkins version 1.430, but I also get it with 1.428 when using ssh-slaves 0.19. Falling back to ssh-slaves 0.18 fixes the problem for me.
    via by Felix Drueke,
  • Jenkins html publisher Failed to extract
    via Stack Overflow by Luci
    ,
  • The master is OSX 10.8.3 running Jenkins 1.511, and the slave is Ubuntu 10.04.4 LTS Lucid Lynx. When trying to publish HTML reports, it freezes permanently. After killing the job the following stack trace is produced: BUILD SUCCESSFUL Total time: 29 minutes 48 seconds [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at BUILD level /home/builder/jenkins/workspace/sre-build-test-linux/branches/mingus/vcloud/sonic/.build/Debug/coverage_report to /Users/Shared/Jenkins/Home/jobs/sre-build-test-linux/builds/2013-08-01_17-04-54/htmlreports/Test_Coverage FATAL: HTML Publisher failure hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/builder/jenkins/workspace/sre-build-test-linux/branches/mingus/vcloud/sonic/.build/Debug/coverage_report/**/* at hudson.FilePath.readFromTar(FilePath.java:2014) at hudson.FilePath.copyRecursiveTo(FilePath.java:1926) at hudson.FilePath.copyRecursiveTo(FilePath.java:1831) at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) 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:90) 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:1992) ... 12 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1933) at hudson.FilePath.copyRecursiveTo(FilePath.java:1831) at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:724) at hudson.model.Run.execute(Run.java:1600) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request$1.get(Request.java:278) at hudson.remoting.Request$1.get(Request.java:210) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1929) ... 11 more Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:299) at hudson.remoting.Channel.terminate(Channel.java:732) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) Caused by: java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2576) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1295) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Build step 'Publish HTML reports' changed build result to FAILURE
    via by Brian Mingus,
  • Hi, in my jenkins-setup i am using a master/slave system. When a Job is executed, everything works fine until htmlpublisher is supposed to archive one HTML report. Usually the execution hangs, sometimes an exception is reported[1] As you can see, htmlpublisher tries to extract /home/jenkins-slave9/.../code-browser from slave, this fails. Problem occurred in Jenkins v. 1.456, I tried some versions in between, also the current v. 1.483 is affected. [1] {code} [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at BUILD level /home/jenkins-slave9/workspace/wkw_cssjs/unitTesting/build/code-browser to /var/wkw/jenkins/jobs/wkw_cssjs/builds/2012-09-25_10-30-44/htmlreports/Code_Browser FATAL: HTML Publisher failure hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/jenkins-slave9/workspace/wkw_cssjs/unitTesting/build/code-browser/**/* at hudson.FilePath.readFromTar(FilePath.java:1936) at hudson.FilePath.copyRecursiveTo(FilePath.java:1848) at hudson.FilePath.copyRecursiveTo(FilePath.java:1756) at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1527) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) 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.util.IOUtils.copy(IOUtils.java:37) at hudson.FilePath.readFromTar(FilePath.java:1926) ... 12 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1855) at hudson.FilePath.copyRecursiveTo(FilePath.java:1756) at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:212) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1527) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.util.concurrent.ExecutionException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request$1.get(Request.java:278) at hudson.remoting.Request$1.get(Request.java:210) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1851) ... 11 more Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.Request.abort(Request.java:299) at hudson.remoting.Channel.terminate(Channel.java:724) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) Caused by: java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) {code}
    via by Markus Schulte,
  • Child jobs occasionally fail to copy logs back to master node with {noformat} INFO: test-job Ā» tomcat-test,suite1 #3 main build action completed: SUCCESS Dec 30, 2011 7:24:16 PM hudson.model.Run run INFO: test-job #3 main build action completed: UNSTABLE Dec 30, 2011 7:24:16 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier aborted due to exception hudson.util.IOException2: hudson.util.IOException2: Failed to extract /home/a/workspace/test-job/label/tomcat-test/suites/suite1/log/* at hudson.FilePath.readFromTar(FilePath.java:1698) at hudson.FilePath.copyRecursiveTo(FilePath.java:1616) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:82) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) 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.util.IOUtils.copy(IOUtils.java:36) at hudson.FilePath.readFromTar(FilePath.java:1690) ... 11 more at hudson.FilePath.copyRecursiveTo(FilePath.java:1623) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:82) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Pipe is already closed at hudson.remoting.Channel$2.adapt(Channel.java:714) at hudson.remoting.Channel$2.adapt(Channel.java:709) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:59) at hudson.FilePath.copyRecursiveTo(FilePath.java:1619) ... 10 more Caused by: java.io.IOException: Pipe is already closed at hudson.remoting.PipeWindow.checkDeath(PipeWindow.java:83) at hudson.remoting.PipeWindow$Real.get(PipeWindow.java:171) at hudson.remoting.ProxyOutputStream._write(ProxyOutputStream.java:118) at hudson.remoting.ProxyOutputStream.write(ProxyOutputStream.java:103) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:161) at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:118) at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:72) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) 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:119) at hudson.FilePath.writeToTar(FilePath.java:1670) at hudson.FilePath.access$1000(FilePath.java:164) at hudson.FilePath$33.invoke(FilePath.java:1609) at hudson.FilePath$33.invoke(FilePath.java:1606) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2030) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 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:211) ... 6 more Caused by: hudson.remoting.FastPipedInputStream$ClosedBy: The pipe was closed at... at hudson.remoting.FastPipedInputStream.close(FastPipedInputStream.java:112) at java.io.FilterInputStream.close(FilterInputStream.java:155) at java.util.zip.InflaterInputStream.close(InflaterInputStream.java:210) at java.util.zip.GZIPInputStream.close(GZIPInputStream.java:113) 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:1700) at hudson.FilePath.copyRecursiveTo(FilePath.java:1616) at com.michelin.cio.hudson.plugins.copytoslave.CopyToMasterNotifier.perform(CopyToMasterNotifier.java:82) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) {noformat} Pipe is closed because it is interrupted from {noformat} Thread 'Thread[Executor #2 for pylon : executing test-job y Ā» tomcat-test,suite1 #3,5,main] interrupted java.lang.Throwable at java.lang.Thread.interrupt(Thread.java:895) at hudson.model.Executor.interrupt(Executor.java:146) at hudson.model.Executor.interrupt(Executor.java:127) at hudson.model.Executor.interrupt(Executor.java:115) at hudson.matrix.MatrixBuild$RunnerImpl.doRun(MatrixBuild.java:320) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:462) at hudson.model.Run.run(Run.java:1404) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:219) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) {noformat} As far as I can tell this happens because hudson.model.Run#run sets state = State.POST_PRODUCTION; before job.cleanUp(listener); which makes hudson.matrix.MatrixBuild#waitForCompletion believe that build has completed and interrupt the executor while copy to slave is still in progress.
    via by Lauri Tulmin,
  • Build failed in Jenkins: build-master #233
    via by jenkins@cloudstack.org,
    • java.io.IOException at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:175) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.readLine(BufferedReader.java:299) at java.io.BufferedReader.readLine(BufferedReader.java:362) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:330) at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292) at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:54) at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1179) at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:593) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:566) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:454) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230)
    No Bugmate found.