Hmmm, I deleted the remoting.jar file and was able to restart Jenkins and 
the node came up.  Wonder if this is going to happen every we patch and 
boot this machine?

On Friday, March 18, 2022 at 8:43:55 AM UTC-6 eric....@gmail.com wrote:

> Hi!  I have a node that is unable to launch.  On the log it shows:
>
> [03/18/22 09:39:01] [SSH] Copying latest remoting.jar... 
> java.io.IOException: Could not copy remoting.jar into 
> '/home/myuser/checkout' on agent at 
> hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:715) at 
> hudson.plugins.sshslaves.SSHLauncher.access$300(SSHLauncher.java:112) at 
> hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:455) at 
> hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:422) at 
> java.util.concurrent.FutureTask.run(FutureTask.java:266) at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  
> at java.lang.Thread.run(Thread.java:750) Caused by: 
> java.lang.IllegalArgumentException: invalid len argument at 
> com.trilead.ssh2.SFTPv3Client.read(SFTPv3Client.java:1232) at 
> com.trilead.ssh2.jenkins.SFTPClient$SFTPInputStream.read(SFTPClient.java:172) 
> at 
> com.google.common.io.ByteStreams.toByteArrayInternal(ByteStreams.java:184) 
> at com.google.common.io.ByteStreams.toByteArray(ByteStreams.java:224) at 
> hudson.plugins.sshslaves.SSHLauncher.readInputStreamIntoByteArrayAndClose(SSHLauncher.java:773)
>  
> at hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:684) 
> ... 7 more
>
> I've set my perms on the checkout dir to 777, so it's not that it doesn't 
> have permission to write over the current remoting.jar that lives there. 
> Anyone have any clues or further trouble shooting advise? 
> Running Jenkins 2.232.1 on RHEL 7.9.
>
> Thanks - Eric 
>

-- 
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/134d8093-61e0-45af-9ccd-1d0c855cd327n%40googlegroups.com.

Reply via email to