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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: ssh-slaves-plugin
    • Labels:
    • Environment:
      Java 64bit 1.8.0.131
      Jenkins 2.46.3
      ssh-slaves-plugin 1.18 (and 1.19)
    • Similar Issues:

      Description

      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.
      

       

        Attachments

          Issue Links

            Activity

            admincrowdiugo IUGO Admin created issue -
            admincrowdiugo IUGO Admin made changes -
            Field Original Value New Value
            Description 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
             
            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

             
            nfalco Nikolas Falco made changes -
            Description 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

             
            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 Java 64bit 1.8.0.131
            Jenkins 2.46.3
            Labels regression
            Priority Blocker [ 1 ] Critical [ 2 ]
            Summary SSH Slaves plugin 1.18 breaks all slaves - illegalargumentexception SSH Slaves plugin fails the host verification of slaves with an IllegalArgumentException
            nfalco Nikolas Falco made changes -
            Environment Java 64bit 1.8.0.131
            Jenkins 2.46.3
            Java 64bit 1.8.0.131
            Jenkins 2.46.3
            ssh-slaves-plugin 1.18 (and 1.19)
            jglick Jesse Glick made changes -
            Link This issue blocks JENKINS-42959 [ JENKINS-42959 ]
            jglick Jesse Glick made changes -
            Assignee Kohsuke Kawaguchi [ kohsuke ] Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 63 (Web Link)" [ 17129 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            nfalco Nikolas Falco made changes -
            Attachment slave setting.png [ 38451 ]
            nfalco Nikolas Falco made changes -
            Attachment known_hosts_on_master.png [ 38452 ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            nfalco Nikolas Falco made changes -
            Attachment image-2017-06-13-16-27-57-910.png [ 38453 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: