-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.121.3
ss-agent-plugin 1.15
Random error `Text file busy` when using ssh-agent
[Pipeline] {
[Pipeline] withCredentials
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials APP_SSH_KEY
[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-QWEfM28796/agent.28796
SSH_AGENT_PID=28800
$ ssh-add /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key
Identity added: /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key (/jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key)
$ ssh-add /jenkins/workspace/myjob@tmp/private_key_503513565487944952.key
ssh_askpass: exec(/jenkins/workspace/myjob@tmp/askpass_1445148365080710750.sh): Text file busy [Pipeline] // sshagent [Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: Failed to run ssh-add
Finished: FAILURE