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

Jenkins Startup Deadlock - QueueSorter.installDefaultQueueSorter and Queue.init

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core, prioritysorter-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.544 / Jenkins Priority Sorter Plugin 2.2
    • Similar Issues:

      Description

      Found one Java-level deadlock:
      =============================
      "Handling GET /jenkins/view/Portal/ : RequestHandlerThread[#12]":
        waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
        which is held by "QueueSorter.installDefaultQueueSorter"
      "QueueSorter.installDefaultQueueSorter":
        waiting to lock monitor 0x000000001ae56c48 (object 0x000000041895e0f0, a hudson.model.Queue),
        which is held by "Queue.init"
      "Queue.init":
        waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
        which is held by "QueueSorter.installDefaultQueueSorter"
      

        Attachments

          Issue Links

            Activity

            gcummings Geoff Cummings created issue -
            emsa23 Magnus Sandberg made changes -
            Field Original Value New Value
            Assignee bklarson [ bklarson ] Magnus Sandberg [ emsa23 ]
            emsa23 Magnus Sandberg made changes -
            Environment Jenkins 1.544 Jenkins 1.544 / Jenkins Priority Sorter Plugin 2.2
            Description
            {code}
            Found one Java-level deadlock:
            =============================
            "Handling GET /jenkins/view/Portal/ : RequestHandlerThread[#12]":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            "QueueSorter.installDefaultQueueSorter":
              waiting to lock monitor 0x000000001ae56c48 (object 0x000000041895e0f0, a hudson.model.Queue),
              which is held by "Queue.init"
            "Queue.init":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            {code}
            {code}
            Found one Java-level deadlock:
            =============================
            "Handling GET /jenkins/view/Portal/ : RequestHandlerThread[#12]":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            "QueueSorter.installDefaultQueueSorter":
              waiting to lock monitor 0x000000001ae56c48 (object 0x000000041895e0f0, a hudson.model.Queue),
              which is held by "Queue.init"
            "Queue.init":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            {code}
            emsa23 Magnus Sandberg made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            gontardd S├ębastien Boulet made changes -
            Description {code}
            Found one Java-level deadlock:
            =============================
            "Handling GET /jenkins/view/Portal/ : RequestHandlerThread[#12]":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            "QueueSorter.installDefaultQueueSorter":
              waiting to lock monitor 0x000000001ae56c48 (object 0x000000041895e0f0, a hudson.model.Queue),
              which is held by "Queue.init"
            "Queue.init":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            {code}


            {code}
            Found one Java-level deadlock:
            =============================
            "Handling GET /jenkins/view/Portal/ : RequestHandlerThread[#12]":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            "QueueSorter.installDefaultQueueSorter":
              waiting to lock monitor 0x000000001ae56c48 (object 0x000000041895e0f0, a hudson.model.Queue),
              which is held by "Queue.init"
            "Queue.init":
              waiting to lock monitor 0x000000001a449d08 (object 0x0000000419d757e8, a hudson.ExtensionList$Lock),
              which is held by "QueueSorter.installDefaultQueueSorter"
            {code}
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 152875 ] JNJira + In-Review [ 194380 ]
            greybird Arnaud TAMAILLON made changes -
            Link This issue is related to JENKINS-55361 [ JENKINS-55361 ]

              People

              • Assignee:
                emsa23 Magnus Sandberg
                Reporter:
                gcummings Geoff Cummings
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: