Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell server terminated (code: 137, signal: null) #10595

Open
6 tasks done
francoism90 opened this issue Dec 26, 2024 · 2 comments
Open
6 tasks done

Shell server terminated (code: 137, signal: null) #10595

francoism90 opened this issue Dec 26, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers podman Dev Container using Podman

Comments

@francoism90
Copy link

Is there an existing issue for this bug?

  • I have searched the existing open issues and found none that apply.
  • If I find any issue of interest that is related or closed, I will included a link to it in this issue.

Required Troubleshooting Steps

  • I have read and performed the troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting
  • My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
  • I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar

[Optional] Diagnose with Copilot

I did not ask the @remote-ssh participant for help

In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?

I did not try step 2 of the troubleshooting steps

Remote-SSH Log

Remote-SSH Log

[2024-12-26T23:22:13.388Z] Start: Resolving Remote
[2024-12-26T23:22:13.388Z] Dev Containers 0.394.0 over Remote - SSH 0.117.2024121915 in VS Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f).
[2024-12-26T23:22:13.460Z] Start: Loading environment from ExecServer
[2024-12-26T23:22:13.473Z] Stop (13 ms): Loading environment from ExecServer
[2024-12-26T23:22:13.473Z] Host OS: linux 6.12.6-200.fc41.x86_64
[2024-12-26T23:22:13.474Z] Host CWD: /var/home/francois/Code/streamer
[2024-12-26T23:22:13.475Z] Start: Run: /bin/sh 
[2024-12-26T23:22:13.500Z] Start: Run in host: echo ~
[2024-12-26T23:22:13.551Z] /var/home/francois
[2024-12-26T23:22:13.551Z] 
[2024-12-26T23:22:13.552Z] Stop (52 ms): Run in host: echo ~
[2024-12-26T23:22:13.552Z] Start: Run in host: id -un
[2024-12-26T23:22:13.601Z] francois
[2024-12-26T23:22:13.602Z] 
[2024-12-26T23:22:13.603Z] Stop (51 ms): Run in host: id -un
[2024-12-26T23:22:13.604Z] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'francois' || grep -E '^francois|^[^:]*:[^:]*:francois:' /etc/passwd || true)
[2024-12-26T23:22:13.665Z] Stop (61 ms): Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'francois' || grep -E '^francois|^[^:]*:[^:]*:francois:' /etc/passwd || true)
[2024-12-26T23:22:13.670Z] userEnvProbe: loginInteractiveShell (default)
[2024-12-26T23:22:13.674Z] userEnvProbe: not found in cache
[2024-12-26T23:22:13.677Z] userEnvProbe shell: /bin/fish
[2024-12-26T23:22:13.755Z] userEnvProbe PATHs:
Probe:     '/var/home/francois/.local/bin:/var/home/francois/.config/yarn/global/node_modules/.bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin'
Container: None
[2024-12-26T23:22:13.774Z] Setting up container for folder or workspace: /var/home/francois/Code/streamer
[2024-12-26T23:22:13.775Z] Host authority: ssh-remote+desktop.lan
[2024-12-26T23:22:13.888Z] Start: Check Docker is running
[2024-12-26T23:22:13.889Z] Start: Run: podman version
[2024-12-26T23:22:13.955Z] Client:       Podman Engine
Version:      5.3.1
API Version:  5.3.1
Go Version:   go1.23.3
Built:        Thu Nov 21 01:00:00 2024
OS/Arch:      linux/amd64
[2024-12-26T23:22:13.956Z] Stop (67 ms): Run: podman version
[2024-12-26T23:22:13.956Z] Stop (68 ms): Check Docker is running
[2024-12-26T23:22:13.959Z] Start: Run: podman volume ls -q
[2024-12-26T23:22:14.036Z] Stop (77 ms): Run: podman volume ls -q
[2024-12-26T23:22:14.037Z] Start: Run: podman ps -q -a --filter label=vsch.local.folder=/var/home/francois/Code/streamer --filter label=vsch.quality=stable
[2024-12-26T23:22:14.113Z] Stop (76 ms): Run: podman ps -q -a --filter label=vsch.local.folder=/var/home/francois/Code/streamer --filter label=vsch.quality=stable
[2024-12-26T23:22:14.115Z] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=/var/home/francois/Code/streamer --filter label=devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json
[2024-12-26T23:22:14.187Z] Stop (72 ms): Run: podman ps -q -a --filter label=devcontainer.local_folder=/var/home/francois/Code/streamer --filter label=devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json
[2024-12-26T23:22:14.189Z] Start: Run: podman inspect --type container 8538b370763d
[2024-12-26T23:22:14.274Z] Stop (85 ms): Run: podman inspect --type container 8538b370763d
[2024-12-26T23:22:14.279Z] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=/var/home/francois/Code/streamer
[2024-12-26T23:22:14.354Z] Stop (75 ms): Run: podman ps -q -a --filter label=devcontainer.local_folder=/var/home/francois/Code/streamer
[2024-12-26T23:22:14.355Z] Start: Run: podman inspect --type container 8538b370763d
[2024-12-26T23:22:14.433Z] Stop (78 ms): Run: podman inspect --type container 8538b370763d
[2024-12-26T23:22:14.436Z] Start: Run: podman exec -i -u root 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7 /bin/sh -c echo "Container already running. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195 ; /bin/sh
[2024-12-26T23:22:14.441Z] Running Dev Containers CLI:   up --docker-path podman --docker-compose-path podman compose --container-session-data-folder /tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195 --workspace-folder /var/home/francois/Code/streamer --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=/var/home/francois/Code/streamer --id-label devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json --log-level debug --log-format json --config /var/home/francois/Code/streamer/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[2024-12-26T23:22:14.444Z] Start: Checking for Dev Containers CLI
[2024-12-26T23:22:14.469Z] Stop (25 ms): Checking for Dev Containers CLI
[2024-12-26T23:22:14.495Z] Start: Run: /var/home/francois/.vscode-server/cli/servers/Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f/server/node /var/home/francois/.vscode-remote-containers/dist/dev-containers-cli-0.394.0/dist/spec-node/devContainersSpecCLI.js up --docker-path podman --docker-compose-path podman compose --container-session-data-folder /tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195 --workspace-folder /var/home/francois/Code/streamer --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=/var/home/francois/Code/streamer --id-label devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json --log-level debug --log-format json --config /var/home/francois/Code/streamer/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[2024-12-26T23:22:14.569Z] Container already running. Keep-alive process started.
[2024-12-26T23:22:14.911Z] @devcontainers/cli 0.72.0. Node.js v20.18.1. linux 6.12.6-200.fc41.x86_64 x64.
[2024-12-26T23:22:14.911Z] Start: Run: podman buildx version
[2024-12-26T23:22:14.981Z] Stop (70 ms): Run: podman buildx version
[2024-12-26T23:22:14.982Z] buildah 1.38.0
[2024-12-26T23:22:14.982Z] 
[2024-12-26T23:22:14.982Z] Start: Run: podman -v
[2024-12-26T23:22:15.001Z] Stop (19 ms): Run: podman -v
[2024-12-26T23:22:15.001Z] Start: Resolving Remote
[2024-12-26T23:22:15.003Z] Start: Run: git rev-parse --show-cdup
[2024-12-26T23:22:15.006Z] Stop (3 ms): Run: git rev-parse --show-cdup
[2024-12-26T23:22:15.008Z] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=/var/home/francois/Code/streamer --filter label=devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json
[2024-12-26T23:22:15.056Z] Stop (48 ms): Run: podman ps -q -a --filter label=devcontainer.local_folder=/var/home/francois/Code/streamer --filter label=devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json
[2024-12-26T23:22:15.056Z] Start: Run: podman inspect --type container 8538b370763d
[2024-12-26T23:22:15.111Z] Stop (55 ms): Run: podman inspect --type container 8538b370763d
[2024-12-26T23:22:15.113Z] Start: Inspecting container
[2024-12-26T23:22:15.113Z] Start: Run: podman inspect --type container 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7
[2024-12-26T23:22:15.162Z] Stop (49 ms): Run: podman inspect --type container 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7
[2024-12-26T23:22:15.162Z] Stop (49 ms): Inspecting container
[2024-12-26T23:22:15.162Z] Start: Run in container: /bin/sh
[2024-12-26T23:22:15.164Z] Start: Run in container: uname -m
[2024-12-26T23:22:15.239Z] x86_64
[2024-12-26T23:22:15.240Z] 
[2024-12-26T23:22:15.240Z] Stop (76 ms): Run in container: uname -m
[2024-12-26T23:22:15.240Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-12-26T23:22:15.241Z] NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.21.0
PRETTY_NAME="Alpine Linux v3.21"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
[2024-12-26T23:22:15.241Z] 
[2024-12-26T23:22:15.241Z] Stop (1 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-12-26T23:22:15.241Z] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-12-26T23:22:15.242Z] Stop (1 ms): Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-12-26T23:22:15.242Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-12-26T23:22:15.243Z] 
[2024-12-26T23:22:15.243Z] 
[2024-12-26T23:22:15.243Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-12-26T23:22:15.243Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-12-26T23:22:15.243Z] 
[2024-12-26T23:22:15.243Z] 
[2024-12-26T23:22:15.243Z] Stop (0 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-12-26T23:22:15.243Z] Stop (242 ms): Resolving Remote
[2024-12-26T23:22:15.065Z] Stop (570 ms): Run: /var/home/francois/.vscode-server/cli/servers/Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f/server/node /var/home/francois/.vscode-remote-containers/dist/dev-containers-cli-0.394.0/dist/spec-node/devContainersSpecCLI.js up --docker-path podman --docker-compose-path podman compose --container-session-data-folder /tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195 --workspace-folder /var/home/francois/Code/streamer --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=/var/home/francois/Code/streamer --id-label devcontainer.config_file=/var/home/francois/Code/streamer/.devcontainer/devcontainer.json --log-level debug --log-format json --config /var/home/francois/Code/streamer/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[2024-12-26T23:22:15.068Z] Start: Run: podman inspect --type container 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7
[2024-12-26T23:22:15.138Z] Stop (70 ms): Run: podman inspect --type container 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7
[2024-12-26T23:22:15.142Z] Start: Inspecting container
[2024-12-26T23:22:15.142Z] Start: Run: podman inspect --type container 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7
[2024-12-26T23:22:15.219Z] Stop (77 ms): Run: podman inspect --type container 8538b370763d359de18240d19d2129e416a7daa1536cb34ed95db48edd449da7
[2024-12-26T23:22:15.220Z] Stop (78 ms): Inspecting container
[2024-12-26T23:22:15.235Z] Start: Run in container: /bin/sh
[2024-12-26T23:22:15.258Z] Start: Run in container: uname -m
[2024-12-26T23:22:15.391Z] x86_64
[2024-12-26T23:22:15.392Z] 
[2024-12-26T23:22:15.392Z] Stop (134 ms): Run in container: uname -m
[2024-12-26T23:22:15.393Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-12-26T23:22:15.444Z] NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.21.0
PRETTY_NAME="Alpine Linux v3.21"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
[2024-12-26T23:22:15.445Z] 
[2024-12-26T23:22:15.445Z] Stop (52 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-12-26T23:22:15.446Z] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-12-26T23:22:15.500Z] Stop (54 ms): Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-12-26T23:22:15.510Z] Start: Setup shutdown monitor
[2024-12-26T23:22:15.517Z] Forking shutdown monitor: /home/francois/.vscode/extensions/ms-vscode-remote.remote-containers-0.394.0/dist/shutdown/shutdownMonitorProcess /run/user/1000/vscode-remote-containers-102a3a2e-eea7-472d-931c-325bb12d79ff.sock singleContainer Debug /home/francois/.config/Code/logs/20241227T002204/window1/exthost/ms-vscode-remote.remote-containers 1735255330254
[2024-12-26T23:22:15.558Z] Stop (48 ms): Setup shutdown monitor
[2024-12-26T23:22:15.560Z] Start: Run in container: test -d '/home/vscode/.vscode-server'
[2024-12-26T23:22:15.600Z] 
[2024-12-26T23:22:15.601Z] 
[2024-12-26T23:22:15.601Z] Stop (41 ms): Run in container: test -d '/home/vscode/.vscode-server'
[2024-12-26T23:22:15.602Z] Start: Run in container: test ! -f '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/vscode/.vscode-server/data/Machine' && { > '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2024-12-26T23:22:15.663Z] 
[2024-12-26T23:22:15.664Z] 
[2024-12-26T23:22:15.666Z] Exit code 1
[2024-12-26T23:22:15.667Z] Stop (65 ms): Run in container: test ! -f '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/vscode/.vscode-server/data/Machine' && { > '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2024-12-26T23:22:15.668Z] Start: Run in container: cat /home/vscode/.vscode-server/data/Machine/settings.json
[2024-12-26T23:22:15.730Z] 
[2024-12-26T23:22:15.731Z] cat: /home/vscode/.vscode-server/data/Machine/settings.json: No such file or directory
[2024-12-26T23:22:15.732Z] Exit code 1
[2024-12-26T23:22:15.734Z] Stop (66 ms): Run in container: cat /home/vscode/.vscode-server/data/Machine/settings.json
[2024-12-26T23:22:15.739Z] 
Support for Alpine Linux is in preview.

[2024-12-26T23:22:15.741Z] Start: Run in container: test -d '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f'
[2024-12-26T23:22:15.797Z] 
[2024-12-26T23:22:15.799Z] 
[2024-12-26T23:22:15.802Z] Stop (61 ms): Run in container: test -d '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f'
[2024-12-26T23:22:15.805Z] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-alpine/fabdb6a30b49f79a7aba0f2ad9df9b399473380f'
[2024-12-26T23:22:15.865Z] 
[2024-12-26T23:22:15.867Z] 
[2024-12-26T23:22:15.869Z] Stop (64 ms): Run in container: test -d '/vscode/vscode-server/bin/linux-alpine/fabdb6a30b49f79a7aba0f2ad9df9b399473380f'
[2024-12-26T23:22:15.874Z] Start: Run in container: /bin/sh
[2024-12-26T23:22:15.877Z] Start: Run in container: test -x '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/bin/helpers/check-requirements.sh'
[2024-12-26T23:22:15.926Z] 
[2024-12-26T23:22:15.928Z] 
[2024-12-26T23:22:15.929Z] Stop (52 ms): Run in container: test -x '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/bin/helpers/check-requirements.sh'
[2024-12-26T23:22:15.930Z] Start: Run in container: '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/bin/helpers/check-requirements.sh'
[2024-12-26T23:22:15.946Z] Start: Run in container: touch '/vscode/vscode-server/bin/linux-alpine/fabdb6a30b49f79a7aba0f2ad9df9b399473380f'
[2024-12-26T23:22:15.963Z] Warning: alpine distro detected, skipping GLIBCXX check
[2024-12-26T23:22:15.964Z] 
[2024-12-26T23:22:15.965Z] Stop (35 ms): Run in container: '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/bin/helpers/check-requirements.sh'
[2024-12-26T23:22:15.968Z] Start: Launching Dev Containers helper.
[2024-12-26T23:22:15.976Z] ssh-agent: SSH_AUTH_SOCK not set on remote host.
[2024-12-26T23:22:15.978Z] ssh-agent: SSH_AUTH_SOCK not set on local host.
[2024-12-26T23:22:15.980Z] X11 forwarding: DISPLAY not set on remote host.
[2024-12-26T23:22:15.983Z] Start: Run in container: test -e /tmp/.X11-unix/X0
[2024-12-26T23:22:16.013Z] 
[2024-12-26T23:22:16.013Z] 
[2024-12-26T23:22:16.013Z] Stop (30 ms): Run in container: test -e /tmp/.X11-unix/X0
[2024-12-26T23:22:16.014Z] Start: Run in container: test -e /tmp/.X11-unix/X1
[2024-12-26T23:22:16.015Z] 
[2024-12-26T23:22:16.015Z] 
[2024-12-26T23:22:16.015Z] Stop (69 ms): Run in container: touch '/vscode/vscode-server/bin/linux-alpine/fabdb6a30b49f79a7aba0f2ad9df9b399473380f'
[2024-12-26T23:22:16.066Z] 
[2024-12-26T23:22:16.066Z] 
[2024-12-26T23:22:16.067Z] Exit code 1
[2024-12-26T23:22:16.067Z] Stop (53 ms): Run in container: test -e /tmp/.X11-unix/X1
[2024-12-26T23:22:16.068Z] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[2024-12-26T23:22:16.120Z] 
[2024-12-26T23:22:16.120Z] 
[2024-12-26T23:22:16.121Z] Stop (53 ms): Run in container: mkdir -p '/tmp/.X11-unix'
[2024-12-26T23:22:16.121Z] X11 forwarding: DISPLAY in container (:1) forwarded to local host (:0).
[2024-12-26T23:22:16.122Z] Start: Run in container: gpgconf --list-dirs
[2024-12-26T23:22:16.171Z] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/libexec
libdir:/usr/lib/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/home/vscode/.gnupg
dirmngr-socket:/home/vscode/.gnupg/S.dirmngr
keyboxd-socket:/home/vscode/.gnupg/S.keyboxd
agent-ssh-socket:/home/vscode/.gnupg/S.gpg-agent.ssh
agent-extra-socket:/home/vscode/.gnupg/S.gpg-agent.extra
agent-browser-socket:/home/vscode/.gnupg/S.gpg-agent.browser
agent-socket:/home/vscode/.gnupg/S.gpg-agent
homedir:/home/vscode/.gnupg
[2024-12-26T23:22:16.171Z] 
[2024-12-26T23:22:16.172Z] Stop (50 ms): Run in container: gpgconf --list-dirs
[2024-12-26T23:22:16.172Z] Start: Run in container: ls '/home/vscode/.gnupg/private-keys-v1.d' 2>/dev/null
[2024-12-26T23:22:16.231Z] 
[2024-12-26T23:22:16.235Z] 
[2024-12-26T23:22:16.238Z] Exit code 2
[2024-12-26T23:22:16.239Z] Stop (67 ms): Run in container: ls '/home/vscode/.gnupg/private-keys-v1.d' 2>/dev/null
[2024-12-26T23:22:16.241Z] Start: Run in container: grep -e '^s*use-keyboxds*$' '/home/vscode/.gnupg/common.conf' 2>/dev/null
[2024-12-26T23:22:16.303Z] 
[2024-12-26T23:22:16.305Z] 
[2024-12-26T23:22:16.307Z] Exit code 2
[2024-12-26T23:22:16.307Z] Stop (66 ms): Run in container: grep -e '^s*use-keyboxds*$' '/home/vscode/.gnupg/common.conf' 2>/dev/null
[2024-12-26T23:22:16.311Z] Start: Run: gpgconf --list-dirs
[2024-12-26T23:22:16.390Z] Stop (79 ms): Run: gpgconf --list-dirs
[2024-12-26T23:22:16.391Z] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/libexec
libdir:/usr/lib64/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/run/user/1000/gnupg
dirmngr-socket:/run/user/1000/gnupg/S.dirmngr
keyboxd-socket:/run/user/1000/gnupg/S.keyboxd
agent-ssh-socket:/run/user/1000/gnupg/S.gpg-agent.ssh
agent-extra-socket:/run/user/1000/gnupg/S.gpg-agent.extra
agent-browser-socket:/run/user/1000/gnupg/S.gpg-agent.browser
agent-socket:/run/user/1000/gnupg/S.gpg-agent
homedir:/var/home/francois/.gnupg
[2024-12-26T23:22:16.393Z] 
[2024-12-26T23:22:16.456Z] Start: Run in container: test -f '/home/vscode/.gnupg/pubring.kbx'
[2024-12-26T23:22:16.509Z] 
[2024-12-26T23:22:16.511Z] 
[2024-12-26T23:22:16.512Z] Stop (56 ms): Run in container: test -f '/home/vscode/.gnupg/pubring.kbx'
[2024-12-26T23:22:16.515Z] GPG forwarding: /home/vscode/.gnupg/pubring.kbx exists in container.
[2024-12-26T23:22:16.518Z] Start: Run in container: test -f '/home/vscode/.gnupg/pubring.gpg'
[2024-12-26T23:22:16.574Z] 
[2024-12-26T23:22:16.576Z] 
[2024-12-26T23:22:16.577Z] Stop (59 ms): Run in container: test -f '/home/vscode/.gnupg/pubring.gpg'
[2024-12-26T23:22:16.578Z] GPG forwarding: /home/vscode/.gnupg/pubring.gpg exists in container.
[2024-12-26T23:22:16.580Z] Start: Run in container: test -f '/home/vscode/.gnupg/trustdb.gpg'
[2024-12-26T23:22:16.640Z] 
[2024-12-26T23:22:16.642Z] 
[2024-12-26T23:22:16.643Z] Stop (63 ms): Run in container: test -f '/home/vscode/.gnupg/trustdb.gpg'
[2024-12-26T23:22:16.644Z] GPG forwarding: /home/vscode/.gnupg/trustdb.gpg exists in container.
[2024-12-26T23:22:16.645Z] Start: Run in container: mkdir -p -m 700 '/home/vscode/.gnupg'
[2024-12-26T23:22:16.649Z] gpg-agent: Socket in container (/home/vscode/.gnupg/S.gpg-agent) forwarded to remote host (/run/user/1000/gnupg/S.gpg-agent.extra).
[2024-12-26T23:22:16.710Z] 
[2024-12-26T23:22:16.711Z] 
[2024-12-26T23:22:16.713Z] Stop (68 ms): Run in container: mkdir -p -m 700 '/home/vscode/.gnupg'
[2024-12-26T23:22:16.715Z] Start: Run in container: (command -v 'docker' || command -v 'oras' || command -v 'skopeo') >/dev/null 2>&1
[2024-12-26T23:22:16.718Z] Start: Run: gpg-connect-agent updatestartuptty /bye
[2024-12-26T23:22:16.741Z] 
[2024-12-26T23:22:16.743Z] 
[2024-12-26T23:22:16.745Z] Exit code 127
[2024-12-26T23:22:16.747Z] Stop (32 ms): Run in container: (command -v 'docker' || command -v 'oras' || command -v 'skopeo') >/dev/null 2>&1
[2024-12-26T23:22:16.754Z] Start: Run in container: /bin/sh
[2024-12-26T23:22:16.757Z] Stop (789 ms): Launching Dev Containers helper.
[2024-12-26T23:22:16.758Z] userEnvProbe: loginInteractiveShell (default)
[2024-12-26T23:22:16.761Z] Start: Run in container: test -f '/tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195/env-loginInteractiveShell.json'
[2024-12-26T23:22:16.801Z] 
[2024-12-26T23:22:16.803Z] 
[2024-12-26T23:22:16.803Z] Exit code 1
[2024-12-26T23:22:16.804Z] Stop (43 ms): Run in container: test -f '/tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195/env-loginInteractiveShell.json'
[2024-12-26T23:22:16.805Z] userEnvProbe: not found in cache
[2024-12-26T23:22:16.807Z] userEnvProbe shell: /bin/zsh
[2024-12-26T23:22:16.823Z] Stop (105 ms): Run: gpg-connect-agent updatestartuptty /bye
[2024-12-26T23:22:16.832Z] Start: Run in container: echo ~
[2024-12-26T23:22:16.848Z] Start: Run in container: # Test for /home/vscode/.ssh/known_hosts and ssh
[2024-12-26T23:22:16.903Z] /home/vscode/.ssh/known_hosts exists
[2024-12-26T23:22:16.905Z] 
[2024-12-26T23:22:16.906Z] Exit code 1
[2024-12-26T23:22:16.907Z] Stop (59 ms): Run in container: # Test for /home/vscode/.ssh/known_hosts and ssh
[2024-12-26T23:22:16.908Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/node /tmp/vscode-remote-containers-e5a252b8-a037-4ea1-83a0-9089129a0d21.js git-credential-helper $*; }; f' || true
[2024-12-26T23:22:16.917Z] /home/vscode
[2024-12-26T23:22:16.919Z] 
[2024-12-26T23:22:16.919Z] Stop (87 ms): Run in container: echo ~
[2024-12-26T23:22:16.920Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-e5a252b8-a037-4ea1-83a0-9089129a0d21.js' >/tmp/vscode-remote-containers-e5a252b8-a037-4ea1-83a0-9089129a0d21.js
[2024-12-26T23:22:16.967Z] 
[2024-12-26T23:22:16.969Z] 
[2024-12-26T23:22:16.970Z] Stop (62 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/node /tmp/vscode-remote-containers-e5a252b8-a037-4ea1-83a0-9089129a0d21.js git-credential-helper $*; }; f' || true
[2024-12-26T23:22:16.988Z] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
[2024-12-26T23:22:16.994Z] 
[2024-12-26T23:22:16.995Z] 
[2024-12-26T23:22:16.998Z] Stop (78 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-e5a252b8-a037-4ea1-83a0-9089129a0d21.js' >/tmp/vscode-remote-containers-e5a252b8-a037-4ea1-83a0-9089129a0d21.js
[2024-12-26T23:22:16.999Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-e5a252b8-a037-4ea1-83a0-9089129a0d21.js' >/tmp/vscode-remote-containers-server-e5a252b8-a037-4ea1-83a0-9089129a0d21.js_1735255336999
[2024-12-26T23:22:17.070Z] 
[2024-12-26T23:22:17.072Z] 
[2024-12-26T23:22:17.073Z] Stop (74 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-e5a252b8-a037-4ea1-83a0-9089129a0d21.js' >/tmp/vscode-remote-containers-server-e5a252b8-a037-4ea1-83a0-9089129a0d21.js_1735255336999
[2024-12-26T23:22:17.154Z] Stop (166 ms): Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
[2024-12-26T23:22:17.157Z] Start: Run in container: cat '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/product.json'
[2024-12-26T23:22:17.218Z] Stop (61 ms): Run in container: cat '/home/vscode/.vscode-server/bin/fabdb6a30b49f79a7aba0f2ad9df9b399473380f/product.json'
[2024-12-26T23:22:17.225Z] Terminating old extension host agent.
[2024-12-26T23:22:17.228Z] Start: Run in container: kill -9 -0
[2024-12-26T23:22:17.299Z] Stop (2064 ms): Run in container: /bin/sh
[2024-12-26T23:22:17.300Z] Start: Run in container: cat '/home/vscode/.vscode-server/data/Machine/.connection-token-fabdb6a30b49f79a7aba0f2ad9df9b399473380f' 2>/dev/null || (umask 377 && echo '65f30285-8df2-4d49-8da7-c775a9221899' >'/home/vscode/.vscode-server/data/Machine/.connection-token-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-69ad46ab-eac1-4abb-bbd3-82b70f32b1c3' && mv -n '/home/vscode/.vscode-server/data/Machine/.connection-token-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-69ad46ab-eac1-4abb-bbd3-82b70f32b1c3' '/home/vscode/.vscode-server/data/Machine/.connection-token-fabdb6a30b49f79a7aba0f2ad9df9b399473380f' && rm -f '/home/vscode/.vscode-server/data/Machine/.connection-token-fabdb6a30b49f79a7aba0f2ad9df9b399473380f-69ad46ab-eac1-4abb-bbd3-82b70f32b1c3' && cat '/home/vscode/.vscode-server/data/Machine/.connection-token-fabdb6a30b49f79a7aba0f2ad9df9b399473380f')
[2024-12-26T23:22:17.309Z] Shell server terminated (code: 137, signal: null)


[2024-12-26T23:22:17.312Z] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin'
Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[2024-12-26T23:22:17.313Z] Start: Run in container: mkdir -p '/tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195' && cat > '/tmp/devcontainers-28f73cfc-cb89-4a63-95f3-054c8d93adac1735255326195/env-loginInteractiveShell.json' << 'envJSON'
[2024-12-26T23:22:17.314Z] Failed to cache user env: Shell server terminated (code: 137, signal: null)

[2024-12-26T23:22:17.315Z] Start: Run in container: umask 077 && XRD="/tmp/user/$(id -u)" && mkdir -p $XRD && echo $XRD

Expected Behavior

Working with Podman Remote.

I'm connected over SSH, which works fine, but actually connecting to the devcontainer remotely doesn't work.

Actual Behavior

Work, do not build devcontainer on client.

Steps To Reproduce

  1. Server - Podman 5.3.1
  2. Devcontainer works on server
  3. Connect from host to server over SSH (works)
  4. Connect to devcontainer (reopen in devcontainer - see error)

Anything else?

I tried multiple things, could this be a shell issue?

@francoism90 francoism90 added the ssh Issue in vscode-remote SSH label Dec 26, 2024
@francoism90
Copy link
Author

Hmm, could the issue be this image is built on x86_64, and I'm connecting over a Chromebook running arm64?

@joshspicer
Copy link
Member

I'm connected over SSH, which works fine, but actually connecting to the devcontainer remotely doesn't work.

I will redirect this to the right folks for dev container support. Have you seen https://code.visualstudio.com/remote/advancedcontainers/docker-options#_podman?

@joshspicer joshspicer added containers Issue in vscode-remote containers and removed ssh Issue in vscode-remote SSH labels Jan 6, 2025
@joshspicer joshspicer assigned chrmarti and unassigned joshspicer Jan 6, 2025
@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug podman Dev Container using Podman labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers podman Dev Container using Podman
Projects
None yet
Development

No branches or pull requests

3 participants