Snapshot of /var/log/jenkins.log when the error occurs
Oct 20, 2016 5:52:13 PM org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[OwnerAmdgpu_CI/53:Amdgpu_CI #53 <https://issues.jenkins-ci.org/browse/JENKINS-39135#53>] java.io.IOException: Failed to persist /jenkins_install/jobs/Amdgpu_CI/builds/53/program.dat at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:442) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.saveProgram(CpsThreadGroup.java:408) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:356) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:78) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:236) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:224) 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.io.NotSerializableException: java.util.AbstractList$Itr On Thursday, October 20, 2016 at 2:58:05 PM UTC+5:30, Kishore RP wrote: > > Jenkins Version is 2.25, Pipeline plugin is the latest one (It was all > working fine with Jenkins 2.21 and older pipeline plugins, Jobs have run > fine on Oct12,2016) > > Have a loop mechanism to iterate through all nodes as below > > for(int i = 0; i < nodes.size(); i++) { > def node_name = nodes[i].trim() > def node_id = i > stage ' Triggering Tests on ' + node_name > build job: 'Tests', parameters: [ > > > am getting the below error before the sub job is triggered > > > java.io.NotSerializableException: java.util.AbstractList$Itr > at > org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:860) > at > org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032) > at > org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988) > > Caused by: an exception which occurred: > in field itr > in field target > in field continue_ > in field parent > in field caller > in field e > in field program > in field threads > in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@23b3e142 > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c1fa9dd2-69b1-4e9d-9381-7d241eec9421%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.