Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49337

GeneralNonBlockingStepExecution (was: InterruptedException from step tail call)

      Reporting error as asked by the stack trace:

      ...
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-sheet-api/10.1-SNAPSHOT/xwiki-platform-sheet-api-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-container-api/10.1-SNAPSHOT/xwiki-platform-container-api-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-skin-api/10.1-SNAPSHOT/xwiki-platform-skin-api-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-template-api/10.1-SNAPSHOT/xwiki-platform-template-api-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-captcha/10.1-SNAPSHOT/xwiki-platform-captcha-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-formula-renderer/10.1-SNAPSHOT/xwiki-platform-formula-renderer-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-query-manager/10.1-SNAPSHOT/xwiki-platform-query-manager-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-office-importer/10.1-SNAPSHOT/xwiki-platform-office-importer-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-refactoring-api/10.1-SNAPSHOT/xwiki-platform-refactoring-api-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-job-script/10.1-SNAPSHOT/xwiki-platform-job-script-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-rendering-macro-gallery/10.1-SNAPSHOT/xwiki-platform-rendering-macro-gallery-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-component-multi/10.1-SNAPSHOT/xwiki-platform-component-multi-10.1-SNAPSHOT.jar, file not found
      [main] [withMaven] FAILURE to fingerprint org/xwiki/platform/xwiki-platform-csrf/10.1-SNAPSHOT/xwiki-platform-csrf-10.1-SNAPSHOT.jar, file not found
      [main] ERROR: [withMaven] WARNING Exception processing the logs generated by the Jenkins Maven Event Spy /home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@2@tmp/withMavenad9de2c1/maven-spy-20180201-221408-8499000117120717717844.log, ignore file.  Please report a bug associated for the component 'pipeline-maven-plugin' at https://issues.jenkins-ci.org 
      [main] java.lang.InterruptedException
      [main] 	at java.lang.Object.wait(Native Method)
      [main] 	at hudson.remoting.Request.call(Request.java:167)
      [main] 	at hudson.remoting.Channel.call(Channel.java:907)
      [main] 	at hudson.FilePath.act(FilePath.java:986)
      [main] 	at hudson.FilePath.act(FilePath.java:975)
      [main] 	at hudson.FilePath.exists(FilePath.java:1440)
      [main] 	at org.jenkinsci.plugins.pipeline.maven.publishers.DependenciesFingerprintPublisher.process(DependenciesFingerprintPublisher.java:162)
      [main] 	at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:109)
      [main] 	at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
      [main] 	at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
      [main] 	at com.cloudbees.groovy.cps.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
      [main] 	at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
      [main] 	at com.cloudbees.groovy.cps.Next.step(Next.java:83)
      [main] 	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
      [main] 	at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
      [main] 	at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:122)
      [main] 	at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:261)
      [main] 	at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
      [main] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19)
      [main] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:35)
      [main] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:32)
      [main] 	at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
      [main] 	at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:32)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:174)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:331)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:243)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
      [main] 	at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
      [main] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [main] 	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:112)
      [main] 	at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      [main] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      [main] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [main] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      [main] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      [main] 	at java.lang.Thread.run(Thread.java:748)
      [Pipeline] [main] // withMaven
      [Pipeline] [main] }
      [main] Terminating xvnc.
      [main] $ vncserver -kill :87
      [main] Killing Xtightvnc process ID 9818
      [Pipeline] [main] // wrap
      [Pipeline] [main] }
      [Pipeline] [main] // stage
      [Pipeline] [main] }
      [Pipeline] [main] // node
      [Pipeline] [main] }
      [main] Failed in branch main
      [Pipeline] // parallel
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] End of Pipeline
      
      GitHub has been notified of this commit’s build result
      
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to agent-2-1
      		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
      		at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
      		at hudson.remoting.Channel.call(Channel.java:908)
      		at hudson.FilePath.act(FilePath.java:986)
      		at hudson.FilePath.act(FilePath.java:975)
      		at hudson.FilePath.list(FilePath.java:1733)
      		at hudson.FilePath.list(FilePath.java:1717)
      		at hudson.FilePath.list(FilePath.java:1702)
      		at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:136)
      		at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution$WorkspaceCleanupCallback.finished(WithMavenStepExecution.java:914)
      		at org.jenkinsci.plugins.workflow.steps.BodyExecutionCallback$TailCall.onSuccess(BodyExecutionCallback.java:114)
      		at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$SuccessAdapter.receive(CpsBodyExecution.java:362)
      		at com.cloudbees.groovy.cps.impl.ValueBoundContinuation.receive(ValueBoundContinuation.java:21)
      		at com.cloudbees.groovy.cps.Block$Noop.eval(Block.java:30)
      		at com.cloudbees.groovy.cps.Next.step(Next.java:83)
      		at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174)
      		at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163)
      		at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:122)
      		at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:261)
      		at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163)
      		at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:19)
      		at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:35)
      		at org.jenkinsci.plugins.workflow.cps.SandboxContinuable$1.call(SandboxContinuable.java:32)
      		at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.GroovySandbox.runInSandbox(GroovySandbox.java:108)
      		at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:32)
      		at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:174)
      		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:331)
      		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$100(CpsThreadGroup.java:82)
      		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:243)
      		at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:231)
      		at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:64)
      		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:1149)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      		at java.lang.Thread.run(Thread.java:748)
      /home/hudsonagent/jenkins_root/workspace/XWiki_xwiki-platform_master-ZGNMAWOYB6APYNMYWF7HH475RM4M6C6RE2U76Y5M5RWNQJWOLFGA@2@tmp/withMavenad9de2c1 does not exist.
      	at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
      	at hudson.FilePath.glob(FilePath.java:1759)
      	at hudson.FilePath.access$1700(FilePath.java:196)
      	at hudson.FilePath$32.invoke(FilePath.java:1736)
      	at hudson.FilePath$32.invoke(FilePath.java:1733)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2760)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:207)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:53)
      	at hudson.remoting.Request$2.run(Request.java:358)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	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
      

          [JENKINS-49337] GeneralNonBlockingStepExecution (was: InterruptedException from step tail call)

          Cyrille Le Clerc added a comment - FYI work in progress https://github.com/jenkinsci/workflow-step-api-plugin/pull/38#issuecomment-444835077

          Cyrille Le Clerc added a comment - - edited

          FYI https://github.com/jenkinsci/workflow-step-api-plugin/pull/38 successfully tested. We should have a fix "soon" (need first to merge the workflow-step-api-plugin PR and to release it)

          See https://github.com/jenkinsci/pipeline-maven-plugin/pull/190

          Cyrille Le Clerc added a comment - - edited FYI https://github.com/jenkinsci/workflow-step-api-plugin/pull/38 successfully tested. We should have a fix "soon" (need first to merge the workflow-step-api-plugin PR and to release it) See https://github.com/jenkinsci/pipeline-maven-plugin/pull/190

          Cyrille Le Clerc added a comment - vmassol could you test the fix installing the versions attached here: pipeline-maven-3.6.5-SNAPSHOT-JENKINS-49337.hpi workflow-step-api-2.17-rc491.f7bec8d9dc29.hpi

          Cyrille Le Clerc added a comment - - edited

          workflow-step-api 2.17 has been released. We will be able to release soon. We have to evaluate the adoption of workflow-step-api:2.17 to understand if asking this upgrade to the users of withMaven is sustainable.

          Another solution has been found. The solution provide a short term solution recopying GeneralNonBlockingStepExecution in pipeline-maven-plugin.

          https://github.com/jenkinsci/pipeline-maven-plugin/blob/pipeline-maven-3.6.5-beta-1/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/fix/jenkins49337/GeneralNonBlockingStepExecution.java

          Cyrille Le Clerc added a comment - - edited workflow-step-api 2.17 has been released. We will be able to release soon. We have to evaluate the adoption of workflow-step-api:2.17 to understand if asking this upgrade to the users of withMaven is sustainable. Another solution has been found. The solution provide a short term solution recopying GeneralNonBlockingStepExecution in pipeline-maven-plugin. https://github.com/jenkinsci/pipeline-maven-plugin/blob/pipeline-maven-3.6.5-beta-1/jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/fix/jenkins49337/GeneralNonBlockingStepExecution.java

          beta version of the pipeline-maven-plugin fixing the InterruptedException is available at https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/pipeline-maven/3.6.5-beta-1/pipeline-maven-3.6.5-beta-1.hpi
          pipeline-maven-3.6.5-beta-1.hpi does NOT require to bump the Step API plugin, it's a standalone fix.

          Cyrille Le Clerc added a comment - beta version of the pipeline-maven-plugin fixing the InterruptedException is available at https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/pipeline-maven/3.6.5-beta-1/pipeline-maven-3.6.5-beta-1.hpi pipeline-maven-3.6.5-beta-1.hpi does NOT require to bump the Step API plugin, it's a standalone fix.

          Fixed in pipeline-maven-plugin 3.6.5

          Cyrille Le Clerc added a comment - Fixed in pipeline-maven-plugin 3.6.5

          cleclerc Thanks! I'm still using your workflow-step-api-2.17-rc491.f7bec8d9dc29.hpi. Can I upgrade it to version 2.17 at the same time as upgrade pipeline-maven-plugin to 3.6.5?

          Vincent Massol added a comment - cleclerc Thanks! I'm still using your workflow-step-api-2.17-rc491.f7bec8d9dc29.hpi . Can I upgrade it to version 2.17 at the same time as upgrade pipeline-maven-plugin to 3.6.5?

          vmassol you can safely upgrade simultaneously to workflow-step-api-2.1 and to pipeline-maven-3.6.5

          Cyrille Le Clerc added a comment - vmassol you can safely upgrade simultaneously to workflow-step-api-2.1 and to pipeline-maven-3.6.5

          ASHOK MOHANTY added a comment -

          Hi Cyrille, You mean its  workflow-step-api-2.17 (/2.18) and to pipeline-maven-3.6.5.  workflow-step-api-2.1 (version 2.1 seems typo) !! Can you please confirm !?

          ASHOK MOHANTY added a comment - Hi Cyrille, You mean its  workflow-step-api-2.17 (/2.18) and to pipeline-maven-3.6.5.  workflow-step-api-2.1 (version 2.1 seems typo) !! Can you please confirm !?

          akmjenkins my comment to vmassol on 2018-12-18 was specific to his environment as he has beta tested a snapshot fix. The standard solution is to use the latest version of pipeline-maven and workflow-step-api.

          Cyrille Le Clerc added a comment - akmjenkins my comment to vmassol on 2018-12-18 was specific to his environment as he has beta tested a snapshot fix. The standard solution is to use the latest version of pipeline-maven and workflow-step-api.

            cleclerc Cyrille Le Clerc
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: