[JIRA] (JENKINS-53387) ssh-add - Text file busy

2019-04-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x commented on  JENKINS-53387  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ssh-add - Text file busy   
 

  
 
 
 
 

 
 https://issues.jenkins-ci.org/browse/JENKINS-48258?focusedCommentId=324590=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-324590 > The issue here appears to be caused by a Java bug, https://bugs.openjdk.java.net/browse/JDK-8068370. The issue is possible when multiple threads open a file for writing, close it, and then execute them (each thread using its own file). Even if all files are closed "properly", due to how file handles work around fork/exec, a child process in one thread may inherit the handle to anther thread's open file, and thus break that thread's later subprocess call.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-48258) git client plugin occasionally fails with "text file busy" error

2019-04-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-48258  
 
 
  git client plugin occasionally fails with "text file busy" error   
 

  
 
 
 
 

 
Change By: 
 phgr100x phgr100x  
 
 
Comment: 
 This is probably caused by https://bugs.openjdk.java.net/browse/JDK-8068370  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-48258) git client plugin occasionally fails with "text file busy" error

2019-04-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x commented on  JENKINS-48258  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git client plugin occasionally fails with "text file busy" error   
 

  
 
 
 
 

 
 This is probably caused by https://bugs.openjdk.java.net/browse/JDK-8068370  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53387) ssh-add - Text file busy

2018-09-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x commented on  JENKINS-53387  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ssh-add - Text file busy   
 

  
 
 
 
 

 
 Similar issue on Docker : https://github.com/moby/moby/issues/9547. Users recommend to use sync command after chmod action.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-53387) ssh-add - Text file busy

2018-09-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53387  
 
 
  ssh-add - Text file busy   
 

  
 
 
 
 

 
Change By: 
 phgr100x phgr100x  
 

  
 
 
 
 

 
 Random error `Text file busy` when using ssh-agent  {code:java} [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 {code}  Finished: FAILURE  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to 

[JIRA] (JENKINS-53387) ssh-add - Text file busy

2018-09-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53387  
 
 
  ssh-add - Text file busy   
 

  
 
 
 
 

 
Change By: 
 phgr100x phgr100x  
 

  
 
 
 
 

 
 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 PipelineERROR: Failed to run ssh-addFinished: FAILURE  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe 

[JIRA] (JENKINS-53387) ssh-add - Text file busy

2018-09-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53387  
 
 
  ssh-add - Text file busy   
 

  
 
 
 
 

 
Change By: 
 phgr100x phgr100x  
 

  
 
 
 
 

 
 Random error `Text file busy` when  isung  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  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To 

[JIRA] (JENKINS-53387) ssh-add - Text file busy

2018-09-03 Thread philippe.gra...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 phgr100x phgr100x created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53387  
 
 
  ssh-add - Text file busy   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 ssh-agent-plugin  
 
 
Created: 
 2018-09-03 10:15  
 
 
Environment: 
 Jenkins 2.121.3  ss-agent-plugin 1.15  
 
 
Labels: 
 plugin  
 
 
Priority: 
  Major  
 
 
Reporter: 
 phgr100x phgr100x  
 

  
 
 
 
 

 
 [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