java.io.IOException: Could not copy slave.jar into '/homes/bldmgr' on slave

1,139 views
Skip to first unread message

venkatesh guttal

unread,
Apr 27, 2017, 1:00:47 AM4/27/17
to Jenkins Users
Hi,

I am getting below error in jenkins when i trigger the job.

user bldmgr
version tcsh 6.17.00 (Astron) 2009-07-10 (x86_64-unknown-linux) options wide,nls,dl,al,kan,sm,rh,color,filec
[04/27/17 08:06:53] [SSH] Checking java version of java
[04/27/17 08:06:53] [SSH] java -version returned 1.8.0_92.
[04/27/17 08:06:53] [SSH] Starting sftp client.
[04/27/17 08:06:53] [SSH] Copying latest slave.jar...
java.io.IOException: Could not copy slave.jar into '/homes/bldmgr' on slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:1135)
at hudson.plugins.sshslaves.SSHLauncher.access$300(SSHLauncher.java:144)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:802)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:785)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Could not copy slave.jar to '/homes/bldmgr/slave.jar' on slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:1130)
... 7 more
Caused by: com.trilead.ssh2.SFTPException: Failure (SSH_FX_FAILURE: An error occurred, but no specific error code exists to describe the failure.)
at com.trilead.ssh2.SFTPv3Client.expectStatusOKMessage(SFTPv3Client.java:555)
at com.trilead.ssh2.SFTPv3Client.closeHandle(SFTPv3Client.java:271)
at com.trilead.ssh2.SFTPv3Client.closeFile(SFTPv3Client.java:1379)
at hudson.plugins.sshslaves.SFTPClient$1.close(SFTPClient.java:106)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:1124)
... 7 more
[04/27/17 08:06:53] Launch failed - cleaning up connection
[04/27/17 08:06:53] [SSH] Connection closed.



Victor Martinez

unread,
Apr 27, 2017, 5:58:27 AM4/27/17
to Jenkins Users
Just a quick one:

does /homes/bldmgr exist? Has bldmgr user got granted privileges to write in that folder?

Cheers

Reply all
Reply to author
Forward
0 new messages