-
Bug
-
Resolution: Fixed
-
Minor
-
1.625.x / 1.14.2
"Waiting to acquire /.../workspace/... : jenkins.util.Timer [#...]" id=... (0x...) state=WAITING cpu=75% - waiting on <0x...> (a hudson.slaves.WorkspaceList) - locked <0x...> (a hudson.slaves.WorkspaceList) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:502) at hudson.slaves.WorkspaceList.acquire(WorkspaceList.java:255) at hudson.slaves.WorkspaceList.acquire(WorkspaceList.java:234) at hudson.slaves.WorkspaceList.acquire(WorkspaceList.java:223) at org.jenkinsci.plugins.workflow.support.pickles.WorkspaceListLeasePickle$1.tryResolve(WorkspaceListLeasePickle.java:67) at org.jenkinsci.plugins.workflow.support.pickles.WorkspaceListLeasePickle$1.tryResolve(WorkspaceListLeasePickle.java:52) at org.jenkinsci.plugins.workflow.support.pickles.TryRepeatedly$1.run(TryRepeatedly.java:62) at ...
Looks like a workspace did not get relocked fast enough to avoid getting grabbed by some other job?
At a minimum, WorkspaceListLeasePickle should printWaitingMessage when acquire blocks, so it is clearer from the build log why the build is still stuck.
Possibly it should fail if it cannot acquire the workspace immediately, since in this case the workspace can be assumed to have already been clobbered by something else. Currently there is no such core API.
- blocks
-
JENKINS-26130 Print progress of pending pickles
-
- Resolved
-
- relates to
-
JENKINS-22767 AbstractLazyLoadRunMap.getById subject to race condition with .load
-
- Resolved
-
-
JENKINS-38994 Diagnose locker of a WorkspaceList.Lease
-
- Open
-
- links to
[JENKINS-37121] WorkspaceListLeasePickle should help diagnose locked workspaces
Epic Link | New: JENKINS-35399 [ 171192 ] |
Link |
New:
This issue blocks |
Link |
New:
This issue relates to |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "workflow-durable-task-step PR 14 (Web Link)" [ 14692 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Component/s | New: pipeline-general [ 21692 ] |
Component/s | Original: workflow-plugin [ 18820 ] |
Link | New: This issue relates to JENKINS-38994 [ JENKINS-38994 ] |