java.io.IOException: Failed to persist /var/lib/jenkins/jobs/DeclarativePipelines/jobs/inlineThing96/builds/85/program.dat


Solutions on the web

Solution icon of googlegroups
via Google Groups by ksh...@cloudbees.com (JIRA), 8 months ago
Failed to persist /var/lib/jenkins/jobs/DeclarativePipelines/jobs/inlineThing96/builds/85/program.dat

Solution icon of googlegroups
via Google Groups by pallen, 6 months ago
Failed to persist /Users/pallen/Workspaces/main.p4-jenkins/dev/work/jobs/groovy/builds/10/program.dat

Solution icon of googlegroups
via Google Groups by sohl, 7 months ago
Failed to persist C:\a02_projects\jenkins\saltapi-step\work\jobs\xx_pipe\builds\11\program.dat

Solution icon of github
via GitHub by abayer
, 8 months ago
Failed to persist /var/folders/pr/24nv8g910wg8vr4b4c33q34r0000gn/T/jenkinsTests.tmp/jenkins9048064252567545422test/jobs/p/builds/1/program.dat

Solution icon of jenkins
via Jenkins JIRA by Unknown author, 1 year ago
rename C:\Jenkins\current\jobs\fo12_MainStream_R1X_development_path_Pilot_Workflow_003\builds\45\atomic7701129931116736150.tmp to C:\Jenkins\current\jobs\fo12_MainStream_R1X_development_path_Pilot_Workflow_003\builds\45\program.dat failed

Solution icon of github
via GitHub by tobiasbaum
, 9 months ago
Failed to persist C:\jenkinsws\JenkinsHome\jobs\CheckCommitPipeline\builds\31\

Stack trace

java.io.IOException: Failed to persist /var/lib/jenkins/jobs/DeclarativePipelines/jobs/inlineThing96/builds/85/program.dat
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:461)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:427)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgramIfPossible(CpsThreadGroup.java:415)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:360)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:80)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:240)
	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:228)
	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:63)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgent#context for class org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.Any
	at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:256)
	at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:224)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago