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

git operations occasionally hang in Jenkins on Windows

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • git-plugin

      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.

          [JENKINS-14046] git operations occasionally hang in Jenkins on Windows

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

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

              Created:
              Updated:
              Resolved: