-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Jenkins: 2.375.3
OS: Linux - 5.10.167-147.601.amzn2.aarch64
Java: 11.0.18 - Azul Systems, Inc. (Zing 64-Bit Tiered VM)
---
Parameterized-Remote-Trigger:3.1.5.1
ace-editor:1.1
ant:481.v7b_09e538fcca
antisamy-markup-formatter:155.v795fb_8702324
apache-httpcomponents-client-4-api:4.5.14-150.v7a_b_9d17134a_5
artifact-diff-plugin:1.3
authentication-tokens:1.4
authorize-project:1.4.0
aws-credentials:191.vcb_f183ce58b_9
aws-java-sdk:1.12.406-370.v8f993c987059
aws-java-sdk-cloudformation:1.12.406-370.v8f993c987059
aws-java-sdk-codebuild:1.12.406-370.v8f993c987059
aws-java-sdk-ec2:1.12.406-370.v8f993c987059
aws-java-sdk-ecr:1.12.406-370.v8f993c987059
aws-java-sdk-ecs:1.12.406-370.v8f993c987059
aws-java-sdk-efs:1.12.406-370.v8f993c987059
aws-java-sdk-elasticbeanstalk:1.12.406-370.v8f993c987059
aws-java-sdk-iam:1.12.406-370.v8f993c987059
aws-java-sdk-logs:1.12.406-370.v8f993c987059
aws-java-sdk-minimal:1.12.406-370.v8f993c987059
aws-java-sdk-sns:1.12.406-370.v8f993c987059
aws-java-sdk-sqs:1.12.406-370.v8f993c987059
aws-java-sdk-ssm:1.12.406-370.v8f993c987059
bootstrap4-api:4.6.0-5
bootstrap5-api:5.2.1-3
bouncycastle-api:2.27
branch-api:2.1071.v1a_188a_562481
build-timeout:1.28
build-timestamp:1.0.3
build-with-parameters:76.v9382db_f78962
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.8.1
cloud-stats:267.v577e3742c282
cloudbees-folder:6.815.v0dd5a_cb_40e0e
command-launcher:90.v669d7ccb_7c31
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-36.vc008c8fcda_7b_
conditional-buildstep:1.4.2
config-file-provider:3.11.1
configurationslicing:430.v966357576543
copyartifact:698.v393f578eb_ddc
credentials:1214.v1de940103927
credentials-binding:523.vd859a_4b_122e6
data-tables-api:1.12.1-4
display-url-api:2.3.7
docker-commons:1.21
docker-workflow:563.vd5d2e5c4007f
durable-task:504.vb10d1ae5ba2f
ec2:1.68
echarts-api:5.4.0-1
email-ext:2.94
extended-read-permission:3.2
external-monitor-job:203.v683c09d993b_9
font-awesome-api:6.2.1-1
git:4.11.3
git-client:3.11.0
git-server:1.11
github:1.34.3
github-api:1.303-400.v35c2d8258028
github-branch-source:2.11.4
gitlab-api:5.0.1-78.v47a_45b_9f78b_7
gitlab-oauth:1.16
gitlab-plugin:1.5.32
gradle:2.3
handlebars:3.0.8
instance-identity:142.v04572ca_5b_265
ionicons-api:31.v4757b_6987003
jackson2-api:2.14.2-319.v37853346a_229
jakarta-activation-api:2.0.1-3
jakarta-mail-api:2.0.1-3
javadoc:226.v71211feb_e7e9
javax-activation-api:1.2.0-6
javax-mail-api:1.6.2-9
jaxb:2.3.8-1
jdk-tool:63.v62d2fd4b_4793
jersey2-api:2.38-1
jjwt-api:0.11.5-77.v646c772fddb_0
jnr-posix-api:3.1.16-2
jquery3-api:3.6.1-2
jsch:0.1.55.2
junit:1177.v90374a_ef4d09
ldap:659.v8ca_b_a_fe79fa_d
lockable-resources:1131.vb_7c3d377e723
mailer:448.v5b_97805e3767
matrix-auth:3.1.6
matrix-project:785.v06b_7f47b_c631
maven-plugin:3.21
momentjs:1.1.1
monitoring:1.92.0
node-iterator-api:49.v58a_8b_35f8363
okhttp-api:4.10.0-125.v3593b_a_f8c97b_
openstack-cloud:2.63
pam-auth:1.10
parameterized-trigger:2.45
permissive-script-security:0.7
pipeline-build-step:486.vd08f550cceee
pipeline-github-lib:38.v445716ea_edda_
pipeline-graph-analysis:202.va_d268e64deb_3
pipeline-groovy-lib:629.vb_5627b_ee2104
pipeline-input-step:466.v6d0a_5df34f81
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2118.v31fd5b_9944b_5
pipeline-model-definition:2.2118.v31fd5b_9944b_5
pipeline-model-extensions:2.2118.v31fd5b_9944b_5
pipeline-rest-api:2.31
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
pipeline-stage-view:2.31
plain-credentials:143.v1b_df8b_d3b_e48
plugin-util-api:2.20.0
popper-api:1.16.1-3
popper2-api:2.11.6-2
purge-build-queue-plugin:88.v23b_97b_f2c7a_d
rebuild:1.34
resource-disposer:0.21
run-condition:1.5
scm-api:631.v9143df5b_e4a_a
script-security:1229.v4880b_b_e905a_6
secondary-timestamper-plugin:1.1
slack:631.v40deea_40323b
snakeyaml-api:1.33-95.va_b_a_e3e47b_fa_4
ssh-credentials:277.v95c2fec1c047
ssh-slaves:1.814.vc82988f54b_10
sshd:3.236.ved5e1b_cb_50b_2
structs:324.va_f5d6774f3a_d
timestamper:1.22
token-macro:321.vd7cc1f2a_52c8
trilead-api:1.57.v6e90e07157e1
variant:59.vf075fe829ccb
windows-slaves:1.8.1
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-api:1208.v0cc7c6e0da_9e
workflow-basic-steps:1010.vf7a_b_98e847c1
workflow-cps:3629.v8177e69e359a_
workflow-cps-global-lib:609.vd95673f149b_b
workflow-durable-task-step:1234.v019404b_3832a
workflow-job:1282.ve6d865025906
workflow-multibranch:733.v109046189126
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:839.v35e2736cfd5c
ws-cleanup:0.44
zentimestamp:4.2Jenkins: 2.375.3 OS: Linux - 5.10.167-147.601.amzn2.aarch64 Java: 11.0.18 - Azul Systems, Inc. (Zing 64-Bit Tiered VM) --- Parameterized-Remote-Trigger:3.1.5.1 ace-editor:1.1 ant:481.v7b_09e538fcca antisamy-markup-formatter:155.v795fb_8702324 apache-httpcomponents-client-4-api:4.5.14-150.v7a_b_9d17134a_5 artifact-diff-plugin:1.3 authentication-tokens:1.4 authorize-project:1.4.0 aws-credentials:191.vcb_f183ce58b_9 aws-java-sdk:1.12.406-370.v8f993c987059 aws-java-sdk-cloudformation:1.12.406-370.v8f993c987059 aws-java-sdk-codebuild:1.12.406-370.v8f993c987059 aws-java-sdk-ec2:1.12.406-370.v8f993c987059 aws-java-sdk-ecr:1.12.406-370.v8f993c987059 aws-java-sdk-ecs:1.12.406-370.v8f993c987059 aws-java-sdk-efs:1.12.406-370.v8f993c987059 aws-java-sdk-elasticbeanstalk:1.12.406-370.v8f993c987059 aws-java-sdk-iam:1.12.406-370.v8f993c987059 aws-java-sdk-logs:1.12.406-370.v8f993c987059 aws-java-sdk-minimal:1.12.406-370.v8f993c987059 aws-java-sdk-sns:1.12.406-370.v8f993c987059 aws-java-sdk-sqs:1.12.406-370.v8f993c987059 aws-java-sdk-ssm:1.12.406-370.v8f993c987059 bootstrap4-api:4.6.0-5 bootstrap5-api:5.2.1-3 bouncycastle-api:2.27 branch-api:2.1071.v1a_188a_562481 build-timeout:1.28 build-timestamp:1.0.3 build-with-parameters:76.v9382db_f78962 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.8.1 cloud-stats:267.v577e3742c282 cloudbees-folder:6.815.v0dd5a_cb_40e0e command-launcher:90.v669d7ccb_7c31 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-36.vc008c8fcda_7b_ conditional-buildstep:1.4.2 config-file-provider:3.11.1 configurationslicing:430.v966357576543 copyartifact:698.v393f578eb_ddc credentials:1214.v1de940103927 credentials-binding:523.vd859a_4b_122e6 data-tables-api:1.12.1-4 display-url-api:2.3.7 docker-commons:1.21 docker-workflow:563.vd5d2e5c4007f durable-task:504.vb10d1ae5ba2f ec2:1.68 echarts-api:5.4.0-1 email-ext:2.94 extended-read-permission:3.2 external-monitor-job:203.v683c09d993b_9 font-awesome-api:6.2.1-1 git:4.11.3 git-client:3.11.0 git-server:1.11 github:1.34.3 github-api:1.303-400.v35c2d8258028 github-branch-source:2.11.4 gitlab-api:5.0.1-78.v47a_45b_9f78b_7 gitlab-oauth:1.16 gitlab-plugin:1.5.32 gradle:2.3 handlebars:3.0.8 instance-identity:142.v04572ca_5b_265 ionicons-api:31.v4757b_6987003 jackson2-api:2.14.2-319.v37853346a_229 jakarta-activation-api:2.0.1-3 jakarta-mail-api:2.0.1-3 javadoc:226.v71211feb_e7e9 javax-activation-api:1.2.0-6 javax-mail-api:1.6.2-9 jaxb:2.3.8-1 jdk-tool:63.v62d2fd4b_4793 jersey2-api:2.38-1 jjwt-api:0.11.5-77.v646c772fddb_0 jnr-posix-api:3.1.16-2 jquery3-api:3.6.1-2 jsch:0.1.55.2 junit:1177.v90374a_ef4d09 ldap:659.v8ca_b_a_fe79fa_d lockable-resources:1131.vb_7c3d377e723 mailer:448.v5b_97805e3767 matrix-auth:3.1.6 matrix-project:785.v06b_7f47b_c631 maven-plugin:3.21 momentjs:1.1.1 monitoring:1.92.0 node-iterator-api:49.v58a_8b_35f8363 okhttp-api:4.10.0-125.v3593b_a_f8c97b_ openstack-cloud:2.63 pam-auth:1.10 parameterized-trigger:2.45 permissive-script-security:0.7 pipeline-build-step:486.vd08f550cceee pipeline-github-lib:38.v445716ea_edda_ pipeline-graph-analysis:202.va_d268e64deb_3 pipeline-groovy-lib:629.vb_5627b_ee2104 pipeline-input-step:466.v6d0a_5df34f81 pipeline-milestone-step:111.v449306f708b_7 pipeline-model-api:2.2118.v31fd5b_9944b_5 pipeline-model-definition:2.2118.v31fd5b_9944b_5 pipeline-model-extensions:2.2118.v31fd5b_9944b_5 pipeline-rest-api:2.31 pipeline-stage-step:305.ve96d0205c1c6 pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5 pipeline-stage-view:2.31 plain-credentials:143.v1b_df8b_d3b_e48 plugin-util-api:2.20.0 popper-api:1.16.1-3 popper2-api:2.11.6-2 purge-build-queue-plugin:88.v23b_97b_f2c7a_d rebuild:1.34 resource-disposer:0.21 run-condition:1.5 scm-api:631.v9143df5b_e4a_a script-security:1229.v4880b_b_e905a_6 secondary-timestamper-plugin:1.1 slack:631.v40deea_40323b snakeyaml-api:1.33-95.va_b_a_e3e47b_fa_4 ssh-credentials:277.v95c2fec1c047 ssh-slaves:1.814.vc82988f54b_10 sshd:3.236.ved5e1b_cb_50b_2 structs:324.va_f5d6774f3a_d timestamper:1.22 token-macro:321.vd7cc1f2a_52c8 trilead-api:1.57.v6e90e07157e1 variant:59.vf075fe829ccb windows-slaves:1.8.1 workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1208.v0cc7c6e0da_9e workflow-basic-steps:1010.vf7a_b_98e847c1 workflow-cps:3629.v8177e69e359a_ workflow-cps-global-lib:609.vd95673f149b_b workflow-durable-task-step:1234.v019404b_3832a workflow-job:1282.ve6d865025906 workflow-multibranch:733.v109046189126 workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:839.v35e2736cfd5c ws-cleanup:0.44 zentimestamp:4.2
openstack-cloud-plugin version:
I have a pipeline script where I need to reboot the node before running the tests. I use AWS and OpenStack instances to run the test. No issue is found when I use AWS instances using the ec2 plugin on Jenkins. When an OpenStack instance is used, the node is deleted as soon as I reboot the instance. This issue has become a blocker for me since the pipeline fails to run on OpenStack.
From Jenkins log:
2023-06-09 02:44:47.823+0000 [id=4709] INFO h.r.SynchronousCommandTransport$ReaderThread#run: I/O error in channel Ubuntu 22.04 LTS-47 java.io.EOFException at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:3034) at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3529) at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:1071) at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:493) at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49) at hudson.remoting.Command.readFrom(Command.java:142) at hudson.remoting.Command.readFrom(Command.java:128) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61) Caused: java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75) 2023-06-09 02:46:04.923+0000 [id=4711] WARNING j.p.o.c.JCloudsCleanupThread#terminateNodesPendingDeletion: Deleting broken node Ubuntu 22.04 LTS-47 (NovaServer{id=c24c0202-17e6-4aac-9cd9-3227bbba5946, name=Ubuntu 22.04 LTS-47, image={id=015d6c77-f8a3-4542-9910-478997552421, links=[{href=<OpenStack URL>, rel=bookmark}]}, flavor=NovaFlavor{id=<ID>, ephemeral=0, swap=0, rxtx_factor=1.0, links=[GenericLink{href=<OpenStack URL>, rel=bookmark}], }, status=ACTIVE, diskconfig=MANUAL, userId=<userID>, created=Fri Jun 09 02:26:05 UTC 2023, updated=Fri Jun 09 02:26:18 UTC 2023, launched at=Fri Jun 09 02:26:18 UTC 2023, tenantId=<tenantID>, hostId=<hostID>, addresses=NovaAddresses{addresses={HQ-LAN=[NovaAddress{address=<id_addr>, type=fixed, version=4, macaddr=<macaddr>, }]}, }, hypervisor host=os-berserker, powerstate=1, instanceName=instance-0001f1b7, vmState=active, metadata={jenkins-boot-image-id=<image_id>, jenkins-cloud-name=openstack, jenkins-template-name=Ubuntu 22.04 LTS, jenkins-instance=<Jenkins-URL>, jenkins-identity=<jenkins-identity>, jenkins-scope=node:Ubuntu 22.04 LTS-47:-1606364798, jenkins-boot-source=Image ubuntu-22.04-20220114}}). Reason: Connection was broken: java.io.EOFException at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:3034) at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3529) at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:1071) at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:493) at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49) at hudson.remoting.Command.readFrom(Command.java:142) at hudson.remoting.Command.readFrom(Command.java:128) at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61) Caused: java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75) 2023-06-09 02:46:04.923+0000 [id=4711] INFO j.p.o.compute.JCloudsComputer#deleteSlave: Deleting slave Ubuntu 22.04 LTS-47 after executing 1 builds 2023-06-09 02:46:05.052+0000 [id=4711] INFO j.p.o.compute.JCloudsComputer#deleteSlave: Deleted slave Ubuntu 22.04 LTS-47 2023-06-09 02:46:06.888+0000 [id=4711] INFO j.p.o.c.JCloudsCleanupThread#destroyServersOutOfScope: Server Ubuntu 22.04 LTS-47 run out of its scope node:Ubuntu 22.04 LTS-47:-1606364798. Terminating: NovaServer{id=<id>, name=Ubuntu 22.04 LTS-47, image={id=<id>, links=[{href=<openstack-url>, rel=bookmark}]}, flavor=NovaFlavor{id=<id>, ephemeral=0, swap=0, rxtx_factor=1.0, links=[GenericLink{href=<openstack-url>, rel=bookmark}], }, status=ACTIVE, diskconfig=MANUAL, userId=<userID>, created=Fri Jun 09 02:26:05 UTC 2023, updated=Fri Jun 09 02:26:18 UTC 2023, launched at=Fri Jun 09 02:26:18 UTC 2023, tenantId=<tenantID>, hostId=<hostID>, addresses=NovaAddresses{addresses={HQ-LAN=[NovaAddress{address=<ip-addr>, type=fixed, version=4, macaddr=<macAddr>, }]}, }, hypervisor host=os-berserker, powerstate=1, instanceName=instance-0001f1b7, vmState=active, metadata={jenkins-boot-image-id=015d6c77-f8a3-4542-9910-478997552421, jenkins-cloud-name=openstack, jenkins-template-name=Ubuntu 22.04 LTS, jenkins-instance=<jenkins-url>, jenkins-identity=<jenkins-identity>, jenkins-scope=node:Ubuntu 22.04 LTS-47:-1606364798, jenkins-boot-source=Image ubuntu-22.04-20220114}}
From config.xml:
<name>Ubuntu 22.04 LTS</name> <labelString>ub2204-ostack-zst ub2204</labelString> <slaveOptions> <bootSource class="jenkins.plugins.openstack.compute.slaveopts.BootSource$Image"> <name>ubuntu-22.04-20220114</name> </bootSource> <hardwareId>1f1b21d3-42ba-46d0-800b-43904e1d8d15</hardwareId> <userDataId>ostack-ub2204-init</userDataId> <instanceCap>20</instanceCap> <fsRoot>/home/ubuntu</fsRoot> <launcherFactory class="jenkins.plugins.openstack.compute.slaveopts.LauncherFactory$SSH"> <credentialsId>ubuntu</credentialsId> </launcherFactory> </slaveOptions> </jenkins.plugins.openstack.compute.JCloudsSlaveTemplate> <jenkins.plugins.openstack.compute.JCloudsSlaveTemplate> <name>Ubuntu 20.04 LTS</name> <labelString>ub2004-ostack-zst ub2004</labelString> <slaveOptions> <bootSource class="jenkins.plugins.openstack.compute.slaveopts.BootSource$VolumeFromImage">