• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ssh-agent-plugin
    • 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

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

          phgr100x phgr100x created issue -
          phgr100x phgr100x made changes -
          Description Original: [Pipeline] {
          [Pipeline] withCredentials
          [Pipeline] {
          [Pipeline] sshagent*04:44:55* [ssh-agent] Using credentials APP_SSH_KEY*04:44:55* [ssh-agent] Looking for ssh-agent implementation...*04:44:55* [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)*04:44:55* $ ssh-agent*04:44:55* SSH_AUTH_SOCK=/tmp/ssh-QWEfM28796/agent.28796*04:44:55* SSH_AGENT_PID=28800*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key*04:44:55* Identity added: /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key (/jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key)*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_503513565487944952.key*04:44:55* 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
          New: Random error `Text file busy` when isung ssh-agent

          [Pipeline] {
           [Pipeline] withCredentials
           [Pipeline]

          { [Pipeline] sshagent*04:44:55* [ssh-agent] Using credentials APP_SSH_KEY*04:44:55* [ssh-agent] Looking for ssh-agent implementation...*04:44:55* [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)*04:44:55* $ ssh-agent*04:44:55* SSH_AUTH_SOCK=/tmp/ssh-QWEfM28796/agent.28796*04:44:55* SSH_AGENT_PID=28800*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key*04:44:55* Identity added: /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key (/jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key)*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_503513565487944952.key*04:44:55* 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
          phgr100x phgr100x made changes -
          Description Original: Random error `Text file busy` when isung ssh-agent

          [Pipeline] {
           [Pipeline] withCredentials
           [Pipeline]

          { [Pipeline] sshagent*04:44:55* [ssh-agent] Using credentials APP_SSH_KEY*04:44:55* [ssh-agent] Looking for ssh-agent implementation...*04:44:55* [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)*04:44:55* $ ssh-agent*04:44:55* SSH_AUTH_SOCK=/tmp/ssh-QWEfM28796/agent.28796*04:44:55* SSH_AGENT_PID=28800*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key*04:44:55* Identity added: /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key (/jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key)*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_503513565487944952.key*04:44:55* 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
          New: Random error `Text file busy` when using ssh-agent

          [Pipeline] {
           [Pipeline] withCredentials
           [Pipeline]

          { [Pipeline] sshagent*04:44:55* [ssh-agent] Using credentials APP_SSH_KEY*04:44:55* [ssh-agent] Looking for ssh-agent implementation...*04:44:55* [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)*04:44:55* $ ssh-agent*04:44:55* SSH_AUTH_SOCK=/tmp/ssh-QWEfM28796/agent.28796*04:44:55* SSH_AGENT_PID=28800*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key*04:44:55* Identity added: /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key (/jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key)*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_503513565487944952.key*04:44:55* 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
          phgr100x phgr100x made changes -
          Description Original: Random error `Text file busy` when using ssh-agent

          [Pipeline] {
           [Pipeline] withCredentials
           [Pipeline]

          { [Pipeline] sshagent*04:44:55* [ssh-agent] Using credentials APP_SSH_KEY*04:44:55* [ssh-agent] Looking for ssh-agent implementation...*04:44:55* [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)*04:44:55* $ ssh-agent*04:44:55* SSH_AUTH_SOCK=/tmp/ssh-QWEfM28796/agent.28796*04:44:55* SSH_AGENT_PID=28800*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key*04:44:55* Identity added: /jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key (/jenkins/workspace/myjob@tmp/private_key_1395343975081553490.key)*04:44:55* $ ssh-add /jenkins/workspace/myjob@tmp/private_key_503513565487944952.key*04:44:55* 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
          New: Random error `Text file busy` when using ssh-agent

           
          {code:java}
          [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

          {code}

           Finished: FAILURE

            Unassigned Unassigned
            phgr100x phgr100x phgr100x
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: