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.

  • Collecting findbugs analysis results occasionally causes ssh slave to go offline causing job to abort Some of our legacy builds have a large number of Findbugs warnings. Parsing these results in the post build action sometimes causes the slave to go offline, and jenkins quickly brings the slave back online but it causes the job to have failed. I notice that findbugs outputs a lot of information to the slave.log on the jenkins master By the time I check, the slave.log has rotated to slave.log.1 but a new slave.log has not been created. From tailing slave.log on Jenkins master: {code} Sep 17, 2013 11:52:39 AM hudson.plugins.findbugs.parser.FindBugsParser findSourceFile WARNING: Can't resolve absolute file name for file CallbackInterceptorConfigurer.java, dir list = [/tr/j/jh/workspace/tws_trunk_nightly_build/com.aepona.tws.build/build/test-reports/findbugs.xml/src/main/java, /tr/j/jh/workspace/tws_trunk_nightly_build/com.aepona.tws.build/build/test-reports/findbugs.xml/src/test/java, /tr/j/jh/workspace/tws_trunk_nightly_build/com.aepona.tws.build/build/test-reports/findbugs.xml/src] tail: `slave.log' has become inaccessible: No such file or directory {code} list of slave logs: notice how slave.log no longer exists slave.log has rolled over to slave.log.1 {code} $ ll -h total 764K -rw-r--r-- 1 rcbuild_user cs_sl025 461K Sep 17 11:52 slave.log.1 -rw-r--r-- 1 rcbuild_user cs_sl025 3.1K Sep 11 10:28 slave.log.10 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 17 08:42 slave.log.2 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 17 08:03 slave.log.3 -rw-r--r-- 1 rcbuild_user cs_sl025 2.8K Sep 17 07:53 slave.log.4 -rw-r--r-- 1 rcbuild_user cs_sl025 267K Sep 13 10:33 slave.log.5 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 12 10:03 slave.log.6 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 12 09:37 slave.log.7 {code} From Jenkins log: {code} Sep 17, 2013 11:52:38 AM hudson.model.Run execute INFO: tws_trunk_nightly_build #306 main build action completed: SUCCESS Sep 17, 2013 11:52:39 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel Neshi 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:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Sep 17, 2013 11:52:39 AM hudson.model.AbstractBuild$AbstractBuildExecution performAllBuildSteps WARNING: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41) at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34) at hudson.remoting.Request.call(Request.java:174) at hudson.remoting.Channel.call(Channel.java:714) at hudson.FilePath.act(FilePath.java:898) at hudson.FilePath.act(FilePath.java:882) at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:161) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) at hudson.model.Run.execute(Run.java:1629) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) 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:774) 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:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) {code} Slave Reconnect from jenkins.log {code} Sep 17, 2013 11:53:09 AM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect xxx {code} Log from build: {code} 11:52:38 BUILD SUCCESSFUL 11:52:38 Total time: 8 seconds 11:52:38 [FINDBUGS] Collecting findbugs analysis files... 11:52:39 ERROR: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception 11:52:39 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 11:52:39 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41) 11:52:39 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34) 11:52:39 at hudson.remoting.Request.call(Request.java:174) 11:52:39 at hudson.remoting.Channel.call(Channel.java:714) 11:52:39 at hudson.FilePath.act(FilePath.java:898) 11:52:39 at hudson.FilePath.act(FilePath.java:882) 11:52:39 at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:161) 11:52:39 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 11:52:39 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 11:52:39 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 11:52:39 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 11:52:39 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754) 11:52:39 at hudson.model.Build$BuildExecution.post2(Build.java:183) 11:52:39 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) 11:52:39 at hudson.model.Run.execute(Run.java:1629) 11:52:39 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 11:52:39 at hudson.model.ResourceController.execute(ResourceController.java:88) 11:52:39 at hudson.model.Executor.run(Executor.java:246) 11:52:39 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 11:52:39 at hudson.remoting.Request.abort(Request.java:299) 11:52:39 at hudson.remoting.Channel.terminate(Channel.java:774) 11:52:39 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) 11:52:39 Caused by: java.io.IOException: Unexpected termination of the channel 11:52:39 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 11:52:39 Caused by: java.io.EOFException 11:52:39 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596) 11:52:39 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) 11:52:39 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) 11:52:39 at hudson.remoting.Command.readFrom(Command.java:92) 11:52:39 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) 11:52:39 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) 11:52:39 [PMD] Skipping publisher since build result is FAILURE {code}
    via by Geoff Cummings,
  • Collecting findbugs analysis results occasionally causes ssh slave to go offline causing job to abort Some of our legacy builds have a large number of Findbugs warnings. Parsing these results in the post build action sometimes causes the slave to go offline, and jenkins quickly brings the slave back online but it causes the job to have failed. I notice that findbugs outputs a lot of information to the slave.log on the jenkins master By the time I check, the slave.log has rotated to slave.log.1 but a new slave.log has not been created. From tailing slave.log on Jenkins master: {code} Sep 17, 2013 11:52:39 AM hudson.plugins.findbugs.parser.FindBugsParser findSourceFile WARNING: Can't resolve absolute file name for file CallbackInterceptorConfigurer.java, dir list = [/tr/j/jh/workspace/tws_trunk_nightly_build/com.aepona.tws.build/build/test-reports/findbugs.xml/src/main/java, /tr/j/jh/workspace/tws_trunk_nightly_build/com.aepona.tws.build/build/test-reports/findbugs.xml/src/test/java, /tr/j/jh/workspace/tws_trunk_nightly_build/com.aepona.tws.build/build/test-reports/findbugs.xml/src] tail: `slave.log' has become inaccessible: No such file or directory {code} list of slave logs: notice how slave.log no longer exists slave.log has rolled over to slave.log.1 {code} $ ll -h total 764K -rw-r--r-- 1 rcbuild_user cs_sl025 461K Sep 17 11:52 slave.log.1 -rw-r--r-- 1 rcbuild_user cs_sl025 3.1K Sep 11 10:28 slave.log.10 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 17 08:42 slave.log.2 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 17 08:03 slave.log.3 -rw-r--r-- 1 rcbuild_user cs_sl025 2.8K Sep 17 07:53 slave.log.4 -rw-r--r-- 1 rcbuild_user cs_sl025 267K Sep 13 10:33 slave.log.5 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 12 10:03 slave.log.6 -rw-r--r-- 1 rcbuild_user cs_sl025 2.6K Sep 12 09:37 slave.log.7 {code} From Jenkins log: {code} Sep 17, 2013 11:52:38 AM hudson.model.Run execute INFO: tws_trunk_nightly_build #306 main build action completed: SUCCESS Sep 17, 2013 11:52:39 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run SEVERE: I/O error in channel Neshi 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:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Sep 17, 2013 11:52:39 AM hudson.model.AbstractBuild$AbstractBuildExecution performAllBuildSteps WARNING: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41) at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34) at hudson.remoting.Request.call(Request.java:174) at hudson.remoting.Channel.call(Channel.java:714) at hudson.FilePath.act(FilePath.java:898) at hudson.FilePath.act(FilePath.java:882) at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:161) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) at hudson.model.Run.execute(Run.java:1629) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) 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:774) 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:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) {code} Slave Reconnect from jenkins.log {code} Sep 17, 2013 11:53:09 AM hudson.slaves.SlaveComputer tryReconnect INFO: Attempting to reconnect xxx {code} Log from build: {code} 11:52:38 BUILD SUCCESSFUL 11:52:38 Total time: 8 seconds 11:52:38 [FINDBUGS] Collecting findbugs analysis files... 11:52:39 ERROR: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception 11:52:39 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 11:52:39 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41) 11:52:39 at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34) 11:52:39 at hudson.remoting.Request.call(Request.java:174) 11:52:39 at hudson.remoting.Channel.call(Channel.java:714) 11:52:39 at hudson.FilePath.act(FilePath.java:898) 11:52:39 at hudson.FilePath.act(FilePath.java:882) 11:52:39 at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:161) 11:52:39 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 11:52:39 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 11:52:39 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 11:52:39 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) 11:52:39 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754) 11:52:39 at hudson.model.Build$BuildExecution.post2(Build.java:183) 11:52:39 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) 11:52:39 at hudson.model.Run.execute(Run.java:1629) 11:52:39 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 11:52:39 at hudson.model.ResourceController.execute(ResourceController.java:88) 11:52:39 at hudson.model.Executor.run(Executor.java:246) 11:52:39 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel 11:52:39 at hudson.remoting.Request.abort(Request.java:299) 11:52:39 at hudson.remoting.Channel.terminate(Channel.java:774) 11:52:39 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69) 11:52:39 Caused by: java.io.IOException: Unexpected termination of the channel 11:52:39 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) 11:52:39 Caused by: java.io.EOFException 11:52:39 at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2596) 11:52:39 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) 11:52:39 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) 11:52:39 at hudson.remoting.Command.readFrom(Command.java:92) 11:52:39 at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) 11:52:39 at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) 11:52:39 [PMD] Skipping publisher since build result is FAILURE {code}
    via by Geoff Cummings,
  • Jenkins slave terminated error message
    via by Lily Fu,
  • Unable to startup slave post master upgrade to 1.576
    via by Sudhakar.Shanmugam,
  • Error with termination of remote channel
    via by chris hemphill,
  • Communication problem with slave is not notified by email
    via by Rui Fernando Hayashi,
    • 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:2596) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1316) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Users with the same issue

    Unknown User
    19 times, last one,
    Unknown visitor1 times, last one,
    ex00
    1 times, last one,
    eti22
    1 times, last one,
    Unknown visitor1 times, last one,
    10 more bugmates