Closed wilkes-s closed 3 years ago
@sandy081 Any way we can get more debugging information on why the uninstall happens?
@wilkes-s Could you share your devcontainer.json and Dockerfile?
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Hey, When i try to install extensions via devcontainer.json most of them get installed and uninstalled in the startup process.
[+] Building 0.7s (9/9) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/ubuntu:bionic 0.6s => [1/5] FROM docker.io/library/ubuntu:bionic@sha256:04919776d30640ce4ed 0.0s => CACHED [2/5] RUN apt-get update 0.0s => CACHED [3/5] RUN apt-get -y install software-properties-common 0.0s => CACHED [4/5] RUN add-apt-repository ppa:team-gcc-arm-embedded/ppa && 0.0s => CACHED [5/5] RUN apt-get install -y python3 python3-pip gcc-arm-embed 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:2528d2eff1a0e3196589e37f52151a93155f6cfabfe61 0.0s => => naming to docker.io/library/vsc-stm32_dev_project-19b2c8a0feb7d097 0.0s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and l earn how to fix them [2393 ms] Start: Run: docker events --format {{json .}} --filter event=start [2447 ms] Start: Starting container [2448 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=c:\Users\simon\PanDoorA\10_Entwicklung\git\stm32_dev_project,target=/workspaces/stm32_dev_project,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l vsch.local.folder=c:\Users\simon\PanDoorA\10_Entwicklung\git\stm32_dev_project -l vsch.quality=stable -l vsch.remote.devPort=0 --entrypoint /bin/sh vsc-stm32_dev_project-19b2c8a0feb7d0972e1dfdfa030c8dc3 -c echo Container started ; trap "exit 0" 15; while sleep 1 & wait $!; do :; done [3067 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\simon\PanDoorA\10_Entwicklung\git\stm32_dev_project --filter label=vsch.quality=stable Container started [3347 ms] Start: Run: docker inspect --type container 1aced8e2f062 [3616 ms] Start: Inspecting container [3616 ms] Start: Run: docker inspect --type container 1aced8e2f0621fd81bd996938175da8037ff526ec7a8f2a6d13e20018a983e1b [3885 ms] Start: Run in container: /bin/sh [3898 ms] Start: Run in container: uname -m [4201 ms] x86_64 [4202 ms] [4202 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [4205 ms] NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04" 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" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic [4205 ms] [4205 ms] Start: Run in container: cat /etc/passwd [4209 ms] Start: Updating configuration state [4237 ms] Start: Setup shutdown monitor [4238 ms] Forking shutdown monitor: c:\Users\simon.vscode\extensions\ms-vscode-remote.remote-containers-0.177.2\dist\shutdown\shutdownMonitorProcess \.\pipe\vscode-remote-containers-d5ed59cdb1787c5c6b3f3b0bff6db432a05bc52b-sock singleContainer Debug c:\Users\simon\AppData\Roaming\Code\logs\20210522T232300\exthost1\ms-vscode-remote.remote-containers 1621719825281 [4252 ms] Start: Run in container: test -d /root/.vscode-server [4259 ms] [4260 ms] [4260 ms] Exit code 1 [4263 ms] Start: Run in container: test -d /root/.vscode-remote [4266 ms] [4267 ms] [4267 ms] Exit code 1 [4268 ms] Start: Run in container: set -o noclobber ; mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [4273 ms] [4274 ms] [4274 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && cat >'/root/.vscode-server/data/Machine/settings.json' <<'settingsJSON' [4280 ms] [4281 ms] [4281 ms] Start: Run in container: test -d /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335 [4284 ms] [4284 ms] [4284 ms] Exit code 1 [4284 ms] Start: Run in container: test -d /vscode/vscode-server/bin/x64/054a9295330880ed74ceaedda236253b4f39a335 [4287 ms] [4287 ms] [4287 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -s '/vscode/vscode-server/bin/x64/054a9295330880ed74ceaedda236253b4f39a335' '/root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335' [4293 ms] [4293 ms] [4294 ms] Start: Run in container: touch '/vscode/vscode-server/bin/x64/054a9295330880ed74ceaedda236253b4f39a335' [4294 ms] Start: Launching Remote-Containers helper. [4295 ms] Start: Run: gpgconf --list-dir agent-extra-socket [4297 ms] [4297 ms] [4317 ms] findLocalWindowsExecutable: Exectuable 'gpgconf' not found on PATH 'C:\Program Files\Python39\Scripts\;C:\Program Files\Python39\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\MATLAB\R2021a\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2020-q4-major\bin;C:\Users\simon.cargo\bin;C:\Users\simon\AppData\Local\Microsoft\WindowsApps;C:\Users\simon\AppData\Local\Programs\Microsoft VS Code\bin;C:\intelFPGA\20.1\modelsim_ase\win32aloem'. [4321 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js' >/tmp/vscode-remote-containers-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js [4325 ms] [4325 ms] [4326 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh [4329 ms] [4329 ms] [4329 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js' >/tmp/vscode-remote-containers-server-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js [4333 ms] [4333 ms] [4333 ms] Start: Run in container: # Copy C:\Users\simon.ssh\known_hosts to /root/.ssh/known_hosts [4333 ms] Start: Run in container: /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335/node /tmp/vscode-remote-containers-server-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js [4337 ms] [4337 ms] [4337 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system credential.helper '!f() { /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335/node /tmp/vscode-remote-containers-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js $; }; f' || true [4342 ms] [4342 ms] [4343 ms] Start: Preparing Extensions [4343 ms] Start: Run in container: set -o noclobber ; mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null [4347 ms] [4348 ms] [4350 ms] Extensions cache, install extensions: ms-vscode.cpptools, austin.code-gnu-global, eamodio.gitlens, ms-vsliveshare.vsliveshare, ms-python.python, ms-toolsai.jupyter, ms-python.vscode-pylance [4350 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [4352 ms] [4352 ms] [4353 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [4357 ms] austin.code-gnu-global-0.2.2 eamodio.gitlens-11.4.1 jeff-hykin.better-cpp-syntax-1.15.5 ms-python.python-2021.5.842923320 ms-python.vscode-pylance-2021.5.3 ms-toolsai.jupyter-2021.6.832593372 ms-vscode.cpptools-1.3.1 ms-vsliveshare.vsliveshare-1.0.4272 [4357 ms] [4357 ms] Extensions cache, link in container: austin.code-gnu-global-0.2.2, eamodio.gitlens-11.4.1, ms-python.python-2021.5.842923320, ms-python.vscode-pylance-2021.5.3, ms-toolsai.jupyter-2021.6.832593372, ms-vscode.cpptools-1.3.1, ms-vsliveshare.vsliveshare-1.0.4272 [4357 ms] Start: Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/ '/root/.vscode-server/extensionsCache' || true [4363 ms] [4363 ms] [4364 ms] Start: Run in container: cd /vscode/vscode-server/extensionsCache && touch 'austin.code-gnu-global-0.2.2' 'eamodio.gitlens-11.4.1' 'ms-python.python-2021.5.842923320' 'ms-python.vscode-pylance-2021.5.3' 'ms-toolsai.jupyter-2021.6.832593372' 'ms-vscode.cpptools-1.3.1' 'ms-vsliveshare.vsliveshare-1.0.4272' [4372 ms] [4372 ms] [4373 ms] Start: Run in container: for pid in
cd /proc && ls -d [0-9]*
; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr " [4404 ms] Start: Starting VS Code Server [4405 ms] Start: Run in container: /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335/server.sh --log debug --force-disable-user-env --use-host-proxy --port 0 --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension ms-vscode.cpptools --install-extension austin.code-gnu-global --install-extension eamodio.gitlens --install-extension ms-vsliveshare.vsliveshare --install-extension ms-python.python --install-extension ms-toolsai.jupyter --install-extension ms-python.vscode-pylance --start-server [4834 ms]*
Extension host agent listening on 36085
[4835 ms] Start: Run in container: echo 36085 >/root/.vscode-server/data/Machine/.devport [4837 ms] [4837 ms] [4837 ms] Port forwarding for container port 36085 starts listening on local port. [4838 ms] Port forwarding local port 36085 to container port 36085 [4846 ms] Start: Run in container: # Test for /root/.gitconfig and git [4849 ms] [4849 ms] [4849 ms] Start: Run in container: # Copy C:\Users\simon.gitconfig to /root/.gitconfig [4853 ms] Port forwarding connection from 54594 > 36085 > 36085 in the container. [4854 ms] Start: Run in container: /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335/node -e [4855 ms] [4855 ms] [4855 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global credential.helper '!f() { /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335/node /tmp/vscode-remote-containers-11bcf3e3bdc003c11bf1115af4a71b7362fbe063.js $*; }; f' || true [4863 ms] [4863 ms] [4979 ms] [21:43:49] Extension host agent started. [4999 ms] Installing extensions... [5319 ms] Installing extension 'austin.code-gnu-global' v0.2.2... [5325 ms] Installing extension 'ms-python.vscode-pylance' v2021.5.3... [5328 ms] Port forwarding connection from 51260 > 36085 > 36085 in the container. [5328 ms] Start: Run in container: /root/.vscode-server/bin/054a9295330880ed74ceaedda236253b4f39a335/node -e [5347 ms] Installing extension 'ms-vsliveshare.vsliveshare' v1.0.4272... [5356 ms] Installing extension 'ms-toolsai.jupyter' v2021.6.863311888... [5360 ms] Installing extension 'ms-python.python' v2021.5.842923320... [5364 ms] [21:43:49] [::ffff:127.0.0.1][cfb6a2d6][ManagementConnection] New connection established. [5377 ms] Installing extension 'eamodio.gitlens' v11.4.1... [5380 ms] Installing extension 'ms-vscode.cpptools' v1.3.1... [5397 ms] [21:43:49] Installing extension: austin.code-gnu-global [5398 ms] [21:43:49] Installing extension: ms-python.vscode-pylance [5399 ms] [21:43:49] Installing extension: ms-vsliveshare.vsliveshare [5399 ms] [21:43:49] Installing extension: ms-python.python [5400 ms] [21:43:49] Installing extension: eamodio.gitlens [5400 ms] [21:43:49] Installing extension: ms-vscode.cpptools [5412 ms] [21:43:49] Downloaded extension: austin.code-gnu-global /root/.vscode-server/extensionsCache/austin.code-gnu-global-0.2.2 [5413 ms] [21:43:49] Downloaded extension: ms-python.vscode-pylance /root/.vscode-server/extensionsCache/ms-python.vscode-pylance-2021.5.3 [5436 ms] [21:43:50] Downloaded extension: ms-vsliveshare.vsliveshare /root/.vscode-server/extensionsCache/ms-vsliveshare.vsliveshare-1.0.4272 [5450 ms] [21:43:50] Downloaded extension: ms-python.python /root/.vscode-server/extensionsCache/ms-python.python-2021.5.842923320 [5461 ms] [21:43:50] Downloaded extension: eamodio.gitlens /root/.vscode-server/extensionsCache/eamodio.gitlens-11.4.1 [5474 ms] [21:43:50] Downloaded extension: ms-vscode.cpptools /root/.vscode-server/extensionsCache/ms-vscode.cpptools-1.3.1 [5759 ms] [21:43:50] Installing extension: ms-toolsai.jupyter [5788 ms] [21:43:50] Downloaded extension: ms-toolsai.jupyter /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2021.6.832593372 [6009 ms] [21:43:50] Extracted extension to /root/.vscode-server/extensions/.dcfca7f8-6e81-4f7a-83b6-2013bd856a55: austin.code-gnu-global [6030 ms] [21:43:50] Renamed to /root/.vscode-server/extensions/austin.code-gnu-global-0.2.2 [6033 ms] [21:43:50] Installation completed. austin.code-gnu-global [6040 ms] [21:43:50] Extensions installed successfully: austin.code-gnu-global [6042 ms] Extension 'austin.code-gnu-global' v0.2.2 was successfully installed. [6377 ms] [21:43:50] [::ffff:127.0.0.1][d1a427fe][ExtensionHostConnection] New connection established. [6386 ms] [21:43:50] [::ffff:127.0.0.1][d1a427fe][ExtensionHostConnection] <195> Launched Extension Host Process. [7046 ms] [21:43:51] Extracted extension to /root/.vscode-server/extensions/.adb6951e-f1e3-46e6-87e0-6b7e67039d98: ms-vscode.cpptools [7070 ms] [21:43:51] Renamed to /root/.vscode-server/extensions/ms-vscode.cpptools-1.3.1 [7087 ms] [21:43:51] Installation completed. ms-vscode.cpptools [7087 ms] [21:43:51] Extensions installed successfully: ms-vscode.cpptools [7087 ms] Extension 'ms-vscode.cpptools' v1.3.1 was successfully installed. [12674 ms] [21:43:57] Extracted extension to /root/.vscode-server/extensions/.9ddf4cab-4810-4c74-9260-e34fe9434fdc: ms-python.vscode-pylance [12690 ms] [21:43:57] Renamed to /root/.vscode-server/extensions/ms-python.vscode-pylance-2021.5.3 [12693 ms] [21:43:57] Installation completed. ms-python.vscode-pylance [13320 ms] [21:43:57] Extracted extension to /root/.vscode-server/extensions/.e053e7aa-23a6-4b5e-ba2e-f16bc2e4bbe8: ms-python.python [13332 ms] [21:43:57] Renamed to /root/.vscode-server/extensions/ms-python.python-2021.5.842923320 [13335 ms] [21:43:57] Installation completed. ms-python.python [13714 ms] [21:43:58] Installing extension: ms-toolsai.jupyter [13725 ms] [21:43:58] Downloaded extension: ms-toolsai.jupyter /root/.vscode-server/extensionsCache/ms-toolsai.jupyter-2021.6.832593372 [13743 ms] [21:43:58] Uninstalling extension: ms-python.python [13744 ms] [21:43:58] Uninstalling extension: ms-python.vscode-pylance [13774 ms] [21:43:58] Successfully uninstalled extension: ms-python.vscode-pylance [13925 ms] [21:43:58] Successfully uninstalled extension: ms-python.python [720579 ms] Start: Run in container: cat /proc/2121/environ
Steps to Reproduce:
1.Just starting up the remote container connection