SSHLauncher{host='obfuscated.host.com', port=22, credentialsId='beb60c8b-21d2-4f36-8f17-b594fb421d96', jvmOptions='-Dfile.encoding=ISO8859_1', javaPath='/QIBM/ProdData/Java400/bin/java', prefixStartSlaveCmd='', suffixStartSlaveCmd=' -text', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.ManuallyTrustedKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[06/16/19 10:14:13] [SSH] Opening SSH connection to obfuscated.host.com:22.
[06/16/19 10:14:15] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed.
[06/16/19 10:14:15] [SSH] Authentication successful.
[06/16/19 10:14:16] [SSH] The remote user's environment is:
HOME=/home/raddatz
IFS=
LOGIN=raddatz
LOGNAME=raddatz
MAIL=/var/spool/mail/raddatz
MAILCHECK=600
OPTIND=1
PATH=/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
SHELL=/QOpenSys/usr/bin/bsh
SSH_CLIENT=10.214.1.158 59593 22
SSH_CONNECTION=10.214.1.158 59593 10.200.36.33 22
TZ=<CET>-1<CEST>,M3.5.0,M10.5.0/03:00:00
USER=raddatz
[06/16/19 10:14:17] [SSH] Starting sftp client.
[06/16/19 10:14:18] [SSH] Copying latest remoting.jar...
Source agent hash is D2D1A740134BD20D6F0855B356344342. Installed agent hash is D2D1A740134BD20D6F0855B356344342
Verified agent jar. No update is necessary.
Expanded the channel window size to 4MB
[06/16/19 10:14:40] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && /QIBM/ProdData/Java400/bin/java -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir /home/raddatz/jenkins/work -text
Slave JVM has terminated. Exit code=1
[06/16/19 10:15:12] Launch failed - cleaning up connection
[06/16/19 10:15:13] [SSH] Connection closed.
File . . . . . : QPRINT Page/Line 1/6Control . . . . . Columns 1 - 130Find . . . . . .*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3Running in text modeBoth error and output logs will be printed to /home/raddatz/jenkins/work/remotingWARNING: Are you running agent from an interactive console?If so, you are probably using it incorrectly.<===[JENKINS REMOTING CAPACITY]===>rO0ABXNyABpodWRzb24ucmVtb3RpbmcuQ2FwYWJpbGl0eQAAAAAAAAABAgABSgAEbWFza3hwAAAAAAAAAf4=<===[HUDSONRANSMISSION BEGINS]===>
File . . . . . : QPRINT Page/Line 1/6Control . . . . . Columns 1 - 130Find . . . . . .*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3Jun 16, 2019 10:14:50 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDirINFO: Using /home/raddatz/jenkins/work/remoting as a remoting work directoryException in thread "main" java.io.EOFException: unexpected stream termination at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:415) at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:360) at hudson.remoting.Launcher.main(Launcher.java:743) at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:691) at hudson.remoting.Launcher.run(Launcher.java:373) at hudson.remoting.Launcher.main(Launcher.java:283)
java version "1.8.0_201"Java(TM) SE Runtime Environment (build 8.0.5.30 - pap3280sr5fp30-20190207_01(SR5 FP30))IBM J9 VM (build 2.9, JRE 1.8.0 OS/400 ppc-32-Bit 20190124_408237 (JIT enabled, AOT enabled)OpenJ9 - 9c77d86OMR - dad8ba7IBM - e2996d1)JCL - 20190207_01 based on Oracle jdk8u201-b09
check the directory /home/raddatz/jenkins and /home/raddatz/jenkins/work for log files or hs_err_pid files
Finally check the troubleshooting guide https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/TROUBLESHOOTING.md#troubleshooting
[06/16/19 21:52:55] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && /QOpenSys/usr/bin/java -Dfile.encoding=ISO8859_1 -Xms256M -Xmx256M -jar remoting.jar -workDir /home/Raddatz/jenkins/work
Slave JVM has terminated. Exit code=1
Also enabling
[06/16/19 22:10:24] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && /QOpenSys/usr/bin/java -Dfile.encoding=ISO8859_1 -Xms256M -Xmx256M -jar remoting.jar -workDir /home/Raddatz/jenkins/work
Slave JVM has terminated. Exit code=1
Thomas.
# Configuration file that controls the slave logging ... if we pass in a JVM# arg -Djava.util.logging.config.file=jenkins-slave.logging.properties
# Send output to file as well as console.handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# Log everything equallyjava.util.logging.FileHandler.level=ALLjava.util.logging.ConsoleHandler.level=ALLjava.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatterjava.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatterjava.util.logging.SimpleFormatter.format=%1$tFT%1$tT.%1$tL%1$tz %4$s %2$s: %5$s%6$s%n
# On the filesystem, we keep up to 9 logs of 10meg each.java.util.logging.FileHandler.pattern=jenkins-slave.%g.logjava.util.logging.FileHandler.encoding=UTF-8java.util.logging.FileHandler.limit=10485760java.util.logging.FileHandler.count=9java.util.logging.FileHandler.append=false
# Log everything ....level= ALLhudson.remoting.level=FINE
Source agent hash is D2D1A740134BD20D6F0855B356344342. Installed agent hash is D2D1A740134BD20D6F0855B356344342
Verified agent jar. No update is necessary.
Expanded the channel window size to 4MB
[06/17/19 13:24:16] [SSH] Starting agent process: cd "/home/Raddatz/jenkins" && /QOpenSys/usr/bin/java -Dfile.encoding=ISO8859_1 -jar remoting.jar -workDir /home/Raddatz/jenkins/work -loggingConfig jenkins-slave.logging.properties
Slave JVM has terminated. Exit code=1
[06/17/19 13:24:41] Launch failed - cleaning up connection
[06/17/19 13:24:41] [SSH] Connection closed.
traddatz@CNDEA041500 MINGW64 ~$ ssh rad...@10.200.36.33 echo "OK"rad...@10.200.36.33's password:OK
traddatz@CNDEA041500 MINGW64 ~$ ssh -t rad...@10.200.36.33 echo "OK"rad...@10.200.36.33's password:OKConnection to 10.200.36.33 closed.
traddatz@CNDEA041500 MINGW64 ~$ ssh -T rad...@10.200.36.33 echo "OK"rad...@10.200.36.33's password:OK
traddatz@CNDEA041500 MINGW64 ~$ ssh rad...@10.200.36.33 ssh -Vrad...@10.200.36.33's password:
OpenSSH_6.9p1, OpenSSL 1.0.2r 26 Feb 2019
traddatz@CNDEA041500 MINGW64 ~$
Again, thank you.
Thomas.