-
Bug
-
Resolution: Fixed
-
Minor
-
Jenkins 2.375.3, Java 11 multiple vendors
Solaris 11.4, AIX 7.2 and HPIA11
Seems that the agent is running,
find /tmp -type f -atime +10 -delete -iname 'jenkins.sh' -maxdepth 0
It will return non-zero on most Unix platforms -maxdepth and -delete are not standard options on UNIX to find.
when there is an error and so will normally result in the following log,
<===[JENKINS REMOTING CAPACITY]===>channel started
Remoting version: 3044.vb_940a_a_e4f72e
Launcher: SSHLauncher
Communication Protocol: Standard in/out
This is a Unix agent
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jenkins.slaves.StandardOutputSwapper$ChannelSwapper to constructor java.io.FileDescriptor(int)
WARNING: Please consider reporting this to the maintainers of jenkins.slaves.StandardOutputSwapper$ChannelSwapper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Evacuated stdout
Updating existing installations for sol114
Clearing temporally data on sol114
[dev-jenkins] $ /bin/sh -xe /var/tmp/jenkins14295555655355881769.sh
+ find /tmp -type f -atime +10 -delete -iname 'jenkins.sh' -maxdepth 0
find: bad option -delete
find: [-H | -L] path-list predicate-list
ScriptFailed 1
Agent JVM has not reported exit code. Is it still running?
[02/14/23 15:12:03] Launch failed - cleaning up connection
[02/14/23 15:12:03] [SSH] Connection closed.
ERROR: Connection terminated
java.io.EOFException
at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2911)
at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3406)
at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:932)
at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:375)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
at hudson.remoting.Command.readFrom(Command.java:142)
at hudson.remoting.Command.readFrom(Command.java:128)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61)
Caused: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75)