-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
Windows 2008 64-bit
Tomcat 6 (runs as a Windows service with a special "build" domain user)
Jenkins 1.461
Git plugin version 1.1.17
Git version 1.7.10-preview20120409
Remote repository is Assembla
The "mydomain\build" user is properly configured with SSH keys (command-line access works 100%, jenkins works except when it hangs)Windows 2008 64-bit Tomcat 6 (runs as a Windows service with a special "build" domain user) Jenkins 1.461 Git plugin version 1.1.17 Git version 1.7.10-preview20120409 Remote repository is Assembla The "mydomain\build" user is properly configured with SSH keys (command-line access works 100%, jenkins works except when it hangs)
See elaborate description, dumps and discussion at:
http://stackoverflow.com/questions/10732940/git-operations-occasionally-hang-in-jenkins-on-windows
Basically, there is a Jenkins environment with some jobs based on GIT with periodic polling.
Each of the main GIT operations in the system (periodic polling, the pull at the beginning of a job, and the tag push at the end of a job) all sometimes hang, causing builds not to happen.
I suspect that the GIT plugin is holding handles to some GIT internal files, and this locks out the GIT command-line program and causes it to hang at the beginning of a run.
This suspicion is based on a different issue I encountered - I could not wipe the workspace for one of the jobs because a GIT pack file was locked. It turns out that the process locking the file was Tomcat itself and not the GIT process as I expected.
- is related to
-
JENKINS-19214 JGit+SSH fails with NullPointerException
-
- Closed
-
We hit the same problem, project builds will randomly fail and once one project fails it will not build again until the processes holding the git pack files locked are killed off so the files can be removed. Other projects continue building fine. In our case, this involved one git.exe process and an ssh.exe process (win7-64 w/cygwin). Once removed the Jenkins process was restarted and the build that was failing built successfully.