|
We're seeing this same problem with:
Jenkins - 1.617 Git Plugin - 2.3.5 git 1.9.0.msysgit.0
We started getting this problem after upgrading from a quite old version of the Git Plugin - 1.4.0, which we were using with the same version of git on the windows slave (1.9.0.mysysgit.0).
We see mostly the same behavior Maximin described. We do not get the error about the .ssh directory mentioned in the original description here.
Running the git command spawned by the Jenkins slave manually in a git bash shell in the workspace works every time without delay, regardless of whether or not other jobs are hung on it in the same slave. I did this by copying the command line from process explorer on the hung git command and just pasting it in, so it's exactly the same.
Running just the ssh command gives a response but hangs, the remote end does not close the connection:
003c29363ef2df43efb9d3e517e6f78fc7bda2f46f7e refs/tags/help
0000
However, this behavior should be fine by the Git protocol, the 0000 indicates the end of message.
I wonder if there could be a change in input/output buffering when git is run by another process and this is causing some communication deadlock. We can't reproduce this behavior with git alone (version unchanged) and never saw it with the old Git Plugin version.
|