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

[Unexpected termination of the channel] for Unix SSH slaves

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • remoting
    • None
    • Jenkins Master version: 1.464 hosted on Linux bambpmsauto 2.6.34.7-0.4-desktop #1 SMP PREEMPT 2010-10-07 19:07:51 +0200 x86_64 x86_64 x86_64 GNU/Linux

      Once we upgraded to 1.464 jobs that run on Unix virtual machines (using SSH launch method) started to fail with the error below. The use case is the following:

      We have a job that reverts the VM and triggers a parametrized build on install jobs passing the node label with NodeLabel parameter plugin. Nodes have In demand delay = 5 and Idle delay = 15.
      Node os: Linux vmbam09 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

      Console Output for the failing jobs:
      Started by upstream project "eda-vm-revert" build number 4800
      Building remotely on vmbam09.eur.ad.sag in workspace /home/vmtest/jenkins/workspace/eda-install
      FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.Request.call(Request.java:149)
      at hudson.remoting.Channel.call(Channel.java:646)
      at hudson.FilePath.act(FilePath.java:828)
      at hudson.FilePath.act(FilePath.java:821)
      at hudson.FilePath.mkdirs(FilePath.java:887)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1216)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475)
      at hudson.model.Run.run(Run.java:1434)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:239)
      Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.Request.abort(Request.java:273)
      at hudson.remoting.Channel.terminate(Channel.java:702)
      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)

            kohsuke Kohsuke Kawaguchi
            vassilena Vassilena Treneva
            Votes:
            15 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: