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

Deadlock while running tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: token-macro-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.155
      PCT
      Java 1.8 && Java 11
    • Similar Issues:

      Description

      While I was running token-macro against PCT and Jenkins 2.155, I noticed that deadlocks are happening during the plugin tests.

      [INFO] Running org.jenkinsci.plugins.tokenmacro.PipelineTest[INFO] Running org.jenkinsci.plugins.tokenmacro.PipelineTest=== Starting testException(org.jenkinsci.plugins.tokenmacro.PipelineTest)   0.084 [id=175] INFO o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:35227/jenkins/   0.236 [id=182] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization   0.279 [id=182] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins   0.704 [id=181] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins   0.713 [id=182] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins   0.716 [id=186] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions   0.719 [id=186] INFO h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate optional component org.jenkinsci.plugins.workflow.steps.scm.SubversionStep$DescriptorImpl; skipping   1.234 [id=184] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs   1.268 [id=186] INFO jenkins.InitReactorRunner$1#onAttained: Completed initialization 180.000 [id=1] WARNING o.j.hudson.test.JenkinsRule$2#evaluate: Test timed out (after 180 seconds). 180.049 [id=175] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins"Executing testException(org.jenkinsci.plugins.tokenmacro.PipelineTest)" Id=175 Group=FailOnTimeoutGroup RUNNABLE at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Throwable.java:783) -  locked org.eclipse.jetty.util.MultiException@15d42ccb at java.lang.Throwable.<init>(Throwable.java:265) at java.lang.Exception.<init>(Exception.java:66) at org.eclipse.jetty.util.MultiException.<init>(MultiException.java:38) at org.eclipse.jetty.server.Server.doStop(Server.java:465) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) -  locked java.lang.Object@279dd959 at org.jvnet.hudson.test.JenkinsRule.after(JenkinsRule.java:480) at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:564) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748)"Jenkins cron thread" Id=179 Group=FailOnTimeoutGroup WAITING on java.util.TaskQueue@541179e7 at java.lang.Object.wait(Native Method) -  waiting on java.util.TaskQueue@541179e7 at java.lang.Object.wait(Object.java:502) at java.util.TimerThread.mainLoop(Timer.java:526) at java.util.TimerThread.run(Timer.java:505)"jenkins.util.Timer [#10]" Id=200 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#1]" Id=180 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#2]" Id=192 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#3]" Id=193 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#4]" Id=194 Group=FailOnTimeoutGroup TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#5]" Id=195 Group=FailOnTimeoutGroup TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#6]" Id=196 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#7]" Id=197 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#8]" Id=198 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"jenkins.util.Timer [#9]" Id=199 Group=FailOnTimeoutGroup WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7e7fe6d 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.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"TCP agent listener port=0" Id=201 Group=FailOnTimeoutGroup RUNNABLE (in native) at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) -  locked java.lang.Object@54d1608f at hudson.TcpSlaveAgentListener.run(TcpSlaveAgentListener.java:160)"main" Id=1 Group=main RUNNABLE at sun.management.ThreadImpl.dumpThreads0(Native Method) at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454) at hudson.Functions.getThreadInfos(Functions.java:1242) at org.jvnet.hudson.test.JenkinsRule.dumpThreads(JenkinsRule.java:448) at org.jvnet.hudson.test.JenkinsRule.access$100(JenkinsRule.java:252) at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:583) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)"ping-20s" Id=10 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@e146f93 at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@e146f93 at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"qtp1805412777-43" Id=43 Group=main RUNNABLE (in native) at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) -  locked sun.nio.ch.Util$3@4eb166a1 -  locked java.util.Collections$UnmodifiableSet@554c4eaa -  locked sun.nio.ch.EPollSelectorImpl@29fd8e67 at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select(ManagedSelector.java:234) at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:187) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:211) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:126) at org.eclipse.jetty.io.ManagedSelector$$Lambda$26/461516748.run(Unknown Source) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-44-acceptor-0@7d136f93-ServerConnector@4d7e7435{HTTP/1.1,[http/1.1]}{0.0.0.0:34087}" Id=44 Group=main RUNNABLE (in native) at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) -  locked java.lang.Object@6ed922e1 at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:352) at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:603) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-45" Id=45 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:564) at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:49) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:627) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-46" Id=46 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:564) at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:49) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:627) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-47" Id=47 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:564) at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:49) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:627) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-48" Id=48 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:564) at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:49) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:627) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-49" Id=49 Group=main RUNNABLE (in native) at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) -  locked sun.nio.ch.Util$3@244418a -  locked java.util.Collections$UnmodifiableSet@4b5a078a -  locked sun.nio.ch.EPollSelectorImpl@4c361f63 at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select(ManagedSelector.java:234) at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:187) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:211) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:126) at org.eclipse.jetty.io.ManagedSelector$$Lambda$26/461516748.run(Unknown Source) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) at java.lang.Thread.run(Thread.java:748)"qtp1805412777-50" Id=50 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@36c281ed at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:564) at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:49) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:627) at java.lang.Thread.run(Thread.java:748)"Scheduler-606365803" Id=51 Group=main TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@46383a78 at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@46383a78 at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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)"surefire-forkedjvm-command-thread" Id=9 Group=main RUNNABLE (in native) at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:255) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) -  locked java.io.BufferedInputStream@4bd5849e at java.io.DataInputStream.readInt(DataInputStream.java:387) at org.apache.maven.surefire.booter.MasterProcessCommand.decode(MasterProcessCommand.java:115) at org.apache.maven.surefire.booter.CommandReader$CommandRunnable.run(CommandReader.java:386) at java.lang.Thread.run(Thread.java:748)"Finalizer" Id=3 Group=system WAITING on java.lang.ref.ReferenceQueue$Lock@7cdbaa50 at java.lang.Object.wait(Native Method) -  waiting on java.lang.ref.ReferenceQueue$Lock@7cdbaa50 at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)"Reference Handler" Id=2 Group=system WAITING on java.lang.ref.Reference$Lock@39909d1a at java.lang.Object.wait(Native Method) -  waiting on java.lang.ref.Reference$Lock@39909d1a at java.lang.Object.wait(Object.java:502) at java.lang.ref.Reference.tryHandlePending(Reference.java:191) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)"Signal Dispatcher" Id=4 Group=system RUNNABLE"Jetty Thread Pool" Id=178 Group=? RUNNABLE (in native) at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) -  locked java.lang.Object@24386839 at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:352) at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:603) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
       Number of locked synchronizers = 1 - java.util.concurrent.ThreadPoolExecutor$Worker@448f29c9"Jetty Thread Pool" Id=177 Group=? RUNNABLE (in native) at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) -  locked sun.nio.ch.Util$3@7b32b129 -  locked java.util.Collections$UnmodifiableSet@439e3cb4 -  locked sun.nio.ch.EPollSelectorImpl@1c9fbb61 at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select(ManagedSelector.java:234) at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:187) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:211) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:126) at org.eclipse.jetty.io.ManagedSelector$$Lambda$26/461516748.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
       Number of locked synchronizers = 1 - java.util.concurrent.ThreadPoolExecutor$Worker@27fe6474"Scheduler-856294153" Id=176 Group=? TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7b81616b at sun.misc.Unsafe.park(Native Method) -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@7b81616b at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) 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) 

      Reproductible steps:

      1. Get PCT from https://github.com/jenkinsci/plugin-compat-tester
      2. Use Makefile to get required elements
        1. Can use demo-jdk11
        2. Provide PLUGIN_NAME=token-macro
      3. Can tweak Makefile to provide localCheckoutDir to PCT and test a snapshot

        Attachments

          Activity

          Hide
          alecharp Adrien Lecharpentier added a comment -

          I didn't think so, most probably I'm wrong. I thought it was using the java.level from the pom.xml.

          In this case, it probably means it's a problem of Jenkins core version..

          Show
          alecharp Adrien Lecharpentier added a comment - I didn't think so, most probably I'm wrong. I thought it was using the java.level from the pom.xml . In this case, it probably means it's a problem of Jenkins core version..
          Hide
          slide_o_mix Alex Earl added a comment -

          https://github.com/jenkins-infra/pipeline-library/blob/master/vars/buildPlugin.groovy#L204

           

          java.level is used for source code compatibility and feature enablement, not the version of the JDK that is being used to build.

          Show
          slide_o_mix Alex Earl added a comment - https://github.com/jenkins-infra/pipeline-library/blob/master/vars/buildPlugin.groovy#L204   java.level is used for source code compatibility and feature enablement, not the version of the JDK that is being used to build.
          Hide
          slide_o_mix Alex Earl added a comment -

          If I update the Jenkins version in the pom, I see a hang as well. I am not sure why it is happening as the plugin runs fine in running instances for me that are much newer.

          Show
          slide_o_mix Alex Earl added a comment - If I update the Jenkins version in the pom, I see a hang as well. I am not sure why it is happening as the plugin runs fine in running instances for me that are much newer.
          Hide
          slide_o_mix Alex Earl added a comment -

          I did a bit of debug today and made some changes. I'll try and run the ATH on this. https://github.com/jenkinsci/token-macro-plugin/commit/2df76372834a50b35f7124293fb9a7c4e60f7ca9

          Show
          slide_o_mix Alex Earl added a comment - I did a bit of debug today and made some changes. I'll try and run the ATH on this.  https://github.com/jenkinsci/token-macro-plugin/commit/2df76372834a50b35f7124293fb9a7c4e60f7ca9
          Hide
          slide_o_mix Alex Earl added a comment -

          I ran the PCT against the latest token-macro version and it ran fine. Can you confirm if you are seeing this issue still?

          Show
          slide_o_mix Alex Earl added a comment - I ran the PCT against the latest token-macro version and it ran fine. Can you confirm if you are seeing this issue still?

            People

            Assignee:
            slide_o_mix Alex Earl
            Reporter:
            alecharp Adrien Lecharpentier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: