|
||||||||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

This issue is still present with Jenkins 1.596.2 and Coverity Plugin 1.50 when Jenkins installs / updates for example a JDK.
Thread-dump extract:
"Executor #0 for PROJECT : executing PROJECT.trunk #1439" Id=92 Group=main WAITING on java.util.concurrent.Semaphore$NonfairSync@ff51826
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:994)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1303)
at java.util.concurrent.Semaphore.acquire(Semaphore.java:317)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:66)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205)
at hudson.model.JDK.forNode(JDK.java:130)
at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:351)
at jenkins.plugins.coverity.CoverityLauncherDecorator.decorate(CoverityLauncherDecorator.java:78)
at hudson.Launcher.decorateFor(Launcher.java:682)
at hudson.model.Slave.createLauncher(Slave.java:362)
at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:141)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205)
at hudson.model.JDK.forNode(JDK.java:130)
at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:351)
at jenkins.plugins.coverity.CoverityLauncherDecorator.decorate(CoverityLauncherDecorator.java:78)
at hudson.Launcher.decorateFor(Launcher.java:682)
at hudson.model.Slave.createLauncher(Slave.java:362)
at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:576)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:491)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
If this deadlock happens, the workaround for now is to manually kill the Jenkins (slave), disable the Coverity plugin and restart, re-run the job to install the JDK and finally enable the Coverity plugin and restart again ...