hudson.util.IOException2: Could not copy slave.jar into '/users/ccfw73' on slave

nabble.com | 4 months ago
  1. 0

    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.

    Jenkins JIRA | 2 years ago | paul collins
    hudson.util.IOException2: Could not copy slave.jar into '/users/ccfw73' on slave
  2. 0

    [JENKINS-24323] Could not copy slave.jar into '/users/ccfw73' on slave - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    hudson.util.IOException2: Could not copy slave.jar into '/users/ccfw73' on slave
  3. 0

    Jenkins issues - [JIRA] [acceptance-test-harness] (JENKINS-24323) Could not copy slave.jar into '/users/ccfw73' on slave

    nabble.com | 4 months ago
    hudson.util.IOException2: Could not copy slave.jar into '/users/ccfw73' on slave
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Jenkins JIRA | 2 years ago | paul collins
    hudson.util.IOException2: Could not copy slave.jar into '/users/ccfw73' on slave
  6. 0

    Bike rental support for multiple-graph deployments doesn't work w/o default graph

    GitHub | 4 years ago | demory
    java.io.FileNotFoundException: /var/otp/graphs/Graph.obj (No such file or directory)

  1. treefolk 1 times, last 1 week ago
  2. davidvanlaatum 1 times, last 2 weeks ago
  3. Andreas Häber 1 times, last 3 weeks ago
  4. kjhdofjosvs 1 times, last 1 month ago
  5. MoYapro 1 times, last 1 month ago
7 more registered users
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /target/jenkins/WEB-INF/slave.jar (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileURLConnection.getInputStream
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:137)
    3. java.io.FileInputStream.<init>(FileInputStream.java:96)
    4. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87)
    5. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178)
    5 frames
  3. Hudson
    Slave$JnlpJar.readFully
    1. hudson.model.Slave$JnlpJar.readFully(Slave.java:335)
    1 frame
  4. hudson.plugins.sshslaves
    SSHLauncher.launch
    1. hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:809)
    2. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:496)
    2 frames
  5. Hudson
    SlaveComputer$1.call
    1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:228)
    1 frame
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    5. java.lang.Thread.run(Thread.java:679)
    5 frames