[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls / DEADLOCK

2012-11-27 Thread aba...@java.net (JIRA)














































abayer
 updated  JENKINS-15858


Jenkinks UI blocking on some calls / DEADLOCK
















This isn't specific to dashboard-view - JENKINS-15929 is the same problem with the jclouds plugin. I've bisected the introduction of the error to 1.489, and am assigning this to kohsuke.





Change By:


abayer
(27/Nov/12 7:17 PM)




Assignee:


PeterHayes
KohsukeKawaguchi





Component/s:


dashboard-view



























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






[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls

2012-11-20 Thread ede...@isogon.de (JIRA)














































Elmar Deppe
 commented on  JENKINS-15858


Jenkinks UI blocking on some calls















Got the same problem with 1.489 (running in a tomcat 6). Here is the relevant segment from the thread dump.


Found one Java-level deadlock:
=
"Handling GET /jenkins//api/xml : http-8080-37":
  waiting to lock monitor 0x103b4a88 (object 0x000780a10130, a hudson.model.RunMap),
  which is held by "Handling GET /jenkins/ : http-8080-6"
"Handling GET /jenkins/ : http-8080-6":
  waiting to lock monitor 0x11f37498 (object 0x0007871608c8, a hudson.maven.MavenBuild),
  which is held by "Executor #0 for master : executing DSODP_branch_DEV-1.3 #144"
"Executor #0 for master : executing DSODP_branch_DEV-1.3 #144":
  waiting to lock monitor 0x103b4a88 (object 0x000780a10130, a hudson.model.RunMap),
  which is held by "Handling GET /jenkins/ : http-8080-6"




Java stack information for the threads listed above:
===
"Handling GET /jenkins//api/xml : http-8080-37":
	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
	- waiting to lock 0x000780a10130 (a hudson.model.RunMap)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:621)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.getById(AbstractLazyLoadRunMap.java:498)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:472)
	at hudson.model.AbstractProject.getNearestOldBuild(AbstractProject.java:1025)
	at hudson.maven.MavenModuleSetBuild.getModuleLastBuilds(MavenModuleSetBuild.java:434)
	at hudson.maven.MavenModuleSetBuild.getResult(MavenModuleSetBuild.java:189)
	at hudson.model.Job.getLastFailedBuild(Job.java:823)
	at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.java:66)
	at org.kohsuke.stapler.export.Property.writeTo(Property.java:114)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:187)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
	at org.kohsuke.stapler.export.Property.writeValue(Property.java:232)
	at org.kohsuke.stapler.export.Property.writeValue(Property.java:182)
	at org.kohsuke.stapler.export.Property.writeValue(Property.java:137)
	at org.kohsuke.stapler.export.Property.writeTo(Property.java:114)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:187)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
	at org.kohsuke.stapler.export.Model.writeTo(Model.java:154)
	at hudson.model.Api.doXml(Api.java:103)
	at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:573)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:164)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at 

[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls / DEADLOCK

2012-11-20 Thread ede...@isogon.de (JIRA)














































Elmar Deppe
 updated  JENKINS-15858


Jenkinks UI blocking on some calls / DEADLOCK
















Change By:


Elmar Deppe
(20/Nov/12 4:27 PM)




Summary:


JenkinksUIblockingonsomecalls
/DEADLOCK



























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






[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls

2012-11-19 Thread vinc...@massol.net (JIRA)














































Vincent Massol
 created  JENKINS-15858


Jenkinks UI blocking on some calls















Issue Type:


Bug



Assignee:


Peter Hayes



Components:


core, dashboard-view



Created:


19/Nov/12 9:59 AM



Description:


I've noticed issues with jenkins being blocked for several minutes in recent versions (even before 1.490, it started probably like 10 versions in the past).

Here's thread dump showing such deadlocks: https://gist.github.com/4109900

Note that my home page is using the dashboard and several threads are blocked on:


	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:638)
	- waiting to lock 0x5e3afde0 (a hudson.model.RunMap)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:621)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.getById(AbstractLazyLoadRunMap.java:498)
	at jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:472)
	at hudson.model.AbstractProject.getNearestOldBuild(AbstractProject.java:1025)
	at hudson.maven.MavenModuleSetBuild.getModuleLastBuilds(MavenModuleSetBuild.java:434)
	at hudson.maven.MavenModuleSetBuild.getResult(MavenModuleSetBuild.java:189)
	at hudson.model.Run.getIconColor(Run.java:640)
	at hudson.plugins.view.dashboard.stats.StatBuilds.getBuildStat(StatBuilds.java:50)






Project:


Jenkins



Priority:


Major



Reporter:


Vincent Massol

























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






[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls

2012-11-19 Thread vinc...@massol.net (JIRA)














































Vincent Massol
 updated  JENKINS-15858


Jenkinks UI blocking on some calls
















Change By:


Vincent Massol
(19/Nov/12 10:00 AM)




Affects Version/s:


current



























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






[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls

2012-11-19 Thread ol...@apache.org (JIRA)














































olamy
 updated  JENKINS-15858


Jenkinks UI blocking on some calls
















Change By:


olamy
(19/Nov/12 10:01 AM)




Priority:


Major
Blocker



























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






[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls

2012-11-19 Thread aherit...@apache.org (JIRA)












































 
Arnaud Héritier
 edited a comment on  JENKINS-15858


Jenkinks UI blocking on some calls
















Same thing on my side : https://gist.github.com/4109911 (1.491)



























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






[JIRA] (JENKINS-15858) Jenkinks UI blocking on some calls

2012-11-19 Thread aherit...@apache.org (JIRA)














































Arnaud Héritier
 commented on  JENKINS-15858


Jenkinks UI blocking on some calls















Same thing on my side : https://gist.github.com/4109900 (1.491)



























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