microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.63k stars 282 forks source link

Devcontainer startup error in aarch64: Container server: /bin/sh: 32: /root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node: not found #10284

Open nicolasj92 opened 1 week ago

nicolasj92 commented 1 week ago

I am using a vscode devcontainer on an aarch64 NVIDIA AGX device running ubuntu 20.04. The host device is accessed using vscode remote and from there I want to launch a devcontainer. The container that I am trying to run is based on arm64v8/ubuntu:20.04. This setup worked fine for a few months but now I get the error shown in the logs without apparent changes on my side: Devcontainer startup error in aarch64: Container server: /bin/sh: 32: /root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node: not found

It seems to not depend on the container image as I tried both my custom container image as well as just the base arm64v8/ubuntu:20.04 image

Steps to Reproduce:

  1. Rebuild or start the devcontainer on the given device

Does this issue occur when you try this locally?: Yes/No Does this issue occur when you try this locally and all extensions are disabled?: Yes/No Not testable locally

PanTheDev commented 1 week ago

Just started getting this issue. Container was working fine for my whole team for weeks, not we all get this error.

RaphaelMelanconAtBentley commented 1 week ago

Same here...

lpasselin commented 1 week ago

We have the exact same issue, right after manually removing containers and volumes, this started appearing.

RaphaelMelanconAtBentley commented 1 week ago

And I just noticed, it the exact same file, .vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node

nicolasj92 commented 5 days ago

What makes it even stranger is that if I start a container manually on that host I can attach to it using the vscode docker plugin without problems which at least with my limited knowledge I would expect to be very similar to how the devcontainer works.

nicolasj92 commented 5 days ago

There is a working node executable there in that case .vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node*. So it has to be connected to the devcontainer plugin.

chrmarti commented 5 days ago

Please append the full Dev Containers log from when this happens. (F1 > Dev Containers: Show Container Log)

nicolasj92 commented 5 days ago

@chrmarti

[2024-09-25T08:26:29.371Z] Dev Containers 0.369.0 over Remote - SSH 0.115.2024092415 in VS Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40).
[2024-09-25T08:26:29.371Z] Start: Resolving Remote
[2024-09-25T08:26:29.390Z] Start: Loading environment from ExecServer
[2024-09-25T08:26:29.506Z] Stop (116 ms): Loading environment from ExecServer
[2024-09-25T08:26:29.507Z] Host OS: linux 5.15.116-rt-tegra
[2024-09-25T08:26:29.507Z] Host CWD: /home/companyname/workspace/reponame
[2024-09-25T08:26:29.507Z] Start: Run: /bin/sh 
[2024-09-25T08:26:29.737Z] Start: Run in host: echo ~
[2024-09-25T08:26:29.962Z] /home/companyname
[2024-09-25T08:26:29.963Z] 
[2024-09-25T08:26:29.963Z] Stop (226 ms): Run in host: echo ~
[2024-09-25T08:26:29.963Z] Start: Run in host: id -un
[2024-09-25T08:26:30.190Z] companyname
[2024-09-25T08:26:30.190Z] 
[2024-09-25T08:26:30.191Z] Stop (228 ms): Run in host: id -un
[2024-09-25T08:26:30.191Z] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'companyname' || grep -E '^companyname|^[^:]*:[^:]*:companyname:' /etc/passwd || true)
[2024-09-25T08:26:30.416Z] Stop (225 ms): Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'companyname' || grep -E '^companyname|^[^:]*:[^:]*:companyname:' /etc/passwd || true)
[2024-09-25T08:26:30.417Z] userEnvProbe: loginInteractiveShell (default)
[2024-09-25T08:26:30.417Z] userEnvProbe: not found in cache
[2024-09-25T08:26:30.418Z] userEnvProbe shell: /bin/bash
[2024-09-25T08:26:30.759Z] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
Container: None
[2024-09-25T08:26:30.988Z] Setting up container for folder or workspace: /home/companyname/workspace/reponame
[2024-09-25T08:26:30.989Z] Host authority: ssh-remote+hil05
[2024-09-25T08:26:31.214Z] Start: Check Docker is running
[2024-09-25T08:26:31.215Z] Start: Run: docker version
[2024-09-25T08:26:31.466Z] Client:
[2024-09-25T08:26:31.466Z]  Version:           24.0.7
 API version:       1.43
 Go version:        go1.21.1
 Git commit:        24.0.7-0ubuntu2~20.04.1
 Built:             Wed Mar 13 20:29:24 2024
 OS/Arch:           linux/arm64
 Context:        
