hudson.util.IOException2: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT

Jenkins JIRA | Damien Nozay | 3 years ago
  1. 0

    ------ snip ------ Schedule job Core_Builds ? core.builder Build Core_Builds ? core.builder #28188 started Core_Builds ? core.builder #28188 completed Copying artifacts from Core_Builds/core.builder #28188. ERROR: Failed to run DSL Script hudson.util.IOException2: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT at hudson.FilePath.copyRecursiveTo(FilePath.java:1994) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at jenkins.model.StandardArtifactManager$archive.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at jenkins.model.StandardArtifactManager$archive.call(Unknown Source) at org.jenkinsci.plugins.buildflow.toolbox.BuildFlowToolboxDSL.slurpArtifacts(BuildFlowToolboxDSL.groovy:46) at org.jenkinsci.plugins.buildflow.toolbox.BuildFlowToolboxDSL$slurpArtifacts.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at Script1.run(Script1.groovy:6) at Script1$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:82) at com.cloudbees.plugins.flow.FlowRun$RunnerImpl.doRun(FlowRun.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1665) at hudson.model.Run.run(Run.java:1612) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:133) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: java.util.concurrent.ExecutionException: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT at hudson.remoting.Channel$3.adapt(Channel.java:755) at hudson.remoting.Channel$3.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1992) ... 23 more ------ snip ------ Here is my job's DSL: ------ snip ------ // build core.builder with same params. child = build(params, "core.builder") // save artifacts toolbox = extension.'build-flow-toolbox' toolbox.slurpArtifacts(child) ------ snip ------ Here is what I'm guessing is happening. 1. build child is started 2. waitForCompletion() 3. build child completes (onCompleted() fires) 4. slurpArtifacts() 5. build child gets finalized (onFinalized() fires) Step 4 fails because artifacts are not on disk.

    Jenkins JIRA | 3 years ago | Damien Nozay
    hudson.util.IOException2: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT
  2. 0

    ------ snip ------ Schedule job Core_Builds ? core.builder Build Core_Builds ? core.builder #28188 started Core_Builds ? core.builder #28188 completed Copying artifacts from Core_Builds/core.builder #28188. ERROR: Failed to run DSL Script hudson.util.IOException2: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT at hudson.FilePath.copyRecursiveTo(FilePath.java:1994) at jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57) at jenkins.model.StandardArtifactManager$archive.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at jenkins.model.StandardArtifactManager$archive.call(Unknown Source) at org.jenkinsci.plugins.buildflow.toolbox.BuildFlowToolboxDSL.slurpArtifacts(BuildFlowToolboxDSL.groovy:46) at org.jenkinsci.plugins.buildflow.toolbox.BuildFlowToolboxDSL$slurpArtifacts.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at Script1.run(Script1.groovy:6) at Script1$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:82) at com.cloudbees.plugins.flow.FlowRun$RunnerImpl.doRun(FlowRun.java:154) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566) at hudson.model.Run.execute(Run.java:1665) at hudson.model.Run.run(Run.java:1612) at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:133) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: java.util.concurrent.ExecutionException: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT at hudson.remoting.Channel$3.adapt(Channel.java:755) at hudson.remoting.Channel$3.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1992) ... 23 more ------ snip ------ Here is my job's DSL: ------ snip ------ // build core.builder with same params. child = build(params, "core.builder") // save artifacts toolbox = extension.'build-flow-toolbox' toolbox.slurpArtifacts(child) ------ snip ------ Here is what I'm guessing is happening. 1. build child is started 2. waitForCompletion() 3. build child completes (onCompleted() fires) 4. slurpArtifacts() 5. build child gets finalized (onFinalized() fires) Step 4 fails because artifacts are not on disk.

    Jenkins JIRA | 3 years ago | Damien Nozay
    hudson.util.IOException2: hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT
  3. 0

    Jenkins. Exception during Fingerprinting

    Stack Overflow | 2 years ago
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-19515] fingerprint are truncated - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    java.util.concurrent.ExecutionException: hudson.util.IOException2: Unable to read /srv/jenkins/fingerprints/14/a9/7327d5753400da072a897d5688d5.xml
  6. 0

    We are getting below exception in case of all the builds on JDK 7, Maven 3.0.3 even in case of successful build scenarion. [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 45:36.641s [INFO] Finished at: Wed Dec 31 15:26:27 IST 2014 [INFO] Final Memory: 226M/605M [INFO] ------------------------------------------------------------------------ ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException ERROR: Asynchronous execution failure java.util.concurrent.ExecutionException: java.lang.ClassCastException at hudson.remoting.Channel$3.adapt(Channel.java:784) at hudson.remoting.Channel$3.adapt(Channel.java:779) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.maven.AbstractMavenBuilder.waitForAsynchronousExecutions(AbstractMavenBuilder.java:186) at hudson.maven.Maven3Builder.call(Maven3Builder.java:143) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException ERROR: Asynchronous execution failure Need help to know the fix of the same problem.

    Jenkins JIRA | 2 years ago | swapnil soor
    java.util.concurrent.ExecutionException: java.lang.ClassCastException

    1 unregistered visitors
    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.util.concurrent.ExecutionException

      hudson.os.PosixException: native error calling stat: No such file or directory /jenkins_data/workspace/Core_Builds/core.builder/build/dist/release/bulletin-550.xml ENOENT

      at hudson.remoting.Channel$3.adapt()
    2. Hudson :: Remoting Layer
      FutureAdapter.get
      1. hudson.remoting.Channel$3.adapt(Channel.java:755)
      2. hudson.remoting.Channel$3.adapt(Channel.java:750)
      3. hudson.remoting.FutureAdapter.get(FutureAdapter.java:55)
      3 frames
    3. Hudson
      FilePath.copyRecursiveTo
      1. hudson.FilePath.copyRecursiveTo(FilePath.java:1992)
      1 frame
    4. jenkins.model
      StandardArtifactManager$archive.call
      1. jenkins.model.StandardArtifactManager.archive(StandardArtifactManager.java:57)
      2. jenkins.model.StandardArtifactManager$archive.call(Unknown Source)
      2 frames
    5. Groovy
      CallSiteArray.defaultCall
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      1 frame
    6. jenkins.model
      StandardArtifactManager$archive.call
      1. jenkins.model.StandardArtifactManager$archive.call(Unknown Source)
      1 frame
    7. org.jenkinsci.plugins
      BuildFlowToolboxDSL$slurpArtifacts.call
      1. org.jenkinsci.plugins.buildflow.toolbox.BuildFlowToolboxDSL.slurpArtifacts(BuildFlowToolboxDSL.groovy:46)
      2. org.jenkinsci.plugins.buildflow.toolbox.BuildFlowToolboxDSL$slurpArtifacts.call(Unknown Source)
      2 frames
    8. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      3 frames
    9. Unknown
      Script1$run.call
      1. Script1.run(Script1.groovy:6)
      2. Script1$run.call(Unknown Source)
      2 frames
    10. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
      3 frames
    11. com.cloudbees.plugins
      FlowRun$RunnerImpl.doRun
      1. com.cloudbees.plugins.flow.FlowDSL.executeFlowScript(FlowDSL.groovy:82)
      2. com.cloudbees.plugins.flow.FlowRun$RunnerImpl.doRun(FlowRun.java:154)
      2 frames
    12. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      2. hudson.model.Run.execute(Run.java:1665)
      3. hudson.model.Run.run(Run.java:1612)
      3 frames
    13. com.cloudbees.plugins
      FlowRun.run
      1. com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:133)
      1 frame
    14. Hudson
      OneOffExecutor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:246)
      3. hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
      3 frames