Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: pipeline, workflow-cps-plugin
-
Labels:None
-
Similar Issues:
-
Released As:workflow-durable-task-step 2.29
Description
In my pipeline job,
sometimes it'd randomly receive the java.lang.InterruptedException below:
java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1302) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:275) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.getThreadGroupSynchronously(CpsStepContext.java:248) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.getThreadSynchronously(CpsStepContext.java:237) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.doGet(CpsStepContext.java:294) at org.jenkinsci.plugins.workflow.support.DefaultStepContext.get(DefaultStepContext.java:61) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:251) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:179) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:126) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108) at org.jenkinsci.plugins.workflow.cps.CpsScript.println(CpsScript.java:207) at org.jenkinsci.plugins.workflow.cps.CpsScript.print(CpsScript.java:202) at sun.reflect.GeneratedMethodAccessor103253.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) .... ....
Please refer to the file attachment for the full console log and the pipeline Jenkinsfile code.
Attachments
Issue Links
- is duplicated by
-
JENKINS-55416 10s is not long enough to abort job
-
- Fixed but Unreleased
-
- relates to
-
JENKINS-61697 Cannot contact node: java.lang.InterruptedException
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | consoleText_ERROR.txt [ 39512 ] |
Attachment | Jenkinsfile.groovy [ 39513 ] |
Attachment | Jenkinsfile.txt [ 39514 ] |
Attachment | Jenkinsfile.groovy [ 39513 ] |
Environment |
Ubuntu 14.04.5 LTS Jenkins ver. 2.46.1 Pipeline: API ver. 2.12 Pipeline: Basic Steps ver. 2.4 Pipeline: Build Step ver. 2.4 Lockable Resources plugin ver. 1.11.2 |
Ubuntu 14.04.5 LTS Jenkins ver. 2.46.1 Pipeline: API ver. 2.12 Pipeline: Basic Steps ver. 2.4 Pipeline: Build Step ver. 2.4 Pipeline: Groovy ver. 2.29 Lockable Resources plugin ver. 1.11.2 |
Component/s | workflow-cps-plugin [ 21713 ] |
Component/s | pipeline [ 21692 ] |
Component/s | pipeline [ 21692 ] |
Environment |
Ubuntu 14.04.5 LTS Jenkins ver. 2.46.1 Pipeline: API ver. 2.12 Pipeline: Basic Steps ver. 2.4 Pipeline: Build Step ver. 2.4 Pipeline: Groovy ver. 2.29 Lockable Resources plugin ver. 1.11.2 |
Ubuntu 14.04.5 LTS openjdk version "1.8.0_111" Jenkins ver. 2.46.1 Pipeline: API ver. 2.12 Pipeline: Basic Steps ver. 2.4 Pipeline: Build Step ver. 2.4 Pipeline: Groovy ver. 2.29 Lockable Resources plugin ver. 1.11.2 |
Summary | Pipeline random java.lang.InterruptedException | Parallel Pipeline random java.lang.InterruptedException |
Assignee | Sam Van Oort [ svanoort ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Sam Van Oort [ svanoort ] | Jose Blas Camacho Taboada [ jtaboada ] |
Attachment | Jenkinsfile [ 44601 ] |
Attachment | hs_err_pid239040.log [ 44625 ] |
Attachment | jenkins.log [ 44882 ] |
Attachment | workflow-durable-task-step.hpi [ 45076 ] |
Assignee | Jose Blas Camacho Taboada [ jtaboada ] | Devin Nusbaum [ dnusbaum ] |
Remote Link | This issue links to "jenkinsci/workflow-durable-task-step-plugin#90 (Web Link)" [ 22012 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Link |
This issue is duplicated by |
Released As | workflow-durable-task-step 2.29 | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Link |
This issue relates to |