Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: ssh-slaves-plugin
Created: 10/Dec/14 10:31 AM
Description:

I am trying to add one more node using the following Steps: (Note: Adding other 3 nodes(or slaves) completed successfully)
1.Manage Jenkins -> Configure System -> SSH Remote Hosts
2.Under SSH Remote Hosts -> Host Name: 192.168.242.30 -> Port: 22 -> Username: auto_ci

Launch Method: Launch Slave Agents on Unix machines via SSH

Jenkins Return Message: Could not 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

Environment: Jenkins Version 1.579, O/S: CentOS 6.4 (64-bit); Java version "1.7.0_09-icedtea"; OpenJDK Runtime Environment (rhel-2.3.4.1.el6_3-x86_64); OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
Project: Jenkins
Priority: Blocker Blocker
Reporter: Ganesha Prasad
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to