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

SSH Build Agents 1.32.0 Master cannot connect to Agents anymore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins LTS: 2.289.1
      SSH Build Agents: 1.32.0

      I've updated our Jenkins environment and since the update our dynamic build agents do not start anymore.

      I can see in the Agent overview that the containers are spawned but they still have the red "x".
      The containers are running and manually i am able to login from the Master running on unix

      ssh root@172.18.24.195 -p 52590 -l jenkins
      

      Error

      ERROR: class io.jenkins.docker.connector.DockerComputerSSHConnector$DockerSSHLauncher is missing its descriptor
      java.lang.AssertionError: class io.jenkins.docker.connector.DockerComputerSSHConnector$DockerSSHLauncher is missing its descriptor
      	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1598)
      	at hudson.model.AbstractDescribableImpl.getDescriptor(AbstractDescribableImpl.java:42)
      	at hudson.plugins.sshslaves.SSHLauncher.checkJavaIsInPath(SSHLauncher.java:529)
      	at hudson.plugins.sshslaves.SSHLauncher.access$300(SSHLauncher.java:111)
      	at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:449)
      	at hudson.plugins.sshslaves.SSHLauncher$1.call(SSHLauncher.java:421)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

      Workaround:

      As i have faced a similar issue already 2019 i have simply downgraded this plugin to 1.31.5 and it seems to work fine now.

      Links

        1. error.txt
          3 kB
          Stephan Watermeyer

            ifernandezcalvo Ivan Fernandez Calvo
            phreakadelle Stephan Watermeyer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: