Jenkins setup:
Jenkins: 2.492.2
OS: Linux - 6.8.0-1024-aws
Java: 17.0.14 - Ubuntu (OpenJDK 64-Bit Server VM)
allure-jenkins-plugin:2.32.0
ant:513.vde9e7b_a_0da_0f
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
asm-api:9.7.1-97.v4cc844130d97
aws-credentials:245.v8a_1b_7c11a_94d
aws-java-sdk-ec2:1.12.772-477.v650d756dcf6d
aws-java-sdk-minimal:1.12.772-477.v650d756dcf6d
aws-java-sdk2-core:2.30.28-26.v649b_8df2f988
aws-java-sdk2-ec2:2.30.28-26.v649b_8df2f988
bootstrap5-api:5.3.3-2
bouncycastle-api:2.30.1.80-256.vf98926042a_9b_
branch-api:2.1214.v3f652804588d
build-timeout:1.36
caffeine-api:3.2.0-161.v691ef352cee1
checks-api:367.v18b_7f530e54a_
cloudbees-folder:6.985.va_f1635030cc5
command-launcher:118.v72741845c17a_
commons-lang3-api:3.17.0-84.vb_b_938040b_078
commons-text-api:1.13.0-153.v91dcd89e2a_22
credentials:1408.va_622a_b_f5b_1b_1
credentials-binding:687.v619cb_15e923f
dark-theme:524.vd675b_22b_30cb_
display-url-api:2.209.v582ed814ff2f
durable-task:587.v84b_877235b_45
ec2:1864.v6fc4480cb_8fb_
echarts-api:5.6.0-2
eddsa-api:0.3.0-13.v7cb_69ed68f00
email-ext:1876.v28d8d38315b_d
font-awesome-api:6.7.2-1
git:5.7.0
git-client:6.1.2
github:1.42.0
github-api:1.321-478.vc9ce627ce001
github-branch-source:1810.v913311241fa_9
gradle:2.14.1
gson-api:2.12.1-113.v347686d6729f
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:82.v0597178874e1
jackson2-api:2.18.3-402.v74c4eb_f122b_2
jakarta-activation-api:2.1.3-2
jakarta-mail-api:2.1.3-2
javax-activation-api:1.2.0-8
jaxb:2.3.9-133.vb_ec76a_73f706
jjwt-api:0.11.5-120.v0268cf544b_89
joda-time-api:2.13.1-115.va_6b_5f8efb_1d8
jquery3-api:3.7.1-3
json-api:20250107-125.v28b_a_ffa_eb_f01
json-path-api:2.9.0-148.v22a_7ffe323ce
junit:1317.v5b_35d792b_06a_
ldap:780.vcb_33c9a_e4332
mailer:489.vd4b_25144138f
matrix-auth:3.2.4
matrix-project:845.vffd7fa_f27555
metrics:4.2.21-464.vc9fa_a_0d6265d
mina-sshd-api-common:2.14.0-143.v2b_362fc39576
mina-sshd-api-core:2.14.0-143.v2b_362fc39576
mina-sshd-api-scp:2.14.0-143.v2b_362fc39576
node-iterator-api:72.vc90e81737df1
okhttp-api:4.11.0-183.va_87fc7a_89810
pam-auth:1.12
pipeline-build-step:557.v95d96f77b_2b_8
pipeline-github-lib:65.v203688e7727e
pipeline-graph-analysis:231.v56354571a_da_0
pipeline-graph-view:423.v765c49ca_da_3f
pipeline-groovy-lib:752.vdddedf804e72
pipeline-input-step:517.vf8e782ee645c
pipeline-milestone-step:127.vb_52887ca_3b_6d
pipeline-model-api:2.2247.va_423189a_7dff
pipeline-model-definition:2.2247.va_423189a_7dff
pipeline-model-extensions:2.2247.va_423189a_7dff
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2247.va_423189a_7dff
plain-credentials:183.va_de8f1dd5a_2b_
plugin-util-api:6.0.0
resource-disposer:0.25
scm-api:704.v3ce5c542825a_
script-security:1373.vb_b_4a_a_c26fa_00
snakeyaml-api:2.3-123.v13484c65210a_
ssh-credentials:355.v9b_e5b_cde5003
ssh-slaves:3.1031.v72c6b_883b_869
structs:343.vdcf37b_a_c81d5
theme-manager:278.v2e3c063e42cc
timestamper:1.28
token-macro:444.v52de7e9c573d
trilead-api:2.192.vc50a_d147e369
variant:70.va_d9f17f859e0
workflow-aggregator:600.vb_57cdd26fdd7
workflow-api:1363.v03f731255494
workflow-basic-steps:1079.vce64b_a_929c5a_
workflow-cps:4043.va_fb_de6a_a_8b_f5
workflow-durable-task-step:1405.v1fcd4a_d00096
workflow-job:1505.vea_4b_20a_4a_495
workflow-multibranch:803.v08103b_87c280
workflow-scm-step:437.v05a_f66b_e5ef8
workflow-step-api:700.v6e45cb_a_5a_a_21
workflow-support:961.v51869f7b_d409
ws-cleanup:0.48
Error:
we are using AWS windows EC2 as node . The build run more than 4 hrs after few runs now we facing agent offline issue randomly find the error
Mar 12, 2025 12:09:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:09:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:11:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - retrying now
Mar 12, 2025 12:11:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - retrying now
Mar 12, 2025 12:11:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:11:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:13:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - retrying now
Mar 12, 2025 12:13:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - retrying now
Mar 12, 2025 12:13:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:13:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:15:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - retrying now
Mar 12, 2025 12:15:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - retrying now
Mar 12, 2025 12:15:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:15:31 PM WARNING hudson.plugins.ec2.win.winrm.WinRMClient sendRequestwinrm returned 401 - shouldn’t happen though - retrying in 2 minutes
Mar 12, 2025 12:16:26 PM INFO hudson.slaves.ChannelPinger$1 onDeadPing failed. Terminating the channel EC2 (inpectpoint-qa-automation) - inspect-qa-automation (i-0fe149764785c4a4b).
java.util.concurrent.TimeoutException: Ping started at 1741781546173 hasn’t completed by 1741781786173
at hudson.remoting.PingThread.ping(PingThread.java:135)
at hudson.remoting.PingThread.run(PingThread.java:87)
How we troubleshoot this what are the i check why agent went offline in middle of the run. i increased instance size to xlarge still issue exit
Additional log :
Only local connections are allowed.
Please see Security considerations | ChromeDriver | Chrome for Developers for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully on port 57048.
FATAL: command execution failed
java.io.EOFException
at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2915)
at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3410)
at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:954)
at java.base/java.io.ObjectInputStream.(ObjectInputStream.java:392)
at hudson.remoting.ObjectInputStreamEx.(ObjectInputStreamEx.java:50)
at hudson.remoting.Command.readFrom(Command.java:141)
at hudson.remoting.Command.readFrom(Command.java:127)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:62)
Caused: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:80)
Caused: java.io.IOException: Backing channel ‘EC2 (qa) - -qa- (i-059cooo4d)’ is disconnected.