Hi all,
I am new to Jenkins and I am lost. The problem is that I cannot start a
Jenkins slave on an IBM i (former: AS/400, iSeries, etc.) due to
a java.io.EOFException.
The log file and the console output does not contain anything meaningful to
me.
Jenkins version: 2.164.3 (same problem with 2.176.1)
Jenkins log when starting the slave node:
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.
Job log 1 on IBM i:
File . . . . . : QPRINT
Page/Line 1/6
Control . . . . .
Columns 1 - 130
Find . . . . . .
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3
Running in text mode
Both error and output logs will be printed to
/home/raddatz/jenkins/work/remoting
WARNING: Are you running agent from an interactive console?
If so, you are probably using it incorrectly.
See https://wiki.jenkins.io/display/JENKINS/Launching+agent+from+console
<===[JENKINS REMOTING
CAPACITY]===>rO0ABXNyABpodWRzb24ucmVtb3RpbmcuQ2FwYWJpbGl0eQAAAAAAAAABAgABSgAEbWFza3hwAAAAAAAAAf4=<===[HUDSON
RANSMISSION BEGINS]===>
Job log 2 on IBM i:
File . . . . . : QPRINT
Page/Line 1/6
Control . . . . .
Columns 1 - 130
Find . . . . . .
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2....+....3
Jun 16, 2019 10:14:50 AM org.jenkinsci.remoting.engine.WorkDirManager
initializeWorkDir
INFO: Using /home/raddatz/jenkins/work/remoting as a remoting work directory
Exception 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 on IBM i:
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 - 9c77d86
OMR - dad8ba7
IBM - e2996d1)
JCL - 20190207_01 based on Oracle jdk8u201-b09
Any comments, thoughts or ideas would be greatly appreciated.
Thanks,
Thomas.
--
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/61e284fe-16a3-4568-92ae-2ffd91d1eaef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.