hudson.util.IOException2: Could not copy slave.jar to slave

Jenkins JIRA | leovonklenze | 7 years ago
  1. 0

    If hudson tries to start the slave on the slave via ssh, the following exception is thrown: {code} [06/01/10 13:51:45] [SSH] Checking java version of /opt/java6/bin/java [06/01/10 13:51:45] [SSH] /opt/java6/bin/java -version returned 1.6.0.06. [06/01/10 13:51:45] [SSH] Starting sftp client. [06/01/10 13:51:46] [SSH] SFTP failed. Copying via SCP. hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:442) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:401) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:211) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed')) at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at com.trilead.ssh2.Connection.exec(Connection.java:1434) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:426) ... 8 more [06/01/10 13:51:46] [SSH] Connection closed. {code}

    Jenkins JIRA | 7 years ago | leovonklenze
    hudson.util.IOException2: Could not copy slave.jar to slave
  2. 0

    If hudson tries to start the slave on the slave via ssh, the following exception is thrown: {code} [06/01/10 13:51:45] [SSH] Checking java version of /opt/java6/bin/java [06/01/10 13:51:45] [SSH] /opt/java6/bin/java -version returned 1.6.0.06. [06/01/10 13:51:45] [SSH] Starting sftp client. [06/01/10 13:51:46] [SSH] SFTP failed. Copying via SCP. hudson.util.IOException2: Could not copy slave.jar to slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:442) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:401) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:211) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed')) at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127) at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584) at com.trilead.ssh2.Session.<init>(Session.java:40) at com.trilead.ssh2.Connection.openSession(Connection.java:1047) at com.trilead.ssh2.Connection.exec(Connection.java:1434) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:426) ... 8 more [06/01/10 13:51:46] [SSH] Connection closed. {code}

    Jenkins JIRA | 7 years ago | leovonklenze
    hudson.util.IOException2: Could not copy slave.jar to slave
  3. 0

    Slave on HPUX Itanium

    Google Groups | 6 years ago | jmccaskey
    hudson.util.IOException2: Could not copy slave.jar to slave
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-6674] IOException when connecting to HP-UX slave (from Windows 2008) - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    hudson.util.IOException2: Could not copy slave.jar to slave
  6. 0

    Slave on Solaris 9

    Google Groups | 6 years ago | jmccaskey
    java.io.IOException: Could not open channel (The connection is being shutdown)

    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.IOException

      Could not open channel (The server refused to open the channel (SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, 'open failed'))

      at com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen()
    2. Trilead
      Connection.exec
      1. com.trilead.ssh2.channel.ChannelManager.waitUntilChannelOpen(ChannelManager.java:127)
      2. com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:584)
      3. com.trilead.ssh2.Session.<init>(Session.java:40)
      4. com.trilead.ssh2.Connection.openSession(Connection.java:1047)
      5. com.trilead.ssh2.Connection.exec(Connection.java:1434)
      5 frames
    3. hudson.plugins.sshslaves
      SSHLauncher.launch
      1. hudson.plugins.sshslaves.SSHLauncher.copySlaveJarUsingSCP(SSHLauncher.java:426)
      2. hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:401)
      3. hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:211)
      3 frames
    4. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:183)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames