Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14046

git operations occasionally hang in Jenkins on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Component/s: git-plugin
    • Environment:
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            orantmp Oran t created issue -
            orantmp Oran t made changes -
            Field Original Value New Value
            Environment Windows 2008 64-bit
            Tomcat 6
            Jenkins 1.461
            Git plugin version 1.1.17
            Git version 1.7.10-preview20120409
            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)
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-19214 [ JENKINS-19214 ]
            markewaite Mark Waite made changes -
            Resolution Cannot Reproduce [ 5 ]
            Status Open [ 1 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 144514 ] JNJira + In-Review [ 205919 ]

              People

              Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              orantmp Oran t
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: