Skip to content

[JENKINS-53387] ssh-add - Text file busy #240

Description

@jenkins-infra-bot

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


Originally reported by phgr100x, imported from: ssh-add - Text file busy
  • status: Open
  • priority: Major
  • component(s): ssh-agent-plugin
  • label(s): plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 3
  • imported: 20260604-211335
Raw content of original issue

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

environment
Jenkins 2.121.3<br/>
ss-agent-plugin 1.15

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions