Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not A Defect
-
ubunut x64 as master
win10x64 as slave
Description
The jar file on the slave fails to start.
I use "Launch Slave Agents via SSH"
[04/06/18 15:32:05] [SSH] Opening SSH connection to 192.168.120.187:22. [04/06/18 15:32:06] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed. [04/06/18 15:32:06] [SSH] Authentication successful. [04/06/18 15:32:06] [SSH] The remote user's environment is: [04/06/18 15:32:06] [SSH] Checking java version of java [04/06/18 15:32:06] [SSH] java -version returned 1.8.0_161. [04/06/18 15:32:06] [SSH] Starting sftp client. [04/06/18 15:32:06] [SSH] Copying latest slave.jar... [04/06/18 15:32:06] [SSH] Copied 762,466 bytes. Expanded the channel window size to 4MB [04/06/18 15:32:06] [SSH] Starting slave process: cd "D:\CI\jenkins" && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>Slave JVM has terminated. Exit code=0 [04/06/18 15:32:06] Launch failed - cleaning up connection [04/06/18 15:32:06] [SSH] Connection closed.
I use Manually trusted key Verification Strategy
Require manual verification of initinial connection is OFF
On windows, I use cygwin as bash, and openSSH from microsoft.
Java version master:
java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Java version slave:
java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) Client VM (build 25.161-b12, mixed mode, sharing)
The jenkins version is: Jenkins ver. 2.107.2
Attachments
Issue Links
- is related to
-
JENKINS-42856 Unable to launch Windows slaves using Microsoft OpenSSH: Unexpected termination of the channel
-
- Fixed but Unreleased
-
Activity
Field | Original Value | New Value |
---|---|---|
Summary | windows agent via SSH | windows agent via SSH - Slave JVM has terminated. Exit code |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Component/s | ssh-plugin [ 16049 ] |
Component/s | _unsorted [ 19622 ] | |
Component/s | ssh-agent-plugin [ 17509 ] | |
Component/s | ssh-credentials-plugin [ 17424 ] | |
Component/s | ssh-slaves-plugin [ 15578 ] |
Status | In Review [ 10005 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Component/s | remoting [ 15489 ] | |
Component/s | _unsorted [ 19622 ] |
Assignee | Devin Nusbaum [ dnusbaum ] | Jeff Thompson [ jthompson ] |
Component/s | ssh-slaves-plugin [ 15578 ] |
Description |
The jar file on the slave fails to start. I use *"Launch Slave Agents via SSH"* {noformat} [04/06/18 15:32:05] [SSH] Opening SSH connection to 192.168.120.187:22. [04/06/18 15:32:06] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed. [04/06/18 15:32:06] [SSH] Authentication successful. [04/06/18 15:32:06] [SSH] The remote user's environment is: [04/06/18 15:32:06] [SSH] Checking java version of java [04/06/18 15:32:06] [SSH] java -version returned 1.8.0_161. [04/06/18 15:32:06] [SSH] Starting sftp client. [04/06/18 15:32:06] [SSH] Copying latest slave.jar... [04/06/18 15:32:06] [SSH] Copied 762,466 bytes. Expanded the channel window size to 4MB [04/06/18 15:32:06] [SSH] Starting slave process: cd "D:\CI\jenkins" && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>Slave JVM has terminated. Exit code=0 [04/06/18 15:32:06] Launch failed - cleaning up connection [04/06/18 15:32:06] [SSH] Connection closed. {noformat} I use *Manually trusted key Verification Strategy* Require manual verification of initinial connection is *OFF* On windows, I use cygwin as bash, and openSSH from microsoft. Java version master: {noformat} java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) {noformat} Java version slave: {noformat} java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) Client VM (build 25.161-b12, mixed mode, sharing) {noformat} |
The jar file on the slave fails to start. I use *"Launch Slave Agents via SSH"* {noformat} [04/06/18 15:32:05] [SSH] Opening SSH connection to 192.168.120.187:22. [04/06/18 15:32:06] [SSH] SSH host key matches key seen previously for this host. Connection will be allowed. [04/06/18 15:32:06] [SSH] Authentication successful. [04/06/18 15:32:06] [SSH] The remote user's environment is: [04/06/18 15:32:06] [SSH] Checking java version of java [04/06/18 15:32:06] [SSH] java -version returned 1.8.0_161. [04/06/18 15:32:06] [SSH] Starting sftp client. [04/06/18 15:32:06] [SSH] Copying latest slave.jar... [04/06/18 15:32:06] [SSH] Copied 762,466 bytes. Expanded the channel window size to 4MB [04/06/18 15:32:06] [SSH] Starting slave process: cd "D:\CI\jenkins" && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>Slave JVM has terminated. Exit code=0 [04/06/18 15:32:06] Launch failed - cleaning up connection [04/06/18 15:32:06] [SSH] Connection closed. {noformat} I use *Manually trusted key Verification Strategy* Require manual verification of initinial connection is *OFF* On windows, I use cygwin as bash, and openSSH from microsoft. Java version master: {noformat} java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) {noformat} Java version slave: {noformat} java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) Client VM (build 25.161-b12, mixed mode, sharing) {noformat} The jenkins version is: Jenkins ver. 2.107.2 |
Assignee | Jeff Thompson [ jthompson ] | Ivan Fernandez Calvo [ ifernandezcalvo ] |
Component/s | remoting [ 15489 ] |
Labels | remoting |
Attachment | config.zip [ 42189 ] |
Attachment | image-2018-04-18-11-55-31-400.png [ 42209 ] |
Attachment | image-2018-04-18-11-55-42-400.png [ 42210 ] |
Attachment | config.zip [ 42189 ] |
Attachment | config.xml..zip [ 42211 ] |
Attachment | config.xml..zip [ 42211 ] |
Attachment | config.xml.zip [ 42212 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Attachment | prefix_output.txt [ 42251 ] |
Resolution | Not A Defect [ 7 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue is related to |