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

Job fails because the ssh agent cannot be killed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: ssh-agent-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.651.1
      Node = Fedora 20
      SSH-agent plugin: 1.14
    • Similar Issues:

      Description

      I have a job that starts a ssh-agent:
      [ssh-agent] Looking for ssh-agent implementation...
      [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
      $ ssh-agent
      SSH_AUTH_SOCK=/tmp/ssh-iJL2AkutZ8Xm/agent.27447
      SSH_AGENT_PID=27449
      [ssh-agent] Started.
      Sometimes, the process of the ssh-agent dies during the job execution (the job runs during a couple of hours).

      When terminating the job, Jenkins tries to kill the ssh-agent, but this fails
      $ ssh-agent -k
      kill: No such process
      ERROR: Failed to run ssh-agent -k
      This makes the job fail.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              terrapin Jan Hollevoet
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: