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

Make ircbot interrupteble

XMLWordPrintable

      Would this thread dump be something that could not be interrupted?

       
      WAITING on java.util.concurrent.CountDownLatch$Sync@241036ba
      	at sun.misc.Unsafe.park(Native Method)
      	-  waiting on java.util.concurrent.CountDownLatch$Sync@241036ba
      	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:969)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
      	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
      	at org.pircbotx.Channel.getMode(Channel.java:127)
      	at hudson.plugins.ircbot.v2.IRCConnection.send(IRCConnection.java:276)
      	at hudson.plugins.ircbot.v2.IRCConnection.send(IRCConnection.java:268)
      	at hudson.plugins.im.IMPublisher.sendNotification(IMPublisher.java:379)
      	at hudson.plugins.im.IMPublisher.notifyChatsOnBuildEnd(IMPublisher.java:585)
      	at hudson.plugins.im.IMPublisher.notifyOnBuildEnd(IMPublisher.java:304)
      	at hudson.plugins.im.IMPublisher.perform(IMPublisher.java:291)
      	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      	at hudson.model.Build$BuildExecution.post2(Build.java:183)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      	at hudson.model.Run.execute(Run.java:1770)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      

      The parent problem is described in https://issues.jenkins-ci.org/browse/JENKINS-22042

            kohsuke Kohsuke Kawaguchi
            helmo Herman van Rink
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: