scmuser created the topic: hudson.util.IOException2: Could not copy slave.jar into ” on slave
How to resolve this issues?
Remote file system root does not exist. Will try to create it…
[10/31/13 01:36:55] [SSH] Opening SSH connection to 172.16.116.77:22.
[10/31/13 01:36:56] [SSH] Authentication successful.
[10/31/13 01:36:57] [SSH] The remote users environment is:
BASH=/bin/bash
8d03be7b734b352178df5-1383227978.473831-1761971970
_=’]’
[10/31/13 01:36:57] [SSH] Checking java version of java
[10/31/13 01:36:58] [SSH] java -version returned 1.7.0_25.
[10/31/13 01:36:58] [SSH] Starting sftp client.
[10/31/13 01:36:58] [SSH] Remote file system root does not exist. Will try to create it…
hudson.util.IOException2: Could not copy slave.jar into ” on slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:790)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:487)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.util.IOException2: Failed to mkdir
at hudson.plugins.sshslaves.SFTPClient.mkdirs(SFTPClient.java:85)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:762)
… 7 more
Caused by: com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.)
at com.trilead.ssh2.SFTPv3Client.expectStatusOKMessage(SFTPv3Client.java:555)
at com.trilead.ssh2.SFTPv3Client.mkdir(SFTPv3Client.java:955)
at hudson.plugins.sshslaves.SFTPClient.mkdirs(SFTPClient.java:83)
… 8 more
[10/31/13 01:36:59] [SSH] Connection closed.
rajeshkumar replied the topic: hudson.util.IOException2: Could not copy slave.jar into ” on slave
Check if “Remote FS root” in slave configurtion…
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018