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

Hang when using ssh after upgrade to ssh-agent 1.21

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • ssh-agent-plugin
    • None
    • Jenkins version 2.280
      ssh-agent 1.21
      ssh-credentials 1.18.1

      After upgrading to ssh-agent 1.21 we had a job hang at a git command.

      We terminated it after more than 30 minutes. Tried again and again with same result.

      After reverting to 1.20 it worked again.

      Versions:

      • Jenkins 2.280
      • ssh-agent 1.21
      • ssh-credentials 1.18.1

      Log:

      ...
      [Pipeline] sshagent
      15:27:55  [ssh-agent] Using credentials jenkins (jenkins ssh key)
      15:27:55  [ssh-agent] Looking for ssh-agent implementation...
      15:27:55  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
      15:27:55  $ docker exec bb2595d46378e3aa4279cba0a20d8e3026f79d84bc9d2f2b5b856bbfba3ab1f5 ssh-agent
      15:27:55  [ssh-agent]   Java/JNR ssh-agent
      15:27:55  [ssh-agent] Registered BouncyCastle on the remote agent
      15:27:55  [ssh-agent] Started.
      [Pipeline] {
      [Pipeline] sh
      15:27:55  + git ls-remote --heads origin
      

       

       Probably related to JENKINS-50181.

            Unassigned Unassigned
            snago Robin Karlsson
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: