• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core, sonar-plugin
    • Jenkins version 2.114
      Plugins versions:
      * sonar: 2.7
      * git 3.8.0
      * branch-api 2.0.19
    • Jenkins 2.163

      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"
      

          [JENKINS-50663] Deadlock on jenkins startup

          Janusz Chorko created issue -
          Janusz Chorko made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Janusz Chorko made changes -
          Environment Original: Jenkins version 2.114
          Plugins versions:
          * sonar: 2.7
          * git 3.8.0
          New: Jenkins version 2.114
          Plugins versions:
          * sonar: 2.7
          * git 3.8.0
          * branch-api 2.0.19

          Ed Ed added a comment - - edited

          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.

          Ed Ed added a comment - - edited 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.
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Component/s Original: git-plugin [ 15543 ]
          Mark Waite made changes -
          Component/s Original: branch-api-plugin [ 18621 ]

          How to revert back to an older version, when Jenkins is not starting?

           

          Martin Majewski added a comment - How to revert back to an older version, when Jenkins is not starting?  

          Same here.

          martinmajewski go to the jenkins data directory, then `plugins`, you'll find `sonar.bak` and `sonar.jpi`. Remove the latter, and rename the former to `sonar.jpi`. Restart jenkins and you're good to go

          Giuseppe Iannello added a comment - Same here. martinmajewski go to the jenkins data directory, then `plugins`, you'll find `sonar.bak` and `sonar.jpi`. Remove the latter, and rename the former to `sonar.jpi`. Restart jenkins and you're good to go
          Sam Van Oort made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]

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

              Created:
              Updated:
              Resolved: