Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24323

Could not copy slave.jar into '/users/ccfw73' on slave

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • ssh-slaves-plugin
    • None
    • Linux

      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.

            kohsuke Kohsuke Kawaguchi
            openet paul collins
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: