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

Deadlock on jenkins startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: core, sonar-plugin
    • Labels:
    • 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

            Activity

            jchorko Janusz Chorko created issue -
            jchorko Janusz Chorko made changes -
            Field Original Value New Value
            Component/s branch-api-plugin [ 18621 ]
            jchorko Janusz Chorko made changes -
            Environment Jenkins version 2.114
            Plugins versions:
            * sonar: 2.7
            * git 3.8.0
            Jenkins version 2.114
            Plugins versions:
            * sonar: 2.7
            * git 3.8.0
            * branch-api 2.0.19
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Component/s git-plugin [ 15543 ]
            markewaite Mark Waite made changes -
            Component/s branch-api-plugin [ 18621 ]
            svanoort Sam Van Oort made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            svanoort Sam Van Oort made changes -
            Link This issue is related to JENKINS-50671 [ JENKINS-50671 ]
            jglick Jesse Glick made changes -
            Component/s core [ 15593 ]
            Labels deadlock threads
            michaelhpe michael jing made changes -
            Assignee michael jing [ michaelhpe ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            dlouzado Dario Louzado made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            greybird Arnaud TAMAILLON made changes -
            Link This issue is related to JENKINS-55361 [ JENKINS-55361 ]
            oleg_nenashev Oleg Nenashev made changes -
            Released As JENKINS
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Fixed but Unreleased [ 10203 ]
            oleg_nenashev Oleg Nenashev made changes -
            Released As JENKINS Jenkins 2.163
            oleg_nenashev Oleg Nenashev made changes -
            Assignee michael jing [ michaelhpe ]
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Labels deadlock threads deadlock lts-candidate threads
            olivergondza Oliver Gond┼ża made changes -
            Labels deadlock lts-candidate threads deadlock threads

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jchorko Janusz Chorko
              Votes:
              5 Vote for this issue
              Watchers:
              22 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: