-
Bug
-
Resolution: Fixed
-
Major
-
None
Resuming build at ... after Jenkins restart [Pipeline] End of Pipeline java.io.IOException: Failed to load build state at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$3.onSuccess(CpsFlowExecution.java:610) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$3.onSuccess(CpsFlowExecution.java:608) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$4$1.run(CpsFlowExecution.java:651) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35) at ... Caused by: org.acegisecurity.AccessDeniedException: Please login to access job ... at jenkins.model.Jenkins.getItem(Jenkins.java:2724) at jenkins.model.Jenkins.getItem(Jenkins.java:324) at jenkins.model.Jenkins.getItemByFullName(Jenkins.java:2830) at hudson.model.Run.fromExternalizableId(Run.java:2314) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.runForDisplay(ExecutorStepExecution.java:385) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getDisplayName(ExecutorStepExecution.java:398) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask.getFullDisplayName(ExecutorStepExecution.java:407) at org.jenkinsci.plugins.workflow.support.pickles.ExecutorPickle$1.printWaitingMessage(ExecutorPickle.java:116) at org.jenkinsci.plugins.workflow.support.pickles.TryRepeatedly$1.run(TryRepeatedly.java:95) at ...
Presumably there is no anonymous read access, and the Timer thread used by TryRepeatedly neglected to impersonate SYSTEM.
- is duplicated by
-
JENKINS-42504 Pipeline build hangs with "Failed to load build state" due to org.acegisecurity.AccessDeniedException
-
- Resolved
-
- is related to
-
JENKINS-42707 ReverseBuildTrigger can throw AccessDeniedException
-
- Resolved
-
-
JENKINS-63868 PlaceholderTask.getOwnerTask vulnerable to AccessDeniedException
-
- Resolved
-
-
JENKINS-50296 ThreadPools for remoting should run as SYSTEM user
-
- Resolved
-
- relates to
-
JENKINS-42577 Jenkins.version saved only from doConfigSubmit
-
- Resolved
-
-
JENKINS-42586 OldDataMonitor.referTo can throw AccessDeniedException
-
- Open
-
-
JENKINS-60507 Pipeline stuck when allocating machine | node block appears to be neither running nor scheduled
-
- Reopened
-
-
JENKINS-45553 Parallel pipeline execution scales poorly
-
- Closed
-
- links to
[JENKINS-42556] PlaceholderTask.runForDisplay vulnerable to AccessDeniedException
Epic Link | New: JENKINS-35399 [ 171192 ] |
Link |
New:
This issue relates to |
Link | New: This issue relates to JENKINS-42586 [ JENKINS-42586 ] |
Assignee | New: Jesse Glick [ jglick ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Component/s | New: workflow-durable-task-step-plugin [ 21715 ] | |
Component/s | Original: workflow-support-plugin [ 21719 ] | |
Summary | Original: TryRepeatedly fails to run as ACL.SYSTEM | New: PlaceholderTask.runForDisplay vulnerable to AccessDeniedException |
Remote Link | New: This issue links to "jenkins-test-harness PR 52 (Web Link)" [ 15649 ] |
Or rather anonymous DISCOVER access but not READ, an unusual configuration. Reproducible, though see
JENKINS-42577for why reproducing can be tricky.Perhaps core should impersonate SYSTEM in Timer threads automatically, since this is hardly the first time such a bug has occurred.