-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins version 2.334
Plugin-Versions:
ace-editor 1.1
antisamy-markup-formatter 2.7
apache-httpcomponents-client-4-api 4.5.13-1.0
authentication-tokens 1.4
authorize-project 1.4.0
badge 1.9.1
blueocean-autofavorite 1.2.5
blueocean-bitbucket-pipeline 1.25.2
blueocean-commons 1.25.2
blueocean-config 1.25.2
blueocean-core-js 1.25.2
blueocean-dashboard 1.25.2
blueocean-display-url 2.4.1
blueocean-events 1.25.2
blueocean-git-pipeline 1.25.2
blueocean-github-pipeline 1.25.2
blueocean-i18n 1.25.2
blueocean-jwt 1.25.2
blueocean-personalization 1.25.2
blueocean-pipeline-api-impl 1.25.2
blueocean-pipeline-editor 1.25.2
blueocean-pipeline-scm-api 1.25.2
blueocean-rest-impl 1.25.2
blueocean-rest 1.25.2
blueocean-web 1.25.2
blueocean 1.25.2
bootstrap4-api 4.6.0-3
bootstrap5-api 5.1.3-5
branch-api 2.7.0
build-with-parameters 1.6
caffeine-api 2.9.2-29.v717aac953ff3
checks-api 1.7.2
cloudbees-bitbucket-branch-source 751.vda_24678a_f781
cloudbees-folder 6.18
conditional-buildstep 1.4.1
configuration-as-code-groovy 1.1
configuration-as-code 1346.ve8cfa_3473c94
credentials-binding 1.27.1
credentials 1074.v60e6c29b_b_44b_
display-url-api 2.3.5
durable-task 493.v195aefbb0ff2
echarts-api 5.3.0-2
favorite 2.3.3
font-awesome-api 6.0.0-1
git-client 3.11.0
git-server 1.10
git 4.10.3
github-api 1.301-378.v9807bd746da5
github-branch-source 2.11.4
github 1.34.2
handlebars 3.0.8
handy-uri-templates-2-api 2.1.8-1.0
htmlpublisher 1.29
http_request 1.14
jackson2-api 2.13.1-246.va8a9f3eaf46a
javadoc 217.v905b_86277a_2a_
javax-activation-api 1.2.0-2
javax-mail-api 1.6.2-5
jenkins-design-language 1.25.2
jjwt-api 0.11.2-9.c8b45b8bb173
job-dsl 1.78.3
jquery3-api 3.6.0-2
jsch 0.1.55.2
junit 1.55
lockable-resources 2.14
mailer 408.vd726a_1130320
matrix-auth 3.0.1
matrix-project 1.20
maven-plugin 3.17
metrics 4.1.6.1
momentjs 1.1.1
okhttp-api 4.9.3-105.vb96869f8ac3a
parameterized-trigger 2.43
pipeline-build-step 2.16
pipeline-graph-analysis 188.v3a01e7973f2c
pipeline-input-step 446.vf27b_0b_83500e
pipeline-milestone-step 100.v60a_03cd446e1
pipeline-model-api 2.2064.v5eef7d0982b_e
pipeline-model-definition 2.2064.v5eef7d0982b_e
pipeline-model-extensions 2.2064.v5eef7d0982b_e
pipeline-rest-api 2.21
pipeline-stage-step 291.vf0a8a7aeeb50
pipeline-stage-tags-metadata 2.2064.v5eef7d0982b_e
pipeline-stage-view 2.21
pipeline-utility-steps 2.12.0
plain-credentials 1.8
plugin-util-api 2.14.0
popper-api 1.16.1-2
popper2-api 2.11.2-1
pubsub-light 1.16
resource-disposer 0.17
run-condition 1.5
scm-api 595.vd5a_df5eb_0e39
script-security 1131.v8b_b_5eda_c328e
snakeyaml-api 1.29.1
sse-gateway 1.25
ssh-credentials 1.19
ssh-steps 2.0.0
sshd 3.1.0
structs 308.v852b473a2b8c
swarm 3.30
thinBackup 1.10
timestamper 1.17
token-macro 277.v7c8f82a_d66b_3
trilead-api 1.0.13
variant 1.4
webhook-step 89.vfa4b9e961ebf
workflow-aggregator 2.6
workflow-api 1136.v7f5f1759dc16
workflow-basic-steps 937.v7a_b_7579e07a_3
workflow-cps-global-lib 561.va_ce0de3c2d69
workflow-cps 2656.vf7a_e7b_75a_457
workflow-durable-task-step 1121.va_65b_d2701486
workflow-job 1167.v8fe861b_09ef9
workflow-multibranch 707.v71c3f0a_6ccdb_
workflow-scm-step 2.13
workflow-step-api 622.vb_8e7c15b_c95a_
workflow-support 813.vb_d7c3d2984a_0
ws-cleanup 0.40
bouncycastle-api 2.25
command-launcher 1.2
jdk-tool 1.0
jaxb 2.3.0Jenkins version 2.334 Plugin-Versions: ace-editor 1.1 antisamy-markup-formatter 2.7 apache-httpcomponents-client-4-api 4.5.13-1.0 authentication-tokens 1.4 authorize-project 1.4.0 badge 1.9.1 blueocean-autofavorite 1.2.5 blueocean-bitbucket-pipeline 1.25.2 blueocean-commons 1.25.2 blueocean-config 1.25.2 blueocean-core-js 1.25.2 blueocean-dashboard 1.25.2 blueocean-display-url 2.4.1 blueocean-events 1.25.2 blueocean-git-pipeline 1.25.2 blueocean-github-pipeline 1.25.2 blueocean-i18n 1.25.2 blueocean-jwt 1.25.2 blueocean-personalization 1.25.2 blueocean-pipeline-api-impl 1.25.2 blueocean-pipeline-editor 1.25.2 blueocean-pipeline-scm-api 1.25.2 blueocean-rest-impl 1.25.2 blueocean-rest 1.25.2 blueocean-web 1.25.2 blueocean 1.25.2 bootstrap4-api 4.6.0-3 bootstrap5-api 5.1.3-5 branch-api 2.7.0 build-with-parameters 1.6 caffeine-api 2.9.2-29.v717aac953ff3 checks-api 1.7.2 cloudbees-bitbucket-branch-source 751.vda_24678a_f781 cloudbees-folder 6.18 conditional-buildstep 1.4.1 configuration-as-code-groovy 1.1 configuration-as-code 1346.ve8cfa_3473c94 credentials-binding 1.27.1 credentials 1074.v60e6c29b_b_44b_ display-url-api 2.3.5 durable-task 493.v195aefbb0ff2 echarts-api 5.3.0-2 favorite 2.3.3 font-awesome-api 6.0.0-1 git-client 3.11.0 git-server 1.10 git 4.10.3 github-api 1.301-378.v9807bd746da5 github-branch-source 2.11.4 github 1.34.2 handlebars 3.0.8 handy-uri-templates-2-api 2.1.8-1.0 htmlpublisher 1.29 http_request 1.14 jackson2-api 2.13.1-246.va8a9f3eaf46a javadoc 217.v905b_86277a_2a_ javax-activation-api 1.2.0-2 javax-mail-api 1.6.2-5 jenkins-design-language 1.25.2 jjwt-api 0.11.2-9.c8b45b8bb173 job-dsl 1.78.3 jquery3-api 3.6.0-2 jsch 0.1.55.2 junit 1.55 lockable-resources 2.14 mailer 408.vd726a_1130320 matrix-auth 3.0.1 matrix-project 1.20 maven-plugin 3.17 metrics 4.1.6.1 momentjs 1.1.1 okhttp-api 4.9.3-105.vb96869f8ac3a parameterized-trigger 2.43 pipeline-build-step 2.16 pipeline-graph-analysis 188.v3a01e7973f2c pipeline-input-step 446.vf27b_0b_83500e pipeline-milestone-step 100.v60a_03cd446e1 pipeline-model-api 2.2064.v5eef7d0982b_e pipeline-model-definition 2.2064.v5eef7d0982b_e pipeline-model-extensions 2.2064.v5eef7d0982b_e pipeline-rest-api 2.21 pipeline-stage-step 291.vf0a8a7aeeb50 pipeline-stage-tags-metadata 2.2064.v5eef7d0982b_e pipeline-stage-view 2.21 pipeline-utility-steps 2.12.0 plain-credentials 1.8 plugin-util-api 2.14.0 popper-api 1.16.1-2 popper2-api 2.11.2-1 pubsub-light 1.16 resource-disposer 0.17 run-condition 1.5 scm-api 595.vd5a_df5eb_0e39 script-security 1131.v8b_b_5eda_c328e snakeyaml-api 1.29.1 sse-gateway 1.25 ssh-credentials 1.19 ssh-steps 2.0.0 sshd 3.1.0 structs 308.v852b473a2b8c swarm 3.30 thinBackup 1.10 timestamper 1.17 token-macro 277.v7c8f82a_d66b_3 trilead-api 1.0.13 variant 1.4 webhook-step 89.vfa4b9e961ebf workflow-aggregator 2.6 workflow-api 1136.v7f5f1759dc16 workflow-basic-steps 937.v7a_b_7579e07a_3 workflow-cps-global-lib 561.va_ce0de3c2d69 workflow-cps 2656.vf7a_e7b_75a_457 workflow-durable-task-step 1121.va_65b_d2701486 workflow-job 1167.v8fe861b_09ef9 workflow-multibranch 707.v71c3f0a_6ccdb_ workflow-scm-step 2.13 workflow-step-api 622.vb_8e7c15b_c95a_ workflow-support 813.vb_d7c3d2984a_0 ws-cleanup 0.40 bouncycastle-api 2.25 command-launcher 1.2 jdk-tool 1.0 jaxb 2.3.0
We recently updated our Jenkins Controller from version 2.318 to 2.334.
Since this update, the pipelines no longer survive a jenkins restart.
In the Jenkins log the following error message is printed:
2022-03-03 13:21:56.579+0000 [id=1717] WARNING o.j.p.w.cps.CpsVmExecutorService#reportProblem: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[Continuous_Delivery_and_Automation/yp-1234_full-pipeline-example/master/4:Continuous_Delivery_and_Automation/yp-1234_full-pipeline-example/master #4]] java.lang.NullPointerException at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:947) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:930) at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToBoolean(DefaultTypeTransformation.java:198) at com.cloudbees.groovy.cps.impl.IfBlock$ContinuationImpl.jump(IfBlock.java:37) at jdk.internal.reflect.GeneratedMethodAccessor532.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:39) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:28) at com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55) at com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16) 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:136) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:402) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:96) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:314) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:278) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
This happens only in combination with our shared library. With a simple pipeline example, the restart works just fine.
As soon as I have an example pipeline code which reliably reproduces this behavior, I'll post the example code here.
An update the latest Jenkins core (right now 2.344) and plugin versions didn't solve this issue.