hudson.model.Run$RunnerAbortedException

JFrog JIRA | Gal Raif | 2 weeks ago
  1. 0

    To reproduce Jenkins's UI bug: 1. Go to "Global Tool Configuration" 2. In "Gradle" or "Maven" or "Ant" section, choose a name and Path to the HOME and press save. 3. Edit the above section. remove the path to the HOME and check "Install automatically" Result: The install version from X is not presented. This bug cause an issue when we running a job with remote agent (maybe it reproduced without remote agent). {code} Started by user admin [Pipeline] node Running on ubuntu-agent in /home/jfrog/jenkins-agent/workspace/gradle-example-pipeline [Pipeline] { [Pipeline] newArtifactoryServer [Pipeline] newGradleBuild [Pipeline] stage (Build) Using the ‘stage’ step without a block argument is deprecated Entering stage Build Proceeding [Pipeline] git > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/jfrogdev/project-examples.git # timeout=10 Fetching upstream changes from https://github.com/jfrogdev/project-examples.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/jfrogdev/project-examples.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 2ae1f9257afeaca893edee6c0868f2c87a75028f (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ae1f9257afeaca893edee6c0868f2c87a75028f > git branch -a -v --no-abbrev # timeout=10 > git branch -D master # timeout=10 > git checkout -b master 2ae1f9257afeaca893edee6c0868f2c87a75028f > git rev-list 2ae1f9257afeaca893edee6c0868f2c87a75028f # timeout=10 [Pipeline] stage (Artifactory configuration) Using the ‘stage’ step without a block argument is deprecated Entering stage Artifactory configuration Proceeding [Pipeline] withEnv [Pipeline] { [Pipeline] stage (Config Build Info) Using the ‘stage’ step without a block argument is deprecated Entering stage Config Build Info Proceeding [Pipeline] newBuildInfo [Pipeline] stage (Extra gradle configurations) Using the ‘stage’ step without a block argument is deprecated Entering stage Extra gradle configurations Proceeding [Pipeline] stage (Exec Gradle) Using the ‘stage’ step without a block argument is deprecated Entering stage Exec Gradle Proceeding [Pipeline] ArtifactoryGradleBuild ERROR: Gradle tool = T3 ERROR: In else gi is not null. ERROR: working on node: ubuntu-agent ERROR: ******************** ERROR: GradleInstallation[T3] ERROR: ******************** ERROR: T3 ERROR: GRADLE_HOME = ERROR: ARGS = ERROR: ARGS T0String = [gradle-example] $ clean artifactoryPublish -b build.gradle ERROR: Couldn't execute gradle task. Cannot run program "clean" (in directory "/home/jfrog/jenkins-agent/workspace/gradle-example-pipeline/gradle-examples/4/gradle-example"): error=2, No such file or directory [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline hudson.model.Run$RunnerAbortedException at org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.exe(ArtifactoryGradleBuild.java:208) at org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.run(ArtifactoryGradleBuild.java:132) at org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.run(ArtifactoryGradleBuild.java:102) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52) at hudson.security.ACL.impersonate(ACL.java:221) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49) 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) Finished: FAILURE {code} I reproduced this issue with Jenkinsfile from project-examples/jenkins-pipeline-examples/gradle-example/

    JFrog JIRA | 2 weeks ago | Gal Raif
    hudson.model.Run$RunnerAbortedException
  2. 0

    Jenkins + Gradle + Artifactory: Couldn't read generated build info

    Stack Overflow | 2 months ago | frinux
    hudson.model.Run$RunnerAbortedException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Steps: 1. Create a pipeline build with at least 2 parallel steps that both run tests of which some are failing 2. Run the pipeline The build result is reported as "Finished: FAILURE" even though is expected to be "Finished: UNSTABLE". The error on the console is reported as "None of the test reports contained any result" which is misleading. The test failures are shown under the test results of the job. The error does not occur if there is only one parallel step (which of course isn't very useful). Example pipeline: {code} def tests = [ 'tests1':{ node { sh 'mvn verify' step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } }, 'tests2':{ node { sh 'mvn verify' step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } }] parallel tests {code} Error message on console: {code} org.jenkinsci.plugins.workflow.cps.steps.ParallelStepException: Parallel step tests1 failed at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.checkAllDone(ParallelStep.java:153) at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.onFailure(ParallelStep.java:119) at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:294) at com.cloudbees.groovy.cps.impl.ThrowBlock$1.receive(ThrowBlock.java:68) 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:154) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:106) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:277) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:77) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:186) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:184) 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: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: hudson.AbortException: None of the test reports contained any result at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:159) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49) at hudson.security.ACL.impersonate(ACL.java:213) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47) ... 5 more {code}

    Jenkins JIRA | 11 months ago | Steffen Pingel
    org.jenkinsci.plugins.workflow.cps.steps.ParallelStepException: Parallel step tests1 failed
  5. 0

    Steps: 1. Create a pipeline build with at least 2 parallel steps that both run tests of which some are failing 2. Run the pipeline The build result is reported as "Finished: FAILURE" even though is expected to be "Finished: UNSTABLE". The error on the console is reported as "None of the test reports contained any result" which is misleading. The test failures are shown under the test results of the job. The error does not occur if there is only one parallel step (which of course isn't very useful). Example pipeline: {code} def tests = [ 'tests1':{ node { sh 'mvn verify' step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } }, 'tests2':{ node { sh 'mvn verify' step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml']) } }] parallel tests {code} Error message on console: {code} org.jenkinsci.plugins.workflow.cps.steps.ParallelStepException: Parallel step tests1 failed at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.checkAllDone(ParallelStep.java:153) at org.jenkinsci.plugins.workflow.cps.steps.ParallelStep$ResultHandler$Callback.onFailure(ParallelStep.java:119) at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:294) at com.cloudbees.groovy.cps.impl.ThrowBlock$1.receive(ThrowBlock.java:68) 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:154) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:33) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:30) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:106) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:30) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:164) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:277) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$000(CpsThreadGroup.java:77) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:186) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:184) 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: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: hudson.AbortException: None of the test reports contained any result at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:159) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:68) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:49) at hudson.security.ACL.impersonate(ACL.java:213) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:47) ... 5 more {code}

    Jenkins JIRA | 11 months ago | Steffen Pingel
    org.jenkinsci.plugins.workflow.cps.steps.ParallelStepException: Parallel step tests1 failed

    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. hudson.model.Run$RunnerAbortedException

      No message provided

      at org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.exe()
    2. org.jfrog.hudson
      ArtifactoryGradleBuild$Execution.run
      1. org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.exe(ArtifactoryGradleBuild.java:208)
      2. org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.run(ArtifactoryGradleBuild.java:132)
      3. org.jfrog.hudson.pipeline.steps.ArtifactoryGradleBuild$Execution.run(ArtifactoryGradleBuild.java:102)
      3 frames
    3. org.jenkinsci.plugins
      AbstractSynchronousNonBlockingStepExecution$1$1.call
      1. org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
      1 frame
    4. Hudson
      ACL.impersonate
      1. hudson.security.ACL.impersonate(ACL.java:221)
      1 frame
    5. org.jenkinsci.plugins
      AbstractSynchronousNonBlockingStepExecution$1.run
      1. org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames