java.io.IOException: Unable to delete .../jobs/flow/builds/2014-12-02_15-21-15/workflow/3.xml

Jenkins JIRA | Jesse Glick | 2 years ago
  1. 0

    {code} node() { git url: 'https://github.com/jglick/simple-maven-project-with-tests.git' def mvnHome = tool 'M3' sh "${mvnHome}/bin/mvn -B -Dmaven.test.failure.ignore verify" step([$class: 'ArtifactArchiver', artifacts: '**/target/*.jar', fingerprint: true]) step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } {code} and build. The {{/job/flow/1/flowGraphTable/}} will show, say, _Install a tool_ running, and {{/job/flow/1/execution/node/6/log/}} will have some output ({{/job/flow/1/execution/node/5/log/}} will too). Yet {{/job/flow/1/console}} ends with _Running: Allocate node : Body : Start_ and does not show this output until later, when the {{sh}} step is running. Subsequent builds do not show this problem, even if {{sh 'sleep 5'}} steps are interjected to make them run more slowly—unless the tool cache and workspace are deleted and previous builds are deleted, in which case it happens again. The second, but not the first, time this happened I saw in the logs something which is probably unrelated: {code:none} Dec 02, 2014 3:21:15 PM org.jenkinsci.plugins.workflow.graph.FlowNode$1 persist WARNING: failed to save actions for FlowNode id=3 java.io.IOException: Unable to delete .../jobs/flow/builds/2014-12-02_15-21-15/workflow/3.xml at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at hudson.XmlFile.write(XmlFile.java:179) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:106) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:640) at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:254) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:241) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:217) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:208) at java.util.AbstractList.add(AbstractList.java:108) at hudson.model.Actionable.addAction(Actionable.java:122) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:403) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code} Thread dumps suggest that {{ToolStep}} is to blame: {code:none} "Computer.threadPoolForRemoting [#9]" #202 daemon prio=5 os_prio=0 tid=0x00007f67e0005800 nid=0x544b runnable [0x00007f6821f8b000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) - locked <0x000000079bce0d98> (a java.net.SocksSocketImpl) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) - locked <0x000000079bce0d10> (a sun.net.www.http.HttpClient) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511) - locked <0x000000079bce02c0> (a sun.net.www.protocol.http.HttpURLConnection) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) - locked <0x000000079bce02c0> (a sun.net.www.protocol.http.HttpURLConnection) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2929) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at java.net.URLConnection.getContentLength(URLConnection.java:485) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:90) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:74) at hudson.ProxyConfiguration.getInputStream(ProxyConfiguration.java:246) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:808) at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:609) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:446) at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:126) at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:109) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:34) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:137) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:76) at sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:58) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:262) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:70) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:174) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:172) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111) 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) {code} Perhaps it should in fact be an asynchronous step. We may need to introduce a convenience variant of {{AbstractSynchronousStepExecution}} for long-running, but not resumable, processes that can produce intermediate output and may honor {{Thread.interrupt}}. (In this case {{DownloadFromUrlInstaller}} actually _could_ handle Jenkins restarts, by writing the tool to a temporary location and then moving it atomically when done. Then the step could permit resumption by simply calling {{forNode}} again in the next session, since it should be idempotent.)

    Jenkins JIRA | 2 years ago | Jesse Glick
    java.io.IOException: Unable to delete .../jobs/flow/builds/2014-12-02_15-21-15/workflow/3.xml
  2. 0

    {code} node() { git url: 'https://github.com/jglick/simple-maven-project-with-tests.git' def mvnHome = tool 'M3' sh "${mvnHome}/bin/mvn -B -Dmaven.test.failure.ignore verify" step([$class: 'ArtifactArchiver', artifacts: '**/target/*.jar', fingerprint: true]) step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } {code} and build. The {{/job/flow/1/flowGraphTable/}} will show, say, _Install a tool_ running, and {{/job/flow/1/execution/node/6/log/}} will have some output ({{/job/flow/1/execution/node/5/log/}} will too). Yet {{/job/flow/1/console}} ends with _Running: Allocate node : Body : Start_ and does not show this output until later, when the {{sh}} step is running. Subsequent builds do not show this problem, even if {{sh 'sleep 5'}} steps are interjected to make them run more slowly—unless the tool cache and workspace are deleted and previous builds are deleted, in which case it happens again. The second, but not the first, time this happened I saw in the logs something which is probably unrelated: {code:none} Dec 02, 2014 3:21:15 PM org.jenkinsci.plugins.workflow.graph.FlowNode$1 persist WARNING: failed to save actions for FlowNode id=3 java.io.IOException: Unable to delete .../jobs/flow/builds/2014-12-02_15-21-15/workflow/3.xml at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112) at hudson.XmlFile.write(XmlFile.java:179) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:106) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:640) at org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:254) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:241) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:217) at org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:208) at java.util.AbstractList.add(AbstractList.java:108) at hudson.model.Actionable.addAction(Actionable.java:122) at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:403) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code} Thread dumps suggest that {{ToolStep}} is to blame: {code:none} "Computer.threadPoolForRemoting [#9]" #202 daemon prio=5 os_prio=0 tid=0x00007f67e0005800 nid=0x544b runnable [0x00007f6821f8b000] java.lang.Thread.State: RUNNABLE at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) - locked <0x000000079bce0d98> (a java.net.SocksSocketImpl) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) - locked <0x000000079bce0d10> (a sun.net.www.http.HttpClient) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1167) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1103) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:931) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1511) - locked <0x000000079bce02c0> (a sun.net.www.protocol.http.HttpURLConnection) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) - locked <0x000000079bce02c0> (a sun.net.www.protocol.http.HttpURLConnection) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2929) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at java.net.URLConnection.getContentLength(URLConnection.java:485) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:90) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:74) at hudson.ProxyConfiguration.getInputStream(ProxyConfiguration.java:246) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:808) at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:609) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:446) at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:126) at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:109) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:34) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:137) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:98) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:15) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:69) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:100) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:76) at sun.reflect.GeneratedMethodAccessor208.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:58) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:145) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:262) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:70) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:174) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:172) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:47) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111) 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) {code} Perhaps it should in fact be an asynchronous step. We may need to introduce a convenience variant of {{AbstractSynchronousStepExecution}} for long-running, but not resumable, processes that can produce intermediate output and may honor {{Thread.interrupt}}. (In this case {{DownloadFromUrlInstaller}} actually _could_ handle Jenkins restarts, by writing the tool to a temporary location and then moving it atomically when done. Then the step could permit resumption by simply calling {{forNode}} again in the next session, since it should be idempotent.)

    Jenkins JIRA | 2 years ago | Jesse Glick
    java.io.IOException: Unable to delete .../jobs/flow/builds/2014-12-02_15-21-15/workflow/3.xml
  3. 0

    [JIRA] [core] (JENKINS-32509) javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.slaves.DumbSlave from

    Google Groups | 11 months ago | titan...@gmail.com (JIRA)
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.slaves.DumbSlave from {&quot;name&quot;:&quot;node007&quot;,&quot;nodeDescription&quot;:&quot;&quot;,&quot;numExecutors&quot;:&quot;8&quot;,&quot;remoteFS&quot;:&quot;/u01/jenkins&quot;,&quot;labelString&quot;:&quot;&quot;,&quot;mode&quot;:&quot;EXCLUSIVE&quot;,&quot;&quot;:<span class="error">[&quot;hudson.slaves.JNLPLauncher&quot;,&quot;hudson.slaves.RetentionStrategy$Always&quot;]</span>,&quot;launcher&quot;:</p> {&quot;stapler-class&quot;:&quot;hudson.slaves.JNLPLauncher&quot;,&quot;$class&quot;:&quot;hudson.slaves.JNLPLauncher&quot;,&quot;tunnel&quot;:&quot;&quot;,&quot;vmargs&quot;:&quot;&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,&quot;retentionStrategy&quot;:</p> {&quot;stapler-class&quot;:&quot;hudson.slaves.RetentionStrategy$Always&quot;,&quot;$class&quot;:&quot;hudson.slaves.RetentionStrategy$Always&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,&quot;nodeProperties&quot;:{&quot;stapler-class-bag&quot;:&quot;true&quot;,&quot;hudson-slaves-EnvironmentVariablesNodeProperty&quot;:{&quot;env&quot;:{&quot;key&quot;:&quot;ANT_HOME&quot;,&quot;value&quot;:&quot;/u01/apache-ant-1.9.1&quot;}},&quot;hudson-tools-ToolLocationNodeProperty&quot;:{&quot;locations&quot;:[</p> {&quot;key&quot;:&quot;hudson.tasks.Ant$AntInstallation$DescriptorImpl@apache-ant-1.9.1&quot;,&quot;home&quot;:&quot;/u01/apache-ant-1.9.1&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,</p> {&quot;key&quot;:&quot;hudson.model.JDK$DescriptorImpl@Java 1.6&quot;,&quot;home&quot;:&quot;/usr/java/jdk1.6.0_45&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,</p> {&quot;key&quot;:&quot;hudson.model.JDK$DescriptorImpl@Java 1.7&quot;,&quot;home&quot;:&quot;/usr/java/jdk1.7.0_67&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,</p> {&quot;key&quot;:&quot;hudson.model.JDK$DescriptorImpl@Java 1.8&quot;,&quot;home&quot;:&quot;/usr/java/jdk1.8.0_11&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,</p> {&quot;key&quot;:&quot;hudson.tasks.Maven$MavenInstallation$DescriptorImpl@apache-maven-3.0.3&quot;,&quot;home&quot;:&quot;/u01/apache-maven-3.0.3&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">,</p> {&quot;key&quot;:&quot;hudson.tasks.Maven$MavenInstallation$DescriptorImpl@apache-maven-3.0.5&quot;,&quot;home&quot;:&quot;/u01/apache-maven-3.0.5&quot;} <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">]}}}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Create a workflow with a simple script containing a loop with e.g. 1000 iterations: {code:java} node { stage 'Build' for (int i = 0; i < 1000; i++) { echo "hello: ${i}" } } {code} Run the job a few times. Restart jenkins and try loading the job, you should see an error like: {code} *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at ../../../src/share/instrument/JPLISAgent.c line: 844 Aug 20, 2015 1:09:35 PM org.jenkinsci.plugins.workflow.job.WorkflowRun onLoad WARNING: null java.io.IOException: failed to load flow node from /Users/tfennelly/projects/jenkins-plugins/cloudbees-workflow-plugin/aggregator/work/jobs/WWW/builds/5/workflow/1008.xml at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$PersistenceContext.loadInner(SimpleXStreamFlowNodeStorage.java:227) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$PersistenceContext.loadOuter(SimpleXStreamFlowNodeStorage.java:213) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$PersistenceContext.access$100(SimpleXStreamFlowNodeStorage.java:185) at org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.getNode(SimpleXStreamFlowNodeStorage.java:87) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.initializeStorage(CpsFlowExecution.java:397) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onLoad(CpsFlowExecution.java:413) at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:380) at hudson.model.RunMap.retrieve(RunMap.java:223) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:465) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:448) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:356) at jenkins.model.lazy.LazyBuildMixIn.getBuildByNumber(LazyBuildMixIn.java:226) at org.jenkinsci.plugins.workflow.job.WorkflowJob.getBuildByNumber(WorkflowJob.java:199) at org.jenkinsci.plugins.workflow.job.WorkflowJob.getBuildByNumber(WorkflowJob.java:92) at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:95) at hudson.model.Job.getLastSuccessfulBuild(Job.java:888) at jenkins.tasks.SimpleBuildStep$LastBuildActionFactory.createFor(SimpleBuildStep.java:111) at jenkins.tasks.SimpleBuildStep$LastBuildActionFactory.createFor(SimpleBuildStep.java:101) at hudson.model.Actionable.createFor(Actionable.java:107) at hudson.model.Actionable.getAllActions(Actionable.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTElvisNode.value(ASTElvisNode.java:37) at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:54) at org.apache.commons.jexl.parser.ASTElvisNode.value(ASTElvisNode.java:40) at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpression.java:54) at org.apache.commons.jexl.parser.ASTExpressionExpression.value(ASTExpressionExpression.java:56) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) {code}

    Jenkins JIRA | 1 year ago | Tom FENNELLY
    java.io.IOException: failed to load flow node from /Users/tfennelly/projects/jenkins-plugins/cloudbees-workflow-plugin/aggregator/work/jobs/WWW/builds/5/workflow/1008.xml

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unable to delete .../jobs/flow/builds/2014-12-02_15-21-15/workflow/3.xml

      at hudson.util.AtomicFileWriter.commit()
    2. Hudson
      XmlFile.write
      1. hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112)
      2. hudson.XmlFile.write(XmlFile.java:179)
      2 frames
    3. org.jenkinsci.plugins
      FlowNode$1.add
      1. org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage.saveActions(SimpleXStreamFlowNodeStorage.java:106)
      2. org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.saveActions(CpsFlowExecution.java:640)
      3. org.jenkinsci.plugins.workflow.graph.FlowNode.save(FlowNode.java:254)
      4. org.jenkinsci.plugins.workflow.graph.FlowNode$1.persist(FlowNode.java:241)
      5. org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:217)
      6. org.jenkinsci.plugins.workflow.graph.FlowNode$1.add(FlowNode.java:208)
      6 frames
    4. Java RT
      AbstractList.add
      1. java.util.AbstractList.add(AbstractList.java:108)
      1 frame
    5. Hudson
      Actionable.addAction
      1. hudson.model.Actionable.addAction(Actionable.java:122)
      1 frame
    6. org.jenkinsci.plugins
      ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run
      1. org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask$PlaceholderExecutable.run(ExecutorStepExecution.java:403)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:89)
      2. hudson.model.Executor.run(Executor.java:240)
      2 frames