-
Bug
-
Resolution: Fixed
-
Critical
Observed a case of many builds of a job all being unkillable, with thread dumps like
"Running CpsFlowExecution[Owner[.../24191:... #24191]]" ... state=BLOCKED ... - waiting to lock <...> (a org.jenkinsci.plugins.workflow.cps.CpsStepContext) owned by "Handling POST /job/.../2690/kill from ..." ... at org.jenkinsci.plugins.workflow.cps.CpsStepContext.onFailure(CpsStepContext.java:326) at org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerListener.onDeleted(BuildTriggerListener.java:62) at hudson.model.listeners.RunListener.fireDeleted(RunListener.java:271) at hudson.model.Run.delete(Run.java:1501) at hudson.tasks.LogRotator.perform(LogRotator.java:145) at hudson.model.Job.logRotate(Job.java:467) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:678) at ... "Handling POST /job/.../2690/kill from ..." ... state=WAITING ... - waiting on <...> (a java.util.HashMap) - locked <...> (a java.util.HashMap) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:892) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.getFlowExecution(CpsStepContext.java:473) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.getNode(CpsStepContext.java:317) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.scheduleNextRun(CpsStepContext.java:382) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.completed(CpsStepContext.java:340) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.onSuccess(CpsStepContext.java:333) at org.jenkinsci.plugins.workflow.support.steps.build.BuildTriggerListener.onCompleted(BuildTriggerListener.java:48) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:663) at org.jenkinsci.plugins.workflow.job.WorkflowRun.doKill(WorkflowRun.java:418) at ...
Root cause (reason for hang of Owner.get on #2690) unknown, but there were some malformed build.xml files.