-
Bug
-
Resolution: Not A Defect
-
Minor
-
## Regression (2.380)
Section for "Last Known Good" follows
### Installation Details
Jenkins Host "ubuntu2" is a Linux Container
Jenkins via deb, apt source line: deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian binary/
Node Host "git1" is a Linux Container
Agent configuration is "Launch Agents via SSH"
### Operating System Environment (Jenkins)
Ubuntu 22.04.1 LTS
Linux ubuntu2 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 x86_64 x86_64 GNU/Linux
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu122.04)
OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu122.04, mixed mode, sharing)
### Operating System Environment (Agent)
Alpine Linux v3.16
Linux git1 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 Linux
Dropbear server v2022.83 https://matt.ucc.asn.au/dropbear/dropbear.html
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-alpine-r2)
OpenJDK 64-Bit Server VM (build 17.0.5+8-alpine-r2, mixed mode, sharing)
### Jenkins Version Info
```
Jenkins: 2.380
OS: Linux - 5.10.120
---
ace-editor:1.1
ansicolor:1.0.2
ant:481.v7b_09e538fcca
antisamy-markup-formatter:155.v795fb_8702324
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
authentication-tokens:1.4
bootstrap5-api:5.2.1-3
bouncycastle-api:2.26
branch-api:2.1051.v9985666b_f6cc
build-blocker-plugin:1.7.8
build-timeout:1.25
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.8.0
cloudbees-folder:6.795.v3e23d3c6f194
cobertura:1.17
code-coverage-api:3.4.0
command-launcher:90.v669d7ccb_7c31
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-27.vb_fa_3896786a_7
config-file-provider:3.11.1
credentials:1214.v1de940103927
credentials-binding:523.vd859a_4b_122e6
data-tables-api:1.12.1-4
display-url-api:2.3.6
dotnet-sdk:1.4.0
dtkit-api:3.0.2
durable-task:501.ve5d4fc08b0be
echarts-api:5.4.0-1
email-ext:2.92
filesystem-list-parameter-plugin:0.0.8
font-awesome-api:6.2.1-1
forensics-api:1.16.0
git:4.14.1
git-client:3.13.0
git-server:99.va_0826a_b_cdfa_d
gitea:1.4.4
gitea-checks:449.v0672c320ee47
github:1.36.0
github-api:1.303-400.v35c2d8258028
github-branch-source:1696.v3a_7603564d04
gradle:2.1.1
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
htmlpublisher:1.31
instance-identity:116.vf8f487400980
ionicons-api:31.v4757b_6987003
jackson2-api:2.13.4.20221013-295.v8e29ea_354141
jakarta-activation-api:2.0.1-2
jakarta-mail-api:2.0.1-2
javax-activation-api:1.2.0-5
javax-mail-api:1.6.2-8
jaxb:2.3.7-1
jdk-tool:63.v62d2fd4b_4793
jjwt-api:0.11.5-77.v646c772fddb_0
jquery3-api:3.6.1-2
jsch:0.1.55.61.va_e9ee26616e7
junit:1166.va_436e268e972
ldap:2.12
log-parser:2.3.0
mailer:438.v02c7f0a_12fa_4
matrix-auth:3.1.5
matrix-project:785.v06b_7f47b_c631
mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a
mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a
momentjs:1.1.1
msbuild:1.30
mstest:1.0.0
mstestrunner:1.5.0
nodejs:1.5.1
nunit:0.28
okhttp-api:4.9.3-108.v0feda04578cf
pam-auth:1.10
pipeline-build-step:2.18
pipeline-github-lib:38.v445716ea_edda_
pipeline-graph-analysis:195.v5812d95a_a_2f9
pipeline-groovy-lib:621.vb_44ce045b_582
pipeline-input-step:466.v6d0a_5df34f81
pipeline-milestone-step:101.vd572fef9d926
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.28
pipeline-stage-step:296.v5f6908f017a_5
pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
pipeline-stage-view:2.28
plain-credentials:139.ved2b_9cf7587b
plugin-util-api:2.18.0
popper2-api:2.11.6-2
powershell:1.7
prism-api:1.29.0-1
resource-disposer:0.20
rest-list-parameter:1.6.3
scm-api:621.vda_a_b_055e58f7
script-security:1218.v39ca_7f7ed0a_c
scriptler:3.5
select2-api:4.0.13-8
snakeyaml-api:1.33-90.v80dcb_3814d35
ssh-credentials:305.v8f4381501156
ssh-slaves:2.854.v7fd446b_337c9
sshd:3.249.v2dc2ea_416e33
startup-trigger-plugin:2.9.3
structs:324.va_f5d6774f3a_d
timestamper:1.21
token-macro:321.vd7cc1f2a_52c8
trilead-api:2.84.v72119de229b_7
variant:59.vf075fe829ccb
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-api:1200.v8005c684b_a_c6
workflow-basic-steps:994.vd57e3ca_46d24
workflow-cps:3536.vb_8a_6628079d5
workflow-durable-task-step:1217.v38306d8fa_b_5c
workflow-job:1254.v3f64639b_11dd
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:839.v35e2736cfd5c
ws-cleanup:0.43
xunit:3.1.2
```
### Agent Log
```
Warning: no key algorithms provided;JENKINS-42959disabled
SSHLauncher{host='git1.lan', port=2022, credentialsId='7b7244ec-bed5-4738-892c-59b665c01b1d', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[12/06/22 03:18:37] [SSH] Opening SSH connection to git1.lan:2022.
Searching for git1.lan in /var/lib/jenkins/.ssh/known_hosts
Searching for git1.lan:2022 in /var/lib/jenkins/.ssh/known_hosts
[12/06/22 03:18:37] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
[12/06/22 03:18:38] [SSH] Authentication successful.
[12/06/22 03:18:38] [SSH] The remote user's environment is:
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
BASH_SOURCE=()
BASH_VERSINFO=([0]="5" [1]="2" [2]="12" [3]="1" [4]="release" [5]="x86_64-alpine-linux-musl")
BASH_VERSION='5.2.12(1)-release'
DIRSTACK=()
EUID=0
GROUPS=()
HOME=/root
HOSTNAME=git1
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=C.UTF-8
LOGNAME=root
MACHTYPE=x86_64-alpine-linux-musl
OPTERR=1
OPTIND=1
OSTYPE=linux-musl
PATH=/usr/sbin:/usr/bin:/sbin:/bin
PPID=12307
PS4='+ '
PWD=/root
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT='10.10.7.168 40236 2022'
SSH_CONNECTION='10.10.7.168 40236 10.10.21.242 2022'
SSH_PUBKEYINFO=jenkins@ubuntu2
TERM=dumb
UID=0
USER=root
_=bash
Checking Java version in the PATH
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-alpine-r2)
OpenJDK 64-Bit Server VM (build 17.0.5+8-alpine-r2, mixed mode, sharing)
[12/06/22 03:18:38] [SSH] Checking java version of /var/lib/jenkins/jdk/bin/java
[12/06/22 03:18:38] [SSH] /var/lib/jenkins/jdk/bin/java -version returned 17.0.5.
[12/06/22 03:18:38] [SSH] Starting sftp client.
[12/06/22 03:18:38] [SSH] Copying latest remoting.jar...
Source agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A. Installed agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A
Verified agent jar. No update is necessary.
Expanded the channel window size to 4MB
[12/06/22 03:18:38] [SSH] Starting agent process: cd "/var/lib/jenkins" && /var/lib/jenkins/jdk/bin/java -jar remoting.jar -workDir /var/lib/jenkins -jar-cache /var/lib/jenkins/remoting/jarCache
java.io.IOException: The execute request failed.
at com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:776)
at com.trilead.ssh2.Session.execCommand(Session.java:313)
at hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:636)
at hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:458)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.IOException: This SSH2 channel is not open. state: 4
at com.trilead.ssh2.channel.ChannelManager.ioException(ChannelManager.java:1542)
at com.trilead.ssh2.channel.ChannelManager.waitForChannelRequestResult(ChannelManager.java:169)
at com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:771)
... 7 more
Caused by: java.io.IOException: Close requested by remote
at com.trilead.ssh2.channel.Channel.setReasonClosed(Channel.java:333)
at com.trilead.ssh2.channel.ChannelManager.msgChannelClose(ChannelManager.java:1253)
at com.trilead.ssh2.channel.ChannelManager.handleMessage(ChannelManager.java:1474)
at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:809)
at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502)
... 1 more
[12/06/22 03:18:38] Launch failed - cleaning up connection
[12/06/22 03:18:38] [SSH] Connection closed.
```
## Last Known Good (2.379)
### Installation Details
Jenkins Host "ubuntu2" is a Linux Container
Jenkins via deb, apt source line: deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian binary/
Node Host "git1" is a Linux Container
Agent configuration is "Launch Agents via SSH"
### Operating System Environment (Jenkins)
Ubuntu 22.04.1 LTS
Linux ubuntu2 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 x86_64 x86_64 GNU/Linux
### Operating System Environment (Agent)
Alpine Linux v3.16
Linux git1 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 Linux
Dropbear server v2022.83 https://matt.ucc.asn.au/dropbear/dropbear.html
### Jenkins Version Info
```
Jenkins: 2.379
OS: Linux - 5.10.120
---
ace-editor:1.1
ansicolor:1.0.2
ant:481.v7b_09e538fcca
antisamy-markup-formatter:155.v795fb_8702324
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
authentication-tokens:1.4
bootstrap5-api:5.2.1-3
bouncycastle-api:2.26
branch-api:2.1051.v9985666b_f6cc
build-blocker-plugin:1.7.8
build-timeout:1.25
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.8.0
cloudbees-folder:6.795.v3e23d3c6f194
cobertura:1.17
code-coverage-api:3.4.0
command-launcher:90.v669d7ccb_7c31
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-27.vb_fa_3896786a_7
config-file-provider:3.11.1
credentials:1214.v1de940103927
credentials-binding:523.vd859a_4b_122e6
data-tables-api:1.12.1-4
display-url-api:2.3.6
dotnet-sdk:1.4.0
dtkit-api:3.0.2
durable-task:501.ve5d4fc08b0be
echarts-api:5.4.0-1
email-ext:2.92
filesystem-list-parameter-plugin:0.0.8
font-awesome-api:6.2.1-1
forensics-api:1.16.0
git:4.14.1
git-client:3.13.0
git-server:99.va_0826a_b_cdfa_d
gitea:1.4.4
gitea-checks:449.v0672c320ee47
github:1.36.0
github-api:1.303-400.v35c2d8258028
github-branch-source:1696.v3a_7603564d04
gradle:2.1.1
handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953
htmlpublisher:1.31
instance-identity:116.vf8f487400980
ionicons-api:31.v4757b_6987003
jackson2-api:2.13.4.20221013-295.v8e29ea_354141
jakarta-activation-api:2.0.1-2
jakarta-mail-api:2.0.1-2
javax-activation-api:1.2.0-5
javax-mail-api:1.6.2-8
jaxb:2.3.7-1
jdk-tool:63.v62d2fd4b_4793
jjwt-api:0.11.5-77.v646c772fddb_0
jquery3-api:3.6.1-2
jsch:0.1.55.61.va_e9ee26616e7
junit:1166.va_436e268e972
ldap:2.12
log-parser:2.3.0
mailer:438.v02c7f0a_12fa_4
matrix-auth:3.1.5
matrix-project:785.v06b_7f47b_c631
mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a
mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a
momentjs:1.1.1
msbuild:1.30
mstest:1.0.0
mstestrunner:1.5.0
nodejs:1.5.1
nunit:0.28
okhttp-api:4.9.3-108.v0feda04578cf
pam-auth:1.10
pipeline-build-step:2.18
pipeline-github-lib:38.v445716ea_edda_
pipeline-graph-analysis:195.v5812d95a_a_2f9
pipeline-groovy-lib:621.vb_44ce045b_582
pipeline-input-step:466.v6d0a_5df34f81
pipeline-milestone-step:101.vd572fef9d926
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.28
pipeline-stage-step:296.v5f6908f017a_5
pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
pipeline-stage-view:2.28
plain-credentials:139.ved2b_9cf7587b
plugin-util-api:2.18.0
popper2-api:2.11.6-2
powershell:1.7
prism-api:1.29.0-1
resource-disposer:0.20
rest-list-parameter:1.6.3
scm-api:621.vda_a_b_055e58f7
script-security:1218.v39ca_7f7ed0a_c
scriptler:3.5
select2-api:4.0.13-8
snakeyaml-api:1.33-90.v80dcb_3814d35
ssh-credentials:305.v8f4381501156
ssh-slaves:2.854.v7fd446b_337c9
sshd:3.249.v2dc2ea_416e33
startup-trigger-plugin:2.9.3
structs:324.va_f5d6774f3a_d
timestamper:1.21
token-macro:321.vd7cc1f2a_52c8
trilead-api:2.84.v72119de229b_7
variant:59.vf075fe829ccb
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-api:1200.v8005c684b_a_c6
workflow-basic-steps:994.vd57e3ca_46d24
workflow-cps:3536.vb_8a_6628079d5
workflow-durable-task-step:1217.v38306d8fa_b_5c
workflow-job:1254.v3f64639b_11dd
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:839.v35e2736cfd5c
ws-cleanup:0.43
xunit:3.1.2
```
### Agent Log
```
Warning: no key algorithms provided;JENKINS-42959disabled
SSHLauncher{host='git1.lan', port=2022, credentialsId='7b7244ec-bed5-4738-892c-59b665c01b1d', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
[12/06/22 03:21:47] [SSH] Opening SSH connection to git1.lan:2022.
Searching for git1.lan in /var/lib/jenkins/.ssh/known_hosts
Searching for git1.lan:2022 in /var/lib/jenkins/.ssh/known_hosts
[12/06/22 03:21:47] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
[12/06/22 03:21:49] [SSH] Authentication successful.
[12/06/22 03:21:49] [SSH] The remote user's environment is:
BASH=/bin/bash
BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_EXECUTION_STRING=set
BASH_LINENO=()
BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:.
BASH_SOURCE=()
BASH_VERSINFO=([0]="5" [1]="2" [2]="12" [3]="1" [4]="release" [5]="x86_64-alpine-linux-musl")
BASH_VERSION='5.2.12(1)-release'
DIRSTACK=()
EUID=0
GROUPS=()
HOME=/root
HOSTNAME=git1
HOSTTYPE=x86_64
IFS=$' \t\n'
LANG=C.UTF-8
LOGNAME=root
MACHTYPE=x86_64-alpine-linux-musl
OPTERR=1
OPTIND=1
OSTYPE=linux-musl
PATH=/usr/sbin:/usr/bin:/sbin:/bin
PPID=12374
PS4='+ '
PWD=/root
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=1
SSH_CLIENT='10.10.7.168 55046 2022'
SSH_CONNECTION='10.10.7.168 55046 10.10.21.242 2022'
SSH_PUBKEYINFO=jenkins@ubuntu2
TERM=dumb
UID=0
USER=root
_=bash
Checking Java version in the PATH
openjdk version "17.0.5" 2022-10-18
OpenJDK Runtime Environment (build 17.0.5+8-alpine-r2)
OpenJDK 64-Bit Server VM (build 17.0.5+8-alpine-r2, mixed mode, sharing)
[12/06/22 03:21:50] [SSH] Checking java version of /var/lib/jenkins/jdk/bin/java
[12/06/22 03:21:50] [SSH] /var/lib/jenkins/jdk/bin/java -version returned 17.0.5.
[12/06/22 03:21:50] [SSH] Starting sftp client.
[12/06/22 03:21:50] [SSH] Copying latest remoting.jar...
Source agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A. Installed agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A
Verified agent jar. No update is necessary.
Expanded the channel window size to 4MB
[12/06/22 03:21:50] [SSH] Starting agent process: cd "/var/lib/jenkins" && /var/lib/jenkins/jdk/bin/java -jar remoting.jar -workDir /var/lib/jenkins -jar-cache /var/lib/jenkins/remoting/jarCache
Dec 06, 2022 3:21:51 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
INFO: Using /var/lib/jenkins/remoting as a remoting work directory
Dec 06, 2022 3:21:51 AM org.jenkinsci.remoting.engine.WorkDirManager setupLogging
INFO: Both error and output logs will be printed to /var/lib/jenkins/remoting
<===[JENKINS REMOTING CAPACITY]===>channel started
Remoting version: 3077.vd69cf116da_6f
Launcher: SSHLauncher
Communication Protocol: Standard in/out
This is a Unix agent
[StartupTrigger] - Scanning jobs for node git1
Agent successfully connected and online
```
## Regression (2.380) Section for "Last Known Good" follows ### Installation Details Jenkins Host "ubuntu2" is a Linux Container Jenkins via deb, apt source line: deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian binary/ Node Host "git1" is a Linux Container Agent configuration is "Launch Agents via SSH" ### Operating System Environment (Jenkins) Ubuntu 22.04.1 LTS Linux ubuntu2 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 x86_64 x86_64 GNU/Linux openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment (build 17.0.5+8-Ubuntu-2ubuntu122.04) OpenJDK 64-Bit Server VM (build 17.0.5+8-Ubuntu-2ubuntu122.04, mixed mode, sharing) ### Operating System Environment (Agent) Alpine Linux v3.16 Linux git1 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 Linux Dropbear server v2022.83 https://matt.ucc.asn.au/dropbear/dropbear.html openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment (build 17.0.5+8-alpine-r2) OpenJDK 64-Bit Server VM (build 17.0.5+8-alpine-r2, mixed mode, sharing) ### Jenkins Version Info ``` Jenkins: 2.380 OS: Linux - 5.10.120 --- ace-editor:1.1 ansicolor:1.0.2 ant:481.v7b_09e538fcca antisamy-markup-formatter:155.v795fb_8702324 apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61 authentication-tokens:1.4 bootstrap5-api:5.2.1-3 bouncycastle-api:2.26 branch-api:2.1051.v9985666b_f6cc build-blocker-plugin:1.7.8 build-timeout:1.25 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.8.0 cloudbees-folder:6.795.v3e23d3c6f194 cobertura:1.17 code-coverage-api:3.4.0 command-launcher:90.v669d7ccb_7c31 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-27.vb_fa_3896786a_7 config-file-provider:3.11.1 credentials:1214.v1de940103927 credentials-binding:523.vd859a_4b_122e6 data-tables-api:1.12.1-4 display-url-api:2.3.6 dotnet-sdk:1.4.0 dtkit-api:3.0.2 durable-task:501.ve5d4fc08b0be echarts-api:5.4.0-1 email-ext:2.92 filesystem-list-parameter-plugin:0.0.8 font-awesome-api:6.2.1-1 forensics-api:1.16.0 git:4.14.1 git-client:3.13.0 git-server:99.va_0826a_b_cdfa_d gitea:1.4.4 gitea-checks:449.v0672c320ee47 github:1.36.0 github-api:1.303-400.v35c2d8258028 github-branch-source:1696.v3a_7603564d04 gradle:2.1.1 handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953 htmlpublisher:1.31 instance-identity:116.vf8f487400980 ionicons-api:31.v4757b_6987003 jackson2-api:2.13.4.20221013-295.v8e29ea_354141 jakarta-activation-api:2.0.1-2 jakarta-mail-api:2.0.1-2 javax-activation-api:1.2.0-5 javax-mail-api:1.6.2-8 jaxb:2.3.7-1 jdk-tool:63.v62d2fd4b_4793 jjwt-api:0.11.5-77.v646c772fddb_0 jquery3-api:3.6.1-2 jsch:0.1.55.61.va_e9ee26616e7 junit:1166.va_436e268e972 ldap:2.12 log-parser:2.3.0 mailer:438.v02c7f0a_12fa_4 matrix-auth:3.1.5 matrix-project:785.v06b_7f47b_c631 mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a momentjs:1.1.1 msbuild:1.30 mstest:1.0.0 mstestrunner:1.5.0 nodejs:1.5.1 nunit:0.28 okhttp-api:4.9.3-108.v0feda04578cf pam-auth:1.10 pipeline-build-step:2.18 pipeline-github-lib:38.v445716ea_edda_ pipeline-graph-analysis:195.v5812d95a_a_2f9 pipeline-groovy-lib:621.vb_44ce045b_582 pipeline-input-step:466.v6d0a_5df34f81 pipeline-milestone-step:101.vd572fef9d926 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.28 pipeline-stage-step:296.v5f6908f017a_5 pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5 pipeline-stage-view:2.28 plain-credentials:139.ved2b_9cf7587b plugin-util-api:2.18.0 popper2-api:2.11.6-2 powershell:1.7 prism-api:1.29.0-1 resource-disposer:0.20 rest-list-parameter:1.6.3 scm-api:621.vda_a_b_055e58f7 script-security:1218.v39ca_7f7ed0a_c scriptler:3.5 select2-api:4.0.13-8 snakeyaml-api:1.33-90.v80dcb_3814d35 ssh-credentials:305.v8f4381501156 ssh-slaves:2.854.v7fd446b_337c9 sshd:3.249.v2dc2ea_416e33 startup-trigger-plugin:2.9.3 structs:324.va_f5d6774f3a_d timestamper:1.21 token-macro:321.vd7cc1f2a_52c8 trilead-api:2.84.v72119de229b_7 variant:59.vf075fe829ccb workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1200.v8005c684b_a_c6 workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:3536.vb_8a_6628079d5 workflow-durable-task-step:1217.v38306d8fa_b_5c workflow-job:1254.v3f64639b_11dd workflow-multibranch:716.vc692a_e52371b_ workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:839.v35e2736cfd5c ws-cleanup:0.43 xunit:3.1.2 ``` ### Agent Log ``` Warning: no key algorithms provided; JENKINS-42959 disabled SSHLauncher{host='git1.lan', port=2022, credentialsId='7b7244ec-bed5-4738-892c-59b665c01b1d', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true} [12/06/22 03:18:37] [SSH] Opening SSH connection to git1.lan:2022. Searching for git1.lan in /var/lib/jenkins/.ssh/known_hosts Searching for git1.lan:2022 in /var/lib/jenkins/.ssh/known_hosts [12/06/22 03:18:37] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed. [12/06/22 03:18:38] [SSH] Authentication successful. [12/06/22 03:18:38] [SSH] The remote user's environment is: BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=() BASH_VERSINFO=([0]="5" [1]="2" [2]="12" [3]="1" [4]="release" [5]="x86_64-alpine-linux-musl") BASH_VERSION='5.2.12(1)-release' DIRSTACK=() EUID=0 GROUPS=() HOME=/root HOSTNAME=git1 HOSTTYPE=x86_64 IFS=$' \t\n' LANG=C.UTF-8 LOGNAME=root MACHTYPE=x86_64-alpine-linux-musl OPTERR=1 OPTIND=1 OSTYPE=linux-musl PATH=/usr/sbin:/usr/bin:/sbin:/bin PPID=12307 PS4='+ ' PWD=/root SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.10.7.168 40236 2022' SSH_CONNECTION='10.10.7.168 40236 10.10.21.242 2022' SSH_PUBKEYINFO=jenkins@ubuntu2 TERM=dumb UID=0 USER=root _=bash Checking Java version in the PATH openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment (build 17.0.5+8-alpine-r2) OpenJDK 64-Bit Server VM (build 17.0.5+8-alpine-r2, mixed mode, sharing) [12/06/22 03:18:38] [SSH] Checking java version of /var/lib/jenkins/jdk/bin/java [12/06/22 03:18:38] [SSH] /var/lib/jenkins/jdk/bin/java -version returned 17.0.5. [12/06/22 03:18:38] [SSH] Starting sftp client. [12/06/22 03:18:38] [SSH] Copying latest remoting.jar... Source agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A. Installed agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A Verified agent jar. No update is necessary. Expanded the channel window size to 4MB [12/06/22 03:18:38] [SSH] Starting agent process: cd "/var/lib/jenkins" && /var/lib/jenkins/jdk/bin/java -jar remoting.jar -workDir /var/lib/jenkins -jar-cache /var/lib/jenkins/remoting/jarCache java.io.IOException: The execute request failed. at com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:776) at com.trilead.ssh2.Session.execCommand(Session.java:313) at hudson.plugins.sshslaves.SSHLauncher.startAgent(SSHLauncher.java:636) at hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:458) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.io.IOException: This SSH2 channel is not open. state: 4 at com.trilead.ssh2.channel.ChannelManager.ioException(ChannelManager.java:1542) at com.trilead.ssh2.channel.ChannelManager.waitForChannelRequestResult(ChannelManager.java:169) at com.trilead.ssh2.channel.ChannelManager.requestExecCommand(ChannelManager.java:771) ... 7 more Caused by: java.io.IOException: Close requested by remote at com.trilead.ssh2.channel.Channel.setReasonClosed(Channel.java:333) at com.trilead.ssh2.channel.ChannelManager.msgChannelClose(ChannelManager.java:1253) at com.trilead.ssh2.channel.ChannelManager.handleMessage(ChannelManager.java:1474) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:809) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502) ... 1 more [12/06/22 03:18:38] Launch failed - cleaning up connection [12/06/22 03:18:38] [SSH] Connection closed. ``` ## Last Known Good (2.379) ### Installation Details Jenkins Host "ubuntu2" is a Linux Container Jenkins via deb, apt source line: deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] https://pkg.jenkins.io/debian binary/ Node Host "git1" is a Linux Container Agent configuration is "Launch Agents via SSH" ### Operating System Environment (Jenkins) Ubuntu 22.04.1 LTS Linux ubuntu2 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 x86_64 x86_64 GNU/Linux ### Operating System Environment (Agent) Alpine Linux v3.16 Linux git1 5.10.120 #0 SMP Fri Jun 10 07:20:21 2022 x86_64 Linux Dropbear server v2022.83 https://matt.ucc.asn.au/dropbear/dropbear.html ### Jenkins Version Info ``` Jenkins: 2.379 OS: Linux - 5.10.120 --- ace-editor:1.1 ansicolor:1.0.2 ant:481.v7b_09e538fcca antisamy-markup-formatter:155.v795fb_8702324 apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61 authentication-tokens:1.4 bootstrap5-api:5.2.1-3 bouncycastle-api:2.26 branch-api:2.1051.v9985666b_f6cc build-blocker-plugin:1.7.8 build-timeout:1.25 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.8.0 cloudbees-folder:6.795.v3e23d3c6f194 cobertura:1.17 code-coverage-api:3.4.0 command-launcher:90.v669d7ccb_7c31 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-27.vb_fa_3896786a_7 config-file-provider:3.11.1 credentials:1214.v1de940103927 credentials-binding:523.vd859a_4b_122e6 data-tables-api:1.12.1-4 display-url-api:2.3.6 dotnet-sdk:1.4.0 dtkit-api:3.0.2 durable-task:501.ve5d4fc08b0be echarts-api:5.4.0-1 email-ext:2.92 filesystem-list-parameter-plugin:0.0.8 font-awesome-api:6.2.1-1 forensics-api:1.16.0 git:4.14.1 git-client:3.13.0 git-server:99.va_0826a_b_cdfa_d gitea:1.4.4 gitea-checks:449.v0672c320ee47 github:1.36.0 github-api:1.303-400.v35c2d8258028 github-branch-source:1696.v3a_7603564d04 gradle:2.1.1 handy-uri-templates-2-api:2.1.8-22.v77d5b_75e6953 htmlpublisher:1.31 instance-identity:116.vf8f487400980 ionicons-api:31.v4757b_6987003 jackson2-api:2.13.4.20221013-295.v8e29ea_354141 jakarta-activation-api:2.0.1-2 jakarta-mail-api:2.0.1-2 javax-activation-api:1.2.0-5 javax-mail-api:1.6.2-8 jaxb:2.3.7-1 jdk-tool:63.v62d2fd4b_4793 jjwt-api:0.11.5-77.v646c772fddb_0 jquery3-api:3.6.1-2 jsch:0.1.55.61.va_e9ee26616e7 junit:1166.va_436e268e972 ldap:2.12 log-parser:2.3.0 mailer:438.v02c7f0a_12fa_4 matrix-auth:3.1.5 matrix-project:785.v06b_7f47b_c631 mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a momentjs:1.1.1 msbuild:1.30 mstest:1.0.0 mstestrunner:1.5.0 nodejs:1.5.1 nunit:0.28 okhttp-api:4.9.3-108.v0feda04578cf pam-auth:1.10 pipeline-build-step:2.18 pipeline-github-lib:38.v445716ea_edda_ pipeline-graph-analysis:195.v5812d95a_a_2f9 pipeline-groovy-lib:621.vb_44ce045b_582 pipeline-input-step:466.v6d0a_5df34f81 pipeline-milestone-step:101.vd572fef9d926 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.28 pipeline-stage-step:296.v5f6908f017a_5 pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5 pipeline-stage-view:2.28 plain-credentials:139.ved2b_9cf7587b plugin-util-api:2.18.0 popper2-api:2.11.6-2 powershell:1.7 prism-api:1.29.0-1 resource-disposer:0.20 rest-list-parameter:1.6.3 scm-api:621.vda_a_b_055e58f7 script-security:1218.v39ca_7f7ed0a_c scriptler:3.5 select2-api:4.0.13-8 snakeyaml-api:1.33-90.v80dcb_3814d35 ssh-credentials:305.v8f4381501156 ssh-slaves:2.854.v7fd446b_337c9 sshd:3.249.v2dc2ea_416e33 startup-trigger-plugin:2.9.3 structs:324.va_f5d6774f3a_d timestamper:1.21 token-macro:321.vd7cc1f2a_52c8 trilead-api:2.84.v72119de229b_7 variant:59.vf075fe829ccb workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1200.v8005c684b_a_c6 workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:3536.vb_8a_6628079d5 workflow-durable-task-step:1217.v38306d8fa_b_5c workflow-job:1254.v3f64639b_11dd workflow-multibranch:716.vc692a_e52371b_ workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:839.v35e2736cfd5c ws-cleanup:0.43 xunit:3.1.2 ``` ### Agent Log ``` Warning: no key algorithms provided; JENKINS-42959 disabled SSHLauncher{host='git1.lan', port=2022, credentialsId='7b7244ec-bed5-4738-892c-59b665c01b1d', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true} [12/06/22 03:21:47] [SSH] Opening SSH connection to git1.lan:2022. Searching for git1.lan in /var/lib/jenkins/.ssh/known_hosts Searching for git1.lan:2022 in /var/lib/jenkins/.ssh/known_hosts [12/06/22 03:21:47] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed. [12/06/22 03:21:49] [SSH] Authentication successful. [12/06/22 03:21:49] [SSH] The remote user's environment is: BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_EXECUTION_STRING=set BASH_LINENO=() BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=() BASH_VERSINFO=([0]="5" [1]="2" [2]="12" [3]="1" [4]="release" [5]="x86_64-alpine-linux-musl") BASH_VERSION='5.2.12(1)-release' DIRSTACK=() EUID=0 GROUPS=() HOME=/root HOSTNAME=git1 HOSTTYPE=x86_64 IFS=$' \t\n' LANG=C.UTF-8 LOGNAME=root MACHTYPE=x86_64-alpine-linux-musl OPTERR=1 OPTIND=1 OSTYPE=linux-musl PATH=/usr/sbin:/usr/bin:/sbin:/bin PPID=12374 PS4='+ ' PWD=/root SHELL=/bin/bash SHELLOPTS=braceexpand:hashall:interactive-comments SHLVL=1 SSH_CLIENT='10.10.7.168 55046 2022' SSH_CONNECTION='10.10.7.168 55046 10.10.21.242 2022' SSH_PUBKEYINFO=jenkins@ubuntu2 TERM=dumb UID=0 USER=root _=bash Checking Java version in the PATH openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment (build 17.0.5+8-alpine-r2) OpenJDK 64-Bit Server VM (build 17.0.5+8-alpine-r2, mixed mode, sharing) [12/06/22 03:21:50] [SSH] Checking java version of /var/lib/jenkins/jdk/bin/java [12/06/22 03:21:50] [SSH] /var/lib/jenkins/jdk/bin/java -version returned 17.0.5. [12/06/22 03:21:50] [SSH] Starting sftp client. [12/06/22 03:21:50] [SSH] Copying latest remoting.jar... Source agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A. Installed agent hash is 9A8BBC6CFEE360F2DCB64846287EB41A Verified agent jar. No update is necessary. Expanded the channel window size to 4MB [12/06/22 03:21:50] [SSH] Starting agent process: cd "/var/lib/jenkins" && /var/lib/jenkins/jdk/bin/java -jar remoting.jar -workDir /var/lib/jenkins -jar-cache /var/lib/jenkins/remoting/jarCache Dec 06, 2022 3:21:51 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using /var/lib/jenkins/remoting as a remoting work directory Dec 06, 2022 3:21:51 AM org.jenkinsci.remoting.engine.WorkDirManager setupLogging INFO: Both error and output logs will be printed to /var/lib/jenkins/remoting <===[JENKINS REMOTING CAPACITY]===>channel started Remoting version: 3077.vd69cf116da_6f Launcher: SSHLauncher Communication Protocol: Standard in/out This is a Unix agent [StartupTrigger] - Scanning jobs for node git1 Agent successfully connected and online ```
In 2.379 (deb/Ubuntu) the agent started successfully via SSH. Following upgrade to 2.380, the agent fails to start with the provided stack trace/log.
On downgrade to 2.379, the agent started successfully again. On second upgrade to 2.380, the agent once again failed to start.