Issue Type: New Feature New Feature
Assignee: Oliver Gondža
Components: acceptance-test-harness
Created: 19/Aug/14 12:25 PM
Description:

When we disconnect the slave and then try to reconnect it we getting the error that it cannot get the slave jar from within the Jenkins.war file. This is repeatable across all our slaves.

See output of error below:
[08/19/14 10:25:29] [SSH] Copying latest slave.jar...
hudson.util.IOException2: Could not copy slave.jar into '/users/ccfw73' on slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:821)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:496)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:228)
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:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.util.IOException2: Could not copy slave.jar to '/users/ccfw73/slave.jar' on slave
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:818)
... 7 more
Caused by: java.io.FileNotFoundException: /target/jenkins/WEB-INF/slave.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at java.io.FileInputStream.<init>(FileInputStream.java:96)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178)
at hudson.model.Slave$JnlpJar.readFully(Slave.java:335)
at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:809)
... 7 more
[08/19/14 10:25:29] [SSH] Connection closed.

Due Date: 19/Aug/14 12:00 AM
Environment: Linux
Project: Jenkins
Labels: jenkins
Priority: Blocker Blocker
Reporter: paul collins
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to