The SSH version on the IBM i server, that is where the slave should run, is:

> ssh -V
  OpenSSH_6.9p1, OpenSSL 1.0.2r  26 Feb 2019
  $

Enabling logging on the slave did not help. All I get is an empty log file 
'remoting.log.0', when using the following logger configuration file:

# 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 equally
java.util.logging.FileHandler.level=ALL
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
java.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.log
java.util.logging.FileHandler.encoding=UTF-8
java.util.logging.FileHandler.limit=10485760
java.util.logging.FileHandler.count=9
java.util.logging.FileHandler.append=false

# Log everything ...
.level= ALL
hudson.remoting.level=FINE


This is who I specified the logger configuration of the slave:

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.


Thomas.


Am Sonntag, 16. Juni 2019 22:35:53 UTC+2 schrieb Ivan Fernandez Calvo:
>
>
> Could you enable verbose loggin for the package "hudson.remoting"? FINE 
> log level should enough see how at 
> https://github.com/jenkinsci/remoting/blob/master/docs/logging.md
> Which version os SSH do you use? execute `ssh -V` 
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/52ba48af-53d1-42bd-aae0-80a0f92b77f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to