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

ssh-saves 0.27 and jenknis 1.522 not working: java.io.IOException: Unexpected termination of the channel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • ssh-slaves-plugin
    • None
    • jenkins=1522
      ssh-slaves=0.27

      Suddenly Jenkins and ssh-slaves stopped working completly. Log shows only

      Jul 11, 2013 10:16:13 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
      SEVERE: I/O error in channel pikachu
      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:72)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      

      I checked and ssh connection works between master and slave, here is the proof, the auth.log from the slave:

      Jul 11 10:16:45 sorins sshd[29280]: reverse mapping checking getaddrinfo for dote-02.80.10.in-addr.arpa [10.80.225.152] failed - POSSIBLE BREAK-IN ATTEMPT!
      Jul 11 10:16:45 sorins sshd[29280]: Accepted publickey for xenbuild from 10.80.225.152 port 42968 ssh2
      Jul 11 10:16:45 sorins sshd[29280]: pam_unix(sshd:session): session opened for user xenbuild by (uid=0)
      Jul 11 10:17:01 sorins CRON[29460]: pam_unix(cron:session): session opened for user root by (uid=0)
      Jul 11 10:17:02 sorins CRON[29460]: pam_unix(cron:session): session closed for user root
      Jul 11 10:18:27 sorins sshd[29426]: Received disconnect from 10.80.225.152: 11: disconnected by user
      Jul 11 10:18:27 sorins sshd[29280]: pam_unix(sshd:session): session closed for user xenbuild
      

            kohsuke Kohsuke Kawaguchi
            ssbarnea Sorin Sbarnea
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: