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

Jenkins multijob fails when slave reboots

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Postponed
    • Component/s: multijob-plugin
    • Labels:
    • Environment:
      jenkins version- 2117, OS(master)- Ubuntu 14.04.4 LTS 64 bit, OS(slave)- Ubuntu 16.04.4 LTS 64bit, multijob ver- 1.30,browser- Chrome v66.0.3359.139, java(master)- openjdk version "1.8.0_111" , java(slave)- java version "1.8.0_162"
    • Similar Issues:

      Description

      I have installed UBUNTU both 32 & 64 bit on different partitions, I need to change kernel and reboot on both variants, which I am doing with multijob. Now the situation is the job successfully reboots and changes to 64 bit(acc to my job flow) but when its reqd to do few tasks and reboot back to 32bit , it does the job but on jenkins the job fails, hence it doesnt go further.Please help and log to the slave is mentioned below-
      ERROR: Connection terminated
      java.io.EOFException
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2353)
      at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2822)
      at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:804)
      at java.io.ObjectInputStream.<init>(ObjectInputStream.java:301)
      at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
      at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:36)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
      Caused: java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)
      ERROR: Socket connection to SSH server was lost
      java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:209)
      at java.net.SocketInputStream.read(SocketInputStream.java:141)
      at com.trilead.ssh2.crypto.cipher.CipherInputStream.fill_buffer(CipherInputStream.java:41)
      at com.trilead.ssh2.crypto.cipher.CipherInputStream.internal_read(CipherInputStream.java:52)
      at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:79)
      at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
      at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
      at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:706)
      at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
      at java.lang.Thread.run(Thread.java:745)
      Slave JVM has not reported exit code before the socket was lost

        Attachments

          Activity

            People

            • Assignee:
              absurdmind Peter Kranz
              Reporter:
              c_debabr Deb Das
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: