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

Jenkins job hangs in Jira call after git rev-list command

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • jira-plugin

      Recently Jenkins master  when a job is triggered it hangs around checkout

       Command that it seems to get stuck on:

      git rev-list --no-walk a4539ebbe8fe6da843fb1fe4c7b0ce5cf79a0647 # timeout=10 

      This issue only started happening sporadically from 2019-12-17 and is impacting our CI/CD pipeline. We rely on Jenkins to deploy to our environments.

       

      If you tried to kill the job, it is unresponsive.

      If you restart Jenkins master then the job that gets stuck is no longer exists

       

      Job Build Logs:

      Started by upstream project "parent-job" build number 5
      originally caused by:
       Branch indexing
      Checking out git <REPO> into /var/lib/jenkins/workspace/acceptance-tests@script to read acceptance-tests/Jenkinsfile-local
      using credential jenkins-git
       > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url git@bitbucket.org:obillex/fundit.git # timeout=10
      Fetching upstream changes from git@bitbucket.org:obillex/fundit.git
       > git --version # timeout=10
      using GIT_SSH to set credentials Jenkins access to git
       > git fetch --tags --progress -- <REPO>+refs/heads/*:refs/remotes/origin/* # timeout=10
       > git rev-parse b6a1b7a159b86dd5a52b8385670397d568345c53^{commit} # timeout=10
      Checking out Revision b6a1b7a159b86dd5a52b8385670397d568345c53 (detached)
       > git config core.sparsecheckout # timeout=10
       > git checkout -f b6a1b7a159b86dd5a52b8385670397d568345c53 # timeout=10
      Commit message: "Commit message"
       > git rev-list --no-walk a4539ebbe8fe6da843fb1fe4c7b0ce5cf79a0647 # timeout=10

      This issue seems to be a regression of this resolved issue JENKINS-43106

          [JENKINS-60536] Jenkins job hangs in Jira call after git rev-list command

          Emma Phillips created issue -
          Emma Phillips made changes -
          Link New: This issue is related to JENKINS-43106 [ JENKINS-43106 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Kieran Shaw made changes -
          Attachment New: Screenshot from 2019-12-19 10-27-27.png [ 49833 ]
          Mark Waite made changes -
          Summary Original: Jenkins master hangs forever at git rev-list command New: Jenkins job hangs after git rev-list command
          Mark Waite made changes -
          Component/s New: jira-steps-plugin [ 21974 ]
          Component/s Original: core [ 15593 ]
          Component/s Original: git-plugin [ 15543 ]
          Kieran Shaw made changes -
          Component/s New: jira-plugin [ 15515 ]
          Mark Waite made changes -
          Summary Original: Jenkins job hangs after git rev-list command New: Jenkins job hangs in Jira call after git rev-list command
          Naresh Rayapati made changes -
          Component/s Original: jira-steps-plugin [ 21974 ]
          Taylor Nelson made changes -
          Attachment New: image-2020-02-26-08-28-37-010.png [ 50424 ]
          Taylor Nelson made changes -
          Attachment New: image-2020-02-26-08-29-08-607.png [ 50425 ]

            olamy Olivier Lamy
            honestem Emma Phillips
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: