Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Blocker
-
Resolution: Fixed
-
Component/s: core, sonar-plugin
-
Environment:Jenkins version 2.114
Plugins versions:
* sonar: 2.7
* git 3.8.0
* branch-api 2.0.19
-
Similar Issues:
-
Released As:Jenkins 2.163
Description
After plugin update jenkins hangs on startup. Attached thread dump showing deadlock. Here's short version:
Found one Java-level deadlock: ============================= "CustomOrganizationFolderDescriptor.addSpecificDescriptors": waiting to lock monitor 0x00007f5510004f38 (object 0x00000006c6654678, a hudson.ExtensionList$Lock), which is held by "GitSCM.onLoaded" "GitSCM.onLoaded": waiting for ownable synchronizer 0x00000006c6eb7488, (a java.util.concurrent.locks.ReentrantLock$NonfairSync), which is held by "SonarGlobalConfiguration.migrate" "SonarGlobalConfiguration.migrate": waiting to lock monitor 0x00007f5510004f38 (object 0x00000006c6654678, a hudson.ExtensionList$Lock), which is held by "GitSCM.onLoaded"
Attachments
Issue Links
- is related to
-
JENKINS-50671 Jenkins won't start after upgrading workflow-cps plugin to 2.47
-
- Resolved
-
-
JENKINS-55361 DescriptorExtensionList not locking correctly, leading to deadlocks
-
- Resolved
-
I had the same problem. It's the new Sonar 2.7 plugin that creates the problem. I restored the 2.6.1 and Jenkins started properly.