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

ssh-add is timing out in a Fargate worker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ssh-agent-plugin
    • None
    • Jenkins 2.401.1

      I have a Jenkins instance which spins up workers in Fargate. However, the following occurs when I try to run sshagent:
      [ssh-agent] Looking for ssh-agent implementation...
      [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
      SSH_AUTH_SOCK=/tmp/ssh-BX6ulrCb6Ksu/agent.163
      SSH_AGENT_PID=166
      Running ssh-add (command line suppressed)
      ERROR: Timeout after 1 minutes
      [ssh-agent] Started.[Pipeline]

      {[Pipeline] sh[Pipeline] }

      ERROR: Timeout after 1 minutes
      [ssh-agent] Stopped.[Pipeline] // sshagent
      Any idea why it might be timing out? I imagine were it failing to add the provided key, it would not be a time out, rather an explicit error no?

            Unassigned Unassigned
            cestioco Chad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: