-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins version: 2.426.3
pipeline-build-step-plugin version: 540.vb_e8849e1a_b_d8
Blue Ocean: 1.27.9
Java: 11 & 21 (happen on both Java versions)
When executing Jenkins builds step
build(job: projectName, parameters: parametersList, propagate: false, wait: false)
Our Jenkins log started to shows these randomly:
2024-03-31 12:30:14.997+0000 [id=41678732] WARNING o.j.p.workflow.graph.FlowNode#persistSafe: failed to save actions for FlowNode id=625java.io.IOException: Cannot save actions for StepAtomNode[id=625, exec=CpsFlowExecution[Owner[JOB_NAME/4951:JOB_NAME #4951]]] for completed execution CpsFlowExecution[Owner[JOB_NAME/4951:JOB_NAME #4951]]: [org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl@60caf9d6, org.jenkinsci.plugins.workflow.actions.TimingAction@6fd35569, FlowNodeMonitoringAction{traceId='99f13df0e0169ff07307cf166387b20a', spanId='f40b9f31850fa5f5', span.name='build: Internal.Autosmoke.SetP4Label'}, org.jenkinsci.plugins.workflow.support.actions.LogStorageAction@3a45581a, org.jenkinsci.plugins.workflow.actions.LabelAction@2dd66017, io.jenkins.blueocean.listeners.NodeDownstreamBuildAction@9734b0d9] at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:1281) at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:486) at org.jenkinsci.plugins.workflow.graph.FlowNode.persistSafe(FlowNode.java:492) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:442) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:432) at java.base/java.util.AbstractList.add(AbstractList.java:111) at hudson.model.Actionable.addAction(Actionable.java:155) at io.jenkins.blueocean.listeners.DownstreamJobListener.onStarted(DownstreamJobListener.java:66) at hudson.model.listeners.RunListener.lambda$fireStarted$2(RunListener.java:230) at jenkins.util.Listeners.lambda$notify$0(Listeners.java:59) at jenkins.util.Listeners.notify(Listeners.java:67) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:228) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:303) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442)2024-03-31 12:30:14.997+0000 [id=41678732] SEVERE i.j.b.l.DownstreamJobListener#onStarted: Could not persist node: java.io.IOException: Cannot save actions for StepAtomNode[id=625, exec=CpsFlowExecution[Owner[JOB_NAME/4951:JOB_NAME #4951]]] for completed execution CpsFlowExecution[Owner[JOB_NAME/4951:JOB_NAME #4951]]: [org.jenkinsci.plugins.workflow.cps.actions.ArgumentsActionImpl@60caf9d6, org.jenkinsci.plugins.workflow.actions.TimingAction@6fd35569, FlowNodeMonitoringAction{traceId='99f13df0e0169ff07307cf166387b20a', spanId='f40b9f31850fa5f5', span.name='build: Internal.Autosmoke.SetP4Label'}, org.jenkinsci.plugins.workflow.support.actions.LogStorageAction@3a45581a, org.jenkinsci.plugins.workflow.actions.LabelAction@2dd66017, io.jenkins.blueocean.listeners.NodeDownstreamBuildAction@9734b0d9]
Thanks for reporting the issue. I made some guesses about the other plugins you might have installed and am able to sometimes duplicate the same issue that you're seeing. The stack trace that I see is:
The configuration that I used to show the issue was created with the following steps:
Upgrading to Blue Ocean 1.27.11 did not change the behavior. The message is still written.
After removing the Blue Ocean plugins, the message is no longer written on my system, even with more than 10 runs of the calling job.
After installing the Pipeline graph view plugin, the message is still not written on my system. You might consider switching to Pipeline graph view instead of Blue Ocean.