[JIRA] [core] (JENKINS-25742) Concurrent "job rename" and "edit view" results in deadlock that puts Jenkins in a non responsive state

2015-10-24 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Oleg Nenashev started work on  JENKINS-25742 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Change By:
 
 Oleg Nenashev 
 
 
 

Status:
 
 Open In Progress 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-16 Thread dspa...@yahoo-inc.com (JIRA)














































Daryl Spartz
 commented on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state















I've submitted pull request with fix for this issue: https://github.com/jenkinsci/jenkins/pull/1488
See comments there on how to reproduce. I've reproduced on 1.593 and LTS we are using 1.565.3



























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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-14 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 updated  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state
















Change By:


Daniel Beck
(14/Dec/14 1:17 PM)




Labels:


jenkins
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







-- 
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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-14 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 updated  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state
















Change By:


Daniel Beck
(14/Dec/14 1:18 PM)




Labels:


deadlock
lts-candidate



























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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-10 Thread tianyuyang...@yahoo.com (JIRA)












































 
Tony Yang
 edited a comment on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state
















Hi Daniel,

We reproduced this in the latest weekly release Jenkins ver. 1.590

Here is the thread deadlock stack trace we captured through jConsole for the pair of threads that got into deadlock




Name: Handling POST /jenkins/view/deadlock1/configSubmit from 10.72.120.119 : qtp1955915048-52
State: BLOCKED on hudson.model.Hudson@7e3b42ad owned by: Handling POST /jenkins/job/aaa_test2/doRename from 10.73.211.174 : qtp1955915048-45
Total blocked: 1  Total waited: 14

Stack trace: 
jenkins.model.Jenkins.save(Jenkins.java:2756)
hudson.model.View.save(View.java:333)
hudson.model.View.doConfigSubmit(View.java:959)

	locked hudson.model.ListView@1a6186c3
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:483)
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
org.kohsuke.stapler.Stapler.service(Stapler.java:238)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:114)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)

[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-10 Thread tianyuyang...@yahoo.com (JIRA)












































 
Tony Yang
 edited a comment on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state
















Hi Daniel,

We reproduced this in the latest weekly release Jenkins ver. 1.590

Here is the thread deadlock stack trace we captured through jConsole for the pair of threads that got into deadlock


Name: Handling POST /jenkins/view/deadlock1/configSubmit from 10.72.120.119 : qtp1955915048-52
State: BLOCKED on hudson.model.Hudson@7e3b42ad owned by: Handling POST /jenkins/job/aaa_test2/doRename from 10.73.211.174 : qtp1955915048-45
Total blocked: 1  Total waited: 14

Stack trace: 
jenkins.model.Jenkins.save(Jenkins.java:2756)
hudson.model.View.save(View.java:333)
hudson.model.View.doConfigSubmit(View.java:959)
   - locked hudson.model.ListView@1a6186c3
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:483)
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
org.kohsuke.stapler.Stapler.service(Stapler.java:238)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:114)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)

[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-09 Thread bitingspar...@gmail.com (JIRA)














































Manav Chimakurthi
 updated  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state
















Change By:


Manav Chimakurthi
(09/Dec/14 7:54 PM)




Description:


WhentherearemultipleusersusingJenkins:OneuserhasclickedonYesconfirmationtorenameajob.AnotheruserhasclickedonOKontheEditViewscreenatthesametime.Resultsinaraceconditionthatresultsinadeadlock.Immediatelyafterthisdeadlockoccurs,Jenkinscreatenewjobandotheroperationsareunresponsive.AndaftersomemoretimeJenkinsgoesdown.
{noformat}

[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-12-09 Thread bitingspar...@gmail.com (JIRA)














































Manav Chimakurthi
 updated  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state
















Change By:


Manav Chimakurthi
(09/Dec/14 8:20 PM)




Description:


WhentherearemultipleusersusingJenkins:OneuserhasclickedonYesconfirmationtorenameajob.AnotheruserhasclickedonOKontheEditViewscreenatthesametime.Resultsinaraceconditionthat
resultsin
leadsto

[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-11-26 Thread tianyuyang...@yahoo.com (JIRA)














































Tony Yang
 commented on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state















Hi Daniel,

We reproduced this in the latest weekly release Jenkins ver. 1.590

Here is the thread deadlock stack trace we captured through jConsole for the pair of threads that got into deadlock

Name: Handling POST /jenkins/view/deadlock1/configSubmit from 10.72.120.119 : qtp1955915048-52
State: BLOCKED on hudson.model.Hudson@7e3b42ad owned by: Handling POST /jenkins/job/aaa_test2/doRename from 10.73.211.174 : qtp1955915048-45
Total blocked: 1  Total waited: 14

Stack trace: 
jenkins.model.Jenkins.save(Jenkins.java:2756)
hudson.model.View.save(View.java:333)
hudson.model.View.doConfigSubmit(View.java:959)

	locked hudson.model.ListView@1a6186c3
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:483)
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:46)
org.kohsuke.stapler.Function$InterceptedFunction.invoke(Function.java:399)
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
org.kohsuke.stapler.Stapler.service(Stapler.java:238)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:114)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)

[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-11-25 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state















What are the stack traces in the newer versions? Do they also involve the API access ("Api.doJson")?



























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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-11-24 Thread muji...@yahoo-inc.com (JIRA)














































Mujib Wahab
 commented on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state















we are able to reproduce this with latest LTS 1.580.1 as well. Will test with latest release 1.590 and update the result.



























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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-11-22 Thread dan...@beckweb.net (JIRA)














































Daniel Beck
 commented on  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state















This deadlock involves the JSON API as well.

Could you please try reproduce this issue on 1.580.x or the current weekly release?



























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.


[JIRA] [core] (JENKINS-25742) Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state

2014-11-21 Thread bitingspar...@gmail.com (JIRA)














































Manav Chimakurthi
 created  JENKINS-25742


Concurrent job rename and edit view results in deadlock that puts Jenkins in a non responsive state















Issue Type:


Bug



Assignee:


Unassigned


Components:


core



Created:


22/Nov/14 4:29 AM



Description:


When there are multiple users using Jenkins:

One user has clicked on "Yes" confirmation to rename a job.
Another user has clicked on "OK" on the "Edit View" screen at the same time.

Results in a race condition that results in a deadlock. Immediately after this deadlock occurs, Jenkins "create new job" and other operations are unresponsive. And after some more time Jenkins goes down.



Name: Handling GET /jenkins/view/ABCDEF/api/json : qtp817406040-243035
State: BLOCKED on hudson.model.ListView@57affa54 owned by: Handling POST /jenkins/view/ABCDEF/configSubmit : qtp817406040-42
Total blocked: 9  Total waited: 189

Stack trace: 
hudson.model.ListView.getItems(ListView.java:164)
hudson.model.ListView.getItems(ListView.java:66)
sun.reflect.GeneratedMethodAccessor1929.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:483)
org.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.java:66)
org.kohsuke.stapler.export.Property.writeTo(Property.java:116)
org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190)
org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:185)
org.kohsuke.stapler.export.Model.writeTo(Model.java:157)
org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:267)
hudson.model.Api.doJson(Api.java:204)
sun.reflect.GeneratedMethodAccessor771.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:483)
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:733)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)
org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:733)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)
org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:733)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:863)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:636)
org.kohsuke.stapler.Stapler.service(Stapler.java:225)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1667)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:91)
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)