Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

       

      When trying to launch a PowerPC node. 

      [07/17/17 16:19:27] [SSH] Checking java version of java
      [07/17/17 16:19:27] [SSH] java -version returned 1.7.0_131.
      [07/17/17 16:19:27] [SSH] Starting sftp client.
      [07/17/17 16:19:27] [SSH] Copying latest slave.jar...
      [07/17/17 16:19:27] [SSH] Copied 719,269 bytes. Expanded the channel window size to 4MB
      [07/17/17 16:19:27] [SSH] Starting slave process: cd "/var/lib/jenkins" && java -jar slave.jar
      <===[JENKINS REMOTING CAPACITY]===>channel started Slave JVM has not reported exit code. Is it still running?
      [07/17/17 16:22:12] Launch failed - cleaning up connection
      [07/17/17 16:22:12] [SSH] Connection closed. ERROR: Connection terminated java.io.IOException: Unexpected EOF at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:99) at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)

       

       

      Then it looks like it retries the SSH connection and gets

      [07/17/17 16:28:36] [SSH] Checking java version of java
      [07/17/17 16:28:37] [SSH] java -version returned 1.7.0_131.
      [07/17/17 16:28:37] [SSH] Starting sftp client.
      [07/17/17 16:28:37] [SSH] Copying latest slave.jar...
      [07/17/17 16:28:38] [SSH] Copied 719,269 bytes.
      Expanded the channel window size to 4MB
      [07/17/17 16:28:38] [SSH] Starting slave process: cd "/var/lib/jenkins" && java  -jar slave.jar
      <===[JENKINS REMOTING CAPACITY]===>channel started
      Slave JVM has not reported exit code. Is it still running?
      [07/17/17 16:31:22] Launch failed - cleaning up connection
      [07/17/17 16:31:22] [SSH] Connection closed.
      ERROR: Connection terminated
      java.io.EOFException
      	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2638)
      	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3113)
      	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:853)
      	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:349)
      	at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
      	at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)
      Caused: java.io.IOException: Unexpected termination of the channel
      	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:73)
      

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            You are running SSH Slaves Plugin with Java 7, but Jenkins 2.60.1 requires Java 8. Hence such configuration cannot work. Similar to JENKINS-29412 but for Java 7. Better diagnosability improvement: JENKINS-44851

            Show
            oleg_nenashev Oleg Nenashev added a comment - You are running SSH Slaves Plugin with Java 7, but Jenkins 2.60.1 requires Java 8. Hence such configuration cannot work. Similar to JENKINS-29412 but for Java 7. Better diagnosability improvement: JENKINS-44851
            Hide
            black_wolf Jacob Barthelmeh added a comment -

            Thanks for the quick response Oleg. I'll take a look at the similar cases.

            Show
            black_wolf Jacob Barthelmeh added a comment - Thanks for the quick response Oleg. I'll take a look at the similar cases.

              People

              • Assignee:
                Unassigned
                Reporter:
                black_wolf Jacob Barthelmeh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: