hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by paul collins,
  • 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.
    via by paul collins,
  • Is this tested in windows ?
    via GitHub by stuaxo
    ,
    • 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

    Users with the same issue

    batwalrus76
    3 times, last one,
    Alebey
    1 times, last one,
    Dunmer
    2 times, last one,
    Casper
    1 times, last one,
    mauritius
    2 times, last one,
    115 more bugmates