-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins: 2.414.1
OS: Linux - 5.10.167-147.601.amzn2.x86_64
Java: 11.0.20 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
ant:497.v94e7d9fffa_b_9
antisamy-markup-formatter:162.v0e6ec0fcfcf6
apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
atlassian-jira-software-cloud:2.0.9
authentication-tokens:1.53.v1c90fd9191a_b_
authorize-project:1.7.1
aws-credentials:218.v1b_e9466ec5da_
aws-java-sdk:1.12.529-406.vdeff15e5817d
aws-java-sdk-cloudformation:1.12.529-406.vdeff15e5817d
aws-java-sdk-codebuild:1.12.529-406.vdeff15e5817d
aws-java-sdk-ec2:1.12.529-406.vdeff15e5817d
aws-java-sdk-ecr:1.12.529-406.vdeff15e5817d
aws-java-sdk-ecs:1.12.529-406.vdeff15e5817d
aws-java-sdk-efs:1.12.529-406.vdeff15e5817d
aws-java-sdk-elasticbeanstalk:1.12.529-406.vdeff15e5817d
aws-java-sdk-iam:1.12.529-406.vdeff15e5817d
aws-java-sdk-kinesis:1.12.529-406.vdeff15e5817d
aws-java-sdk-logs:1.12.529-406.vdeff15e5817d
aws-java-sdk-minimal:1.12.529-406.vdeff15e5817d
aws-java-sdk-secretsmanager:1.12.529-406.vdeff15e5817d
aws-java-sdk-sns:1.12.529-406.vdeff15e5817d
aws-java-sdk-sqs:1.12.529-406.vdeff15e5817d
aws-java-sdk-ssm:1.12.529-406.vdeff15e5817d
basic-branch-build-strategies:81.v05e333931c7d
bitbucket:223.vd12f2bca5430
blueocean:1.27.7
blueocean-autofavorite:1.2.5
blueocean-bitbucket-pipeline:1.27.7
blueocean-commons:1.27.7
blueocean-config:1.27.7
blueocean-core-js:1.27.7
blueocean-dashboard:1.27.7
blueocean-display-url:2.4.2
blueocean-events:1.27.7
blueocean-git-pipeline:1.27.7
blueocean-github-pipeline:1.27.7
blueocean-i18n:1.27.7
blueocean-jira:1.27.7
blueocean-jwt:1.27.7
blueocean-personalization:1.27.7
blueocean-pipeline-api-impl:1.27.7
blueocean-pipeline-editor:1.27.7
blueocean-pipeline-scm-api:1.27.7
blueocean-rest:1.27.7
blueocean-rest-impl:1.27.7
blueocean-web:1.27.7
bootstrap5-api:5.3.0-1
bouncycastle-api:2.29
branch-api:2.1128.v717130d4f816
build-timeout:1.31
build-user-vars-plugin:1.9
caffeine-api:3.1.8-133.v17b_1ff2e0599
checks-api:2.0.1
cloudbees-bitbucket-branch-source:832.v43175a_425ea_6
cloudbees-folder:6.848.ve3b_fd7839a_81
collabnet:2.0.9
command-launcher:107.v773860566e2e
commons-lang3-api:3.13.0-62.v7d18e55f51e2
commons-text-api:1.10.0-78.v3e7b_ea_d5a_fe1
config-file-provider:953.v0432a_802e4d2
consul:2.1
consul-kv-builder:2.0.13
copyartifact:705.v5295cffec284
credentials:1271.v54b_1c2c6388a_
credentials-binding:636.v55f1275c7b_27
cucumber-reports:5.7.6
data-tables-api:1.13.5-1
display-url-api:2.3.9
docker-commons:439.va_3cb_0a_6a_fb_29
docker-workflow:563.vd5d2e5c4007f
durable-task:523.va_a_22cf15d5e0
ec2:1628.v6d7b_fc58b_a_1d
echarts-api:5.4.0-5
email-ext:2.101
envinject:2.908.v66a_774b_31d93
envinject-api:1.199.v3ce31253ed13
extended-choice-parameter:376.v2e02857547b_a_
external-monitor-job:215.v2e88e894db_f8
favorite:2.4.3
font-awesome-api:6.4.0-2
generic-webhook-trigger:1.87.0
git:5.2.0
git-client:4.5.0
github:1.37.3
github-api:1.314-431.v78d72a_3fe4c3
github-branch-source:1740.v51d5810e9e8c
github-oauth:588.vf696a_350572a_
google-login:1.8
google-oauth-plugin:1.0.11
gradle:2.8.2
groovy:453.vcdb_a_c5c99890
h2-api:11.1.4.199-12.v9f4244395f7a_
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
hidden-parameter:138.v2a_c30d04e566
htmlpublisher:1.32
instance-identity:173.va_37c494ec4e5
ionicons-api:56.v1b_1c8c49374e
jackson2-api:2.15.2-350.v0c2f3f8fc595
jacoco:3.3.4
jakarta-activation-api:2.0.1-3
jakarta-mail-api:2.0.1-3
javadoc:233.vdc1a_ec702cff
javax-activation-api:1.2.0-6
javax-mail-api:1.6.2-9
jaxb:2.3.8-1
jdk-tool:73.vddf737284550
jenkins-design-language:1.27.7
jersey2-api:2.40-1
jira:3.11
jjwt-api:0.11.5-77.v646c772fddb_0
jnr-posix-api:3.1.17-1
job-dsl:1.84
jobConfigHistory:1229.v3039470161a_d
jquery3-api:3.7.0-1
jsch:0.2.8-65.v052c39de79b_2
junit:1217.v4297208a_a_b_ce
junit-realtime-test-reporter:129.vd45a_61b_e3a_c8
kubernetes:3937.vd7b_82db_e347b_
kubernetes-cli:1.12.0
kubernetes-client-api:6.4.1-215.v2ed17097a_8e9
kubernetes-credentials:0.10.0
ldap:694.vc02a_69c9787f
lockable-resources:1185.v0c528656ce04
mailer:463.vedf8358e006b_
mapdb-api:1.0.9-28.vf251ce40855d
matrix-auth:3.1.8
matrix-project:808.v5a_b_5f56d6966
maven-plugin:3.23
mercurial:1260.vdfb_723cdcc81
metrics:4.2.18-442.v02e107157925
mina-sshd-api-common:2.10.0-69.v28e3e36d18eb_
mina-sshd-api-core:2.10.0-69.v28e3e36d18eb_
msbuild:1.30
nexus-jenkins-plugin:3.16.501.ve3d6b_58f1d37
node-iterator-api:49.v58a_8b_35f8363
nodejs:1.6.1
oauth-credentials:0.645.ve666a_c332668
okhttp-api:4.11.0-157.v6852a_a_fa_ec11
pam-auth:1.10
parameterized-scheduler:255.v73827fcdf618
pipeline-aws:1.43
pipeline-build-step:505.v5f0844d8d126
pipeline-github-lib:42.v0739460cda_c4
pipeline-graph-analysis:202.va_d268e64deb_3
pipeline-groovy-lib:689.veec561a_dee13
pipeline-input-step:477.v339683a_8d55e
pipeline-maven:1298.v43b_82f220a_e9
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2144.v077a_d1928a_40
pipeline-model-definition:2.2144.v077a_d1928a_40
pipeline-model-extensions:2.2144.v077a_d1928a_40
pipeline-rest-api:2.33
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2144.v077a_d1928a_40
pipeline-stage-view:2.33
pipeline-utility-steps:2.16.0
plain-credentials:143.v1b_df8b_d3b_e48
plugin-util-api:3.3.0
popper2-api:2.11.6-2
postbuild-task:1.9
promoted-builds:892.vd6219fc0a_efb
publish-over:0.22
publish-over-ssh:1.25
pubsub-light:1.17
pyenv-pipeline:2.1.2
rebuild:320.v5a_0933a_e7d61
resource-disposer:0.23
role-strategy:633.v836e5b_3e80a_5
scm-api:676.v886669a_199a_a_
script-security:1275.v23895f409fb_d
shiningpanda:0.24
show-build-parameters:1.0
slack:684.v833089650554
snakeyaml-api:2.2-111.vc6598e30cc65
sonar:2.15
sse-gateway:1.26
ssh-agent:333.v878b_53c89511
ssh-credentials:308.ve4497b_ccd8f4
ssh-slaves:2.916.vd17b_43357ce4
sshd:3.312.v1c601b_c83b_0e
structs:325.vcb_307d2a_2782
subversion:2.17.3
terraform:1.0.10
testng-plugin:794.ve7e315837b_b_3
timestamper:1.26
token-macro:384.vf35b_f26814ec
trilead-api:2.84.v72119de229b_7
variant:60.v7290fc0eb_b_cd
view-job-filters:369.ve0513a_a_f5524
workflow-aggregator:596.v8c21c963d92d
workflow-api:1281.vca_5fddb_3fceb_
workflow-basic-steps:1042.ve7b_140c4a_e0c
workflow-cps:3787.v8f5dcd14a_fa_c
workflow-durable-task-step:1289.v4d3e7b_01546b_
workflow-job:1346.v180a_63f40267
workflow-multibranch:756.v891d88f2cd46
workflow-scm-step:415.v434365564324
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:865.v43e78cc44e0d
ws-cleanup:0.45Jenkins: 2.414.1 OS: Linux - 5.10.167-147.601.amzn2.x86_64 Java: 11.0.20 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- ant:497.v94e7d9fffa_b_9 antisamy-markup-formatter:162.v0e6ec0fcfcf6 apache-httpcomponents-client-4-api:4.5.14-208.v438351942757 atlassian-jira-software-cloud:2.0.9 authentication-tokens:1.53.v1c90fd9191a_b_ authorize-project:1.7.1 aws-credentials:218.v1b_e9466ec5da_ aws-java-sdk:1.12.529-406.vdeff15e5817d aws-java-sdk-cloudformation:1.12.529-406.vdeff15e5817d aws-java-sdk-codebuild:1.12.529-406.vdeff15e5817d aws-java-sdk-ec2:1.12.529-406.vdeff15e5817d aws-java-sdk-ecr:1.12.529-406.vdeff15e5817d aws-java-sdk-ecs:1.12.529-406.vdeff15e5817d aws-java-sdk-efs:1.12.529-406.vdeff15e5817d aws-java-sdk-elasticbeanstalk:1.12.529-406.vdeff15e5817d aws-java-sdk-iam:1.12.529-406.vdeff15e5817d aws-java-sdk-kinesis:1.12.529-406.vdeff15e5817d aws-java-sdk-logs:1.12.529-406.vdeff15e5817d aws-java-sdk-minimal:1.12.529-406.vdeff15e5817d aws-java-sdk-secretsmanager:1.12.529-406.vdeff15e5817d aws-java-sdk-sns:1.12.529-406.vdeff15e5817d aws-java-sdk-sqs:1.12.529-406.vdeff15e5817d aws-java-sdk-ssm:1.12.529-406.vdeff15e5817d basic-branch-build-strategies:81.v05e333931c7d bitbucket:223.vd12f2bca5430 blueocean:1.27.7 blueocean-autofavorite:1.2.5 blueocean-bitbucket-pipeline:1.27.7 blueocean-commons:1.27.7 blueocean-config:1.27.7 blueocean-core-js:1.27.7 blueocean-dashboard:1.27.7 blueocean-display-url:2.4.2 blueocean-events:1.27.7 blueocean-git-pipeline:1.27.7 blueocean-github-pipeline:1.27.7 blueocean-i18n:1.27.7 blueocean-jira:1.27.7 blueocean-jwt:1.27.7 blueocean-personalization:1.27.7 blueocean-pipeline-api-impl:1.27.7 blueocean-pipeline-editor:1.27.7 blueocean-pipeline-scm-api:1.27.7 blueocean-rest:1.27.7 blueocean-rest-impl:1.27.7 blueocean-web:1.27.7 bootstrap5-api:5.3.0-1 bouncycastle-api:2.29 branch-api:2.1128.v717130d4f816 build-timeout:1.31 build-user-vars-plugin:1.9 caffeine-api:3.1.8-133.v17b_1ff2e0599 checks-api:2.0.1 cloudbees-bitbucket-branch-source:832.v43175a_425ea_6 cloudbees-folder:6.848.ve3b_fd7839a_81 collabnet:2.0.9 command-launcher:107.v773860566e2e commons-lang3-api:3.13.0-62.v7d18e55f51e2 commons-text-api:1.10.0-78.v3e7b_ea_d5a_fe1 config-file-provider:953.v0432a_802e4d2 consul:2.1 consul-kv-builder:2.0.13 copyartifact:705.v5295cffec284 credentials:1271.v54b_1c2c6388a_ credentials-binding:636.v55f1275c7b_27 cucumber-reports:5.7.6 data-tables-api:1.13.5-1 display-url-api:2.3.9 docker-commons:439.va_3cb_0a_6a_fb_29 docker-workflow:563.vd5d2e5c4007f durable-task:523.va_a_22cf15d5e0 ec2:1628.v6d7b_fc58b_a_1d echarts-api:5.4.0-5 email-ext:2.101 envinject:2.908.v66a_774b_31d93 envinject-api:1.199.v3ce31253ed13 extended-choice-parameter:376.v2e02857547b_a_ external-monitor-job:215.v2e88e894db_f8 favorite:2.4.3 font-awesome-api:6.4.0-2 generic-webhook-trigger:1.87.0 git:5.2.0 git-client:4.5.0 github:1.37.3 github-api:1.314-431.v78d72a_3fe4c3 github-branch-source:1740.v51d5810e9e8c github-oauth:588.vf696a_350572a_ google-login:1.8 google-oauth-plugin:1.0.11 gradle:2.8.2 groovy:453.vcdb_a_c5c99890 h2-api:11.1.4.199-12.v9f4244395f7a_ handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953 hidden-parameter:138.v2a_c30d04e566 htmlpublisher:1.32 instance-identity:173.va_37c494ec4e5 ionicons-api:56.v1b_1c8c49374e jackson2-api:2.15.2-350.v0c2f3f8fc595 jacoco:3.3.4 jakarta-activation-api:2.0.1-3 jakarta-mail-api:2.0.1-3 javadoc:233.vdc1a_ec702cff javax-activation-api:1.2.0-6 javax-mail-api:1.6.2-9 jaxb:2.3.8-1 jdk-tool:73.vddf737284550 jenkins-design-language:1.27.7 jersey2-api:2.40-1 jira:3.11 jjwt-api:0.11.5-77.v646c772fddb_0 jnr-posix-api:3.1.17-1 job-dsl:1.84 jobConfigHistory:1229.v3039470161a_d jquery3-api:3.7.0-1 jsch:0.2.8-65.v052c39de79b_2 junit:1217.v4297208a_a_b_ce junit-realtime-test-reporter:129.vd45a_61b_e3a_c8 kubernetes:3937.vd7b_82db_e347b_ kubernetes-cli:1.12.0 kubernetes-client-api:6.4.1-215.v2ed17097a_8e9 kubernetes-credentials:0.10.0 ldap:694.vc02a_69c9787f lockable-resources:1185.v0c528656ce04 mailer:463.vedf8358e006b_ mapdb-api:1.0.9-28.vf251ce40855d matrix-auth:3.1.8 matrix-project:808.v5a_b_5f56d6966 maven-plugin:3.23 mercurial:1260.vdfb_723cdcc81 metrics:4.2.18-442.v02e107157925 mina-sshd-api-common:2.10.0-69.v28e3e36d18eb_ mina-sshd-api-core:2.10.0-69.v28e3e36d18eb_ msbuild:1.30 nexus-jenkins-plugin:3.16.501.ve3d6b_58f1d37 node-iterator-api:49.v58a_8b_35f8363 nodejs:1.6.1 oauth-credentials:0.645.ve666a_c332668 okhttp-api:4.11.0-157.v6852a_a_fa_ec11 pam-auth:1.10 parameterized-scheduler:255.v73827fcdf618 pipeline-aws:1.43 pipeline-build-step:505.v5f0844d8d126 pipeline-github-lib:42.v0739460cda_c4 pipeline-graph-analysis:202.va_d268e64deb_3 pipeline-groovy-lib:689.veec561a_dee13 pipeline-input-step:477.v339683a_8d55e pipeline-maven:1298.v43b_82f220a_e9 pipeline-milestone-step:111.v449306f708b_7 pipeline-model-api:2.2144.v077a_d1928a_40 pipeline-model-definition:2.2144.v077a_d1928a_40 pipeline-model-extensions:2.2144.v077a_d1928a_40 pipeline-rest-api:2.33 pipeline-stage-step:305.ve96d0205c1c6 pipeline-stage-tags-metadata:2.2144.v077a_d1928a_40 pipeline-stage-view:2.33 pipeline-utility-steps:2.16.0 plain-credentials:143.v1b_df8b_d3b_e48 plugin-util-api:3.3.0 popper2-api:2.11.6-2 postbuild-task:1.9 promoted-builds:892.vd6219fc0a_efb publish-over:0.22 publish-over-ssh:1.25 pubsub-light:1.17 pyenv-pipeline:2.1.2 rebuild:320.v5a_0933a_e7d61 resource-disposer:0.23 role-strategy:633.v836e5b_3e80a_5 scm-api:676.v886669a_199a_a_ script-security:1275.v23895f409fb_d shiningpanda:0.24 show-build-parameters:1.0 slack:684.v833089650554 snakeyaml-api:2.2-111.vc6598e30cc65 sonar:2.15 sse-gateway:1.26 ssh-agent:333.v878b_53c89511 ssh-credentials:308.ve4497b_ccd8f4 ssh-slaves:2.916.vd17b_43357ce4 sshd:3.312.v1c601b_c83b_0e structs:325.vcb_307d2a_2782 subversion:2.17.3 terraform:1.0.10 testng-plugin:794.ve7e315837b_b_3 timestamper:1.26 token-macro:384.vf35b_f26814ec trilead-api:2.84.v72119de229b_7 variant:60.v7290fc0eb_b_cd view-job-filters:369.ve0513a_a_f5524 workflow-aggregator:596.v8c21c963d92d workflow-api:1281.vca_5fddb_3fceb_ workflow-basic-steps:1042.ve7b_140c4a_e0c workflow-cps:3787.v8f5dcd14a_fa_c workflow-durable-task-step:1289.v4d3e7b_01546b_ workflow-job:1346.v180a_63f40267 workflow-multibranch:756.v891d88f2cd46 workflow-scm-step:415.v434365564324 workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:865.v43e78cc44e0d ws-cleanup:0.45
Periodically one of our agent nodes becomes unresponsive. At that point, the node is marked offline by the Jenkins controller. However, the Jenkins controller fails to reap the offline node or spin up a new one despite the fact that a new one is required to meet the configured minimum number of instances now that the node is question is offline. So on one hand the controller recognizes that the node is dead, but on the other it seems to not.
Below is an example of all of the Jenkins logs for a node which became unresponsive and had to be manually removed via the console UI. The middle block of log messages seems to be common to only the nodes that fail to be reaped by the controller.
Nov 6 07:03:36 ip-10-10-6-184 jenkins: 2023-11-06 07:03:36.518+0000 [id=1265345]#011INFO#011hudson.plugins.ec2.SlaveTemplate#logProvisionInfo: SlaveTemplate... Nov 6 07:03:36 ip-10-10-6-184 jenkins: 2023-11-06 07:03:36.518+0000 [id=1265345]#011INFO#011h.p.ec2.EC2RetentionStrategy#start: Start requested for EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751) Nov 6 07:03:36 ip-10-10-6-184 jenkins: 2023-11-06 07:03:36.518+0000 [id=1265176]#011INFO#011hudson.plugins.ec2.EC2Cloud#log: Launching instance: i-098740cb3d378c751 Nov 6 07:04:32 ip-10-10-6-184 jenkins: 2023-11-06 07:04:32.266+0000 [id=1265365]#011INFO#011hudson.plugins.ec2.EC2Cloud#log: The SSH key ssh-ed25519 03:14:a3:a6:a4:26:f7:0c:5a:d8:68:ee:a9:91:0d:28 has been automatically trusted for connections to EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751) Nov 6 08:52:37 ip-10-10-6-184 jenkins: Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751)
Nov 6 09:23:48 ip-10-10-6-184 jenkins: 2023-11-06 09:23:48.389+0000 [id=1265376]#011INFO#011hudson.slaves.ChannelPinger$1#onDead: Ping failed. Terminating the channel EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751). Nov 6 17:22:39 ip-10-10-6-184 jenkins: 2023-11-06 17:22:39.831+0000 [id=1277434]#011WARNING#011hudson.model.Slave#reportLauncherCreateError: Issue with creating launcher for agent EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751). The agent has not been fully initialized yetProbably there is a race condition with Agent reconnection or disconnection, check other log entries Nov 6 17:22:39 ip-10-10-6-184 jenkins: 2023-11-06 17:22:39.832+0000 [id=1277434]#011WARNING#011hudson.model.Slave#reportLauncherCreateError: Issue with creating launcher for agent EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751). The agent has not been fully initialized yetProbably there is a race condition with Agent reconnection or disconnection, check other log entries Nov 6 17:22:42 ip-10-10-6-184 jenkins: 2023-11-06 17:22:42.225+0000 [id=1277394]#011WARNING#011hudson.model.Slave#reportLauncherCreateError: Issue with creating launcher for agent EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751). The agent has not been fully initialized yetProbably there is a race condition with Agent reconnection or disconnection, check other log entries Nov 6 17:22:42 ip-10-10-6-184 jenkins: 2023-11-06 17:22:42.226+0000 [id=1277394]#011WARNING#011hudson.model.Slave#reportLauncherCreateError: Issue with creating launcher for agent EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751). The agent has not been fully initialized yetProbably there is a race condition with Agent reconnection or disconnection, check other log entries Nov 6 20:13:08 ip-10-10-6-184 jenkins: 2023-11-06 20:13:08.930+0000 [id=36]#011INFO#011hudson.plugins.ec2.SlaveTemplate#logProvisionInfo: SlaveTemplate{description='Raken Amzlinux2 ', labels='default worker'}. checkInstance: i-098740cb3d378c751.. false - found existing corresponding Jenkins agent: i-098740cb3d378c751 Nov 6 23:58:46 ip-10-10-6-184 jenkins: 2023-11-06 23:58:46.240+0000 [id=1290378]#011INFO#011hudson.plugins.ec2.EC2Cloud#log: Launching instance: i-098740cb3d378c751
Nov 7 00:17:01 ip-10-10-6-184 jenkins: 2023-11-07 00:17:01.064+0000 [id=41]#011INFO#011h.p.ec2.EC2RetentionStrategy#internalCheck: Idle timeout of EC2 (ec2-Raken AWS Account) - Raken Amzlinux2 (i-098740cb3d378c751) after 16 idle minutes, instance statusRUNNING Nov 7 00:17:01 ip-10-10-6-184 jenkins: 2023-11-07 00:17:01.064+0000 [id=41]#011INFO#011h.plugins.ec2.EC2AbstractSlave#idleTimeout: EC2 instance idle time expired: i-098740cb3d378c751
This has been happening since this Jenkins cluster was built in June and has continued across a couple of plugin version upgrades.