-
Bug
-
Resolution: Fixed
-
Critical
-
OS: Amazon Linux2 CPE: cpe:2.3:o:amazon:amazon_linux:2
Java Version: OpenJDK Runtime Environment Corretto-11.0.5.10.1 (build 11.0.5+10-LTS)
Jenkins & plugin versions: See attached PDF
About Jenkins installation:
Jenkins (master) is installed as a service on an AWS EC2 instance with an EBS backed volume for Jenkins data.
Jenkins master then sits behind a load balancer
We use AWS EC2 Cloud plugin for build nodes
Things tried:
* Updated plugins that had available pluginsOS: Amazon Linux2 CPE: cpe:2.3:o:amazon:amazon_linux:2 Java Version: OpenJDK Runtime Environment Corretto-11.0.5.10.1 (build 11.0.5+10-LTS) Jenkins & plugin versions: See attached PDF About Jenkins installation: Jenkins (master) is installed as a service on an AWS EC2 instance with an EBS backed volume for Jenkins data. Jenkins master then sits behind a load balancer We use AWS EC2 Cloud plugin for build nodes Things tried: * Updated plugins that had available plugins
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
- is related to
-
JENKINS-43106 pipeline job hangs forever at checkout GitSCM - after git rev-list (sporadic)
- Closed
- links to