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

IOException when connecting to HP-UX slave (from Windows 2008)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • ssh-slaves-plugin
    • None
    • Master: Windows Server 2008, Java 1.6.0_17
      Slave: HP-UX 11.23 IA64N, Java 1.6.0.06

      If hudson tries to start the slave on the slave via ssh, the following exception is thrown:

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

            kohsuke Kohsuke Kawaguchi
            leovonklenze leovonklenze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: