-
Bug
-
Resolution: Unresolved
-
Critical
-
Jenkins 2.401.1; Jenkins 2.401.3; Jenkins 2.414.1, 2.414.3
JVM 11.0.19+7; 11.0.20+8 (server and agent)
Windows Server 2019
plugins:
Active Directory plugin (active-directory): 2.33
Allure Jenkins Plugin (allure-jenkins-plugin): 2.30.3
OWASP Markup Formatter Plugin (antisamy-markup-formatter): 162.v0e6ec0fcfcf6
Apache HttpComponents Client 4.x API Plugin (apache-httpcomponents-client-4-api): 4.5.14-208.v438351942757
Authorize Project (authorize-project): 1.7.1
Bootstrap 5 API Plugin (bootstrap5-api): 5.3.0-1
bouncycastle API Plugin (bouncycastle-api): 2.29
Branch API Plugin (branch-api): 2.1122.v09cb_8ea_8a_724
Caffeine API Plugin (caffeine-api): 3.1.8-133.v17b_1ff2e0599
Checks API plugin (checks-api): 2.0.0
Folders Plugin (cloudbees-folder): 6.848.ve3b_fd7839a_81
Cobertura Plugin (cobertura): 1.17
Code Coverage API Plugin (code-coverage-api): 4.7.0
Command Agent Launcher Plugin (command-launcher): 107.v773860566e2e
Commons HttpClient 3.x API (commons-httpclient3-api): 3.1-3
commons-lang3 v3.x Jenkins API Plugin (commons-lang3-api): 3.13.0-62.v7d18e55f51e2
commons-text API Plugin (commons-text-api): 1.10.0-68.v0d0b_c439292b_
Compress Artifacts Plugin (compress-artifacts): 98.vb_20f3c77ddf7
Copy Artifact Plugin (copyartifact): 722.v0662a_9b_e22a_c
Credentials Binding Plugin (credentials-binding): 631.v861c06d062b_4
Credentials Plugin (credentials): 1271.v54b_1c2c6388a_
DataTables.net API Plugin (data-tables-api): 1.13.5-1
Display URL API (display-url-api): 2.3.9
Durable Task Plugin (durable-task): 523.va_a_22cf15d5e0
ECharts API Plugin (echarts-api): 5.4.0-5
Email Extension Plugin (email-ext): 2.100
Font Awesome API Plugin (font-awesome-api): 6.4.0-2
Forensics API Plugin (forensics-api): 2.3.0
Git client plugin (git-client): 4.4.0
Git plugin (git): 5.2.0
Instance Identity (instance-identity): 173.va_37c494ec4e5
Ionicons API (ionicons-api): 56.v1b_1c8c49374e
Jackson 2 API Plugin (jackson2-api): 2.15.2-350.v0c2f3f8fc595
Jakarta Activation API (jakarta-activation-api): 2.0.1-3
Jakarta Mail API (jakarta-mail-api): 2.0.1-3
JavaBeans Activation Framework (JAF) API (javax-activation-api): 1.2.0-6
JavaMail API (javax-mail-api): 1.6.2-9
JAXB plugin (jaxb): 2.3.8-1
Oracle Java SE Development Kit Installer Plugin (jdk-tool): 73.vddf737284550
JQuery3 API Plugin (jquery3-api): 3.7.0-1
JSch dependency plugin (jsch): 0.2.8-65.v052c39de79b_2
JUnit Plugin (junit): 1217.v4297208a_a_b_ce
Mailer Plugin (mailer): 463.vedf8358e006b_
MapDB API Plugin (mapdb-api): 1.0.9-28.vf251ce40855d
Mask Passwords Plugin (mask-passwords): 150.vf80d33113e80
Matrix Project Plugin (matrix-project): 808.v5a_b_5f56d6966
Mina SSHD API :: Common (mina-sshd-api-common): 2.10.0-69.v28e3e36d18eb_
Mina SSHD API :: Core (mina-sshd-api-core): 2.10.0-69.v28e3e36d18eb_
NUnit plugin (nunit): 394.v65c09a_8408b_a_
Pipeline: Build Step (pipeline-build-step): 505.v5f0844d8d126
Pipeline Graph Analysis Plugin (pipeline-graph-analysis): 202.va_d268e64deb_3
Pipeline: Groovy Libraries (pipeline-groovy-lib): 671.v07c339c842e8
Pipeline: Input Step (pipeline-input-step): 477.v339683a_8d55e
Pipeline: Milestone Step (pipeline-milestone-step): 111.v449306f708b_7
Pipeline: Model API (pipeline-model-api): 2.2144.v077a_d1928a_40
Pipeline: Declarative (pipeline-model-definition): 2.2144.v077a_d1928a_40
Pipeline: Declarative Extension Points API (pipeline-model-extensions): 2.2144.v077a_d1928a_40
Pipeline: REST API Plugin (pipeline-rest-api): 2.33
Pipeline: Stage Step (pipeline-stage-step): 305.ve96d0205c1c6
Pipeline: Stage Tags Metadata (pipeline-stage-tags-metadata): 2.2144.v077a_d1928a_40
Pipeline: Stage View Plugin (pipeline-stage-view): 2.33
Plain Credentials Plugin (plain-credentials): 143.v1b_df8b_d3b_e48
Plugin Utilities API Plugin (plugin-util-api): 3.3.0
Prism API Plugin (prism-api): 1.29.0-7
Resource Disposer Plugin (resource-disposer): 0.23
Role-based Authorization Strategy (role-strategy): 689.v731678c3e0eb_
SCM API Plugin (scm-api): 676.v886669a_199a_a_
Script Security Plugin (script-security): 1273.v66c1964f0dfd
Simple Theme Plugin (simple-theme-plugin): 160.vb_76454b_67900
SnakeYAML API Plugin (snakeyaml-api): 1.33-95.va_b_a_e3e47b_fa_4
SSH Credentials Plugin (ssh-credentials): 308.ve4497b_ccd8f4
SSH server (sshd): 3.312.v1c601b_c83b_0e
Structs Plugin (structs): 325.vcb_307d2a_2782
Subversion Plug-in (subversion): 2.17.3
ThinBackup (thinBackup): 1.18
Token Macro Plugin (token-macro): 384.vf35b_f26814ec
Trilead API Plugin (trilead-api): 2.84.v72119de229b_7
Variant Plugin (variant): 59.vf075fe829ccb
Versions Node Monitors plugin (versioncolumn): 162.v85841b_0790d5
Pipeline (workflow-aggregator): 596.v8c21c963d92d
Pipeline: API (workflow-api): 1267.vd9b_a_ddd9eb_47
Pipeline: Basic Steps (workflow-basic-steps): 1042.ve7b_140c4a_e0c
Pipeline: Groovy (workflow-cps): 3773.v505e0052522c
Pipeline: Nodes and Processes (workflow-durable-task-step): 1289.v4d3e7b_01546b_
Pipeline: Job (workflow-job): 1326.ve643e00e9220
Pipeline: Multibranch (workflow-multibranch): 756.v891d88f2cd46
Pipeline: SCM Step (workflow-scm-step): 415.v434365564324
Pipeline: Step API (workflow-step-api): 639.v6eca_cd8c04a_a_
Pipeline: Supporting APIs (workflow-support): 848.v5a_383b_d14921
Workspace Cleanup Plugin (ws-cleanup): 0.45Jenkins 2.401.1; Jenkins 2.401.3; Jenkins 2.414.1, 2.414.3 JVM 11.0.19+7; 11.0.20+8 (server and agent) Windows Server 2019 plugins: Active Directory plugin (active-directory): 2.33 Allure Jenkins Plugin (allure-jenkins-plugin): 2.30.3 OWASP Markup Formatter Plugin (antisamy-markup-formatter): 162.v0e6ec0fcfcf6 Apache HttpComponents Client 4.x API Plugin (apache-httpcomponents-client-4-api): 4.5.14-208.v438351942757 Authorize Project (authorize-project): 1.7.1 Bootstrap 5 API Plugin (bootstrap5-api): 5.3.0-1 bouncycastle API Plugin (bouncycastle-api): 2.29 Branch API Plugin (branch-api): 2.1122.v09cb_8ea_8a_724 Caffeine API Plugin (caffeine-api): 3.1.8-133.v17b_1ff2e0599 Checks API plugin (checks-api): 2.0.0 Folders Plugin (cloudbees-folder): 6.848.ve3b_fd7839a_81 Cobertura Plugin (cobertura): 1.17 Code Coverage API Plugin (code-coverage-api): 4.7.0 Command Agent Launcher Plugin (command-launcher): 107.v773860566e2e Commons HttpClient 3.x API (commons-httpclient3-api): 3.1-3 commons-lang3 v3.x Jenkins API Plugin (commons-lang3-api): 3.13.0-62.v7d18e55f51e2 commons-text API Plugin (commons-text-api): 1.10.0-68.v0d0b_c439292b_ Compress Artifacts Plugin (compress-artifacts): 98.vb_20f3c77ddf7 Copy Artifact Plugin (copyartifact): 722.v0662a_9b_e22a_c Credentials Binding Plugin (credentials-binding): 631.v861c06d062b_4 Credentials Plugin (credentials): 1271.v54b_1c2c6388a_ DataTables.net API Plugin (data-tables-api): 1.13.5-1 Display URL API (display-url-api): 2.3.9 Durable Task Plugin (durable-task): 523.va_a_22cf15d5e0 ECharts API Plugin (echarts-api): 5.4.0-5 Email Extension Plugin (email-ext): 2.100 Font Awesome API Plugin (font-awesome-api): 6.4.0-2 Forensics API Plugin (forensics-api): 2.3.0 Git client plugin (git-client): 4.4.0 Git plugin (git): 5.2.0 Instance Identity (instance-identity): 173.va_37c494ec4e5 Ionicons API (ionicons-api): 56.v1b_1c8c49374e Jackson 2 API Plugin (jackson2-api): 2.15.2-350.v0c2f3f8fc595 Jakarta Activation API (jakarta-activation-api): 2.0.1-3 Jakarta Mail API (jakarta-mail-api): 2.0.1-3 JavaBeans Activation Framework (JAF) API (javax-activation-api): 1.2.0-6 JavaMail API (javax-mail-api): 1.6.2-9 JAXB plugin (jaxb): 2.3.8-1 Oracle Java SE Development Kit Installer Plugin (jdk-tool): 73.vddf737284550 JQuery3 API Plugin (jquery3-api): 3.7.0-1 JSch dependency plugin (jsch): 0.2.8-65.v052c39de79b_2 JUnit Plugin (junit): 1217.v4297208a_a_b_ce Mailer Plugin (mailer): 463.vedf8358e006b_ MapDB API Plugin (mapdb-api): 1.0.9-28.vf251ce40855d Mask Passwords Plugin (mask-passwords): 150.vf80d33113e80 Matrix Project Plugin (matrix-project): 808.v5a_b_5f56d6966 Mina SSHD API :: Common (mina-sshd-api-common): 2.10.0-69.v28e3e36d18eb_ Mina SSHD API :: Core (mina-sshd-api-core): 2.10.0-69.v28e3e36d18eb_ NUnit plugin (nunit): 394.v65c09a_8408b_a_ Pipeline: Build Step (pipeline-build-step): 505.v5f0844d8d126 Pipeline Graph Analysis Plugin (pipeline-graph-analysis): 202.va_d268e64deb_3 Pipeline: Groovy Libraries (pipeline-groovy-lib): 671.v07c339c842e8 Pipeline: Input Step (pipeline-input-step): 477.v339683a_8d55e Pipeline: Milestone Step (pipeline-milestone-step): 111.v449306f708b_7 Pipeline: Model API (pipeline-model-api): 2.2144.v077a_d1928a_40 Pipeline: Declarative (pipeline-model-definition): 2.2144.v077a_d1928a_40 Pipeline: Declarative Extension Points API (pipeline-model-extensions): 2.2144.v077a_d1928a_40 Pipeline: REST API Plugin (pipeline-rest-api): 2.33 Pipeline: Stage Step (pipeline-stage-step): 305.ve96d0205c1c6 Pipeline: Stage Tags Metadata (pipeline-stage-tags-metadata): 2.2144.v077a_d1928a_40 Pipeline: Stage View Plugin (pipeline-stage-view): 2.33 Plain Credentials Plugin (plain-credentials): 143.v1b_df8b_d3b_e48 Plugin Utilities API Plugin (plugin-util-api): 3.3.0 Prism API Plugin (prism-api): 1.29.0-7 Resource Disposer Plugin (resource-disposer): 0.23 Role-based Authorization Strategy (role-strategy): 689.v731678c3e0eb_ SCM API Plugin (scm-api): 676.v886669a_199a_a_ Script Security Plugin (script-security): 1273.v66c1964f0dfd Simple Theme Plugin (simple-theme-plugin): 160.vb_76454b_67900 SnakeYAML API Plugin (snakeyaml-api): 1.33-95.va_b_a_e3e47b_fa_4 SSH Credentials Plugin (ssh-credentials): 308.ve4497b_ccd8f4 SSH server (sshd): 3.312.v1c601b_c83b_0e Structs Plugin (structs): 325.vcb_307d2a_2782 Subversion Plug-in (subversion): 2.17.3 ThinBackup (thinBackup): 1.18 Token Macro Plugin (token-macro): 384.vf35b_f26814ec Trilead API Plugin (trilead-api): 2.84.v72119de229b_7 Variant Plugin (variant): 59.vf075fe829ccb Versions Node Monitors plugin (versioncolumn): 162.v85841b_0790d5 Pipeline (workflow-aggregator): 596.v8c21c963d92d Pipeline: API (workflow-api): 1267.vd9b_a_ddd9eb_47 Pipeline: Basic Steps (workflow-basic-steps): 1042.ve7b_140c4a_e0c Pipeline: Groovy (workflow-cps): 3773.v505e0052522c Pipeline: Nodes and Processes (workflow-durable-task-step): 1289.v4d3e7b_01546b_ Pipeline: Job (workflow-job): 1326.ve643e00e9220 Pipeline: Multibranch (workflow-multibranch): 756.v891d88f2cd46 Pipeline: SCM Step (workflow-scm-step): 415.v434365564324 Pipeline: Step API (workflow-step-api): 639.v6eca_cd8c04a_a_ Pipeline: Supporting APIs (workflow-support): 848.v5a_383b_d14921 Workspace Cleanup Plugin (ws-cleanup): 0.45
with Jenkins v2.414.3 this bug is now so massive:
after each restart service goes into this corrupt state just in a few seconds
-> Jenkins no longer usable for us
=> after downgrade back to 2.414.2 it is usable again
=> but still worse
hint: we use extensively the Jenkins API to update labels and config of nodes (>150 nodes in parallel) to balance jobs, I think we found here a race condition
some minutes after restart Jenkins Server service some pipeline job stuck in state "Still waiting to schedule task" and whole queue deadlock forever
pipeline example:
pipeline { agent { node { label params.nodename } } options { buildDiscarder(logRotator(numToKeepStr: '5000', artifactNumToKeepStr: '5000')) } parameters { string (name: 'nodename', defaultValue: '') string (name: 'commandLine', defaultValue: '') string (name: 'sourceBranch', defaultValue: 'master', description: '') } stages { stage('Execute') { when { beforeAgent true expression { params.nodename != '' } } steps { bat 'echo hello' } } } }
parameter example:
nodename: VM-514A56DC0979
node is connected and idling
finally the whole jenkins queue deadlocks
no progress until I restart the Jenkins Server service
but after service restart and some minutes it stuck again in that state
have also an observation what can be related to this:
if I want to change configuration of that node it lead to an serious error in Jenkins
thread dump:
Thread #0
at DSL.node(java.util.concurrent.ExecutionException: java.lang.ClassCastException)
at org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.LabelScript.run(LabelScript.groovy:42)
at org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.inDeclarativeAgent(ModelInterpreter.groovy:594)
at org.jenkinsci.plugins.pipeline.modeldefinition.ModelInterpreter.call(ModelInterpreter.groovy:76)
at WorkflowScript.run(WorkflowScript:1)