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

Failing to launch slave SSH agent on Solaris Host after upgrade to 2.58

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core, ssh-slaves-plugin
    • Jenkins 2.58
      SSH Slaves Plugin: 1.17
      Slave Host: Solaris 10
      Slave SSHD: Sun_SSH_1.1.8, SSH-Protokolle 1.5/2.0, OpenSSL 0x1000114f

      After upgrade to version 2.58 jenkins cannot start slave ssh agent on solaris host.

      Here is the log from Jenkins:

      [05/02/17 09:28:18] [SSH] Opening SSH connection to quark:22.
      Key exchange was not finished, connection is closed.
      java.io.IOException: There was a problem while connecting to quark:22
              at com.trilead.ssh2.Connection.connect(Connection.java:834)
              at com.trilead.ssh2.Connection.connect(Connection.java:703)
              at com.trilead.ssh2.Connection.connect(Connection.java:617)
              at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:1265)
              at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:790)
              at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:785)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
              at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:95)
              at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:237)
              at com.trilead.ssh2.Connection.connect(Connection.java:786)
              ... 9 more
      Caused by: java.io.IOException: Cannot read full block, EOF reached.
              at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
              at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
              at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
              at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:706)
              at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
              ... 1 more
      [05/02/17 09:28:18] Launch failed - cleaning up connection
      [05/02/17 09:28:18] [SSH] Connection closed. 

      SSH agent on SLES 11 (OpenSSH_6.6.1p1, OpenSSL 0.9.8j-fips 07 Jan 2009) and SLES 12 (OpenSSH_6.6.1p1, OpenSSL 1.0.1i-fips 6 Aug 2014) hosts works without problems.

        1. sshd_config.txt
          0.6 kB
          Dzianis Mazuronak

            Unassigned Unassigned
            dmazuronak Dzianis Mazuronak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: