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.66k stars 286 forks source link

"Avoiding VS Code extension reinstalls" recipe for dev containers doesn't work #7690

Open jhrmnn opened 1 year ago

jhrmnn commented 1 year ago

Does this issue occur when all extensions are disabled?: Does not apply

Steps to Reproduce:

  1. Follow the guide at https://code.visualstudio.com/remote/advancedcontainers/avoid-extension-reinstalls
  2. Rebuild a container—container-local extensions are not activated even though they're present in the .vscode-server/extensions mount.

What works:

  1. Instead of .vscode-server/extensions, create a volume for the whole .vscode-server directory. This works, but I don't know if it won't break other things.
sandy081 commented 1 year ago

@chrmarti May I know if you are able to repro this?

Interpause commented 1 year ago

Hi I am having the same issue.

Supportic commented 1 year ago

Apparently this is something not stable to use since the instructions page throws a 404 now. My experience was when creating the volume for the first time it kinda worked but every subsequent build it created a .obsolete file in the ~/.vscode-server/extensions directory.

maresb commented 1 year ago

I have been following the now-missing "avoid extension reinstalls" guide, and my extensions have been completely unstable over the past week or so. My main question: What is the new guidance for avoiding extension reinstalls?

To be more specific, in my case, seemingly at random, after startup several extensions are missing and their installation page displays the following warning:

⚠️ This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in 'Dev Container: project_name' to enable. Learn More

and the "Dev containers" startup shell shows

[13141 ms] Extension 'ms-python.python' v2022.20.2 is already installed. Use '--force' option to update to latest version or provide '@<version>' to install a specific version, for example: 'ms-python.python@1.2.3'.
[13152 ms] Extension 'ms-python.vscode-pylance' v2023.1.30 is already installed. Use '--force' option to update to latest version or provide '@<version>' to install a specific version, for example: 'ms-python.vscode-pylance@1.2.3'.

Sometimes this happens after reloading the window. The random nature of the problem makes it really hard to reproduce reliably.

Interpause commented 1 year ago

For me, I noticed it seems to alternate. If the extension is installed, it will get uninstalled. If it is not installed, it will attempt to install. That said, the workaround by the issue author seems to work.

chrmarti commented 1 year ago

We cache VSIXs in a vscode volume to improve performance. Not sure why the manual mounting of the extensions folder no longer works.

kowalej-925 commented 1 year ago

I'm also experiencing issues with avoiding extension re-installs. Up until a couple weeks ago, everything seemed to work fine with the following setup:

docker-compose:

      - vscode-extensions:/home/vscode/.vscode-server/extensions
      - vscode-insider-extensions:/home/vscode/.vscode-server-insiders/extensions

Dockerfile:

RUN mkdir -p /home/$USERNAME/.vscode-server/extensions \
        /home/$USERNAME/.vscode-server-insiders/extensions \
    && chown -R $USERNAME \
        /home/$USERNAME/.vscode-server \
        /home/$USERNAME/.vscode-server-insiders

devcontainer.json:

"extensions": [
        "ms-python.python",
        "ms-python.pylint",
        "ms-python.vscode-pylance",
        ...
]

At some point no extensions would install when I rebuilt the container, until I changed the way extensions were defined in devcontainer.json:

"customizations": {
        "vscode": {
            "extensions": [
                "ms-python.python",
                        "ms-python.pylint",
                        "ms-python.vscode-pylance",
                        ...

Now the extensions will install upon rebuild, but the caching does not work. It seems to install them every time.

chrmarti commented 1 year ago

The following works for me:

{
    "image": "ubuntu:latest",
    "mounts": [
        "source=vscode-extensions,target=/root/.vscode-server-insiders/extensions,type=volume"
    ],
    "customizations": {
        "vscode": {
            "extensions": [
                "dbaeumer.vscode-eslint"
            ]
        }
    }
}

Could you append your log from when you rebuild the container? (F1 > Dev Containers: Show Container Log)

kowalej-925 commented 1 year ago

I can get you the log later, one thing I did notice is that with a fresh build after removing the volume mounts:

/home/vscode/.vscode-server/extensions <-- exists /home/vscode/.vscode-server-insiders/extensions <-- does not exist

code-n-go commented 1 year ago

I have been following the now-missing "avoid extension reinstalls" guide, and my extensions have been completely unstable over the past week or so. My main question: What is the new guidance for avoiding extension reinstalls?

To be more specific, in my case, seemingly at random, after startup several extensions are missing and their installation page displays the following warning:

⚠️ This extension is disabled in this workspace because it is defined to run in the Remote Extension Host. Please install the extension in 'Dev Container: project_name' to enable. Learn More

and the "Dev containers" startup shell shows

[13141 ms] Extension 'ms-python.python' v2022.20.2 is already installed. Use '--force' option to update to latest version or provide '@<version>' to install a specific version, for example: 'ms-python.python@1.2.3'.
[13152 ms] Extension 'ms-python.vscode-pylance' v2023.1.30 is already installed. Use '--force' option to update to latest version or provide '@<version>' to install a specific version, for example: 'ms-python.vscode-pylance@1.2.3'.

Sometimes this happens after reloading the window. The random nature of the problem makes it really hard to reproduce reliably.

Any updates / movement on this? This is driving me insane also. Upon build/rebuilds... extensions defined in the devcontainer.json seem to install randomly. On one build, a few are always missing... and it's completely random which ones those are. There's no consistent way to ensure all of them are being installed.

empyriumz commented 1 year ago

@code-n-go I'm having this problem too. After the latest update (Aug. 23), every time I reload a remote container window I need to reinstall the python extension.

maresb commented 1 year ago

I just put in some time to minimize my devcontainer.json and produce some logs.

I was even able to reproduce the problem without the bind mount, so perhaps in my case it's not even the cache which is responsible.

Here's my devcontainer.json:

{
    "image": "ubuntu:latest",
    "extensions": [
        "ms-python.python",
        "ms-python.vscode-pylance",
        "ms-python.flake8",
        "ms-python.isort",
        "ms-toolsai.jupyter",
        "ms-azuretools.vscode-docker",
        "ms-vsliveshare.vsliveshare",
        "donjayamanne.githistory",
        "eamodio.gitlens",
        "github.copilot",
        "exiasr.hadolint",
        "jnoortheen.xonsh",
    ]
}

Note that I can't seem to reliably trigger the failure, so it's really painstaking to reduce the list of extensions I'm installing.

In this case the Jupyter extension didn't install.

The part of the logs which looks likely relevant is:

[2023-08-11T12:03:43.347Z] [12:03:43] Extracting extension completed. ms-toolsai.jupyter-renderers
[2023-08-11T12:03:43.402Z] [12:03:43] Marked extension as uninstalled ms-toolsai.jupyter-keymap-1.1.2
[2023-08-11T12:03:43.422Z] [12:03:43] Marked extension as uninstalled ms-toolsai.vscode-jupyter-slideshow-0.1.5
[2023-08-11T12:03:43.423Z] [12:03:43] Rollback: Uninstalled extension ms-toolsai.jupyter-keymap
[12:03:43] Rollback: Uninstalled extension ms-toolsai.vscode-jupyter-slideshow
[12:03:43] Rollback: Uninstalled extension ms-toolsai.jupyter-renderers
[2023-08-11T12:03:43.438Z] [12:03:43] Marked extension as uninstalled ms-toolsai.jupyter-renderers-1.0.17
Full Logs ``` [2023-08-11T12:03:22.101Z] Dev Containers 0.304.0 in VS Code 1.80.2 (2ccd690cbff1569e4a83d7c43d45101f817401dc). [2023-08-11T12:03:22.101Z] Start: Resolving Remote [2023-08-11T12:03:22.133Z] Setting up container for folder or workspace: /tmp/12 [2023-08-11T12:03:22.139Z] Start: Check Docker is running [2023-08-11T12:03:22.140Z] Start: Run: docker version --format {{.Server.APIVersion}} [2023-08-11T12:03:22.195Z] Stop (55 ms): Run: docker version --format {{.Server.APIVersion}} [2023-08-11T12:03:22.196Z] Server API version: 1.43 [2023-08-11T12:03:22.196Z] Stop (57 ms): Check Docker is running [2023-08-11T12:03:22.198Z] Start: Run: docker volume ls -q [2023-08-11T12:03:22.262Z] Stop (64 ms): Run: docker volume ls -q [2023-08-11T12:03:22.264Z] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/tmp/12 --filter label=vsch.quality=stable [2023-08-11T12:03:22.315Z] Stop (51 ms): Run: docker ps -q -a --filter label=vsch.local.folder=/tmp/12 --filter label=vsch.quality=stable [2023-08-11T12:03:22.316Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:22.386Z] Stop (70 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:22.387Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 [2023-08-11T12:03:22.424Z] Stop (37 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 [2023-08-11T12:03:22.424Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 [2023-08-11T12:03:22.482Z] Stop (58 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 [2023-08-11T12:03:22.484Z] Start: Run: /usr/share/code/code --ms-enable-electron-run-as-node /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /tmp/12 --id-label devcontainer.local_folder=/tmp/12 --id-label devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --log-level debug --log-format json --config /tmp/12/.devcontainer/devcontainer.json --mount-workspace-git-root true [2023-08-11T12:03:23.066Z] @devcontainers/cli 0.50.0. Node.js v16.17.1. linux 5.15.0-78-generic x64. [2023-08-11T12:03:23.066Z] Start: Run: git rev-parse --show-cdup [2023-08-11T12:03:23.078Z] Stop (12 ms): Run: git rev-parse --show-cdup [2023-08-11T12:03:23.079Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:23.113Z] Stop (34 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:23.130Z] Stop (646 ms): Run: /usr/share/code/code --ms-enable-electron-run-as-node /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /tmp/12 --id-label devcontainer.local_folder=/tmp/12 --id-label devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --log-level debug --log-format json --config /tmp/12/.devcontainer/devcontainer.json --mount-workspace-git-root true [2023-08-11T12:03:23.131Z] Start: Run: /usr/share/code/code --ms-enable-electron-run-as-node /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/mares/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965 --workspace-folder /tmp/12 --workspace-mount-consistency cached --id-label devcontainer.local_folder=/tmp/12 --id-label devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --log-level debug --log-format json --config /tmp/12/.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 true [2023-08-11T12:03:23.706Z] @devcontainers/cli 0.50.0. Node.js v16.17.1. linux 5.15.0-78-generic x64. [2023-08-11T12:03:23.705Z] Start: Run: docker buildx version [2023-08-11T12:03:23.882Z] Stop (177 ms): Run: docker buildx version [2023-08-11T12:03:23.883Z] github.com/docker/buildx v0.11.2 9872040 [2023-08-11T12:03:23.883Z] [2023-08-11T12:03:23.883Z] Start: Resolving Remote [2023-08-11T12:03:23.910Z] Start: Run: git rev-parse --show-cdup [2023-08-11T12:03:23.918Z] Stop (8 ms): Run: git rev-parse --show-cdup [2023-08-11T12:03:23.935Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:23.979Z] Stop (44 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:23.980Z] Start: Run: docker inspect --type image ubuntu:latest [2023-08-11T12:03:24.014Z] Stop (34 ms): Run: docker inspect --type image ubuntu:latest [2023-08-11T12:03:24.015Z] local container features stored at: /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/node_modules/vscode-dev-containers/container-features [2023-08-11T12:03:24.017Z] Start: Run: tar --no-same-owner -x -f - [2023-08-11T12:03:24.037Z] Stop (20 ms): Run: tar --no-same-owner -x -f - [2023-08-11T12:03:24.041Z] Start: Run: docker -v [2023-08-11T12:03:24.067Z] Stop (26 ms): Run: docker -v [2023-08-11T12:03:24.067Z] Start: Run: docker events --format {{json .}} --filter event=start [2023-08-11T12:03:24.076Z] Start: Starting container [2023-08-11T12:03:24.077Z] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=/tmp/12,target=/workspaces/12 --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=/tmp/12 -l devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --entrypoint /bin/sh -l devcontainer.metadata=[{"customizations":{"vscode":{"extensions":["ms-python.python","ms-python.vscode-pylance","ms-python.flake8","ms-python.isort","ms-toolsai.jupyter","ms-azuretools.vscode-docker","ms-vsliveshare.vsliveshare","donjayamanne.githistory","eamodio.gitlens","github.copilot","exiasr.hadolint","jnoortheen.xonsh"]}}}] ubuntu:latest -c echo Container started [2023-08-11T12:03:24.825Z] Container started [2023-08-11T12:03:24.833Z] Stop (757 ms): Starting container [2023-08-11T12:03:24.833Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:24.846Z] Stop (779 ms): Run: docker events --format {{json .}} --filter event=start [2023-08-11T12:03:24.893Z] Stop (60 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=/tmp/12 --filter label=devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json [2023-08-11T12:03:24.893Z] Start: Run: docker inspect --type container c7aa3f961bc4 [2023-08-11T12:03:24.953Z] Stop (60 ms): Run: docker inspect --type container c7aa3f961bc4 [2023-08-11T12:03:24.954Z] Start: Inspecting container [2023-08-11T12:03:24.954Z] Start: Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:24.988Z] Stop (34 ms): Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:24.989Z] Stop (35 ms): Inspecting container [2023-08-11T12:03:24.990Z] Start: Run in container: /bin/sh [2023-08-11T12:03:24.995Z] Start: Run in container: uname -m [2023-08-11T12:03:25.149Z] x86_64 [2023-08-11T12:03:25.149Z] [2023-08-11T12:03:25.149Z] Stop (154 ms): Run in container: uname -m [2023-08-11T12:03:25.149Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2023-08-11T12:03:25.155Z] PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy 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=jammy [2023-08-11T12:03:25.155Z] [2023-08-11T12:03:25.155Z] Stop (6 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2023-08-11T12:03:25.155Z] Start: Run in container: getent passwd root [2023-08-11T12:03:25.161Z] Stop (6 ms): Run in container: getent passwd root [2023-08-11T12:03:25.161Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker' [2023-08-11T12:03:25.163Z] [2023-08-11T12:03:25.163Z] [2023-08-11T12:03:25.163Z] Exit code 1 [2023-08-11T12:03:25.163Z] Stop (2 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker' [2023-08-11T12:03:25.164Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null [2023-08-11T12:03:25.166Z] [2023-08-11T12:03:25.166Z] [2023-08-11T12:03:25.166Z] Stop (2 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null [2023-08-11T12:03:25.166Z] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [2023-08-11T12:03:25.174Z] [2023-08-11T12:03:25.174Z] [2023-08-11T12:03:25.174Z] Stop (8 ms): Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [2023-08-11T12:03:25.175Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker' [2023-08-11T12:03:25.177Z] [2023-08-11T12:03:25.177Z] [2023-08-11T12:03:25.177Z] Exit code 1 [2023-08-11T12:03:25.177Z] Stop (2 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker' [2023-08-11T12:03:25.177Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null [2023-08-11T12:03:25.179Z] [2023-08-11T12:03:25.179Z] [2023-08-11T12:03:25.179Z] Stop (2 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null [2023-08-11T12:03:25.179Z] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [2023-08-11T12:03:25.184Z] [2023-08-11T12:03:25.184Z] [2023-08-11T12:03:25.184Z] Stop (5 ms): Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [2023-08-11T12:03:25.184Z] Stop (1301 ms): Resolving Remote [2023-08-11T12:03:25.197Z] Stop (2066 ms): Run: /usr/share/code/code --ms-enable-electron-run-as-node /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/mares/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --container-session-data-folder /tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965 --workspace-folder /tmp/12 --workspace-mount-consistency cached --id-label devcontainer.local_folder=/tmp/12 --id-label devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --log-level debug --log-format json --config /tmp/12/.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 true [2023-08-11T12:03:25.198Z] Start: Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:25.244Z] Stop (46 ms): Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:25.246Z] Start: Run: docker exec -i -u root c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=4ce9252b-885d-44d7-9604-2375c559d3d41691755399965 ; /bin/sh [2023-08-11T12:03:25.257Z] Start: Run: /usr/share/code/code --ms-enable-electron-run-as-node /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /tmp/12 --id-label devcontainer.local_folder=/tmp/12 --id-label devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --container-id c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de --log-level debug --log-format json --config /tmp/12/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true [2023-08-11T12:03:25.440Z] New container started. Keep-alive process started. [2023-08-11T12:03:26.062Z] @devcontainers/cli 0.50.0. Node.js v16.17.1. linux 5.15.0-78-generic x64. [2023-08-11T12:03:26.062Z] Start: Run: git rev-parse --show-cdup [2023-08-11T12:03:26.076Z] Stop (14 ms): Run: git rev-parse --show-cdup [2023-08-11T12:03:26.078Z] Start: Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:26.134Z] Stop (56 ms): Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:26.145Z] Stop (888 ms): Run: /usr/share/code/code --ms-enable-electron-run-as-node /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /tmp/12 --id-label devcontainer.local_folder=/tmp/12 --id-label devcontainer.config_file=/tmp/12/.devcontainer/devcontainer.json --container-id c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de --log-level debug --log-format json --config /tmp/12/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true [2023-08-11T12:03:26.146Z] Start: Inspecting container [2023-08-11T12:03:26.146Z] Start: Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:26.186Z] Stop (40 ms): Run: docker inspect --type container c7aa3f961bc4e70e1c5022c9aa0ce81f0ec44620882326900930d29ad46af0de [2023-08-11T12:03:26.187Z] Stop (41 ms): Inspecting container [2023-08-11T12:03:26.188Z] Start: Run in container: /bin/sh [2023-08-11T12:03:26.214Z] Start: Run in container: uname -m [2023-08-11T12:03:26.399Z] x86_64 [2023-08-11T12:03:26.399Z] [2023-08-11T12:03:26.399Z] Stop (185 ms): Run in container: uname -m [2023-08-11T12:03:26.400Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2023-08-11T12:03:26.404Z] PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy 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=jammy [2023-08-11T12:03:26.405Z] [2023-08-11T12:03:26.405Z] Stop (5 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2023-08-11T12:03:26.405Z] Start: Run in container: getent passwd root [2023-08-11T12:03:26.414Z] Stop (9 ms): Run in container: getent passwd root [2023-08-11T12:03:26.416Z] Start: Run in container: command -v git >/dev/null 2>&1 && cd '/workspaces/12' && test -d .git && test "$(stat -c %u .)" != "$(id -u)" [2023-08-11T12:03:26.422Z] [2023-08-11T12:03:26.422Z] [2023-08-11T12:03:26.423Z] Exit code 127 [2023-08-11T12:03:26.423Z] Stop (7 ms): Run in container: command -v git >/dev/null 2>&1 && cd '/workspaces/12' && test -d .git && test "$(stat -c %u .)" != "$(id -u)" [2023-08-11T12:03:26.424Z] Start: Updating configuration state [2023-08-11T12:03:26.428Z] Stop (4 ms): Updating configuration state [2023-08-11T12:03:26.429Z] Start: Setup shutdown monitor [2023-08-11T12:03:26.431Z] Forking shutdown monitor: /home/mares/.vscode/extensions/ms-vscode-remote.remote-containers-0.304.0/dist/shutdown/shutdownMonitorProcess /run/user/1000/vscode-remote-containers-7aa0cfbb-6063-4f97-a7a6-9b88f0b44326.sock singleContainer Debug /home/mares/.config/Code/logs/20230731T102446/window33/exthost/ms-vscode-remote.remote-containers 1691755402029 [2023-08-11T12:03:26.456Z] Stop (27 ms): Setup shutdown monitor [2023-08-11T12:03:26.461Z] Start: Run in container: test -d /root/.vscode-server [2023-08-11T12:03:26.466Z] [2023-08-11T12:03:26.466Z] [2023-08-11T12:03:26.466Z] Exit code 1 [2023-08-11T12:03:26.466Z] Stop (5 ms): Run in container: test -d /root/.vscode-server [2023-08-11T12:03:26.466Z] Start: Run in container: test -d /root/.vscode-remote [2023-08-11T12:03:26.468Z] [2023-08-11T12:03:26.469Z] [2023-08-11T12:03:26.469Z] Exit code 1 [2023-08-11T12:03:26.469Z] Stop (3 ms): Run in container: test -d /root/.vscode-remote [2023-08-11T12:03:26.470Z] 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 [2023-08-11T12:03:26.474Z] [2023-08-11T12:03:26.474Z] [2023-08-11T12:03:26.474Z] Stop (4 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 [2023-08-11T12:03:26.474Z] Start: Run in container: cat /root/.vscode-server/data/Machine/settings.json [2023-08-11T12:03:26.477Z] [2023-08-11T12:03:26.477Z] cat: /root/.vscode-server/data/Machine/settings.json: No such file or directory [2023-08-11T12:03:26.477Z] Exit code 1 [2023-08-11T12:03:26.477Z] Stop (3 ms): Run in container: cat /root/.vscode-server/data/Machine/settings.json [2023-08-11T12:03:26.478Z] Start: Run in container: test -d /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc [2023-08-11T12:03:26.480Z] [2023-08-11T12:03:26.480Z] [2023-08-11T12:03:26.480Z] Exit code 1 [2023-08-11T12:03:26.480Z] Stop (2 ms): Run in container: test -d /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc [2023-08-11T12:03:26.481Z] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/2ccd690cbff1569e4a83d7c43d45101f817401dc [2023-08-11T12:03:26.488Z] [2023-08-11T12:03:26.488Z] [2023-08-11T12:03:26.488Z] Stop (7 ms): Run in container: test -d /vscode/vscode-server/bin/linux-x64/2ccd690cbff1569e4a83d7c43d45101f817401dc [2023-08-11T12:03:26.492Z] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/2ccd690cbff1569e4a83d7c43d45101f817401dc' '/root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc' [2023-08-11T12:03:26.505Z] [2023-08-11T12:03:26.506Z] [2023-08-11T12:03:26.506Z] Stop (14 ms): Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/2ccd690cbff1569e4a83d7c43d45101f817401dc' '/root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc' [2023-08-11T12:03:26.509Z] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/2ccd690cbff1569e4a83d7c43d45101f817401dc' [2023-08-11T12:03:26.511Z] Start: Launching Dev Containers helper. [2023-08-11T12:03:26.511Z] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-656648af-d70d-4209-ba1a-60c4c0de61c8.sock) forwarded to local host (/run/user/1000/keyring/ssh). [2023-08-11T12:03:26.512Z] [2023-08-11T12:03:26.513Z] [2023-08-11T12:03:26.513Z] Stop (4 ms): Run in container: touch '/vscode/vscode-server/bin/linux-x64/2ccd690cbff1569e4a83d7c43d45101f817401dc' [2023-08-11T12:03:26.513Z] Start: Run in container: test -e /tmp/.X11-unix/X0 [2023-08-11T12:03:26.515Z] [2023-08-11T12:03:26.515Z] [2023-08-11T12:03:26.515Z] Exit code 1 [2023-08-11T12:03:26.515Z] Stop (2 ms): Run in container: test -e /tmp/.X11-unix/X0 [2023-08-11T12:03:26.515Z] Start: Run in container: mkdir -p '/tmp/.X11-unix' [2023-08-11T12:03:26.518Z] [2023-08-11T12:03:26.518Z] [2023-08-11T12:03:26.519Z] Stop (4 ms): Run in container: mkdir -p '/tmp/.X11-unix' [2023-08-11T12:03:26.519Z] X11 forwarding: DISPLAY in container (:0) forwarded to local host (:0). [2023-08-11T12:03:26.520Z] Start: Run in container: gpgconf --list-dir agent-socket [2023-08-11T12:03:26.527Z] [2023-08-11T12:03:26.527Z] /bin/sh: 15: gpgconf: not found [2023-08-11T12:03:26.527Z] Exit code 127 [2023-08-11T12:03:26.528Z] Stop (8 ms): Run in container: gpgconf --list-dir agent-socket [2023-08-11T12:03:26.528Z] gpg-agent: No agent-socket found in container. [2023-08-11T12:03:26.528Z] Start: Run in container: command -v docker >/dev/null 2>&1 [2023-08-11T12:03:26.531Z] [2023-08-11T12:03:26.531Z] [2023-08-11T12:03:26.531Z] Exit code 127 [2023-08-11T12:03:26.532Z] Stop (4 ms): Run in container: command -v docker >/dev/null 2>&1 [2023-08-11T12:03:26.535Z] Start: Run in container: /bin/sh [2023-08-11T12:03:26.535Z] Stop (24 ms): Launching Dev Containers helper. [2023-08-11T12:03:26.554Z] userEnvProbe: loginInteractiveShell (default) [2023-08-11T12:03:26.555Z] Start: Run in container: test -f '/tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965/env-loginInteractiveShell.json' [2023-08-11T12:03:26.556Z] Start: Run in container: echo ~ [2023-08-11T12:03:26.557Z] [2023-08-11T12:03:26.558Z] [2023-08-11T12:03:26.558Z] Exit code 1 [2023-08-11T12:03:26.558Z] Stop (3 ms): Run in container: test -f '/tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965/env-loginInteractiveShell.json' [2023-08-11T12:03:26.558Z] userEnvProbe: not found in cache [2023-08-11T12:03:26.559Z] userEnvProbe shell: /bin/bash [2023-08-11T12:03:26.559Z] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh [2023-08-11T12:03:26.568Z] ssh not found [2023-08-11T12:03:26.569Z] [2023-08-11T12:03:26.569Z] Exit code 1 [2023-08-11T12:03:26.569Z] Stop (10 ms): Run in container: # Test for /root/.ssh/known_hosts and ssh [2023-08-11T12:03:26.569Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node /tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js git-credential-helper $*; }; f' || true [2023-08-11T12:03:26.573Z] [2023-08-11T12:03:26.573Z] [2023-08-11T12:03:26.573Z] Stop (4 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node /tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js git-credential-helper $*; }; f' || true [2023-08-11T12:03:26.575Z] 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 " [2023-08-11T12:03:26.768Z] Stop (193 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 " [2023-08-11T12:03:26.770Z] Start: Run in container: cat '/root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/product.json' [2023-08-11T12:03:26.778Z] Stop (8 ms): Run in container: cat '/root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/product.json' [2023-08-11T12:03:26.780Z] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc' 2>/dev/null || (umask 377 && echo '5babe8b2-84b7-4dd7-a76b-39761e4350fc' >'/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc-3f2fa361-156d-4d22-b8ca-baac0cf0b36c' && mv -n '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc-3f2fa361-156d-4d22-b8ca-baac0cf0b36c' '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc' && rm -f '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc-3f2fa361-156d-4d22-b8ca-baac0cf0b36c' && cat '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc') [2023-08-11T12:03:26.793Z] 5babe8b2-84b7-4dd7-a76b-39761e4350fc [2023-08-11T12:03:26.794Z] [2023-08-11T12:03:26.794Z] Stop (14 ms): Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc' 2>/dev/null || (umask 377 && echo '5babe8b2-84b7-4dd7-a76b-39761e4350fc' >'/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc-3f2fa361-156d-4d22-b8ca-baac0cf0b36c' && mv -n '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc-3f2fa361-156d-4d22-b8ca-baac0cf0b36c' '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc' && rm -f '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc-3f2fa361-156d-4d22-b8ca-baac0cf0b36c' && cat '/root/.vscode-server/data/Machine/.connection-token-2ccd690cbff1569e4a83d7c43d45101f817401dc') [2023-08-11T12:03:26.794Z] Start: Starting VS Code Server [2023-08-11T12:03:26.795Z] Start: Preparing Extensions [2023-08-11T12:03:26.795Z] 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 [2023-08-11T12:03:26.800Z] [2023-08-11T12:03:26.800Z] [2023-08-11T12:03:26.800Z] Stop (5 ms): 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 [2023-08-11T12:03:26.803Z] Extensions cache, install extensions: ms-python.python, ms-python.vscode-pylance, ms-python.flake8, ms-python.isort, ms-toolsai.jupyter, ms-azuretools.vscode-docker, ms-vsliveshare.vsliveshare, donjayamanne.githistory, eamodio.gitlens, github.copilot, exiasr.hadolint, jnoortheen.xonsh [2023-08-11T12:03:26.803Z] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [2023-08-11T12:03:26.806Z] [2023-08-11T12:03:26.807Z] [2023-08-11T12:03:26.807Z] Stop (4 ms): Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true [2023-08-11T12:03:26.808Z] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [2023-08-11T12:03:26.811Z] davidanson.vscode-markdownlint-0.51.0 davidanson.vscode-markdownlint-0.51.0.sigzip donjayamanne.githistory-0.6.20 donjayamanne.githistory-0.6.20.sigzip eamodio.gitlens-14.2.1 eamodio.gitlens-14.2.1.sigzip eamodio.gitlens-2023.7.2905 eamodio.gitlens-2023.8.110 eamodio.gitlens-2023.8.205 eamodio.gitlens-2023.8.215 eamodio.gitlens-2023.8.305 eamodio.gitlens-2023.8.405 exiasr.hadolint-1.1.2 exiasr.hadolint-1.1.2.sigzip github.copilot-1.100.306 github.copilot-1.100.306.sigzip github.copilot-1.101.317 github.copilot-1.101.317.sigzip github.copilot-1.98.275 github.copilot-1.98.275.sigzip github.copilot-1.99.289 jnoortheen.xonsh-0.2.6 jnoortheen.xonsh-0.2.6.sigzip ms-azuretools.vscode-docker-1.26.0 ms-azuretools.vscode-docker-1.26.0.sigzip ms-python.flake8-2023.6.0 ms-python.flake8-2023.6.0.sigzip ms-python.isort-2023.10.1 ms-python.isort-2023.10.1.sigzip ms-python.python-2023.14.0 ms-python.python-2023.14.0.sigzip ms-python.vscode-pylance-2023.6.40.sigzip ms-python.vscode-pylance-2023.7.10 ms-python.vscode-pylance-2023.8.20 ms-python.vscode-pylance-2023.8.20.sigzip ms-toolsai.jupyter-2023.5.1101742258-linux-x64 ms-toolsai.jupyter-2023.6.1101941928-linux-x64 ms-toolsai.jupyter-2023.6.1101941928-linux-x64.sigzip ms-toolsai.jupyter-keymap-1.1.2 ms-toolsai.jupyter-keymap-1.1.2.sigzip ms-toolsai.jupyter-renderers-1.0.17 ms-toolsai.jupyter-renderers-1.0.17.sigzip ms-toolsai.vscode-jupyter-cell-tags-0.1.8 ms-toolsai.vscode-jupyter-cell-tags-0.1.8.sigzip ms-toolsai.vscode-jupyter-slideshow-0.1.5.sigzip ms-vsliveshare.vsliveshare-1.0.5877 ms-vsliveshare.vsliveshare-1.0.5877.sigzip mutantdino.resourcemonitor-1.0.7 mutantdino.resourcemonitor-1.0.7.sigzip [2023-08-11T12:03:26.812Z] [2023-08-11T12:03:26.812Z] Stop (4 ms): Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true [2023-08-11T12:03:26.813Z] Extensions cache, link in container: donjayamanne.githistory-0.6.20, donjayamanne.githistory-0.6.20.sigzip, eamodio.gitlens-14.2.1, eamodio.gitlens-14.2.1.sigzip, eamodio.gitlens-2023.7.2905, eamodio.gitlens-2023.8.110, eamodio.gitlens-2023.8.205, eamodio.gitlens-2023.8.215, eamodio.gitlens-2023.8.305, eamodio.gitlens-2023.8.405, exiasr.hadolint-1.1.2, exiasr.hadolint-1.1.2.sigzip, github.copilot-1.100.306, github.copilot-1.100.306.sigzip, github.copilot-1.101.317, github.copilot-1.101.317.sigzip, github.copilot-1.98.275, github.copilot-1.98.275.sigzip, github.copilot-1.99.289, jnoortheen.xonsh-0.2.6, jnoortheen.xonsh-0.2.6.sigzip, ms-azuretools.vscode-docker-1.26.0, ms-azuretools.vscode-docker-1.26.0.sigzip, ms-python.flake8-2023.6.0, ms-python.flake8-2023.6.0.sigzip, ms-python.isort-2023.10.1, ms-python.isort-2023.10.1.sigzip, ms-python.python-2023.14.0, ms-python.python-2023.14.0.sigzip, ms-python.vscode-pylance-2023.6.40.sigzip, ms-python.vscode-pylance-2023.7.10, ms-python.vscode-pylance-2023.8.20, ms-python.vscode-pylance-2023.8.20.sigzip, ms-toolsai.jupyter-2023.5.1101742258-linux-x64, ms-toolsai.jupyter-2023.6.1101941928-linux-x64, ms-toolsai.jupyter-2023.6.1101941928-linux-x64.sigzip, ms-toolsai.jupyter-keymap-1.1.2, ms-toolsai.jupyter-keymap-1.1.2.sigzip, ms-toolsai.jupyter-renderers-1.0.17, ms-toolsai.jupyter-renderers-1.0.17.sigzip, ms-vsliveshare.vsliveshare-1.0.5877, ms-vsliveshare.vsliveshare-1.0.5877.sigzip [2023-08-11T12:03:26.813Z] Start: Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/root/.vscode-server/extensionsCache' || true [2023-08-11T12:03:26.817Z] /root [2023-08-11T12:03:26.817Z] [2023-08-11T12:03:26.817Z] Stop (261 ms): Run in container: echo ~ [2023-08-11T12:03:26.821Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js' >/tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js [2023-08-11T12:03:26.826Z] [2023-08-11T12:03:26.827Z] [2023-08-11T12:03:26.827Z] Stop (6 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js' >/tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js [2023-08-11T12:03:26.827Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-656648af-d70d-4209-ba1a-60c4c0de61c8.js' >/tmp/vscode-remote-containers-server-656648af-d70d-4209-ba1a-60c4c0de61c8.js_1691755406827 [2023-08-11T12:03:26.830Z] [2023-08-11T12:03:26.830Z] [2023-08-11T12:03:26.830Z] Stop (17 ms): Run in container: mkdir -p '/root/.vscode-server/extensionsCache' && ln -s '/vscode/vscode-server/extensionsCache'/* '/root/.vscode-server/extensionsCache' || true [2023-08-11T12:03:26.832Z] Optimizing extensions for quality: stable [2023-08-11T12:03:26.832Z] Start: Run in container: cd /vscode/vscode-server/extensionsCache && touch 'donjayamanne.githistory-0.6.20' 'donjayamanne.githistory-0.6.20.sigzip' 'eamodio.gitlens-14.2.1' 'eamodio.gitlens-14.2.1.sigzip' 'eamodio.gitlens-2023.7.2905' 'eamodio.gitlens-2023.8.110' 'eamodio.gitlens-2023.8.205' 'eamodio.gitlens-2023.8.215' 'eamodio.gitlens-2023.8.305' 'eamodio.gitlens-2023.8.405' 'exiasr.hadolint-1.1.2' 'exiasr.hadolint-1.1.2.sigzip' 'github.copilot-1.100.306' 'github.copilot-1.100.306.sigzip' 'github.copilot-1.101.317' 'github.copilot-1.101.317.sigzip' 'github.copilot-1.98.275' 'github.copilot-1.98.275.sigzip' 'github.copilot-1.99.289' 'jnoortheen.xonsh-0.2.6' 'jnoortheen.xonsh-0.2.6.sigzip' 'ms-azuretools.vscode-docker-1.26.0' 'ms-azuretools.vscode-docker-1.26.0.sigzip' 'ms-python.flake8-2023.6.0' 'ms-python.flake8-2023.6.0.sigzip' 'ms-python.isort-2023.10.1' 'ms-python.isort-2023.10.1.sigzip' 'ms-python.python-2023.14.0' 'ms-python.python-2023.14.0.sigzip' 'ms-python.vscode-pylance-2023.6.40.sigzip' 'ms-python.vscode-pylance-2023.7.10' 'ms-python.vscode-pylance-2023.8.20' 'ms-python.vscode-pylance-2023.8.20.sigzip' 'ms-toolsai.jupyter-2023.5.1101742258-linux-x64' 'ms-toolsai.jupyter-2023.6.1101941928-linux-x64' 'ms-toolsai.jupyter-2023.6.1101941928-linux-x64.sigzip' 'ms-toolsai.jupyter-keymap-1.1.2' 'ms-toolsai.jupyter-keymap-1.1.2.sigzip' 'ms-toolsai.jupyter-renderers-1.0.17' 'ms-toolsai.jupyter-renderers-1.0.17.sigzip' 'ms-vsliveshare.vsliveshare-1.0.5877' 'ms-vsliveshare.vsliveshare-1.0.5877.sigzip' [2023-08-11T12:03:26.833Z] Stop (38 ms): Preparing Extensions [2023-08-11T12:03:26.834Z] Start: Run in container: /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/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-2ccd690cbff1569e4a83d7c43d45101f817401dc --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension ms-python.python --install-extension ms-python.vscode-pylance --install-extension ms-python.flake8 --install-extension ms-python.isort --install-extension ms-toolsai.jupyter --install-extension ms-azuretools.vscode-docker --install-extension ms-vsliveshare.vsliveshare --install-extension donjayamanne.githistory --install-extension eamodio.gitlens --install-extension github.copilot --install-extension exiasr.hadolint --install-extension jnoortheen.xonsh --start-server --disable-websocket-compression [2023-08-11T12:03:26.845Z] [2023-08-11T12:03:26.846Z] [2023-08-11T12:03:26.846Z] Stop (19 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-656648af-d70d-4209-ba1a-60c4c0de61c8.js' >/tmp/vscode-remote-containers-server-656648af-d70d-4209-ba1a-60c4c0de61c8.js_1691755406827 [2023-08-11T12:03:26.849Z] [2023-08-11T12:03:26.850Z] [2023-08-11T12:03:26.850Z] Stop (18 ms): Run in container: cd /vscode/vscode-server/extensionsCache && touch 'donjayamanne.githistory-0.6.20' 'donjayamanne.githistory-0.6.20.sigzip' 'eamodio.gitlens-14.2.1' 'eamodio.gitlens-14.2.1.sigzip' 'eamodio.gitlens-2023.7.2905' 'eamodio.gitlens-2023.8.110' 'eamodio.gitlens-2023.8.205' 'eamodio.gitlens-2023.8.215' 'eamodio.gitlens-2023.8.305' 'eamodio.gitlens-2023.8.405' 'exiasr.hadolint-1.1.2' 'exiasr.hadolint-1.1.2.sigzip' 'github.copilot-1.100.306' 'github.copilot-1.100.306.sigzip' 'github.copilot-1.101.317' 'github.copilot-1.101.317.sigzip' 'github.copilot-1.98.275' 'github.copilot-1.98.275.sigzip' 'github.copilot-1.99.289' 'jnoortheen.xonsh-0.2.6' 'jnoortheen.xonsh-0.2.6.sigzip' 'ms-azuretools.vscode-docker-1.26.0' 'ms-azuretools.vscode-docker-1.26.0.sigzip' 'ms-python.flake8-2023.6.0' 'ms-python.flake8-2023.6.0.sigzip' 'ms-python.isort-2023.10.1' 'ms-python.isort-2023.10.1.sigzip' 'ms-python.python-2023.14.0' 'ms-python.python-2023.14.0.sigzip' 'ms-python.vscode-pylance-2023.6.40.sigzip' 'ms-python.vscode-pylance-2023.7.10' 'ms-python.vscode-pylance-2023.8.20' 'ms-python.vscode-pylance-2023.8.20.sigzip' 'ms-toolsai.jupyter-2023.5.1101742258-linux-x64' 'ms-toolsai.jupyter-2023.6.1101941928-linux-x64' 'ms-toolsai.jupyter-2023.6.1101941928-linux-x64.sigzip' 'ms-toolsai.jupyter-keymap-1.1.2' 'ms-toolsai.jupyter-keymap-1.1.2.sigzip' 'ms-toolsai.jupyter-renderers-1.0.17' 'ms-toolsai.jupyter-renderers-1.0.17.sigzip' 'ms-vsliveshare.vsliveshare-1.0.5877' 'ms-vsliveshare.vsliveshare-1.0.5877.sigzip' [2023-08-11T12:03:27.043Z] userEnvProbe PATHs: Probe: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' [2023-08-11T12:03:27.044Z] Start: Run in container: mkdir -p '/tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965' && cat > '/tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965/env-loginInteractiveShell.json' << 'envJSON' [2023-08-11T12:03:27.063Z] [2023-08-11T12:03:27.063Z] [2023-08-11T12:03:27.063Z] Stop (19 ms): Run in container: mkdir -p '/tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965' && cat > '/tmp/devcontainers-4ce9252b-885d-44d7-9604-2375c559d3d41691755399965/env-loginInteractiveShell.json' << 'envJSON' [2023-08-11T12:03:27.168Z] * * 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). * [2023-08-11T12:03:27.176Z] Server bound to 127.0.0.1:37683 (IPv4) Extension host agent listening on 37683 [2023-08-11T12:03:27.177Z] Stop (383 ms): Starting VS Code Server [2023-08-11T12:03:27.177Z] Start: Run in container: echo 37683 >'/root/.vscode-server/data/Machine/.devport-2ccd690cbff1569e4a83d7c43d45101f817401dc' [2023-08-11T12:03:27.184Z] [2023-08-11T12:03:27.185Z] [2023-08-11T12:03:27.185Z] Stop (8 ms): Run in container: echo 37683 >'/root/.vscode-server/data/Machine/.devport-2ccd690cbff1569e4a83d7c43d45101f817401dc' [2023-08-11T12:03:27.185Z] Port forwarding for container port 37683 starts listening on local port. [2023-08-11T12:03:27.186Z] Port forwarding local port 37683 to container port 37683 [2023-08-11T12:03:27.204Z] Stop (5103 ms): Resolving Remote [2023-08-11T12:03:27.212Z] Start: Run in container: # Test for /root/.gitconfig and git [2023-08-11T12:03:27.251Z] git not found [2023-08-11T12:03:27.252Z] [2023-08-11T12:03:27.252Z] Exit code 1 [2023-08-11T12:03:27.252Z] Stop (40 ms): Run in container: # Test for /root/.gitconfig and git [2023-08-11T12:03:27.253Z] Port forwarding connection from 40952 > 37683 > 37683 in the container. [2023-08-11T12:03:27.254Z] Start: Run in container: /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node -e [2023-08-11T12:03:27.295Z] Start: Run in container: # Cleaning up git config [2023-08-11T12:03:27.335Z] [2023-08-11T12:03:27.336Z] /bin/sh: 55: git: not found /bin/sh: 55: git: not found /bin/sh: 55: git: not found [2023-08-11T12:03:27.336Z] Stop (41 ms): Run in container: # Cleaning up git config [2023-08-11T12:03:27.336Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node /tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js git-credential-helper $*; }; f' || true [2023-08-11T12:03:27.344Z] [2023-08-11T12:03:27.345Z] [2023-08-11T12:03:27.345Z] Stop (9 ms): Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node /tmp/vscode-remote-containers-656648af-d70d-4209-ba1a-60c4c0de61c8.js git-credential-helper $*; }; f' || true [2023-08-11T12:03:27.501Z] [12:03:27] [2023-08-11T12:03:27.548Z] [12:03:27] Installing extensions... [2023-08-11T12:03:27.561Z] [12:03:27] Extension host agent started. [2023-08-11T12:03:27.577Z] [12:03:27] No uninstalled extensions found. [2023-08-11T12:03:27.602Z] [12:03:27] Started initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions [2023-08-11T12:03:27.650Z] Port forwarding 40952 > 37683 > 37683 stderr: Connection established [2023-08-11T12:03:27.683Z] [12:03:27] ComputeTargetPlatform: linux-x64 [2023-08-11T12:03:27.689Z] Port forwarding connection from 40972 > 37683 > 37683 in the container. [2023-08-11T12:03:27.690Z] Start: Run in container: /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node -e [2023-08-11T12:03:27.740Z] [12:03:27] Completed initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions [12:03:27] ComputeTargetPlatform: linux-x64 [2023-08-11T12:03:27.781Z] [12:03:27] [127.0.0.1][a3ff18be][ManagementConnection] New connection established. [2023-08-11T12:03:27.813Z] [12:03:27] Log level changed to info [2023-08-11T12:03:28.056Z] Port forwarding 40972 > 37683 > 37683 stderr: Connection established [2023-08-11T12:03:28.540Z] [12:03:28] [127.0.0.1][5e5b88c3][ExtensionHostConnection] New connection established. [2023-08-11T12:03:28.568Z] [12:03:28] [127.0.0.1][5e5b88c3][ExtensionHostConnection] <274> Launched Extension Host Process. [2023-08-11T12:03:29.204Z] [12:03:29] Installing extension 'ms-python.vscode-pylance'... [2023-08-11T12:03:29.205Z] [12:03:29] Getting Manifest... ms-python.vscode-pylance [2023-08-11T12:03:29.210Z] [12:03:29] Installing extension 'ms-python.flake8'... [12:03:29] Getting Manifest... ms-python.flake8 [2023-08-11T12:03:29.210Z] [12:03:29] Installing extension 'ms-python.isort'... [12:03:29] Getting Manifest... ms-python.isort [2023-08-11T12:03:29.217Z] [12:03:29] Installing extension 'ms-python.python'... [12:03:29] Getting Manifest... ms-python.python [2023-08-11T12:03:29.231Z] [12:03:29] Installing extension 'ms-toolsai.jupyter'... [2023-08-11T12:03:29.245Z] [12:03:29] Installing extension 'ms-azuretools.vscode-docker'... [12:03:29] Getting Manifest... ms-azuretools.vscode-docker [2023-08-11T12:03:29.246Z] [12:03:29] Installing extension 'donjayamanne.githistory'... [12:03:29] Getting Manifest... donjayamanne.githistory [2023-08-11T12:03:29.250Z] [12:03:29] Installing extension 'ms-vsliveshare.vsliveshare'... [12:03:29] Getting Manifest... ms-vsliveshare.vsliveshare [2023-08-11T12:03:29.257Z] [12:03:29] Installing extension 'github.copilot'... [12:03:29] Getting Manifest... github.copilot [2023-08-11T12:03:29.271Z] [12:03:29] Installing extension 'jnoortheen.xonsh'... [12:03:29] Getting Manifest... jnoortheen.xonsh [2023-08-11T12:03:29.280Z] [12:03:29] Installing extension 'exiasr.hadolint'... [12:03:29] Getting Manifest... exiasr.hadolint [2023-08-11T12:03:29.286Z] [12:03:29] Installing extension: ms-python.flake8 [2023-08-11T12:03:29.297Z] [12:03:29] Installing extension 'eamodio.gitlens'... [12:03:29] Getting Manifest... eamodio.gitlens [2023-08-11T12:03:29.300Z] [12:03:29] Installing extension: ms-python.isort [2023-08-11T12:03:29.315Z] [12:03:29] Installing extension: ms-python.vscode-pylance [2023-08-11T12:03:29.344Z] [12:03:29] Installing extension: ms-python.python [2023-08-11T12:03:29.364Z] [12:03:29] Installing extension: donjayamanne.githistory [2023-08-11T12:03:29.417Z] [12:03:29] Installing extension: ms-vsliveshare.vsliveshare [2023-08-11T12:03:29.428Z] [12:03:29] Installing extension: ms-azuretools.vscode-docker [12:03:29] Installing extension: github.copilot [2023-08-11T12:03:29.485Z] [12:03:29] Installing extension: exiasr.hadolint [2023-08-11T12:03:29.486Z] [12:03:29] Installing extension: jnoortheen.xonsh [2023-08-11T12:03:29.746Z] [12:03:29] Installing extension: eamodio.gitlens [2023-08-11T12:03:31.419Z] [12:03:31] Getting Manifest... ms-python.vscode-pylance [2023-08-11T12:03:32.197Z] [12:03:31] Waiting for already requested installing extension ms-python.vscode-pylance ms-python.python [12:03:32] Getting Manifest... ms-python.python [12:03:32] Getting Manifest... ms-python.python [12:03:32] Getting Manifest... ms-python.python [2023-08-11T12:03:32.966Z] [12:03:32] Getting Manifest... ms-python.vscode-pylance [2023-08-11T12:03:33.078Z] [12:03:33] Getting Manifest... ms-python.vscode-pylance [2023-08-11T12:03:33.398Z] [12:03:33] Waiting for already requested installing extension ms-python.python ms-python.flake8 [12:03:33] Waiting for already requested installing extension ms-python.vscode-pylance ms-python.flake8 [2023-08-11T12:03:33.702Z] [12:03:33] Getting Manifest... ms-toolsai.jupyter [2023-08-11T12:03:34.105Z] [12:03:34] Installing extension: ms-toolsai.jupyter [2023-08-11T12:03:34.131Z] [12:03:34] Waiting for already requested installing extension ms-python.python ms-python.isort [12:03:34] Waiting for already requested installing extension ms-python.vscode-pylance ms-python.isort [2023-08-11T12:03:34.652Z] [12:03:34] Getting Manifest... ms-toolsai.jupyter-keymap [2023-08-11T12:03:34.729Z] [12:03:34] Getting Manifest... ms-toolsai.jupyter-renderers [2023-08-11T12:03:34.804Z] [12:03:34] Getting Manifest... ms-toolsai.vscode-jupyter-cell-tags [2023-08-11T12:03:34.907Z] [12:03:34] Getting Manifest... ms-toolsai.vscode-jupyter-slideshow [2023-08-11T12:03:35.195Z] [12:03:35] Installing extension: ms-toolsai.jupyter-keymap ms-toolsai.jupyter [12:03:35] Installing extension: ms-toolsai.jupyter-renderers ms-toolsai.jupyter [12:03:35] Installing extension: ms-toolsai.vscode-jupyter-cell-tags ms-toolsai.jupyter [12:03:35] Installing extension: ms-toolsai.vscode-jupyter-slideshow ms-toolsai.jupyter [2023-08-11T12:03:36.067Z] [12:03:36] Extension signature is verified: donjayamanne.githistory [2023-08-11T12:03:36.212Z] [12:03:36] Extension signature is verified: github.copilot [12:03:36] Extension signature is verified: jnoortheen.xonsh [2023-08-11T12:03:36.262Z] [12:03:36] Extension signature is verified: exiasr.hadolint [2023-08-11T12:03:36.471Z] [12:03:36] Extension signature is verified: ms-vsliveshare.vsliveshare [2023-08-11T12:03:36.704Z] [12:03:36] Extracted extension to /root/.vscode-server/extensions/.f7e55e58-66f4-4cb3-935b-a3a96268e333: exiasr.hadolint [2023-08-11T12:03:36.744Z] [12:03:36] Extension signature is verified: ms-azuretools.vscode-docker [2023-08-11T12:03:36.777Z] [12:03:36] Renamed to /root/.vscode-server/extensions/exiasr.hadolint-1.1.2 [2023-08-11T12:03:36.822Z] [12:03:36] Extracting extension completed. exiasr.hadolint [2023-08-11T12:03:36.897Z] Start: Run in container: mkdir -p '/vscode/vscode-server/extensionsCache' && cd '/root/.vscode-server/extensionsCache' && cp 'ms-toolsai.vscode-jupyter-slideshow-0.1.5' '/vscode/vscode-server/extensionsCache' [2023-08-11T12:03:36.941Z] [12:03:36] Extension installed successfully: exiasr.hadolint [12:03:36] Extension 'exiasr.hadolint' v1.1.2 was successfully installed. [2023-08-11T12:03:36.967Z] [2023-08-11T12:03:36.967Z] [2023-08-11T12:03:36.967Z] Stop (70 ms): Run in container: mkdir -p '/vscode/vscode-server/extensionsCache' && cd '/root/.vscode-server/extensionsCache' && cp 'ms-toolsai.vscode-jupyter-slideshow-0.1.5' '/vscode/vscode-server/extensionsCache' [2023-08-11T12:03:36.968Z] Start: Run in container: cd '/vscode/vscode-server/extensionsCache' && ls -t | tail -n +50 | xargs rm -f [2023-08-11T12:03:37.061Z] [2023-08-11T12:03:37.061Z] [2023-08-11T12:03:37.061Z] Stop (93 ms): Run in container: cd '/vscode/vscode-server/extensionsCache' && ls -t | tail -n +50 | xargs rm -f [2023-08-11T12:03:37.197Z] [12:03:37] Extracted extension to /root/.vscode-server/extensions/.f4cbfc41-9480-4a23-907e-04ec406b5e3b: jnoortheen.xonsh [2023-08-11T12:03:37.252Z] [12:03:37] Renamed to /root/.vscode-server/extensions/jnoortheen.xonsh-0.2.6 [2023-08-11T12:03:37.280Z] [12:03:37] Extracting extension completed. jnoortheen.xonsh [2023-08-11T12:03:37.323Z] [12:03:37] Extension installed successfully: jnoortheen.xonsh [12:03:37] Extension 'jnoortheen.xonsh' v0.2.6 was successfully installed. [2023-08-11T12:03:37.636Z] [12:03:37] Extension signature is verified: ms-python.python [2023-08-11T12:03:38.091Z] [12:03:38] Extension signature is verified: ms-python.vscode-pylance [2023-08-11T12:03:38.267Z] [12:03:38] Extension signature is verified: eamodio.gitlens [2023-08-11T12:03:38.507Z] [12:03:38] Extracted extension to /root/.vscode-server/extensions/.7927654e-c7f6-4f01-bec1-cbd006cab5d8: donjayamanne.githistory [2023-08-11T12:03:38.601Z] [12:03:38] Renamed to /root/.vscode-server/extensions/donjayamanne.githistory-0.6.20 [2023-08-11T12:03:38.610Z] [12:03:38] Extracting extension completed. donjayamanne.githistory [2023-08-11T12:03:38.712Z] [12:03:38] Extension signature is verified: ms-python.isort [2023-08-11T12:03:38.804Z] [12:03:38] Extension installed successfully: donjayamanne.githistory [12:03:38] Extension 'donjayamanne.githistory' v0.6.20 was successfully installed. [2023-08-11T12:03:39.211Z] [12:03:39] Extension signature is verified: ms-python.flake8 [2023-08-11T12:03:39.330Z] [12:03:39] Extension signature is verified: ms-toolsai.vscode-jupyter-cell-tags [2023-08-11T12:03:39.398Z] [12:03:39] Extension signature is verified: ms-toolsai.jupyter-keymap [2023-08-11T12:03:39.594Z] [12:03:39] Extension signature is verified: ms-toolsai.jupyter-renderers [2023-08-11T12:03:39.766Z] [12:03:39] Extracted extension to /root/.vscode-server/extensions/.8bb00590-6e4c-423c-ab19-4a95adb8b568: ms-toolsai.jupyter-keymap [2023-08-11T12:03:39.940Z] [12:03:39] Renamed to /root/.vscode-server/extensions/ms-toolsai.jupyter-keymap-1.1.2 [2023-08-11T12:03:39.953Z] [12:03:39] Extracting extension completed. ms-toolsai.jupyter-keymap [2023-08-11T12:03:40.033Z] [12:03:40] Extension signature is verified: ms-toolsai.vscode-jupyter-slideshow [2023-08-11T12:03:40.315Z] [12:03:40] Extracted extension to /root/.vscode-server/extensions/.310f51e9-7404-43d5-b102-a19ce46a44c4: ms-azuretools.vscode-docker [2023-08-11T12:03:40.331Z] [12:03:40] Renamed to /root/.vscode-server/extensions/ms-azuretools.vscode-docker-1.26.0 [2023-08-11T12:03:40.412Z] [12:03:40] Extracting extension completed. ms-azuretools.vscode-docker [2023-08-11T12:03:40.446Z] [12:03:40] Extension installed successfully: ms-azuretools.vscode-docker [2023-08-11T12:03:40.449Z] [12:03:40] Extension 'ms-azuretools.vscode-docker' v1.26.0 was successfully installed. [2023-08-11T12:03:40.459Z] [12:03:40] Extracted extension to /root/.vscode-server/extensions/.7644e63d-d440-451b-9277-b4ad71ef6f45: ms-toolsai.vscode-jupyter-slideshow [2023-08-11T12:03:40.476Z] [12:03:40] Renamed to /root/.vscode-server/extensions/ms-toolsai.vscode-jupyter-slideshow-0.1.5 [2023-08-11T12:03:40.494Z] [12:03:40] Extracting extension completed. ms-toolsai.vscode-jupyter-slideshow [2023-08-11T12:03:41.074Z] Port forwarding connection from 59268 > 37683 > 37683 in the container. [2023-08-11T12:03:41.075Z] Start: Run in container: /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node -e [2023-08-11T12:03:41.404Z] Port forwarding 59268 > 37683 > 37683 stderr: Connection established [2023-08-11T12:03:41.938Z] [12:03:41] Extracted extension to /root/.vscode-server/extensions/.6d264782-d620-4f7d-bb48-8dbb9e52512a: github.copilot [2023-08-11T12:03:41.955Z] [12:03:41] Renamed to /root/.vscode-server/extensions/github.copilot-1.101.317 [2023-08-11T12:03:41.984Z] [12:03:41] Extracting extension completed. github.copilot [2023-08-11T12:03:42.028Z] [12:03:42] Extension installed successfully: github.copilot [2023-08-11T12:03:42.029Z] [12:03:42] Extension 'github.copilot' v1.101.317 was successfully installed. [2023-08-11T12:03:43.168Z] [12:03:43] Extracted extension to /root/.vscode-server/extensions/.d469af0c-b879-4c5a-99bd-c4de70968ef6: ms-python.isort [2023-08-11T12:03:43.182Z] [12:03:43] Renamed to /root/.vscode-server/extensions/ms-python.isort-2023.10.1 [2023-08-11T12:03:43.209Z] [12:03:43] Extracting extension completed. ms-python.isort [2023-08-11T12:03:43.319Z] [12:03:43] Extracted extension to /root/.vscode-server/extensions/.9a9fbb2b-3123-4bc0-a65c-43e854a516d5: ms-toolsai.jupyter-renderers [2023-08-11T12:03:43.339Z] [12:03:43] Renamed to /root/.vscode-server/extensions/ms-toolsai.jupyter-renderers-1.0.17 [2023-08-11T12:03:43.347Z] [12:03:43] Extracting extension completed. ms-toolsai.jupyter-renderers [2023-08-11T12:03:43.402Z] [12:03:43] Marked extension as uninstalled ms-toolsai.jupyter-keymap-1.1.2 [2023-08-11T12:03:43.422Z] [12:03:43] Marked extension as uninstalled ms-toolsai.vscode-jupyter-slideshow-0.1.5 [2023-08-11T12:03:43.423Z] [12:03:43] Rollback: Uninstalled extension ms-toolsai.jupyter-keymap [12:03:43] Rollback: Uninstalled extension ms-toolsai.vscode-jupyter-slideshow [12:03:43] Rollback: Uninstalled extension ms-toolsai.jupyter-renderers [2023-08-11T12:03:43.438Z] [12:03:43] Marked extension as uninstalled ms-toolsai.jupyter-renderers-1.0.17 [2023-08-11T12:03:43.561Z] [12:03:43] Extracted extension to /root/.vscode-server/extensions/.a01525de-8bc7-4674-8d6e-f4452f95f65c: ms-python.flake8 [2023-08-11T12:03:43.568Z] [12:03:43] Renamed to /root/.vscode-server/extensions/ms-python.flake8-2023.6.0 [2023-08-11T12:03:43.583Z] [12:03:43] Extracting extension completed. ms-python.flake8 [2023-08-11T12:03:44.054Z] [12:03:44] Extracted extension to /root/.vscode-server/extensions/.8fe28ae6-474e-4ac9-8956-3ff8e7d210c5: eamodio.gitlens [2023-08-11T12:03:44.087Z] [12:03:44] Renamed to /root/.vscode-server/extensions/eamodio.gitlens-14.2.1 [2023-08-11T12:03:44.102Z] [12:03:44] Extracting extension completed. eamodio.gitlens [2023-08-11T12:03:44.112Z] [12:03:44] Extension installed successfully: eamodio.gitlens [2023-08-11T12:03:44.121Z] [12:03:44] Extension 'eamodio.gitlens' v14.2.1 was successfully installed. [2023-08-11T12:03:45.049Z] [12:03:45] Extracted extension to /root/.vscode-server/extensions/.0c879674-6363-4fec-b2dd-f5f9ba1dcf84: ms-vsliveshare.vsliveshare [2023-08-11T12:03:45.099Z] [12:03:45] Renamed to /root/.vscode-server/extensions/ms-vsliveshare.vsliveshare-1.0.5877 [2023-08-11T12:03:45.115Z] [12:03:45] Extracting extension completed. ms-vsliveshare.vsliveshare [2023-08-11T12:03:45.124Z] [12:03:45] Extension installed successfully: ms-vsliveshare.vsliveshare [2023-08-11T12:03:45.128Z] [12:03:45] Extension 'ms-vsliveshare.vsliveshare' v1.0.5877 was successfully installed. [2023-08-11T12:03:49.221Z] [12:03:49] Extracted extension to /root/.vscode-server/extensions/.20296450-f004-44ea-a7e8-441b07d7dd5e: ms-python.python [2023-08-11T12:03:49.233Z] [12:03:49] Renamed to /root/.vscode-server/extensions/ms-python.python-2023.14.0 [2023-08-11T12:03:49.244Z] [12:03:49] Extracting extension completed. ms-python.python [2023-08-11T12:03:50.993Z] Port forwarding 59268 > 37683 > 37683 stderr: Remote close [2023-08-11T12:03:51.011Z] Stop (9936 ms): Run in container: /root/.vscode-server/bin/2ccd690cbff1569e4a83d7c43d45101f817401dc/node -e [2023-08-11T12:03:51.012Z] Port forwarding 59268 > 37683 > 37683 terminated with code 0 and signal null. [2023-08-11T12:03:51.810Z] [12:03:51] Extracted extension to /root/.vscode-server/extensions/.bcd140d7-fe74-4eea-b17c-1c7baa312250: ms-python.vscode-pylance [2023-08-11T12:03:51.829Z] [12:03:51] Renamed to /root/.vscode-server/extensions/ms-python.vscode-pylance-2023.8.20 [2023-08-11T12:03:51.836Z] [12:03:51] Extracting extension completed. ms-python.vscode-pylance [2023-08-11T12:03:51.845Z] [12:03:51] Extension installed successfully: ms-python.vscode-pylance [2023-08-11T12:03:51.856Z] [12:03:51] Finished waiting for already requested installing extension ms-python.vscode-pylance ms-python.python [12:03:51] Finished waiting for already requested installing extension ms-python.vscode-pylance ms-python.flake8 [12:03:51] Finished waiting for already requested installing extension ms-python.vscode-pylance ms-python.isort [12:03:51] Extension 'ms-python.vscode-pylance' v2023.8.20 was successfully installed. [12:03:51] Extension installed successfully: ms-python.python [12:03:51] Finished waiting for already requested installing extension ms-python.python ms-python.flake8 [12:03:51] Finished waiting for already requested installing extension ms-python.python ms-python.isort [12:03:51] Extension 'ms-python.python' v2023.14.0 was successfully installed. [12:03:51] Extension installed successfully: ms-python.flake8 [12:03:51] Extension installed successfully: ms-python.isort [12:03:51] Extension 'ms-python.flake8' v2023.6.0 was successfully installed. [12:03:51] Extension 'ms-python.isort' v2023.10.1 was successfully installed. ```

@chrmarti, I hope this satisfies your previous request for logs, even if in my case it doesn't directly relate to the cache?

jonbackhaus commented 4 months ago

I want to revitalize this thread, as I think I'm seeing the same behavior. I've got a non-root user (vscode) and I'm already persisting the user profile as a volume:

  "mounts": [
    "source=profile-${localEnv:USER}${localEnv:USERNAME}-${devcontainerId},target=/home/vscode,type=volume" // persistent (named) volume for user profile
  ],

This works as-expected (in that it persists the user home folder), but per the Tips and Tricks::Persisting User Profile, I would also like to have my VS Code data in an anonymous volume, such that it gets destroyed on rebuild.

When I try to add the anonymous volume as

  "mounts": [
    "source=profile-${localEnv:USER}${localEnv:USERNAME}-${devcontainerId},target=/home/vscode,type=volume", // persistent (named) volume for user profile
    "target=/home/vscode/.vscode-server,type=volume" // ephemeral volume for user-space VS Code extensions and dotfiles
  ],

I get permissions errors during container build/open when VS Code attempts to create the /home/vscode/.vscode-server/bin directory. I'm guessing this is a permissions issue, potentially related to the UID/GID rewrite?

Malix-Labs commented 4 months ago

@jonbackhaus same thing.

I really would like to know which option works currently

Did you found out?

Log

[13168 ms] Start: Run in container: test -d '/home/vscode/.vscode-server'
[13170 ms] 
[13170 ms] 
[13171 ms] 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
[13175 ms] 
[13176 ms] mkdir: cannot create directory ‘/home/vscode/.vscode-server/data’: Permission denied
[13178 ms] Exit code 1
[13179 ms] Start: Run in container: cat /home/vscode/.vscode-server/data/Machine/settings.json
[13186 ms] 
[13186 ms] cat: /home/vscode/.vscode-server/data/Machine/settings.json: No such file or directory
[13186 ms] Exit code 1
[13186 ms] Start: Run in container: test -d '/home/vscode/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685'
[13187 ms] 
[13187 ms] 
[13187 ms] Exit code 1
[13187 ms] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-x64/dc96b837cf6bb4af9cd736aa3af08cf8279f7685'
[13189 ms] 
[13189 ms] 
[13189 ms] Start: Run in container: mkdir -p '/home/vscode/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/dc96b837cf6bb4af9cd736aa3af08cf8279f7685' '/home/vscode/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685'
[13191 ms] 
[13191 ms] mkdir: cannot create directory ‘/home/vscode/.vscode-server/bin’: Permission denied
[13191 ms] Exit code 1
[13192 ms] Start: Run: docker rm -f 0f0da4067df3d23322a925e228886874fd645d62680d86b3eaaaee32339dbd56
[13212 ms] Command in container failed: mkdir -p '/home/vscode/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/dc96b837cf6bb4af9cd736aa3af08cf8279f7685' '/home/vscode/.vscode-server/bin/dc96b837cf6bb4af9cd736aa3af08cf8279f7685'
[13213 ms] mkdir: cannot create directory ‘/home/vscode/.vscode-server/bin’: Permission denied
[13214 ms] Exit code 1
[13282 ms] Container server terminated (code: 137, signal: null).
chrmarti commented 4 months ago

Named volumes get their UID/GID initially set to the container user which is root in this case. Anonymous volumes appear to always be owned by root initially (unless I'm missing something). You could change the ownership manually or try to do it in the container's entrypoint.

Malix-Labs commented 4 months ago

Named volumes get their UID/GID initially set to the container user which is root in this case. Anonymous volumes appear to always be owned by root initially (unless I'm missing something). You could change the ownership manually or try to do it in the container's entrypoint.

Do you have a code sample example?

jonbackhaus commented 4 months ago

Okay. I managed to fix this in our custom development container build. Here's the excerpt from the Dockerfile:

## configure build
ARG USERNAME=vscode
ARG USERHOME_PATH="/home/${USERNAME}"

## configure environment
USER ${USERNAME}

## configure VS Code ephemeral volume
ARG VSCODE_SERVER_PATH="${USERHOME_PATH}/.vscode-server"
VOLUME [ "${VSCODE_SERVER_PATH}" ]
RUN set -eux; \
  sudo mkdir -p "${VSCODE_SERVER_PATH}" ; \
  sudo chown ${USERNAME}:${USERNAME} "${VSCODE_SERVER_PATH}"

Per the container details, the /home/vscode/.vscode-server directory is now a volume mount.

Note: with this implementation, there's no need to also add an anonymous mount in the devcontainer.json specification.

Malix-Labs commented 4 months ago

Do you think it would be possible to do that without a Dockerfile?

jonbackhaus commented 4 months ago

Do you think it would be possible to do that without a Dockerfile?

Off the top of my head, it might be possible with an entrypoint that sets the ownership and an anonymous mount in the devcontainer.json file?

You could also have a minimal Dockerfile that starts with your image and makes the ownership changes on the fly. That would be self-contained in the sense that you wouldn't need to build and maintain a separate "custom" image.

Malix-Labs commented 4 months ago

No idea how to do that alone for now

Thanks for your guidance :heart:

I think I will give up until their docs actually work

jonbackhaus commented 4 months ago

I put together a quick example showing how to specify the volume and permissions in the Dockerfile: https://github.com/jonbackhaus/docker-vscode-devcontainer-example

georglauterbach commented 2 months ago

What's the status here @chrmarti? We are currently facing this issue in the company that I am working for and we'd very much appreciate knowing how to solve it. I tried the approach of manually creating the directory with the correct permissions and mounting a volume there, but this did not work.

We are using a container that is started by root ("containerUser": "root"), but the remoteUser is not root.


UPDATE: I got it to work now. The VOLUME directive does not work for us. One has to set up the permission in the Dockerfile:

[!WARNING]

This comment was updated; please re-read!

RUN <<EOM
  mkdir -p "${HOME}/.vscode-server"
  chown -R "${USER}:${USER}" "${HOME}/.vscode-server"

  mkdir -p "${HOME}/.cache"
  chown -R "${USER}:${USER}" "${HOME}/.cache"
EOM

and then use volumes to mount to these directories in .devcontainer/devcontainer.json:

{
  // Persist the VS Code extension cache
  "source": "cache-vscode_extensions",
  "target": "<HOME>/.vscode-server/extensions",
  "type": "volume"
},
{
  // Persist the `${HOME}/.cache` directory
  "source": "cache-home_cache",
  "target": "<HOME>/.cache",
  "type": "volume"
},

This seems to do the trick for us.

georglauterbach commented 2 months ago

Important

I recently realized that mounting a volume tp ~/.vscode-server is definitely not desirable! You should mount to ~/.vscode-server/extentsions while adjusting the permissions for ~/.vscode-server!

See my updated comment.

aziz-marashly commented 2 months ago

It's the same problem for me. I'm facing a problem when using the volume mount for the directory /home/vscode/.vscode-server/extensions. This will produce a new problem. Now, the home/vscode/.vscode-server owner will be root as it was created by the root user, not the vscode user. So the process failed as it tried to edit a folder that is owned by root.

Is there any way to change the VS Code extension location to a different location to avoid the permission problem??

georglauterbach commented 2 months ago

I think the actual issue should be solved instead of looking for workarounds: this functionality needs to work out of the box.

The fact that this issue is open for over two years now is not a good sign. When will this be tackled?

jonbackhaus commented 2 months ago

Important

I recently realized that mounting a volume tp ~/.vscode-server is definitely not desirable! You should mount to ~/.vscode-server/extentsions while adjusting the permissions for ~/.vscode-server!

See my updated comment.

@georglauterbach -- can you elaborate on why it's not desirable to store the entire ~/.vscode-server directory in an ephemeral volume (when running as a non-root user)?

georglauterbach commented 2 months ago

@georglauterbach -- can you elaborate on why it's not desirable to store the entire ~/.vscode-server directory in an ephemeral volume (when running as a non-root user)?

When storing the whole directory, the devcontainer.json's IDE-specific settings are not updated because they remain cached in the volume. The result is that updates to settings are not applied on container restart.

At least this is what I observed.

arifali123 commented 2 months ago

@georglauterbach -- can you elaborate on why it's not desirable to store the entire ~/.vscode-server directory in an ephemeral volume (when running as a non-root user)?

When storing the whole directory, the devcontainer.json's IDE-specific settings are not updated because they remain cached in the volume. The result is that updates to settings are not applied on container restart.

At least this is what I observed.

I am having this exact issue also, I can update the extensions array but that does not do anything. Is there any way to clear all of this cache manually so when I edit the devcontainer, we get the desired output.

georglauterbach commented 2 months ago

@georglauterbach -- can you elaborate on why it's not desirable to store the entire ~/.vscode-server directory in an ephemeral volume (when running as a non-root user)?

When storing the whole directory, the devcontainer.json's IDE-specific settings are not updated because they remain cached in the volume. The result is that updates to settings are not applied on container restart.

At least this is what I observed.

I am having this exact issue also, I can update the extensions array but that does not do anything. Is there any way to clear all of this cache manually so when I edit the devcontainer, we get the desired output.

As I said in https://github.com/microsoft/vscode-remote-release/issues/7690#issuecomment-2261169813, mount the volume to ~/.vscode-server/extensions, not to ~/.vscode-server. This should install all cached extensions from the cache and new extensions from the internet.

MussaCharles commented 1 week ago

For those using a combination of a Dockerfile, compose file, and devcontainer.json, here is the solution. Thanks to this comment, I was able to get this combination working.

Dockerfile


# Assuming that you have `HOME`, `USERNAME` & `UID` ARG set.

USER root

RUN mkdir -p "${HOME}/.vscode-server" "${HOME}/.cache"; \
    chown -R "${USERNAME}:${UID}" "${HOME}/.vscode-server" "${HOME}/.cache"

USER ${USERNAME}

compose.yaml


services:
  <your-service>
  environment:
      - USERNAME=${USERNAME}
      - GID=${GID}
  # Other configurations
  volumes: 
    - home-cache:/home/${USERNAME}/.cache:cached
    - vscode-server-extensions:/home/${USERNAME}/.vscode-server/extensions:cached
  env_file:
      # USERNAME & GID should be in this file.
      - ./.env
volumes:
  home-cache:
  vscode-server-extensions:

devcontainer.json

"service" : "<your-service>",
"dockerComposeFile" : ["path/to/your/compose.yaml"],
"containerUser": "$USERNAME",
 "updateRemoteUserUID": true,
 "customizations": {
        "vscode": {
            "extensions": [
               "<your_extensions>"
            ]
        }
    },
Malix-Labs commented 1 week ago

In the meantime, I also found those settings

Image

It's very annoying that we can't specify "all"

georglauterbach commented 1 week ago

These are global defaults, though, and not specific to a project.

Malix-Labs commented 1 week ago

Indeed, there is currently no way to set this setting other than for the whole user