Skip to content

[JENKINS-18836] java.io.IOException: Unexpected termination of the channel #745

Description

@jenkins-infra-bot

On regular occasion builds fail due to an IO error while processing the findbugs results:

09:05:12 ERROR: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception
09:05:12 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
09:05:12 	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
09:05:12 	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
09:05:12 	at hudson.remoting.Request.call(Request.java:174)
09:05:12 	at hudson.remoting.Channel.call(Channel.java:718)
09:05:12 	at hudson.FilePath.act(FilePath.java:894)
09:05:12 	at hudson.FilePath.act(FilePath.java:878)
09:05:12 	at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:161)
09:05:12 	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144)
09:05:12 	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:334)
09:05:12 	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
09:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
09:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
09:05:12 	at hudson.model.Build$BuildExecution.post2(Build.java:183)
09:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
09:05:12 	at hudson.model.Run.execute(Run.java:1618)
09:05:12 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
09:05:12 	at hudson.model.ResourceController.execute(ResourceController.java:88)
09:05:12 	at hudson.model.Executor.run(Executor.java:247)
09:05:12 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
09:05:12 	at hudson.remoting.Request.abort(Request.java:299)
09:05:13 	at hudson.remoting.Channel.terminate(Channel.java:778)
09:05:15 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
09:05:15 Caused by: java.io.IOException: Unexpected termination of the channel
09:05:15 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
09:05:16 Caused by: java.io.EOFException
09:05:16 	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2595)
09:05:16 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
09:05:22 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
09:05:22 	at hudson.remoting.Command.readFrom(Command.java:92)
09:05:22 	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:72)
09:05:22 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

This doesn't happen every time, sometimes the build does finish properly. But when it fails, it's always at the same point.

None the less, I reverted back to 1.518 for now.


Originally reported by elmuerte, imported from: java.io.IOException: Unexpected termination of the channel
  • assignee: kohsuke
  • status: Resolved
  • priority: Major
  • component(s): ssh-slaves-plugin
  • label(s): 1.532.1-fixed
  • resolution: Fixed
  • resolved: 2013-10-09T11:29:10+00:00
  • votes: 4
  • watchers: 13
  • imported: 20251211-223321
Raw content of original issue

On regular occasion builds fail due to an IO error while processing the findbugs results:

09:05:12 ERROR: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception
09:05:12 hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
09:05:12 	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
09:05:12 	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
09:05:12 	at hudson.remoting.Request.call(Request.java:174)
09:05:12 	at hudson.remoting.Channel.call(Channel.java:718)
09:05:12 	at hudson.FilePath.act(FilePath.java:894)
09:05:12 	at hudson.FilePath.act(FilePath.java:878)
09:05:12 	at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:161)
09:05:12 	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144)
09:05:12 	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:334)
09:05:12 	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
09:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
09:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
09:05:12 	at hudson.model.Build$BuildExecution.post2(Build.java:183)
09:05:12 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
09:05:12 	at hudson.model.Run.execute(Run.java:1618)
09:05:12 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
09:05:12 	at hudson.model.ResourceController.execute(ResourceController.java:88)
09:05:12 	at hudson.model.Executor.run(Executor.java:247)
09:05:12 Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
09:05:12 	at hudson.remoting.Request.abort(Request.java:299)
09:05:13 	at hudson.remoting.Channel.terminate(Channel.java:778)
09:05:15 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
09:05:15 Caused by: java.io.IOException: Unexpected termination of the channel
09:05:15 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
09:05:16 Caused by: java.io.EOFException
09:05:16 	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2595)
09:05:16 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
09:05:22 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
09:05:22 	at hudson.remoting.Command.readFrom(Command.java:92)
09:05:22 	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:72)
09:05:22 	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

This doesn't happen every time, sometimes the build does finish properly. But when it fails, it's always at the same point.

None the less, I reverted back to 1.518 for now.

environment
Ubuntu 12.04 64bit, OpenJDK 1.6.0_27 (both master and slaves)<br/>
Tried Jenkins versions 1.521, 1.522, 1.523<br/>

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions