• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • Jenkins 1.138.3
      ssh-slaves-plugin 1.29.1
      Java 1.8.0_171-8u171
      OS: Debian Stretch (Server and Jenkins Nodes)
    • ssh-slaves-1.29.2

      Starting with ssh-slaves-plugin 1.29.1, the SSH agent connection with all nodes fail.

      Logs on Jenkins (logfile):

      [11/21/18 09:38:38] SSH Launch of HOSTNAME on HOSTNAME failed in 391 ms
      

      Logs on Jenkins (UI):

      SSHLauncher{host='HOSTNAME', port=22, credentialsId='b1f94972-dfce-45d0-9cb1-f14e3dc324b9', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.ManuallyTrustedKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
      [11/21/18 09:40:05] [SSH] Opening SSH connection to HOSTNAME:22.
      [11/21/18 09:40:05] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed.
      [11/21/18 09:40:05] [SSH] Authentication failed.
      Authentication failed.
      [11/21/18 09:40:05] Launch failed - cleaning up connection
      [11/21/18 09:40:05] [SSH] Connection closed.
      

      The auth.log of a node just contains:

      Closed due to user request. [preauth]
      

      Downgrading to 1.28.1 fixes the issue.

        1. config.xml
          2 kB
        2. jenkins2.png
          jenkins2.png
          143 kB
        3. jenkins1.png
          jenkins1.png
          19 kB

          [JENKINS-54746] Can't connect via SSH on 1.29.1

          Florian P created issue -
          Darryl Pogue made changes -
          Component/s New: ssh-slaves-plugin [ 15578 ]
          Component/s Original: ssh-agent-plugin [ 17509 ]
          Description Original: Starting with ssh-agent-plugin 1.29.1, the SSH agent connection with all nodes fail.

          Logs on Jenkins (logfile):
          {code}
          [11/21/18 09:38:38] SSH Launch of HOSTNAME on HOSTNAME failed in 391 ms
          {code}

          Logs on Jenkins (UI):

          {code}
          SSHLauncher{host='HOSTNAME', port=22, credentialsId='b1f94972-dfce-45d0-9cb1-f14e3dc324b9', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.ManuallyTrustedKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
          [11/21/18 09:40:05] [SSH] Opening SSH connection to HOSTNAME:22.
          [11/21/18 09:40:05] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed.
          [11/21/18 09:40:05] [SSH] Authentication failed.
          Authentication failed.
          [11/21/18 09:40:05] Launch failed - cleaning up connection
          [11/21/18 09:40:05] [SSH] Connection closed.
          {code}


          The {{auth.log}} of a node just contains:
          {code}
          Closed due to user request. [preauth]
          {code}


          Downgrading to 1.28.1 fixes the issue.
          New: Starting with ssh-slaves-plugin 1.29.1, the SSH agent connection with all nodes fail.

          Logs on Jenkins (logfile):
          {code:java}
          [11/21/18 09:38:38] SSH Launch of HOSTNAME on HOSTNAME failed in 391 ms
          {code}
          Logs on Jenkins (UI):
          {code:java}
          SSHLauncher{host='HOSTNAME', port=22, credentialsId='b1f94972-dfce-45d0-9cb1-f14e3dc324b9', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.ManuallyTrustedKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
          [11/21/18 09:40:05] [SSH] Opening SSH connection to HOSTNAME:22.
          [11/21/18 09:40:05] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed.
          [11/21/18 09:40:05] [SSH] Authentication failed.
          Authentication failed.
          [11/21/18 09:40:05] Launch failed - cleaning up connection
          [11/21/18 09:40:05] [SSH] Connection closed.
          {code}
          The {{auth.log}} of a node just contains:
          {code:java}
          Closed due to user request. [preauth]
          {code}
          Downgrading to 1.28.1 fixes the issue.
          Environment Original: Jenkins 1.138.3
          ssh-agent-plugin 1.29.1
          Java 1.8.0_171-8u171
          OS: Debian Stretch (Server and Jenkins Nodes)
          New: Jenkins 1.138.3
          ssh-slaves-plugin 1.29.1
          Java 1.8.0_171-8u171
          OS: Debian Stretch (Server and Jenkins Nodes)
          Tom Ghyselinck made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Tom Ghyselinck made changes -
          Assignee New: Ivan Fernandez Calvo [ ifernandezcalvo ]
          Ivan Fernandez Calvo made changes -
          Link New: This issue is related to JENKINS-54884 [ JENKINS-54884 ]
          Ivan Fernandez Calvo made changes -
          Remote Link New: This issue links to "PR (Web Link)" [ 22130 ]
          Ivan Fernandez Calvo made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ivan Fernandez Calvo made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Ivan Fernandez Calvo made changes -
          Released As New: ssh-slaves-1.29.2
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Darryl Pogue made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Ivan Fernandez Calvo made changes -
          Priority Original: Critical [ 2 ] New: Major [ 3 ]

            ifernandezcalvo Ivan Fernandez Calvo
            notizblock Florian P
            Votes:
            9 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: