vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

[Remote-SSH Bug]: port forward with "Use Exec Server" on not work for TensorBoard

Open Xiao-Chenguang opened this issue 3 years ago • 2 comments

Is there an existing issue for this bug?

  • [X] I have searched the existing issues

Required Troubleshooting Steps

  • [X] I have followed these troubleshooting steps
  • [X] I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It connects successfully

->

There is no error message at all, but tensorboard on the server failed to be forwarded to my local machine.

Expected Behavior

I can connected to a remote server with "Use Exec Server" on and off. With it off, run tensorboard on the server will automatically forward the port and I can view the board on my local browser. However with it on, the browser show noting, only blank. Then I tried manually forward the port via another shell "ssh _L", I can browse the board successfully. So it seem to be a problem with the port forward when "Use Exec Server" on. I have tried host=0.0.0.0 and other port when execute tensorboard, the issue is the same. And from the console of the browser, there is an error message saying losing connection to the server.

Steps To Reproduce

  1. set "Use Exec Server" on
  2. connect to a server and run tensor board
  3. vscode automatically forward port (for example 6006), open it in browser, it's blank.

Remote-SSH Log

Remote-SSH Log

[19:55:27.371] Log Level: 1
[19:55:27.377] VS Code version: 1.84.2
[19:55:27.377] Remote-SSH version: [email protected]
[19:55:27.377] darwin arm64
[19:55:27.400] SSH Resolver called for "ssh-remote+7b22686f73744e616d65223a22426e6f64652d31227d", attempt 1
[19:55:27.401] "remote.SSH.useLocalServer": true
[19:55:27.401] "remote.SSH.useExecServer": true
[19:55:27.401] "remote.SSH.path": undefined
[19:55:27.401] "remote.SSH.configFile": undefined
[19:55:27.401] "remote.SSH.useFlock": true
[19:55:27.401] "remote.SSH.lockfilesInTmp": false
[19:55:27.401] "remote.SSH.localServerDownload": auto
[19:55:27.401] "remote.SSH.remoteServerListenOnSocket": false
[19:55:27.401] "remote.SSH.showLoginTerminal": false
[19:55:27.401] "remote.SSH.defaultExtensions": []
[19:55:27.402] "remote.SSH.loglevel": 1
[19:55:27.402] "remote.SSH.enableDynamicForwarding": true
[19:55:27.402] "remote.SSH.enableRemoteCommand": false
[19:55:27.402] "remote.SSH.serverPickPortsFromRange": {}
[19:55:27.405] "remote.SSH.serverInstallPath": {}
[19:55:27.409] SSH Resolver called for host: Bnode-1
[19:55:27.409] Setting up SSH remote "Bnode-1"
[19:55:27.410] Acquiring local install lock: /var/folders/4b/42xb1p0s3xx7kd3w8ftdg3340000gn/T/vscode-remote-ssh-e8e8a143-install.lock
[19:55:27.411] Looking for existing server data file at /Users/cg/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e8e8a143-1a5daa3a0231a0fbba4f14db7ec463cf99d7768e-0.107.0-es/data.json
[19:55:27.411] Using commit id "1a5daa3a0231a0fbba4f14db7ec463cf99d7768e" and quality "stable" for server
[19:55:27.414] Install and start server if needed
[19:55:27.415] PATH: /Users/cg/miniconda3/bin:/Users/cg/miniconda3/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/cg/.cargo/bin
[19:55:27.415] Checking ssh with "ssh -V"
[19:55:27.422] > OpenSSH_9.0p1, LibreSSL 3.3.6

[19:55:27.423] askpass server listening on /var/folders/4b/42xb1p0s3xx7kd3w8ftdg3340000gn/T/vscode-ssh-askpass-1b51f440e4f0c542c029f4c271f7f933b5297900.sock
[19:55:27.424] Spawning local server with {"serverId":1,"ipcHandlePath":"/var/folders/4b/42xb1p0s3xx7kd3w8ftdg3340000gn/T/vscode-ssh-askpass-7c4b66b4ad352d06c9f0eb765d8e4d6bee54f1e0.sock","sshCommand":"ssh","sshArgs":["-v","-T","-D","62282","-o","ConnectTimeout=15","Bnode-1"],"serverDataFolderName":".vscode-server","dataFilePath":"/Users/cg/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e8e8a143-1a5daa3a0231a0fbba4f14db7ec463cf99d7768e-0.107.0-es/data.json"}
[19:55:27.424] Local server env: {"SSH_AUTH_SOCK":"/private/tmp/com.apple.launchd.JOuSyCJxZO/Listeners","SHELL":"/bin/zsh","DISPLAY":"1","ELECTRON_RUN_AS_NODE":"1","SSH_ASKPASS":"/Users/cg/.vscode/extensions/ms-vscode-remote.remote-ssh-0.107.0/out/local-server/askpass.sh","VSCODE_SSH_ASKPASS_NODE":"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)","VSCODE_SSH_ASKPASS_EXTRA_ARGS":"--ms-enable-electron-run-as-node","VSCODE_SSH_ASKPASS_MAIN":"/Users/cg/.vscode/extensions/ms-vscode-remote.remote-ssh-0.107.0/out/askpass-main.js","VSCODE_SSH_ASKPASS_HANDLE":"/var/folders/4b/42xb1p0s3xx7kd3w8ftdg3340000gn/T/vscode-ssh-askpass-1b51f440e4f0c542c029f4c271f7f933b5297900.sock"}
[19:55:27.424] Spawned 18634
[19:55:27.514] > local-server-1> Running ssh connection command: "-v -T -D 62282 -o ConnectTimeout=15 Bnode-1"
[19:55:27.517] > local-server-1> Spawned ssh, pid=18641
[19:55:27.520] stderr> OpenSSH_9.0p1, LibreSSL 3.3.6
[19:55:27.520] stderr> debug1: Reading configuration data /Users/cg/.ssh/config
[19:55:27.520] stderr> debug1: /Users/cg/.ssh/config line 12: Applying options for Bnode-1
[19:55:27.520] stderr> debug1: Reading configuration data /etc/ssh/ssh_config
[19:55:27.520] stderr> debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
[19:55:27.520] stderr> debug1: /etc/ssh/ssh_config line 54: Applying options for *
[19:55:27.521] stderr> debug1: Setting implicit ProxyCommand from ProxyJump: ssh -v -W '[%h]:%p' bask
[19:55:27.521] stderr> debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
[19:55:27.521] stderr> debug1: Executing proxy command: exec ssh -v -W '[bask-pg0309u18a]:22' bask
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_rsa type 0
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_rsa-cert type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ecdsa type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ecdsa-cert type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ecdsa_sk type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ecdsa_sk-cert type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ed25519 type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ed25519-cert type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ed25519_sk type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_ed25519_sk-cert type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_xmss type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_xmss-cert type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_dsa type -1
[19:55:27.521] stderr> debug1: identity file /Users/cg/.ssh/id_dsa-cert type -1
[19:55:27.521] stderr> debug1: Local version string SSH-2.0-OpenSSH_9.0
[19:55:27.528] stderr> OpenSSH_9.0p1, LibreSSL 3.3.6
[19:55:27.528] stderr> debug1: Reading configuration data /Users/cg/.ssh/config
[19:55:27.528] stderr> debug1: /Users/cg/.ssh/config line 6: Applying options for bask*
[19:55:27.529] stderr> debug1: Reading configuration data /etc/ssh/ssh_config
[19:55:27.529] stderr> debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
[19:55:27.529] stderr> debug1: /etc/ssh/ssh_config line 54: Applying options for *
[19:55:27.529] stderr> debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
[19:55:27.529] stderr> debug1: Connecting to login.baskerville.ac.uk port 22.
[19:55:27.537] stderr> debug1: Connection established.
[19:55:27.537] stderr> debug1: identity file /Users/cg/.ssh/id_rsa type 0
[19:55:27.537] stderr> debug1: identity file /Users/cg/.ssh/id_rsa-cert type -1
[19:55:27.537] stderr> debug1: Local version string SSH-2.0-OpenSSH_9.0
[19:55:27.559] stderr> debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
[19:55:27.559] stderr> debug1: compat_banner: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
[19:55:27.559] stderr> debug1: Authenticating to login.baskerville.ac.uk:22 as 'cxx075'
[19:55:27.560] stderr> debug1: load_hostkeys: fopen /Users/cg/.ssh/known_hosts2: No such file or directory
[19:55:27.560] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
[19:55:27.560] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
[19:55:27.560] stderr> debug1: SSH2_MSG_KEXINIT sent
[19:55:27.565] stderr> debug1: SSH2_MSG_KEXINIT received
[19:55:27.565] stderr> debug1: kex: algorithm: [email protected]
[19:55:27.565] stderr> debug1: kex: host key algorithm: ssh-ed25519
[19:55:27.565] stderr> debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-512 compression: none
[19:55:27.566] stderr> debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-512 compression: none
[19:55:27.566] stderr> debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
[19:55:27.628] stderr> debug1: SSH2_MSG_KEX_ECDH_REPLY received
[19:55:27.628] stderr> debug1: Server host key: ssh-ed25519 SHA256:bq4TeP9cDQ3MSAg4ybJLVxU/21E3/JZoHP0pc7YkZQg
[19:55:27.629] stderr> debug1: load_hostkeys: fopen /Users/cg/.ssh/known_hosts2: No such file or directory
[19:55:27.629] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
[19:55:27.629] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
[19:55:27.629] stderr> debug1: Host 'login.baskerville.ac.uk' is known and matches the ED25519 host key.
[19:55:27.629] stderr> debug1: Found key in /Users/cg/.ssh/known_hosts:2
[19:55:27.632] stderr> debug1: rekey out after 4294967296 blocks
[19:55:27.632] stderr> debug1: SSH2_MSG_NEWKEYS sent
[19:55:27.632] stderr> debug1: expecting SSH2_MSG_NEWKEYS
[19:55:27.632] stderr> debug1: SSH2_MSG_NEWKEYS received
[19:55:27.632] stderr> debug1: rekey in after 4294967296 blocks
[19:55:27.635] stderr> debug1: get_agent_identities: bound agent to hostkey
[19:55:27.635] stderr> debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
[19:55:27.635] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_rsa RSA SHA256:IHvWBZDH/OQy3/i+DUDFlhJvNcyLzO+SdJIAUe3EKvE explicit
[19:55:27.635] stderr> debug1: SSH2_MSG_EXT_INFO received
[19:55:27.635] stderr> debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
[19:55:27.681] stderr> debug1: SSH2_MSG_SERVICE_ACCEPT received
[19:55:27.793] stderr> 
[19:55:27.793] stderr> Welcome to Baskerville
[19:55:27.793] stderr> 
[19:55:27.793] stderr> All connections are monitored and recorded.
[19:55:27.793] stderr> Use of the system is permitted to authorised users only.
[19:55:27.793] stderr> Disconnect IMMEDIATELY if you are not an authorised user.
[19:55:27.793] stderr> 
[19:55:27.793] stderr> Use of the system is subject to the Baskerville terms and conditions of use.
[19:55:27.793] stderr> 
[19:55:27.794] stderr> For assistance with first time access, logging on and one time passwords,
[19:55:27.794] stderr> please see:
[19:55:27.794] stderr> https://docs.baskerville.ac.uk/logging-on/
[19:55:27.794] stderr> 
[19:55:27.794] stderr> debug1: Authentications that can continue: publickey,keyboard-interactive
[19:55:27.794] stderr> debug1: Next authentication method: publickey
[19:55:27.794] stderr> debug1: Offering public key: /Users/cg/.ssh/id_rsa RSA SHA256:IHvWBZDH/OQy3/i+DUDFlhJvNcyLzO+SdJIAUe3EKvE explicit
[19:55:27.825] stderr> debug1: Server accepts key: /Users/cg/.ssh/id_rsa RSA SHA256:IHvWBZDH/OQy3/i+DUDFlhJvNcyLzO+SdJIAUe3EKvE explicit
[19:55:27.865] stderr> Authenticated using "publickey" with partial success.
[19:55:27.865] stderr> debug1: Authentications that can continue: keyboard-interactive
[19:55:27.865] stderr> debug1: Next authentication method: keyboard-interactive
[19:55:27.874] stderr> debug1: read_passphrase: can't open /dev/tty: Device not configured
[19:55:27.960] Got askpass request: {"request":"([email protected]) OTP code:"}
[19:55:27.961] Listening for interwindow password on /var/folders/4b/42xb1p0s3xx7kd3w8ftdg3340000gn/T/vscode-ssh-askpass-8e8aea5bf5f89c87693e92bf7ce980a195118655.sock
[19:55:27.961] Writing password prompt to globalState
[19:55:32.210] Interactor gave response: ******
[19:55:32.211] Cleaning up other-window auth server
[19:55:32.533] stderr> Authenticated to login.baskerville.ac.uk ([147.188.172.67]:22) using "keyboard-interactive".
[19:55:32.533] stderr> debug1: channel_connect_stdio_fwd: bask-pg0309u18a:22
[19:55:32.533] stderr> debug1: channel 0: new [stdio-forward]
[19:55:32.533] stderr> debug1: getpeername failed: Bad file descriptor
[19:55:32.534] stderr> debug1: Requesting [email protected]
[19:55:32.535] stderr> debug1: Entering interactive session.
[19:55:32.535] stderr> debug1: pledge: filesystem
[19:55:34.833] stderr> debug1: client_input_global_request: rtype [email protected] want_reply 0
[19:55:34.836] stderr> debug1: client_input_hostkeys: searching /Users/cg/.ssh/known_hosts for login.baskerville.ac.uk / (none)
[19:55:34.842] stderr> debug1: client_input_hostkeys: searching /Users/cg/.ssh/known_hosts2 for login.baskerville.ac.uk / (none)
[19:55:34.842] stderr> debug1: client_input_hostkeys: hostkeys file /Users/cg/.ssh/known_hosts2 does not exist
[19:55:34.842] stderr> debug1: client_input_hostkeys: no new or deprecated keys from server
[19:55:34.842] stderr> debug1: Remote: /usr/bin/sss_ssh_authorizedkeys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
[19:55:34.842] stderr> debug1: Remote: /usr/bin/sss_ssh_authorizedkeys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
[19:55:37.807] stderr> debug1: Remote protocol version 2.0, remote software version OpenSSH_8.0
[19:55:37.807] stderr> debug1: compat_banner: match: OpenSSH_8.0 pat OpenSSH* compat 0x04000000
[19:55:37.807] stderr> debug1: Authenticating to bask-pg0309u18a:22 as 'cxx075'
[19:55:37.809] stderr> debug1: load_hostkeys: fopen /Users/cg/.ssh/known_hosts2: No such file or directory
[19:55:37.809] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
[19:55:37.809] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
[19:55:37.809] stderr> debug1: SSH2_MSG_KEXINIT sent
[19:55:38.417] stderr> debug1: SSH2_MSG_KEXINIT received
[19:55:38.417] stderr> debug1: kex: algorithm: [email protected]
[19:55:38.419] stderr> debug1: kex: host key algorithm: ssh-ed25519
[19:55:38.419] stderr> debug1: kex: server->client cipher: aes128-ctr MAC: [email protected] compression: none
[19:55:38.419] stderr> debug1: kex: client->server cipher: aes128-ctr MAC: [email protected] compression: none
[19:55:38.422] stderr> debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
[19:55:38.444] stderr> debug1: SSH2_MSG_KEX_ECDH_REPLY received
[19:55:38.444] stderr> debug1: Server host key: ssh-ed25519 SHA256:bq4TeP9cDQ3MSAg4ybJLVxU/21E3/JZoHP0pc7YkZQg
[19:55:38.444] stderr> debug1: load_hostkeys: fopen /Users/cg/.ssh/known_hosts2: No such file or directory
[19:55:38.444] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
[19:55:38.444] stderr> debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
[19:55:38.444] stderr> debug1: Host 'bask-pg0309u18a' is known and matches the ED25519 host key.
[19:55:38.444] stderr> debug1: Found key in /Users/cg/.ssh/known_hosts:23
[19:55:38.447] stderr> debug1: rekey out after 4294967296 blocks
[19:55:38.447] stderr> debug1: SSH2_MSG_NEWKEYS sent
[19:55:38.447] stderr> debug1: expecting SSH2_MSG_NEWKEYS
[19:55:38.447] stderr> debug1: SSH2_MSG_NEWKEYS received
[19:55:38.447] stderr> debug1: rekey in after 4294967296 blocks
[19:55:38.450] stderr> debug1: get_agent_identities: bound agent to hostkey
[19:55:38.450] stderr> debug1: get_agent_identities: ssh_fetch_identitylist: agent contains no identities
[19:55:38.450] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_rsa RSA SHA256:IHvWBZDH/OQy3/i+DUDFlhJvNcyLzO+SdJIAUe3EKvE
[19:55:38.451] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_ecdsa 
[19:55:38.451] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_ecdsa_sk 
[19:55:38.451] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_ed25519 
[19:55:38.451] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_ed25519_sk 
[19:55:38.451] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_xmss 
[19:55:38.451] stderr> debug1: Will attempt key: /Users/cg/.ssh/id_dsa 
[19:55:38.451] stderr> debug1: SSH2_MSG_EXT_INFO received
[19:55:38.451] stderr> debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
[19:55:38.456] stderr> debug1: SSH2_MSG_SERVICE_ACCEPT received
[19:55:38.470] stderr> debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,hostbased
[19:55:38.470] stderr> debug1: Next authentication method: publickey
[19:55:38.470] stderr> debug1: Offering public key: /Users/cg/.ssh/id_rsa RSA SHA256:IHvWBZDH/OQy3/i+DUDFlhJvNcyLzO+SdJIAUe3EKvE
[19:55:38.505] stderr> debug1: Server accepts key: /Users/cg/.ssh/id_rsa RSA SHA256:IHvWBZDH/OQy3/i+DUDFlhJvNcyLzO+SdJIAUe3EKvE
[19:55:39.645] stderr> Authenticated to bask-pg0309u18a (via proxy) using "publickey".
[19:55:39.645] stderr> debug1: Local connections to LOCALHOST:62282 forwarded to remote address socks:0
[19:55:39.646] stderr> debug1: Local forwarding listening on ::1 port 62282.
[19:55:39.647] stderr> debug1: channel 0: new [port listener]
[19:55:39.647] stderr> debug1: Local forwarding listening on 127.0.0.1 port 62282.
[19:55:39.647] stderr> debug1: channel 1: new [port listener]
[19:55:39.647] stderr> debug1: channel 2: new [client-session]
[19:55:39.647] stderr> debug1: Requesting [email protected]
[19:55:39.647] stderr> debug1: Entering interactive session.
[19:55:39.647] stderr> debug1: pledge: filesystem
[19:55:40.362] stderr> debug1: client_input_global_request: rtype [email protected] want_reply 0
[19:55:40.365] stderr> debug1: client_input_hostkeys: searching /Users/cg/.ssh/known_hosts for bask-pg0309u18a / (none)
[19:55:40.372] stderr> debug1: client_input_hostkeys: searching /Users/cg/.ssh/known_hosts2 for bask-pg0309u18a / (none)
[19:55:40.372] stderr> debug1: client_input_hostkeys: hostkeys file /Users/cg/.ssh/known_hosts2 does not exist
[19:55:40.372] stderr> debug1: client_input_hostkeys: host key found matching a different name/address, skipping UserKnownHostsFile update
[19:55:40.372] stderr> debug1: Remote: /usr/bin/sss_ssh_authorizedkeys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
[19:55:40.372] stderr> debug1: Remote: /usr/bin/sss_ssh_authorizedkeys:1: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
[19:55:40.372] stderr> debug1: Sending environment.
[19:55:41.182] > ready: f16f6ff3f77d
[19:55:41.199] > Linux 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 8 13:30:15 EST 2021
[19:55:41.199] Platform: linux
[19:55:41.205] > /bin/bash
[19:55:41.206] Shell: bash
[19:55:41.206] Creating bash subshell inside "bash"
[19:55:41.220] > bash version:  4.4.20(1)-release
[19:55:42.410] > f16f6ff3f77d: running
[19:55:42.416] > Found existing installation at /bask/homes/c/cxx075/.vscode-server...
> Running ssh connection command... /bask/homes/c/cxx075/.vscode-server/code-1a5daa3a0231a0fbba4f14db7ec463cf99d7768e command-shell --cli-data-dir /bask/homes/c/cxx075/.vscode-server/cli --on-port --require-token 966d5e0cf57d --parent-process-id 1240009 &> "/bask/homes/c/cxx075/.vscode-server/.cli.1a5daa3a0231a0fbba4f14db7ec463cf99d7768e.log" < /dev/null
> printenv:
[19:55:43.537] >     BASK_IB_DETECTED=1
>     BASK_APPS_BASE=EL8-ice
>     __LMOD_REF_COUNT_PATH=/bask/apps/system/software/slurm-helpers:1;/bask/apps/system/software/slurm-interactive-jobs/stubl/bin:1;/usr/lpp/mmfs/bin:1;/usr/local/bin:1;/usr/bin:1;/usr/local/sbin:1;/usr/sbin:1
>     _ModuleTable002_=YmFzay9hcHBzL3N5c3RlbS9tb2R1bGVzL2Jhc2stY29udGFpbmVyLWNvbmYvbGl2ZSIsCmZ1bGxOYW1lID0gImJhc2stY29udGFpbmVyLWNvbmYvbGl2ZSIsCmxvYWRPcmRlciA9IDIsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAyLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiYmFzay1jb250YWluZXItY29uZiIsCndWID0gIl5saXZlLip6ZmluYWwiLAp9LApbImJhc2stbGljZW5jZXMiXSA9IHsKZm4gPSAiL2Jhc2svYXBwcy9zeXN0ZW0vbW9kdWxlcy9iYXNrLWxpY2VuY2VzL2xpdmUiLApmdWxsTmFtZSA9ICJiYXNrLWxpY2VuY2VzL2xpdmUiLApsb2FkT3JkZXIgPSA0LApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMiwKc3RhdHVzID0gImFjdGl2ZSIsCnVz
>     SSH_CONNECTION=172.31.131.23 46164 172.31.130.186 22
>     LANG=en_GB.UTF-8
>     HISTCONTROL=ignoredups
>     HOSTNAME=bask-pg0309u18a.cluster.baskerville.ac.uk
>     LMOD_SYSTEM_DEFAULT_MODULES=baskdefault
>     BASK_APPS_DATA=/bask/apps/apps-data/
>     OMPI_MCA_btl_tcp_if_exclude=169.0.0.0/8,147.188.0.0/16,172.31.128.0/22
>     BASK_OS_BASE=EL8
>     LMOD_DISABLE_SAME_NAME_AUTOSWAP=yes
>     LMOD_RC=/bask/apps/system/software/lmod/lmodrc.lua
>     LMOD_AUTO_SWAP=no
>     _ModuleTable004_=CnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiYmFza2RlZmF1bHQiLAp3ViA9ICJNLip6ZmluYWwiLAp9LApiYXNrZXJ2aWxsZSA9IHsKZm4gPSAiL2Jhc2svYXBwcy9zeXN0ZW0vbW9kdWxlcy9iYXNrZXJ2aWxsZS9saXZlIiwKZnVsbE5hbWUgPSAiYmFza2VydmlsbGUvbGl2ZSIsCmxvYWRPcmRlciA9IDYsCnByb3BUID0ge30sCnN0YWNrRGVwdGggPSAxLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiYmFza2VydmlsbGUiLAp3ViA9ICJebGl2ZS4qemZpbmFsIiwKfSwKWyJvcGVubXBpLWVudiJdID0gewpmbiA9ICIvYmFzay9hcHBzL3N5c3RlbS9tb2R1bGVzL29wZW5tcGktZW52L2xpdmUiLApmdWxsTmFt
>     which_declare=declare -f
>     USER=cxx075
>     SELINUX_ROLE_REQUESTED=
>     __LMOD_REF_COUNT_MODULEPATH=/bask/apps/live/EL8-ice/modules/all:1;/etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1;/bask/apps/system/modules:1
>     ALLINEA_LICENCE_DIR=/bask/apps/system/software/licences/arm
>     PWD=/bask/homes/c/cxx075
>     HOME=/bask/homes/c/cxx075
>     APPTAINER_BIND=/bask
>     SSH_CLIENT=172.31.131.23 46164 22
>     LMOD_VERSION=8.7.30
>     SELINUX_LEVEL_REQUESTED=
>     LMOD_SITE_MSG_FILE=/bask/apps/system/software/lmod/lmod-messages.lua
>     BASH_ENV=/usr/share/lmod/lmod/init/bash
>     LMOD_SHORT_TIME=86400
>     ARMCI_OPENIB_DEVICE=mlx5_0
>     LMOD_sys=Linux
>     _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IDcyMDAuMCwKY19zaG9ydFRpbWUgPSAwLjI3MDUzMjEzMTE5NTA3LApkZXB0aFQgPSB7fSwKZmFtaWx5ID0ge30sCm1UID0gewpbImJhc2stYXBwcy9saXZlIl0gPSB7CmZuID0gIi9iYXNrL2FwcHMvc3lzdGVtL21vZHVsZXMvYmFzay1hcHBzL2xpdmUvbGl2ZSIsCmZ1bGxOYW1lID0gImJhc2stYXBwcy9saXZlL2xpdmUiLApsb2FkT3JkZXIgPSA1LApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMiwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1lID0gImJhc2stYXBwcy9saXZlIiwKd1YgPSAiXmxpdmUuKnpmaW5hbCIsCn0sClsiYmFzay1jb250YWluZXItY29uZiJdID0gewpmbiA9ICIv
>     LOADEDMODULES=bask-variables/live:bask-container-conf/live:openmpi-env/live:bask-licences/live:bask-apps/live/live:baskerville/live:baskdefault
>     _ModuleTable006_=TVBBVEggPSAiL2V0Yy9tb2R1bGVmaWxlczovdXNyL3NoYXJlL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXg6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9Db3JlOi91c3Ivc2hhcmUvbG1vZC9sbW9kL21vZHVsZWZpbGVzL0NvcmU6L2Jhc2svYXBwcy9zeXN0ZW0vbW9kdWxlcyIsCn0K
>     _ModuleTable003_=ZXJOYW1lID0gImJhc2stbGljZW5jZXMiLAp3ViA9ICJebGl2ZS4qemZpbmFsIiwKfSwKWyJiYXNrLXZhcmlhYmxlcyJdID0gewpmbiA9ICIvYmFzay9hcHBzL3N5c3RlbS9tb2R1bGVzL2Jhc2stdmFyaWFibGVzL2xpdmUiLApmdWxsTmFtZSA9ICJiYXNrLXZhcmlhYmxlcy9saXZlIiwKbG9hZE9yZGVyID0gMSwKcHJvcFQgPSB7fSwKc3RhY2tEZXB0aCA9IDIsCnN0YXR1cyA9ICJhY3RpdmUiLAp1c2VyTmFtZSA9ICJiYXNrLXZhcmlhYmxlcyIsCndWID0gIl5saXZlLip6ZmluYWwiLAp9LApiYXNrZGVmYXVsdCA9IHsKZm4gPSAiL2Jhc2svYXBwcy9zeXN0ZW0vbW9kdWxlcy9iYXNrZGVmYXVsdC5sdWEiLApmdWxsTmFtZSA9ICJiYXNrZGVmYXVsdCIsCmxvYWRPcmRlciA9IDcs
>     LMOD_ROOT=/usr/share/lmod
>     MAIL=/var/spool/mail/cxx075
>     __Init_Default_Modules=1
>     SHELL=/bin/bash
>     _ModuleTable_Sz_=6
>     SELINUX_USE_CURRENT_RANGE=
>     UCX_NET_DEVICES=mlx5_0:1
>     SHLVL=2
>     MANPATH=/usr/share/lmod/lmod/share/man:
>     VSCODE_AGENT_FOLDER=/bask/homes/c/cxx075/.vscode-server
>     APPTAINER_CACHEDIR=/tmp/container_data
>     MODULEPATH=/bask/apps/live/EL8-ice/modules/all:/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core:/bask/apps/system/modules
>     OMPI_MCA_btl_openib_if_include=mlx5_0:1
>     BASK_EL8_CONTAINER_SYS_BINDS=/bin/sbatch,/usr/bin/squeue,/usr/bin/scancel,/usr/bin/sacct,/usr/bin/sacctmgr,/usr/bin/scontrol,/usr/bin/sinfo,/usr/lib64/slurm,/etc/slurm,/var/run/munge,/etc/profile.d/zz-99-default-modules.sh
>     LOGNAME=cxx075
>     MODULEPATH_ROOT=/usr/share/modulefiles
>     PATH=/bask/apps/system/software/slurm-helpers:/bask/apps/system/software/slurm-interactive-jobs/stubl/bin:/usr/lpp/mmfs/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
>     SLURM_JOB_ID=524380
>     _LMFILES_=/bask/apps/system/modules/bask-variables/live:/bask/apps/system/modules/bask-container-conf/live:/bask/apps/system/modules/openmpi-env/live:/bask/apps/system/modules/bask-licences/live:/bask/apps/system/modules/bask-apps/live/live:/bask/apps/system/modules/baskerville/live:/bask/apps/system/modules/baskdefault.lua
>     MODULESHOME=/usr/share/lmod/lmod
>     LMOD_SETTARG_FULL_SUPPORT=no
>     LMOD_CACHED_LOADS=yes
>     HISTSIZE=1000
>     LMOD_PKG=/usr/share/lmod/lmod
>     LMOD_DISABLE_NAME_AUTOSWAP=yes
>     LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
>     _ModuleTable005_=ZSA9ICJvcGVubXBpLWVudi9saXZlIiwKbG9hZE9yZGVyID0gMywKcHJvcFQgPSB7fSwKc3RhY2tEZXB0aCA9IDIsCnN0YXR1cyA9ICJhY3RpdmUiLAp1c2VyTmFtZSA9ICJvcGVubXBpLWVudiIsCndWID0gIl5saXZlLip6ZmluYWwiLAp9LAp9LAptcGF0aEEgPSB7CiIvYmFzay9hcHBzL2xpdmUvRUw4LWljZS9tb2R1bGVzL2FsbCIsICIvZXRjL21vZHVsZWZpbGVzIgosICIvdXNyL3NoYXJlL21vZHVsZWZpbGVzIiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvTGludXgiCiwgIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMvQ29yZSIsICIvdXNyL3NoYXJlL2xtb2QvbG1vZC9tb2R1bGVmaWxlcy9Db3JlIiwgIi9iYXNrL2FwcHMvc3lzdGVtL21vZHVsZXMiLAp9LApzeXN0ZW1CYXNl
>     BASK_CPU=icelake
>     LESSOPEN=||/usr/bin/lesspipe.sh %s
>     LMOD_DIR=/usr/share/lmod/lmod/libexec
>     BASH_FUNC_which%%=() {  ( alias;
>      eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
>     }
>     BASH_FUNC_module%%=() {  if [ -z "${LMOD_SH_DBG_ON+x}" ]; then
>      case "$-" in 
>      *v*x*)
>      __lmod_sh_dbg='vx'
>      ;;
>      *v*)
>      __lmod_sh_dbg='v'
>      ;;
>      *x*)
>      __lmod_sh_dbg='x'
>      ;;
>      esac;
>      fi;
>      if [ -n "${__lmod_sh_dbg:-}" ]; then
>      set +$__lmod_sh_dbg;
>      echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2;
>      fi;
>      eval "$($LMOD_CMD shell "$@")" && eval "$(${LMOD_SETTARG_CMD:-:} -s sh)";
>      __lmod_my_status=$?;
>      if [ -n "${__lmod_sh_dbg:-}" ]; then
>      echo "Shell debugging restarted" 1>&2;
>      set -$__lmod_sh_dbg;
>      fi;
>      unset __lmod_sh_dbg;
>      return $__lmod_my_status
>     }
>     BASH_FUNC_ml%%=() {  eval "$($LMOD_DIR/ml_cmd "$@")"
>     }
>     _=/usr/bin/printenv
[19:55:43.542] > Removing old logfile at /bask/homes/c/cxx075/.vscode-server/.cli.1a5daa3a0231a0fbba4f14db7ec463cf99d7768e.log
> Spawned remote CLI: 1240030
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> f16f6ff3f77d: start
> SSH_AUTH_SOCK====
> DISPLAY====
> listeningOn==127.0.0.1:35257==
> osReleaseId==rhel==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/tmp==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==132==
> execServerToken==966d5e0cf57d==
> f16f6ff3f77d: end
[19:55:43.543] Received install output: 
SSH_AUTH_SOCK====
DISPLAY====
listeningOn==127.0.0.1:35257==
osReleaseId==rhel==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/tmp==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==132==
execServerToken==966d5e0cf57d==

[19:55:43.544] Remote server is listening on port 35257
[19:55:43.544] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":35257},"osReleaseId":"rhel","arch":"x86_64","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","execServerToken":"966d5e0cf57d"},"serverStartTime":132,"installUnpackCode":""}
[19:55:43.546] Persisting server connection details to /Users/cg/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-e8e8a143-1a5daa3a0231a0fbba4f14db7ec463cf99d7768e-0.107.0-es/data.json
[19:55:43.548] Starting forwarding server. local port 62284 -> socksPort 62282 -> remotePort 35257
[19:55:43.548] Forwarding server listening on port 62284
[19:55:43.549] Waiting for ssh tunnel to be ready
[19:55:43.550] [Forwarding server port 62284] Got connection 0
[19:55:43.550] Tunneled port 35257 to local port 62284
[19:55:43.551] Resolved "ssh-remote+7b22686f73744e616d65223a22426e6f64652d31227d" to "port 62284"
[19:55:43.555] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a22426e6f64652d31227d
[19:55:43.555] Resolving exec server at port 62284
[19:55:43.567] [Forwarding server port 62284] Got connection 1
[19:55:43.645] Exec server for ssh-remote+7b22686f73744e616d65223a22426e6f64652d31227d created and cached
[19:55:43.646] TELEMETRY: {"eventName":"resolver","properties":{"osReleaseId":"rhel","arch":"x86_64","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"1","didLocalDownload":"0","installUnpackCode":"0","outcome":"success"},"measures":{"resolveAttempts":1,"retries":1,"isExecServer":1,"timing.totalResolveTime":16246,"timing.preSshTime":24,"timing.establishSshTime":14986,"timing.scriptTime":16120,"timing.serverStartTime":132}}
[19:55:43.648] ------




[19:55:43.659] [server] Checking /bask/homes/c/cxx075/.vscode-server/cli/servers/Stable-1a5daa3a0231a0fbba4f14db7ec463cf99d7768e/log.txt and /bask/homes/c/cxx075/.vscode-server/cli/servers/Stable-1a5daa3a0231a0fbba4f14db7ec463cf99d7768e/pid.txt for a running server...
[19:55:43.700] [server] Found running server (pid=600695)
[19:56:12.350] TELEMETRY: {"eventName":"extraInfo","properties":{"remoteCloud":""},"measures":{}}

Anything else?

No response

Xiao-Chenguang avatar Nov 18 '23 20:11 Xiao-Chenguang

same issue here

torelax avatar Nov 22 '23 08:11 torelax

Merging into the new issue https://github.com/microsoft/vscode-remote-release/issues/9312

roblourens avatar Dec 30 '23 20:12 roblourens