[2024-09-25T08:26:31.466Z]    default

Server:
[2024-09-25T08:26:31.466Z]  Engine:
[2024-09-25T08:26:31.466Z]   Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
[2024-09-25T08:26:31.466Z]   Go version:       go1.21.1
  Git commit:       24.0.7-0ubuntu2~20.04.1
  Built:            Wed Mar 13 20:29:24 2024
[2024-09-25T08:26:31.551Z] 
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
[2024-09-25T08:26:31.551Z]   Version:          1.7.12
  GitCommit:        
 runc:
[2024-09-25T08:26:31.551Z]   Version:          1.1.12-0ubuntu2~20.04.1
  GitCommit:        
 docker-init:
[2024-09-25T08:26:31.551Z] 
  Version:          0.19.0
  GitCommit:
[2024-09-25T08:26:31.551Z]         
[2024-09-25T08:26:31.552Z] Stop (337 ms): Run: docker version
[2024-09-25T08:26:31.552Z] Stop (338 ms): Check Docker is running
[2024-09-25T08:26:31.553Z] Start: Run: docker volume ls -q
[2024-09-25T08:26:31.887Z] Stop (334 ms): Run: docker volume ls -q
[2024-09-25T08:26:31.888Z] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/home/companyname/workspace/reponame --filter label=vsch.quality=stable
[2024-09-25T08:26:32.224Z] Stop (336 ms): Run: docker ps -q -a --filter label=vsch.local.folder=/home/companyname/workspace/reponame --filter label=vsch.quality=stable
[2024-09-25T08:26:32.225Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:32.565Z] Stop (340 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:32.565Z] Start: Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:32.906Z] Stop (341 ms): Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:32.907Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame
[2024-09-25T08:26:33.246Z] Stop (339 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame
[2024-09-25T08:26:33.247Z] Start: Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:33.587Z] Stop (340 ms): Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:33.589Z] Running Dev Containers CLI:   read-configuration --workspace-folder /home/companyname/workspace/reponame --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --mount-workspace-git-root
[2024-09-25T08:26:33.589Z] Start: Checking for Dev Containers CLI
[2024-09-25T08:26:33.704Z] Stop (115 ms): Checking for Dev Containers CLI
[2024-09-25T08:26:33.819Z] Start: Run: /home/companyname/.vscode-server/cli/servers/Stable-38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/server/node /home/companyname/.vscode-remote-containers/dist/dev-containers-cli-0.369.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/companyname/workspace/reponame --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --mount-workspace-git-root
[2024-09-25T08:26:34.326Z] @devcontainers/cli 0.62.0. Node.js v20.15.1. linux 5.15.116-rt-tegra arm64.
[2024-09-25T08:26:34.326Z] Start: Run: git rev-parse --show-cdup
[2024-09-25T08:26:34.337Z] Stop (11 ms): Run: git rev-parse --show-cdup
[2024-09-25T08:26:34.339Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:34.363Z] Stop (24 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:34.363Z] Start: Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:34.387Z] Stop (24 ms): Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:34.488Z] Stop (669 ms): Run: /home/companyname/.vscode-server/cli/servers/Stable-38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/server/node /home/companyname/.vscode-remote-containers/dist/dev-containers-cli-0.369.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/companyname/workspace/reponame --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --mount-workspace-git-root
[2024-09-25T08:26:34.490Z] Running Dev Containers CLI:   up --container-session-data-folder /tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500 --workspace-folder /home/companyname/workspace/reponame --workspace-mount-consistency cached --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/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 --terminal-columns 159 --terminal-rows 43
[2024-09-25T08:26:34.490Z] Start: Checking for Dev Containers CLI
[2024-09-25T08:26:34.605Z] Stop (115 ms): Checking for Dev Containers CLI
[2024-09-25T08:26:34.606Z] Start: Run: /home/companyname/.vscode-server/cli/servers/Stable-38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/server/node /home/companyname/.vscode-remote-containers/dist/dev-containers-cli-0.369.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500 --workspace-folder /home/companyname/workspace/reponame --workspace-mount-consistency cached --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/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 --terminal-columns 159 --terminal-rows 43
[2024-09-25T08:26:35.119Z] @devcontainers/cli 0.62.0. Node.js v20.15.1. linux 5.15.116-rt-tegra arm64.
[2024-09-25T08:26:35.119Z] Start: Run: docker buildx version
[2024-09-25T08:26:35.210Z] Stop (91 ms): Run: docker buildx version
[2024-09-25T08:26:35.211Z] github.com/docker/buildx 0.12.1 0.12.1-0ubuntu1~20.04.2
[2024-09-25T08:26:35.211Z] 
[2024-09-25T08:26:35.211Z] Start: Run: docker -v
[2024-09-25T08:26:35.232Z] Stop (21 ms): Run: docker -v
[2024-09-25T08:26:35.233Z] Start: Resolving Remote
[2024-09-25T08:26:35.238Z] Start: Run: git rev-parse --show-cdup
[2024-09-25T08:26:35.244Z] Stop (6 ms): Run: git rev-parse --show-cdup
[2024-09-25T08:26:35.435Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:35.461Z] Stop (26 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:35.461Z] Start: Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:35.485Z] Stop (24 ms): Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:35.486Z] Start: Starting container
[2024-09-25T08:26:35.486Z] Start: Run: docker start 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.053Z] 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.055Z] Stop (569 ms): Run: docker start 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.055Z] Stop (569 ms): Starting container
[2024-09-25T08:26:36.056Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:36.080Z] Stop (24 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/home/companyname/workspace/reponame --filter label=devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json
[2024-09-25T08:26:36.080Z] Start: Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:36.104Z] Stop (24 ms): Run: docker inspect --type container 9d25dd5da13b
[2024-09-25T08:26:36.106Z] Start: Inspecting container
[2024-09-25T08:26:36.107Z] Start: Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.131Z] Stop (24 ms): Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.131Z] Stop (25 ms): Inspecting container
[2024-09-25T08:26:36.132Z] Start: Run in container: /bin/sh
[2024-09-25T08:26:36.136Z] Start: Run in container: uname -m
[2024-09-25T08:26:36.236Z] aarch64
[2024-09-25T08:26:36.237Z] 
[2024-09-25T08:26:36.237Z] Stop (101 ms): Run in container: uname -m
[2024-09-25T08:26:36.237Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-09-25T08:26:36.240Z] PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
[2024-09-25T08:26:36.240Z] 
[2024-09-25T08:26:36.240Z] Stop (3 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-09-25T08:26:36.241Z] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[2024-09-25T08:26:36.245Z] Stop (4 ms): Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[2024-09-25T08:26:36.246Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-09-25T08:26:36.247Z] 
[2024-09-25T08:26:36.247Z] 
[2024-09-25T08:26:36.247Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-09-25T08:26:36.248Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-09-25T08:26:36.249Z] 
[2024-09-25T08:26:36.249Z] 
[2024-09-25T08:26:36.249Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-09-25T08:26:36.249Z] Stop (1016 ms): Resolving Remote
[2024-09-25T08:26:36.308Z] Stop (1702 ms): Run: /home/companyname/.vscode-server/cli/servers/Stable-38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/server/node /home/companyname/.vscode-remote-containers/dist/dev-containers-cli-0.369.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500 --workspace-folder /home/companyname/workspace/reponame --workspace-mount-consistency cached --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/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 --terminal-columns 159 --terminal-rows 43
[2024-09-25T08:26:36.308Z] Start: Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.646Z] Stop (338 ms): Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:36.647Z] Start: Run: docker exec -i -u root 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=8389a201-d1bf-47d6-b166-7baec50138e61727252788500 ; /bin/sh
[2024-09-25T08:26:36.649Z] Running Dev Containers CLI:   read-configuration --workspace-folder /home/companyname/workspace/reponame --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --container-id 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root
[2024-09-25T08:26:36.649Z] Start: Checking for Dev Containers CLI
[2024-09-25T08:26:36.874Z] Stop (225 ms): Checking for Dev Containers CLI
[2024-09-25T08:26:36.875Z] Start: Run: /home/companyname/.vscode-server/cli/servers/Stable-38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/server/node /home/companyname/.vscode-remote-containers/dist/dev-containers-cli-0.369.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/companyname/workspace/reponame --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --container-id 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root
[2024-09-25T08:26:36.985Z] New container started. Keep-alive process started.
[2024-09-25T08:26:37.485Z] @devcontainers/cli 0.62.0. Node.js v20.15.1. linux 5.15.116-rt-tegra arm64.
[2024-09-25T08:26:37.485Z] Start: Run: git rev-parse --show-cdup
[2024-09-25T08:26:37.496Z] Stop (11 ms): Run: git rev-parse --show-cdup
[2024-09-25T08:26:37.497Z] Start: Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:37.521Z] Stop (24 ms): Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:37.734Z] Stop (859 ms): Run: /home/companyname/.vscode-server/cli/servers/Stable-38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/server/node /home/companyname/.vscode-remote-containers/dist/dev-containers-cli-0.369.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/companyname/workspace/reponame --id-label devcontainer.local_folder=/home/companyname/workspace/reponame --id-label devcontainer.config_file=/home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --container-id 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf --log-level debug --log-format json --config /home/companyname/workspace/reponame/.devcontainer/testcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root
[2024-09-25T08:26:37.735Z] Start: Inspecting container
[2024-09-25T08:26:37.735Z] Start: Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:38.074Z] Stop (339 ms): Run: docker inspect --type container 9d25dd5da13bf16090cf3369a466d25bd2ebd6faceab691b9cfad506bb88a5bf
[2024-09-25T08:26:38.074Z] Stop (339 ms): Inspecting container
[2024-09-25T08:26:38.084Z] Start: Run in container: /bin/sh
[2024-09-25T08:26:38.314Z] Start: Run in container: uname -m
[2024-09-25T08:26:38.538Z] aarch64
[2024-09-25T08:26:38.539Z] 
[2024-09-25T08:26:38.539Z] Stop (225 ms): Run in container: uname -m
[2024-09-25T08:26:38.540Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-09-25T08:26:38.766Z] PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
[2024-09-25T08:26:38.766Z] 
[2024-09-25T08:26:38.766Z] Stop (226 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-09-25T08:26:38.767Z] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[2024-09-25T08:26:38.990Z] Stop (223 ms): Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[2024-09-25T08:26:38.992Z] Start: Setup shutdown monitor
[2024-09-25T08:26:38.994Z] Forking shutdown monitor: /Users/employeename/.vscode/extensions/ms-vscode-remote.remote-containers-0.369.0/dist/shutdown/shutdownMonitorProcess /var/folders/b5/zhqmyhr53xjfl4zjxttjcxq80000gp/T/vscode-remote-containers-093304a3-3e4e-46d4-84e2-805e8f787796.sock singleContainer Debug /Users/employeename/Library/Application Support/Code/logs/20240923T090842/window14/exthost/ms-vscode-remote.remote-containers 1727252788836
[2024-09-25T08:26:39.001Z] Stop (9 ms): Setup shutdown monitor
[2024-09-25T08:26:39.002Z] Start: Run in container: test -d '/root/.vscode-server'
[2024-09-25T08:26:39.227Z] 
[2024-09-25T08:26:39.227Z] 
[2024-09-25T08:26:39.227Z] Stop (225 ms): Run in container: test -d '/root/.vscode-server'
[2024-09-25T08:26:39.227Z] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2024-09-25T08:26:39.451Z] 
[2024-09-25T08:26:39.452Z] 
[2024-09-25T08:26:39.452Z] Exit code 1
[2024-09-25T08:26:39.452Z] Stop (225 ms): Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2024-09-25T08:26:39.453Z] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json
[2024-09-25T08:26:39.678Z] 
[2024-09-25T08:26:39.679Z] cat: /root/.vscode-server/data/Machine/settings.json: No such file or directory
[2024-09-25T08:26:39.679Z] Exit code 1
[2024-09-25T08:26:39.679Z] Stop (226 ms): Run in container: cat /root/.vscode-server/data/Machine/settings.json
[2024-09-25T08:26:39.680Z] 
Support for ARM64 is in preview.

[2024-09-25T08:26:39.680Z] Start: Run in container: test -d '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40'
[2024-09-25T08:26:39.905Z] 
[2024-09-25T08:26:39.905Z] 
[2024-09-25T08:26:39.905Z] Stop (225 ms): Run in container: test -d '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40'
[2024-09-25T08:26:39.905Z] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-arm64/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40'
[2024-09-25T08:26:40.128Z] 
[2024-09-25T08:26:40.129Z] 
[2024-09-25T08:26:40.129Z] Stop (224 ms): Run in container: test -d '/vscode/vscode-server/bin/linux-arm64/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40'
[2024-09-25T08:26:40.130Z] Start: Run in container: touch '/vscode/vscode-server/bin/linux-arm64/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40'
[2024-09-25T08:26:40.355Z] 
[2024-09-25T08:26:40.356Z] 
[2024-09-25T08:26:40.356Z] Stop (226 ms): Run in container: touch '/vscode/vscode-server/bin/linux-arm64/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40'
[2024-09-25T08:26:40.356Z] Start: Run in container: test -x '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/bin/helpers/check-requirements.sh'
[2024-09-25T08:26:40.580Z] 
[2024-09-25T08:26:40.580Z] 
[2024-09-25T08:26:40.580Z] Exit code 1
[2024-09-25T08:26:40.580Z] Stop (224 ms): Run in container: test -x '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/bin/helpers/check-requirements.sh'
[2024-09-25T08:26:40.580Z] Start: Launching Dev Containers helper.
[2024-09-25T08:26:40.581Z] ssh-agent: SSH_AUTH_SOCK not set on remote host.
[2024-09-25T08:26:40.581Z] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-0fb40a56-d28e-4af0-ad6c-17b5744407e0.sock) forwarded to local host (/private/tmp/com.apple.launchd.3RO5Nt7uZw/Listeners).
[2024-09-25T08:26:40.581Z] X11 forwarding: DISPLAY not set on remote host.
[2024-09-25T08:26:40.581Z] X11 forwarding: DISPLAY not set on local host.
[2024-09-25T08:26:40.581Z] Start: Run in container: gpgconf --list-dir agent-socket
[2024-09-25T08:26:40.807Z] 
[2024-09-25T08:26:40.807Z] /bin/sh: 11: gpgconf: not found
[2024-09-25T08:26:40.808Z] Exit code 127
[2024-09-25T08:26:40.808Z] Stop (227 ms): Run in container: gpgconf --list-dir agent-socket
[2024-09-25T08:26:40.808Z] gpg-agent: No agent-socket found in container.
[2024-09-25T08:26:40.808Z] Start: Run in container: command -v docker >/dev/null 2>&1
[2024-09-25T08:26:41.033Z] 
[2024-09-25T08:26:41.033Z] 
[2024-09-25T08:26:41.034Z] Exit code 127
[2024-09-25T08:26:41.034Z] Stop (226 ms): Run in container: command -v docker >/dev/null 2>&1
[2024-09-25T08:26:41.035Z] Start: Run in container: /bin/sh
[2024-09-25T08:26:41.035Z] Stop (455 ms): Launching Dev Containers helper.
[2024-09-25T08:26:41.035Z] userEnvProbe: loginInteractiveShell (default)
[2024-09-25T08:26:41.036Z] Start: Run in container: test -f '/tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500/env-loginInteractiveShell.json'
[2024-09-25T08:26:41.260Z] 
[2024-09-25T08:26:41.261Z] 
[2024-09-25T08:26:41.261Z] Exit code 1
[2024-09-25T08:26:41.261Z] Stop (225 ms): Run in container: test -f '/tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500/env-loginInteractiveShell.json'
[2024-09-25T08:26:41.261Z] userEnvProbe: not found in cache
[2024-09-25T08:26:41.261Z] userEnvProbe shell: /bin/bash
[2024-09-25T08:26:41.373Z] Start: Run in container: echo ~
[2024-09-25T08:26:41.483Z] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[2024-09-25T08:26:41.593Z] /root
[2024-09-25T08:26:41.594Z] 
[2024-09-25T08:26:41.594Z] Stop (221 ms): Run in container: echo ~
[2024-09-25T08:26:41.594Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js' >/tmp/vscode-remote-containers-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js
[2024-09-25T08:26:41.705Z] 
[2024-09-25T08:26:41.705Z] 
[2024-09-25T08:26:41.705Z] Stop (222 ms): Run in container: # Test for /root/.ssh/known_hosts and ssh
[2024-09-25T08:26:41.706Z] Start: Run in container: # Copy /home/companyname/.ssh/known_hosts to /root/.ssh/known_hosts
[2024-09-25T08:26:41.816Z] 
[2024-09-25T08:26:41.816Z] 
[2024-09-25T08:26:41.816Z] Stop (222 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js' >/tmp/vscode-remote-containers-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js
[2024-09-25T08:26:41.816Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js' >/tmp/vscode-remote-containers-server-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js_1727252801816
[2024-09-25T08:26:42.037Z] 
[2024-09-25T08:26:42.038Z] 
[2024-09-25T08:26:42.038Z] Stop (222 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js' >/tmp/vscode-remote-containers-server-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js_1727252801816
[2024-09-25T08:26:42.147Z] 
[2024-09-25T08:26:42.148Z] 
[2024-09-25T08:26:42.148Z] Stop (442 ms): Run in container: # Copy /home/companyname/.ssh/known_hosts to /root/.ssh/known_hosts
[2024-09-25T08:26:42.148Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node /tmp/vscode-remote-containers-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js git-credential-helper $*; }; f' || true
[2024-09-25T08:26:42.258Z] Container server: /bin/sh: 32: /root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node: not found
[2024-09-25T08:26:42.261Z] Error reading shell environment.
[2024-09-25T08:26:42.264Z] Error: stream ended with:0 but wanted:9
    at l (/Users/employeename/.vscode/extensions/ms-vscode-remote.remote-containers-0.369.0/dist/extension/extension.js:27:22149)
    at /Users/employeename/.vscode/extensions/ms-vscode-remote.remote-containers-0.369.0/dist/extension/extension.js:27:22330
    at s (/Users/employeename/.vscode/extensions/ms-vscode-remote.remote-containers-0.369.0/dist/extension/extension.js:30:5371)
    at Stream.<anonymous> (/Users/employeename/.vscode/extensions/ms-vscode-remote.remote-containers-0.369.0/dist/extension/extension.js:30:5541)
    at Stream.emit (node:events:519:28)
    at /Users/employeename/.vscode/extensions/ms-vscode-remote.remote-containers-0.369.0/dist/extension/extension.js:294:2571
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[2024-09-25T08:26:42.264Z] Stop (1229 ms): Run in container: /bin/sh
[2024-09-25T08:26:42.264Z] Container server terminated (code: 127, signal: null).
[2024-09-25T08:26:42.369Z] 
[2024-09-25T08:26:42.370Z] 
[2024-09-25T08:26:42.370Z] Stop (222 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node /tmp/vscode-remote-containers-0fb40a56-d28e-4af0-ad6c-17b5744407e0.js git-credential-helper $*; }; f' || true
[2024-09-25T08:26:42.370Z] Start: Run in container: mkdir -p '/tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500' && cat > '/tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500/env-loginInteractiveShell.json' << 'envJSON'
[2024-09-25T08:26:42.595Z] 
[2024-09-25T08:26:42.596Z] 
[2024-09-25T08:26:42.596Z] Stop (226 ms): Run in container: mkdir -p '/tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500' && cat > '/tmp/devcontainers-8389a201-d1bf-47d6-b166-7baec50138e61727252788500/env-loginInteractiveShell.json' << 'envJSON'
[2024-09-25T08:26:42.596Z] 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-09-25T08:26:42.823Z] Stop (227 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-09-25T08:26:42.824Z] Start: Run in container: cat '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/product.json'
[2024-09-25T08:26:43.050Z] Stop (226 ms): Run in container: cat '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/product.json'
[2024-09-25T08:26:43.056Z] Command in container failed: cat '/root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/product.json'
[2024-09-25T08:26:43.057Z] cat: /root/.vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/product.json: No such file or directory
[2024-09-25T08:26:43.057Z] Exit code 1
chrmarti commented 4 days ago

There is a working node executable there in that case .vscode-server/bin/38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40/node*. So it has to be connected to the devcontainer plugin.

Can you run it? I'm not sure what is causing the issue.

Are others seeing this also using a "aarch64 NVIDIA AGX device"?