In the future please attach an actual thread dump (preferably as produced by jstack) as that would indicate the proximate cause of the deadlock, specifically which locks are being held.

Change By: Jesse Glick (10/Apr/14 1:55 PM)
Description: Could it be that the change in JENKINS-22131 is causing deadlocks? If I downgrade to 1.555, there is no problem, all versions from 1.556 show the same behaviour: More and more executors are deadlocked. To me it looks if two concurrent jobs do something which locks each other.

{code:none}
Warning, the following threads are deadlocked : Executor #0 for 1sp-slave12 : executing CONTEST_Technologies_Tests #1568, Executor #13 for 1sp-slave1 : executing CONTEST_Technologies_Tests #1569

The threads are blocked in:
{code:none}
hudson.model.Run.save(Run.java:1856) (#1568)
hudson.model.AbstractBuild.getRunMixIn(AbstractBuild.java:178) (#1569)
{code}

{code:none}
Executor #13 for 1sp-slave1 : executing CONTEST_Technologies_Tests #1569
hudson.model.AbstractBuild.getRunMixIn(AbstractBuild.java:178)
jenkins.model.lazy.LazyBuildMixIn$RunMixIn.dropLinks(LazyBuildMixIn.java:336)
hudson.model.AbstractBuild.dropLinks(AbstractBuild.java:193)
hudson.model.RunMap.removeValue(RunMap.java:120)
hudson.model.RunMap.remove(RunMap.java:86)
jenkins.model.lazy.LazyBuildMixIn.removeRun(LazyBuildMixIn.java:216)
hudson.model.AbstractProject.removeRun(AbstractProject.java:1002)
hudson.model.AbstractProject.removeRun(AbstractProject.java:145)
hudson.model.Run.removeRunFromParent(Run.java:1478)
hudson.model.Run.delete(Run.java:1473)
hudson.tasks.LogRotator.perform(LogRotator.java:124)
hudson.model.Job.logRotate(Job.java:441)
hudson.model.Run.execute(Run.java:1751)
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
hudson.model.ResourceController.execute(ResourceController.java:88)
hudson.model.Executor.run(Executor.java:231)

Executor #0 for 1sp-slave12 : executing CONTEST_Technologies_Tests #1568
hudson.model.Run.save(Run.java:1856)
hudson.plugins.changelog_history.ChangeLogHistoryRunListener.copyChangeLogs(ChangeLogHistoryRunListener.java:82)
hudson.plugins.changelog_history.ChangeLogHistoryRunListener.onDeleted(ChangeLogHistoryRunListener.java:50)
hudson.plugins.changelog_history.ChangeLogHistoryRunListener.onDeleted(ChangeLogHistoryRunListener.java:40)
hudson.model.listeners.RunListener.fireDeleted(RunListener.java:244)
hudson.model.Run.delete(Run.java:1447)
hudson.tasks.LogRotator.perform(LogRotator.java:124)
hudson.model.Job.logRotate(Job.java:441)
hudson.model.Run.execute(Run.java:1751)
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
hudson.model.ResourceController.execute(ResourceController.java:88)
hudson.model.Executor.run(Executor.java:231)
{code}
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to