Is your older slave machine running the same Java version as your master?
If not, you may see those types of problems.

Mark Waite

On Tue, Jun 13, 2017 at 2:05 PM Peter Berghold <[email protected]>
wrote:

> I'm trying to re-establish connectivity to an SSH slave that used to work
> when I was running a much older version of Jenkins.  Currently I'm using
> v2.65. What I'm seeing (somewhat trimmed) in the log is the following:
>
> [06/13/17 20:04:05] [SSH] Checking java version of java
> [06/13/17 20:04:05] [SSH] java -version returned 1.7.0_75.
> [06/13/17 20:04:05] [SSH] Starting sftp client.
> [06/13/17 20:04:05] [SSH] Copying latest slave.jar...
> [06/13/17 20:04:05] [SSH] Copied 719,269 bytes.
> Expanded the channel window size to 4MB
> [06/13/17 20:04:05] [SSH] Starting slave process: cd "/data/jenkins-slave" && 
> java  -jar slave.jar
> <===[JENKINS REMOTING CAPACITY]===>channel started
> Slave JVM has not reported exit code. Is it still running?
> [06/13/17 20:04:09] Launch failed - cleaning up connection
> [06/13/17 20:04:09] [SSH] Connection closed.
> 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: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)
>
>
> At a loss...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv2jpH-nq1fxzarHa%2BZGMoCdN4nfCFqhf8%2BVbxRcgGGSqQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAArvnv2jpH-nq1fxzarHa%2BZGMoCdN4nfCFqhf8%2BVbxRcgGGSqQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEojESYVzOWJhV0v4vp0pS6c%2Bg35_gJR4WX3vj1eG3tOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to