SCMTrigger thread blocks graceful shutdown

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Jenkins 2.243

      When shutting down Jenkins with SCMTriggers configured in a Tomcat container the JVM does not exit gracefully, thread dump shows the following non-daemon threads.

       

      "SCMTrigger 9" #1553 prio=5 os_prio=0 tid=0x00007f4a7819f800 nid=0x2fa8 waiting on condition [0x00007f4a32bc9000]
         java.lang.Thread.State: WAITING (parking)
              at sun.misc.Unsafe.park(Native Method)
              - parking to wait for  <0x0000000082867878> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
              at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
              at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
              at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
              at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)

            Assignee:
            Johno Crawford
            Reporter:
            Johno Crawford
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: