Remote file system root does not exist. Will try to create it...

4,182 views
Skip to first unread message

Rajesh Kumar

unread,
Oct 31, 2013, 5:03:50 AM10/31/13
to jenkins...@googlegroups.com
What could be the possible solution for this error i am getting while adding Salve....

[10/31/13 01:56:57] [SSH] Checking java version of java [10/31/13 01:56:58] [SSH] java -version returned 1.7.0_25. [10/31/13 01:56:58] [SSH] Starting sftp client.
[10/31/13 01:56: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:56:59] [SSH] Connection closed.

Eric Pyle

unread,
Oct 31, 2013, 10:36:59 AM10/31/13
to jenkins...@googlegroups.com
What path did you enter as "remote file system root" when configuring the slave? Does that directory exist on the slave? Can you create the directory through ssh as the same user that runs Jenkins? What if you log in to the slave machine and try to create the directory, and make sure the permissions are given to the Jenkins user? Does that improve things?

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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages