microsoft / microsoft/vscode-remote-release
Container server did not launch or terminated: Error: unexpected end of parent stream
@chrmarti is already working on this.
Since Dec 9, 2024.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Related to Dev Containers from WSL2 on Windows PC
- VSCode Version: 1.95.3
- Local OS Version: Windows 10 22H2 19045.5131
- Remote OS Version: Ubuntu (WSL2)
- Remote Extension/Connection Type: Container on WSL2
- Docker Desktop Version: 4.36.0
- Docker version 27.3.1, build ce12230
Steps to Reproduce:
- Open an empty folder in VSCode in WSL2, and add a Dockerfile
- Create a docker file from any base image with the following two commands
FROM python:3.12-slim
RUN apt-get update
RUN apt-get install -y git
- Build a dev container using this docker file via VSCode
I have been able to use github in docker for many months now. However, suddenly a couple days ago I started facing this issue.
The container opens, however, there are two issues I'm facing.
- There are multiple errors in the logs when spinning up a new dev container (logs below). Some of the prominent errors are as follows.
Container server did not launch or terminated: Error: unexpected end of parent streamShell server failed: Error: unexpected end of parent stream- These errors usually come soon after git related lines or
docker execrelated lines. I'm not sure what that means
- The build process takes too much time at one particular step. This is evident from the timestamp of that step in the logs below. Timestamp goes from 29675 ms to 269534 ms (i.e. 29s to 270s) which makes working with dev containers super annoying.
Start: Run in Host: docker inspect --type container <container_id>
I did some ablation analysis, and the dev container runs fast and fine when using just the base image. However, as soon as I add the git installation code in Dockerfile, the below error consistently throws up.
I tried downgrading Docker Desktop and Dev Containers extension but all in vain. The below error keeps coming.
The only thing I can think of that changed is I recently started working at a coworking space where I have to login on the browser before using the internet via their Wi-Fi. And that's where I think I first encountered the issue, but I'm not very sure. I don't know if they are running a proxy or not. But I don't think that should be an issue, since the issue is reproduced using my home Wi-Fi as well.
[15 ms] Dev Containers 0.388.0 in VS Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813).
[14 ms] Start: Run: wsl -d Ubuntu -e wslpath -u \\wsl.localhost\Ubuntu\home\prajval\work-kookar\test
[123 ms] Start: Resolving Remote
[127 ms] Start: Run: wsl -d Ubuntu -e wslpath -u \\wsl.localhost\Ubuntu\home\prajval\work-kookar\test
[230 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/prajval/work-kookar/test' && /bin/sh
[238 ms] Start: Run in host: id -un
[288 ms] prajval
[288 ms]
[288 ms] Start: Run in host: (command -v getent >/dev/null 2>&1 && getent passwd 'prajval' || grep -E '^prajval|^[^:]*:[^:]*:prajval:' /etc/passwd || true)
[291 ms] Start: Run in host: echo ~
[292 ms] /home/prajval
[292 ms]
[292 ms] Start: Run in host: test -f '/home/prajval/.vscode-server/cli/servers/Stable-f1a4fb101478ce6ec82fe9627c43efbf9e98c813/server/node'
[293 ms]
[293 ms]
[293 ms] Exit code 1
[294 ms] Start: Run in host: test -f '/home/prajval/.vscode/cli/servers/Stable-f1a4fb101478ce6ec82fe9627c43efbf9e98c813/server/node'
[294 ms]
[295 ms]
[295 ms] Exit code 1
[295 ms] Start: Run in host: test -f '/home/prajval/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node'
[295 ms]
[295 ms]
[296 ms] Start: Run in host: test -f '/home/prajval/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node_modules/node-pty/package.json'
[296 ms]
[296 ms]
[297 ms] Start: Run in host: test -f '/home/prajval/.vscode-remote-containers/dist/vscode-remote-containers-server-0.388.0.js'
[298 ms]
[298 ms]
[301 ms] userEnvProbe: loginInteractiveShell (default)
[301 ms] userEnvProbe: not found in cache
[301 ms] userEnvProbe shell: /bin/bash
[371 ms] userEnvProbe PATHs:
Probe: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6/bin:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6/libnvvp:/mnt/c/windows/system32:/mnt/c/windows:/mnt/c/windows/System32/Wbem:/mnt/c/windows/System32/WindowsPowerShell/v1.0/:/mnt/c/windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/Nsight Compute 2022.1.0/:/mnt/d/Software/CUDA/zlib123dllx64/dll_x64:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/GitHub CLI/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/HP/HP One Agent:/Docker/host/bin:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/Programs/Python/Python310/Scripts/:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/Programs/Python/Python310/:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/Programs/Python/Python37/Scripts/:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/Programs/Python/Python37/:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/PRAJVAL_OMEN/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/msys64/ucrt64/bin:/snap/bin'
Container: None
[372 ms] Setting up container for folder or workspace: /home/prajval/work-kookar/test
[389 ms] Start: Check Docker is running
[389 ms] Start: Run in Host: docker version
[412 ms] Client:
Version:
[412 ms] 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:39:44 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Desktop ()
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:41:11 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.21
GitCommit: 472731909fa34bd7bc9c087e4c27943f9835f111
runc:
Version: 1.1.13
GitCommit: v1.1.13-0-g58aa920
docker-init:
Version: 0.19.0
GitCommit: de40ad0
[415 ms] Start: Run in Host: docker volume ls -q
[434 ms] Start: Run in Host: docker ps -q -a --filter label=vsch.local.folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test --filter label=vsch.quality=stable
[452 ms] Start: Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test --filter label=devcontainer.config_file=/home/prajval/work-kookar/test/.devcontainer/devcontainer.json
[472 ms] Start: Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test
[491 ms] Start: Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test
[509 ms] Running Dev Containers CLI: up --container-session-data-folder /tmp/devcontainers-d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 --workspace-folder /home/prajval/work-kookar/test --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test --id-label devcontainer.config_file=/home/prajval/work-kookar/test/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/prajval/work-kookar/test/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=/run/user/1000/wayland-0,target=/tmp/vscode-wayland-f52956cb-de7e-4987-bdad-7e712005a66f.sock --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[509 ms] Start: Checking for Dev Containers CLI
[514 ms] Start: Run in Host: /home/prajval/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node /home/prajval/.vscode-remote-containers/dist/dev-containers-cli-0.388.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 --workspace-folder /home/prajval/work-kookar/test --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test --id-label devcontainer.config_file=/home/prajval/work-kookar/test/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/prajval/work-kookar/test/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=/run/user/1000/wayland-0,target=/tmp/vscode-wayland-f52956cb-de7e-4987-bdad-7e712005a66f.sock --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[694 ms] @devcontainers/cli 0.71.0. Node.js v20.18.0. linux 5.15.146.1-microsoft-standard-WSL2 x64.
[694 ms] Start: Run: docker buildx version
[739 ms] github.com/docker/buildx v0.17.1-desktop.1 1a2ee7e8d945b88fdc18f1948da491c2f540dec9
[739 ms]
[739 ms] Start: Run: docker -v
[750 ms] Start: Resolving Remote
[753 ms] Start: Run: git rev-parse --show-cdup
[1110 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test --filter label=devcontainer.config_file=/home/prajval/work-kookar/test/.devcontainer/devcontainer.json
[1131 ms] Start: Run: docker inspect --type image python:3.12-slim
[1163 ms] Start: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-prajval/container-features/0.71.0-1733754046294/Dockerfile-with-features -t vsc-test-e42b8ab35d5510b45b8530c98f8e17525d140566b085b36eed380a21544a8298 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /home/prajval/work-kookar/test
[+] Building 26.2s (8/8) FINISHED docker:default
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 273B 0.0s
=> [internal] load metadata for docker.io/library/python:3.12-slim 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [dev_container_auto_added_stage_label 1/3] FROM docker.io/libr 2.0s
=> => resolve docker.io/library/python:3.12-slim@sha256:2b0079146a74e23b 2.0s
=> [auth] library/python:pull token for registry-1.docker.io 0.0s
=> [dev_container_auto_added_stage_label 2/3] RUN apt-get update 5.4s
=> [dev_container_auto_added_stage_label 3/3] RUN apt-get install -y gi 14.0s
=> exporting to image 4.5s
=> => exporting layers 3.4s
=> => preparing layers for inline cache 0.0s
=> => exporting manifest sha256:01408d0f42902e1a369f193908ab25e4f9b9c10f 0.0s
=> => exporting config sha256:277df4a734f950214c931024922ee5bff0928d35f7 0.0s
=> => exporting attestation manifest sha256:fe1bff65afa1a8a7720a7c19a3ac 0.0s
=> => exporting manifest list sha256:3fff082c8b016ebc6b6f5f70b80397af2e1 0.0s
=> => naming to docker.io/library/vsc-test-e42b8ab35d5510b45b8530c98f8e1 0.0s
=> => unpacking to docker.io/library/vsc-test-e42b8ab35d5510b45b8530c98f 1.0s
[27646 ms] Start: Run: docker inspect --type image vsc-test-e42b8ab35d5510b45b8530c98f8e17525d140566b085b36eed380a21544a8298
[27680 ms] Start: Run: docker events --format {{json .}} --filter event=start
[27683 ms] Start: Starting container
[27683 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/home/prajval/work-kookar/test,target=/workspaces/test --mount type=volume,src=vscode,dst=/vscode --mount type=bind,src=/run/user/1000/wayland-0,dst=/tmp/vscode-wayland-f52956cb-de7e-4987-bdad-7e712005a66f.sock -l devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test -l devcontainer.config_file=/home/prajval/work-kookar/test/.devcontainer/devcontainer.json --entrypoint /bin/sh vsc-test-e42b8ab35d5510b45b8530c98f8e17525d140566b085b36eed380a21544a8298 -c echo Container started
Container started
[28864 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu\home\prajval\work-kookar\test --filter label=devcontainer.config_file=/home/prajval/work-kookar/test/.devcontainer/devcontainer.json
[28897 ms] Start: Run: docker inspect --type container 78d6463b8bc8
[28931 ms] Start: Inspecting container
[28932 ms] Start: Run: docker inspect --type container 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f
[28954 ms] Start: Run in container: /bin/sh
[28958 ms] Start: Run in container: uname -m
[29013 ms] x86_64
[29013 ms]
[29013 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[29015 ms] PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[29015 ms]
[29015 ms] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[29018 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[29019 ms]
[29019 ms]
[29019 ms] Exit code 1
[29019 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[29023 ms]
[29023 ms]
[29024 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[29028 ms]
[29028 ms]
[29029 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[29030 ms]
[29030 ms]
[29030 ms] Exit code 1
[29030 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[29034 ms]
[29034 ms]
[29034 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[29037 ms]
[29037 ms]
[29044 ms] Start: Run in Host: docker inspect --type container 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f
[29068 ms] Start: Run in Host: docker exec -i -u root 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 ; /bin/sh
[29068 ms] Start: Inspecting container
[29068 ms] Start: Run in Host: docker inspect --type container 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f
[29115 ms] Start: Run in Host: docker exec -i -u root -e VSCODE_REMOTE_CONTAINERS_SESSION=d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /bin/sh
[29118 ms] Start: Run in container: uname -m
[29124 ms] New container started. Keep-alive process started.
[29160 ms] x86_64
[29160 ms]
[29160 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[29163 ms] PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[29163 ms]
[29163 ms] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[29165 ms] Start: Run in container: command -v git >/dev/null 2>&1 && ROOT_FOLDER="$(git -C '/workspaces/test' rev-parse --show-toplevel)" && test "$(stat -c %u "$ROOT_FOLDER")" != "$(id -u)" && echo -n "$ROOT_FOLDER"
[29168 ms]
[29168 ms] fatal: not a git repository (or any parent up to mount point /workspaces)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[29168 ms] Exit code 128
[29169 ms] Start: Updating configuration state
[29177 ms] Start: Setup shutdown monitor
[29177 ms] Forking shutdown monitor: c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-d065da53-9310-4439-97d1-076c1e1ce672-sock singleContainer Debug c:\Users\PRAJVAL_OMEN\AppData\Roaming\Code\logs\20241209T190517\window11\exthost\ms-vscode-remote.remote-containers 1733754045133
[29189 ms] Start: Run in container: test -d '/root/.vscode-server'
[29191 ms]
[29192 ms]
[29192 ms] Exit code 1
[29192 ms] Start: Run in container: test -d '/root/.vscode-remote'
[29193 ms]
[29194 ms]
[29194 ms] Exit code 1
[29194 ms] 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
[29198 ms]
[29198 ms]
[29198 ms] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json
[29201 ms]
[29201 ms] cat: /root/.vscode-server/data/Machine/settings.json: No such file or directory
[29201 ms] Exit code 1
[29201 ms] Start: Run in container: test -d '/root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813'
[29203 ms]
[29203 ms]
[29203 ms] Exit code 1
[29204 ms] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-x64/f1a4fb101478ce6ec82fe9627c43efbf9e98c813'
[29205 ms]
[29205 ms]
[29205 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/f1a4fb101478ce6ec82fe9627c43efbf9e98c813' '/root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813'
[29209 ms]
[29209 ms]
[29210 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/f1a4fb101478ce6ec82fe9627c43efbf9e98c813'
[29212 ms]
[29212 ms]
[29212 ms] Start: Run in container: test -x '/root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/bin/helpers/check-requirements.sh'
[29213 ms]
[29213 ms]
[29214 ms] Start: Run in container: '/root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/bin/helpers/check-requirements.sh'
[29246 ms]
[29247 ms]
[29247 ms] Start: Launching Dev Containers helper.
[29247 ms] ssh-agent: SSH_AUTH_SOCK not set on wsl host.
[29247 ms] ssh-agent: SSH_AUTH_SOCK not set on local host.
[29248 ms] Start: Run in container: test -e /tmp/.X11-unix/X0
[29250 ms]
[29250 ms]
[29250 ms] Exit code 1
[29250 ms] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[29253 ms]
[29253 ms]
[29253 ms] X11 forwarding: DISPLAY in container (:0) forwarded to wsl host (:0).
[29253 ms] Start: Run in container: gpgconf --list-dirs
[29255 ms]
[29255 ms] /bin/sh: 17: gpgconf: not found
[29255 ms] Exit code 127
[29255 ms] gpg-agent: No agent-socket found in container.
[29255 ms] Start: Run in container: command -v docker >/dev/null 2>&1
[29257 ms]
[29257 ms]
[29257 ms] Exit code 127
[29258 ms] Start: Run in Host: docker exec -i -u root 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /bin/sh
[29258 ms] userEnvProbe: loginInteractiveShell (default)
[29258 ms] Start: Run in container: test -f '/tmp/devcontainers-d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395/env-loginInteractiveShell.json'
[29261 ms] Start: Run in container: echo ~
[29262 ms]
[29262 ms]
[29262 ms] Exit code 1
[29263 ms] userEnvProbe: not found in cache
[29263 ms] userEnvProbe shell: /bin/bash
[29267 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[29271 ms]
[29271 ms]
[29271 ms] Start: Run in container: # Copy /home/prajval/.ssh/known_hosts to /root/.ssh/known_hosts
[29277 ms]
[29277 ms]
[29278 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node /tmp/vscode-remote-containers-2fc1bdc6-489c-4ab0-85cc-b52cf367cc98.js git-credential-helper $*; }; f' || true
[29283 ms]
[29283 ms]
[29284 ms] 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 "
[29322 ms] Start: Run in container: cat '/root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/product.json'
[29326 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813' 2>/dev/null || (umask 377 && echo '8b8f871c-3062-4b84-85c5-1af8eb05007f' >'/root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813-cf82ac45-cad9-43c7-89ed-2c312374a8e7' && mv -n '/root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813-cf82ac45-cad9-43c7-89ed-2c312374a8e7' '/root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813' && rm -f '/root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813-cf82ac45-cad9-43c7-89ed-2c312374a8e7' && cat '/root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813')
[29331 ms] 8b8f871c-3062-4b84-85c5-1af8eb05007f
[29331 ms]
[29331 ms] Start: Starting VS Code Server
[29332 ms] Start: Preparing Extensions
[29332 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[29335 ms]
[29335 ms]
[29337 ms] Extensions cache, install extensions: None
[29337 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true
[29339 ms]
[29339 ms]
[29340 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[29343 ms] janisdd.vscode-edit-csv-0.10.0
ms-python.autopep8-2024.0.0
mutantdino.resourcemonitor-1.0.7
[29343 ms]
[29343 ms] Extensions cache, link in container: None
[29343 ms] Optimizing extensions for quality: stable
[29344 ms] Start: Run in Host: docker exec -i -u root -e SHELL=/bin/bash -w /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/bin/code-server --log debug --force-disable-user-env --server-data-dir /root/.vscode-server --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-f1a4fb101478ce6ec82fe9627c43efbf9e98c813 --extensions-download-dir /root/.vscode-server/extensionsCache --start-server --disable-websocket-compression --skip-requirements-check
[29364 ms] /root
[29364 ms]
[29364 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-2fc1bdc6-489c-4ab0-85cc-b52cf367cc98.js' >/tmp/vscode-remote-containers-2fc1bdc6-489c-4ab0-85cc-b52cf367cc98.js
[29368 ms]
[29368 ms]
[29368 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-2fc1bdc6-489c-4ab0-85cc-b52cf367cc98.js' >/tmp/vscode-remote-containers-server-2fc1bdc6-489c-4ab0-85cc-b52cf367cc98.js_1733754074501
[29373 ms]
[29374 ms]
[29429 ms] userEnvProbe PATHs:
Probe: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[29430 ms] Start: Run in container: mkdir -p '/tmp/devcontainers-d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395' && cat > '/tmp/devcontainers-d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395/env-loginInteractiveShell.json' << 'envJSON'
[29433 ms]
[29433 ms]
[29434 ms] Start: Run in container: umask 077 && XRD="/tmp/user/$(id -u)" && mkdir -p $XRD && echo $XRD
[29438 ms] /tmp/user/0
[29438 ms]
[29439 ms] Start: Run in container: test -e /tmp/user/0/vscode-wayland-f52956cb-de7e-4987-bdad-7e712005a66f.sock || ln -sf /tmp/vscode-wayland-f52956cb-de7e-4987-bdad-7e712005a66f.sock /tmp/user/0/vscode-wayland-f52956cb-de7e-4987-bdad-7e712005a66f.sock
[29442 ms]
[29442 ms]
[29473 ms] *
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[29476 ms] Server bound to 127.0.0.1:43775 (IPv4)
Extension host agent listening on 43775
[29477 ms] Start: Run in container: echo 43775 >'/root/.vscode-server/data/Machine/.devport-f1a4fb101478ce6ec82fe9627c43efbf9e98c813'
[29478 ms]
[29478 ms]
[29479 ms] Port forwarding for container port 43775 starts listening on local port.
[29480 ms] Port forwarding local port 43775 to container port 43775
[29484 ms] Initializing configuration support...
[29484 ms] Internal initialization of dev container support package...
[29493 ms] Start: Run in container: # Test for /root/.gitconfig and git
[29496 ms]
[29497 ms]
[29497 ms] Start: Run in container: # Copy /home/prajval/.gitconfig to /root/.gitconfig
[29498 ms] Port forwarding connection from 51042 > 43775 > 43775 in the container.
[29498 ms] Start: Run in Host: docker exec -i -u root -e VSCODE_REMOTE_CONTAINERS_SESSION=d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node -e
[29511 ms] unexpected end of parent stream
[29512 ms] Container server did not launch or terminated: Error: unexpected end of parent stream
at Ri.destroy (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:26638)
at Ri.write (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:27379)
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:29482
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:14866
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:17539
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:23891
at r (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:17487)
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:17532
at Object.cb (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:24002)
at l (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:21998)
at u (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:22260)
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:22343
at s (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:30:5371)
at Socket.<anonymous> (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:30:5472)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
[29512 ms] unexpected end of parent stream
[29512 ms] Port forwarding 51042 > 43775 > 43775 terminated with error: unexpected end of parent stream
[29512 ms] Keep-alive process ended.
[29513 ms] Shell server failed: Error: unexpected end of parent stream
at Ri.destroy (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:26638)
at Ri.write (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:27379)
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:29482
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:14866
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:17539
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:23891
at r (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:17487)
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:17532
at Object.cb (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:24002)
at l (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:21998)
at u (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:22260)
at c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:27:22343
at s (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:30:5371)
at Socket.<anonymous> (c:\Users\PRAJVAL_OMEN\.vscode\extensions\ms-vscode-remote.remote-containers-0.388.0\dist\extension\extension.js:30:5472)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
[29514 ms] Host server: packet-stream asked to read after closed { value: { code: 0, signal: null }, end: false, req: -16 }
packet-stream asked to read after closed { value: { code: null, signal: 'SIGPIPE' }, end: false, req: -96 }
packet-stream asked to read after closed { value: { code: null, signal: 'SIGPIPE' }, end: false, req: -107 }
[29515 ms] Port forwarding 51042 > 43775 > 43775: Local close
[29525 ms] Host server: packet-stream asked to read after closed { value: { code: 0, signal: null }, end: false, req: -87 }
[29527 ms] Start: Reconnection attempt 1
[29528 ms] Start: Reconnecting CLIHost without ExecServer.
[29528 ms] Start: Host: Reconnecting exec server
[29529 ms] Start: Run: wsl -d Ubuntu -e /bin/sh -c cd '/home/prajval/work-kookar/test' && /bin/sh
[29530 ms] Port forwarding connection from 51043 > 43775 > 43775 in the container.
[29530 ms] Start: Run in Host: docker exec -i -u root -e VSCODE_REMOTE_CONTAINERS_SESSION=d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node -e
[29534 ms] Host server terminated (code: null, signal: SIGKILL).
[29667 ms] Start: Container: Reconnecting exec server
[29667 ms] Start: Run in Host: docker exec -i -u root 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /bin/sh
[29675 ms] Start: Run in Host: docker inspect --type container 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f
[269534 ms] Port forwarding connection from 51132 > 43775 > 43775 in the container.
[269535 ms] Start: Run in Host: docker exec -i -u root -e VSCODE_REMOTE_CONTAINERS_SESSION=d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node -e
[269615 ms] Port forwarding 51132 > 43775 > 43775 stderr: Connection established
[269630 ms] Port forwarding connection from 51133 > 43775 > 43775 in the container.
[269631 ms] Start: Run in Host: docker exec -i -u root -e VSCODE_REMOTE_CONTAINERS_SESSION=d919471e-b3b3-47fc-8a61-f27b4c11b9b71733754044395 78d6463b8bc8b9d3c82ce7b0b7b0ffd4e31e5a6784ddba82281268c52f4b950f /root/.vscode-server/bin/f1a4fb101478ce6ec82fe9627c43efbf9e98c813/node -e
[269716 ms] Port forwarding 51133 > 43775 > 43775 stderr: Connection established
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.