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

SSH Slaves plugin fails the host verification of slaves with an IllegalArgumentException

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • ssh-slaves-plugin
    • Java 64bit 1.8.0.131
      Jenkins 2.46.3
      ssh-slaves-plugin 1.18 (and 1.19)

      When we upgrade the ssh slaves plugin on the latest stable jenkins we get :

      ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
      java.lang.IllegalArgumentException
        at com.trilead.ssh2.Connection.setServerHostKeyAlgorithms(Connection.java:1311)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
        at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
        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)
      [06/13/17 13:10:39] Launch failed - cleaning up connection
      [06/13/17 13:10:39] [SSH] Connection closed.
      

       

          [JENKINS-44832] SSH Slaves plugin fails the host verification of slaves with an IllegalArgumentException

          IUGO Admin created issue -
          IUGO Admin made changes -
          Description Original: When we upgrade the ssh slaves plugin on the latest stable jenkins we get :

           

          ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.IllegalArgumentException at com.trilead.ssh2.Connection.setServerHostKeyAlgorithms(Connection.java:1311) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:789) 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:748) [06/12/17 13:16:57] Launch failed - cleaning up connection [06/12/17 13:16:57] [SSH] Connection closed.
           
          running jdk 1.8.132. 
          h3. Jenkins v2.46.3
           
          New: When we upgrade the ssh slaves plugin on the latest stable jenkins we get :

           

          ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.IllegalArgumentException at com.trilead.ssh2.Connection.setServerHostKeyAlgorithms(Connection.java:1311) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:789) 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:748) [06/12/17 13:16:57] Launch failed - cleaning up connection [06/12/17 13:16:57] [SSH] Connection closed.
            
           running jdk 1.8.131.

          java -version
          java version "1.8.0_131"
          Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
          Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) 
          h3. Jenkins v2.46.3

           
          Nikolas Falco made changes -
          Description Original: When we upgrade the ssh slaves plugin on the latest stable jenkins we get :

           

          ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.IllegalArgumentException at com.trilead.ssh2.Connection.setServerHostKeyAlgorithms(Connection.java:1311) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:789) 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:748) [06/12/17 13:16:57] Launch failed - cleaning up connection [06/12/17 13:16:57] [SSH] Connection closed.
            
           running jdk 1.8.131.

          java -version
          java version "1.8.0_131"
          Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
          Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) 
          h3. Jenkins v2.46.3

           
          New: When we upgrade the ssh slaves plugin on the latest stable jenkins we get :

          {noformat}
          ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
          java.lang.IllegalArgumentException
            at com.trilead.ssh2.Connection.setServerHostKeyAlgorithms(Connection.java:1311)
            at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:796)
            at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:792)
            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)
          [06/13/17 13:10:39] Launch failed - cleaning up connection
          [06/13/17 13:10:39] [SSH] Connection closed.
          {noformat}

           
          Environment New: Java 64bit 1.8.0.131
          Jenkins 2.46.3
          Labels New: regression
          Priority Original: Blocker [ 1 ] New: Critical [ 2 ]
          Summary Original: SSH Slaves plugin 1.18 breaks all slaves - illegalargumentexception New: SSH Slaves plugin fails the host verification of slaves with an IllegalArgumentException
          Nikolas Falco made changes -
          Environment Original: Java 64bit 1.8.0.131
          Jenkins 2.46.3
          New: Java 64bit 1.8.0.131
          Jenkins 2.46.3
          ssh-slaves-plugin 1.18 (and 1.19)
          Jesse Glick made changes -
          Link New: This issue blocks JENKINS-42959 [ JENKINS-42959 ]
          Jesse Glick made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 63 (Web Link)" [ 17129 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Nikolas Falco made changes -
          Attachment New: slave setting.png [ 38451 ]
          Nikolas Falco made changes -
          Attachment New: known_hosts_on_master.png [ 38452 ]

            jglick Jesse Glick
            admincrowdiugo IUGO Admin
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: