Jenkins node connectivity Issue using SSH agent

48 views
Skip to first unread message

Ganesha Prasad

unread,
Dec 9, 2014, 1:38:17 AM12/9/14
to jenkins...@googlegroups.com

Hello and Greetings,

Has anyone experienced such a scenario, then would like to know how the issue was resolved.

Using Jenkins Version: 1.579, I am trying to add one more node using the following Steps:
(Note: Adding other 3 nodes(or slaves) completed succesfully)

1. Manage Jenkins -> Configure System -> SSH Remote Hosts

2. Under SSH Remote Hosts -> Host Name: -> Port: 22 -> Username: auto_ci

Launch Method: Launch Slave Agents on Unix machines via SSH

Jenkins Return Message: Couldnot connect to server

Illustration:

IP Address of the master: 192.168.240.33
IP Address of the slave node: 192.168.242.30 (runs as a clearcase terminal)

Normal ssh login using Putty or any SSH Tool, from 192.168.240.33 system to 192.168.242.30 works fine.

Node Log on Jenkins shows:

USER=auto_ci
_=bash
[12/04/14 16:41:13] [SSH] Checking java version of java
[12/04/14 16:41:13] [SSH] java -version returned 1.7.0_25.
[12/04/14 16:41:13] [SSH] Starting sftp client.
[12/04/14 16:41:14] [SSH] Copying latest slave.jar...
[12/04/14 16:41:14] [SSH] Copied 416,640 bytes.
Expanded the channel window size to 4MB
[12/04/14 16:41:14] [SSH] Starting slave process: cd "/home/auto_ci" && java  -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>channel started
Slave.jar version: 2.44
This is a Unix slave
Slave successfully connected and online
<See a Wheel like object spinning endlessly>

Trace of /var/log/jenkins/jenkins-log from the Jenkins Master Server

Dec 04, 2014 3:58:40 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel Clearcase_Meal
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$PeekInputStream.readFully(ObjectInputStream.java:2298)
        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2767)
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:798)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:298)
        at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
        at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
        at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

Dec 04, 2014 3:59:00 PM hudson.slaves.SlaveComputer tryReconnect
INFO: Attempting to reconnect Clearcase_Meal

With Regards
Ganesha Prasad

Reply all
Reply to author
Forward
0 new messages