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

DevContainer extensions stuck at installing #9628

Closed UTGuy closed 5 months ago

UTGuy commented 7 months ago

What the title says. I rolled back to v1.86.2 and it works just fine. So v1.87.0 broke it.

Even from the command line it gets stuck when trying to install them manually...

code --install-extension arcanis.vscode-zipfs --verbose --force

image

Steps to Reproduce:

DevContainer

{
    "name": "Completion Criteria Api",
    "dockerComposeFile": "docker-compose.yml",
    "service": "completion-criteria-api",
    "workspaceFolder": "/workspace",
    "customizations": {
        "vscode": {
            "extensions": [
                "dbaeumer.vscode-eslint",
                "gruntfuggly.todo-tree",
                "Orta.vscode-jest",
                "arcanis.vscode-zipfs"
            ],
            "settings": {
                "terminal.integrated.profiles.linux": {
                    "bash": {
                        "path": "/bin/bash",
                        "args": [
                            "--rcfile",
                            "/workspace/.devcontainer/.bashrc"
                        ],
                        "icon": "terminal-bash",
                        "color": "terminal.ansiGreen"
                    }
                },
                "terminal.integrated.defaultProfile.linux": "bash",
                "remote.autoForwardPorts": false
            }
        }
    },
    "initializeCommand": "corepack enable && yarn set version stable && yarn dlx -q -p @compliance/devcontainer dci -p dlx",
    "postCreateCommand": "corepack install && yarn install",
    "mounts": [
        "source=${localEnv:HOME}/.aws,target=/root/.aws,type=bind,consistency=cached"
    ]
}

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

There is no "error" it just never completes... (see image)

NameLessKnight commented 7 months ago

same here, downgrade to 1.86.2 works again

Roemer commented 7 months ago

Same here, the log shows:

2024-03-07 10:56:48.474 [info] Renamed to /home/vscode/.vscode-server/extensions/vscjava.vscode-java-pack-0.25.15
2024-03-07 10:56:48.482 [info] Extracting extension completed. vscjava.vscode-java-pack
2024-03-07 10:56:48.520 [error] Invalid: ENOENT: no such file or directory, open '/home/vscode/.vscode-server/extensionsCache/vscjava.vscode-java-dependency-0.23.5'
    at oe.B (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:82425)
2024-03-07 10:56:48.525 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/ms-azuretools.vscode-docker-1.29.0: ms-azuretools.vscode-docker
2024-03-07 10:56:48.535 [error] Extract: ENOENT: no such file or directory, open '/home/vscode/.vscode-server/extensionsCache/vscjava.vscode-java-dependency-0.23.5'
    at K.extractUserExtension (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:73803)
    at async oe.u (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:80250)
    at async oe.x (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:82165)
    at async oe.h (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:79783)
2024-03-07 10:56:48.539 [info] Renamed to /home/vscode/.vscode-server/extensions/ms-azuretools.vscode-docker-1.29.0
2024-03-07 10:56:48.551 [info] Extracting extension completed. ms-azuretools.vscode-docker
2024-03-07 10:56:49.002 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/vscjava.vscode-maven-0.44.0: vscjava.vscode-maven
2024-03-07 10:56:49.012 [info] Renamed to /home/vscode/.vscode-server/extensions/vscjava.vscode-maven-0.44.0
2024-03-07 10:56:49.018 [info] Extracting extension completed. vscjava.vscode-maven
2024-03-07 10:56:49.051 [info] Extension signature is verified: redhat.java
2024-03-07 10:56:49.688 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/eamodio.gitlens-14.9.0: eamodio.gitlens
2024-03-07 10:56:49.710 [info] Renamed to /home/vscode/.vscode-server/extensions/eamodio.gitlens-14.9.0
2024-03-07 10:56:49.720 [info] Extracting extension completed. eamodio.gitlens
2024-03-07 10:56:49.961 [info] Extension signature is verified: vscjava.vscode-java-test
2024-03-07 10:56:50.193 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/vscjava.vscode-java-test-0.40.1: vscjava.vscode-java-test
2024-03-07 10:56:50.201 [info] Renamed to /home/vscode/.vscode-server/extensions/vscjava.vscode-java-test-0.40.1
2024-03-07 10:56:50.207 [info] Extracting extension completed. vscjava.vscode-java-test
2024-03-07 10:56:51.730 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/angular.ng-template-17.2.2: angular.ng-template
2024-03-07 10:56:51.737 [info] Renamed to /home/vscode/.vscode-server/extensions/angular.ng-template-17.2.2
2024-03-07 10:56:51.741 [info] Extracting extension completed. angular.ng-template
2024-03-07 10:56:52.075 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/nrwl.angular-console-18.17.0: nrwl.angular-console
2024-03-07 10:56:52.085 [info] Renamed to /home/vscode/.vscode-server/extensions/nrwl.angular-console-18.17.0
2024-03-07 10:56:52.088 [info] Extracting extension completed. nrwl.angular-console
2024-03-07 10:56:52.403 [info] Extension signature is verified: visualstudioexptteam.intellicode-api-usage-examples
2024-03-07 10:56:52.714 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8: visualstudioexptteam.intellicode-api-usage-examples
2024-03-07 10:56:52.722 [info] Renamed to /home/vscode/.vscode-server/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8
2024-03-07 10:56:52.726 [info] Extracting extension completed. visualstudioexptteam.intellicode-api-usage-examples
2024-03-07 10:56:53.676 [info] Extracted extension to file:///home/vscode/.vscode-server/extensions/redhat.java-1.28.1-linux-x64: redhat.java
2024-03-07 10:56:53.685 [info] Renamed to /home/vscode/.vscode-server/extensions/redhat.java-1.28.1-linux-x64
2024-03-07 10:56:53.688 [info] Extracting extension completed. redhat.java
2024-03-07 10:58:18.221 [error] Error while installing the extension visualstudioexptteam.vscodeintellicode Unable to write file '/home/vscode/.vscode-server/extensionsCache/.dead7f01-91ae-4042-be8a-2ff175b6700b' (Error: aborted)
2024-03-07 10:58:18.233 [info] Rollback: Uninstalled extension roemer.gotaskr-vscode
2024-03-07 10:58:18.236 [info] Marked extension as uninstalled roemer.gotaskr-vscode-0.4.0
2024-03-07 10:58:18.240 [info] Rollback: Uninstalled extension dbaeumer.vscode-eslint
2024-03-07 10:58:18.244 [info] Marked extension as uninstalled dbaeumer.vscode-eslint-2.4.4
2024-03-07 10:58:18.246 [info] Rollback: Uninstalled extension orta.vscode-jest
2024-03-07 10:58:18.248 [info] Marked extension as uninstalled orta.vscode-jest-6.2.2
2024-03-07 10:58:18.250 [info] Rollback: Uninstalled extension golang.go
2024-03-07 10:58:18.254 [info] Marked extension as uninstalled golang.go-0.41.1
2024-03-07 10:58:18.258 [info] Rollback: Uninstalled extension vscjava.vscode-java-debug
2024-03-07 10:58:18.263 [info] Marked extension as uninstalled vscjava.vscode-java-debug-0.56.2
2024-03-07 10:58:18.264 [info] Rollback: Uninstalled extension esbenp.prettier-vscode
2024-03-07 10:58:18.270 [info] Marked extension as uninstalled esbenp.prettier-vscode-10.1.0
2024-03-07 10:58:18.272 [info] Rollback: Uninstalled extension vscjava.vscode-java-pack
2024-03-07 10:58:18.276 [info] Marked extension as uninstalled vscjava.vscode-java-pack-0.25.15
2024-03-07 10:58:18.278 [info] Rollback: Uninstalled extension ms-azuretools.vscode-docker
2024-03-07 10:58:18.284 [info] Marked extension as uninstalled ms-azuretools.vscode-docker-1.29.0
2024-03-07 10:58:18.284 [info] Rollback: Uninstalled extension vscjava.vscode-maven
2024-03-07 10:58:18.290 [info] Marked extension as uninstalled vscjava.vscode-maven-0.44.0
2024-03-07 10:58:18.292 [info] Rollback: Uninstalled extension eamodio.gitlens
2024-03-07 10:58:18.300 [info] Marked extension as uninstalled eamodio.gitlens-14.9.0
2024-03-07 10:58:18.303 [info] Rollback: Uninstalled extension vscjava.vscode-java-test
2024-03-07 10:58:18.308 [info] Marked extension as uninstalled vscjava.vscode-java-test-0.40.1
2024-03-07 10:58:18.310 [info] Rollback: Uninstalled extension angular.ng-template
2024-03-07 10:58:18.313 [info] Marked extension as uninstalled angular.ng-template-17.2.2
2024-03-07 10:58:18.315 [info] Rollback: Uninstalled extension nrwl.angular-console
2024-03-07 10:58:18.318 [info] Marked extension as uninstalled nrwl.angular-console-18.17.0
2024-03-07 10:58:18.320 [info] Rollback: Uninstalled extension visualstudioexptteam.intellicode-api-usage-examples
2024-03-07 10:58:18.324 [info] Marked extension as uninstalled visualstudioexptteam.intellicode-api-usage-examples-0.2.8
2024-03-07 10:58:18.325 [info] Rollback: Uninstalled extension redhat.java
2024-03-07 10:58:18.327 [error] Error while installing extensions: Unable to write file '/home/vscode/.vscode-server/extensionsCache/.dead7f01-91ae-4042-be8a-2ff175b6700b' (Error: aborted),ENOENT: no such file or directory, open '/home/vscode/.vscode-server/extensionsCache/vscjava.vscode-java-dependency-0.23.5'
2024-03-07 10:58:18.327 [error] Error: Unable to write file '/home/vscode/.vscode-server/extensionsCache/.dead7f01-91ae-4042-be8a-2ff175b6700b' (Error: aborted),ENOENT: no such file or directory, open '/home/vscode/.vscode-server/extensionsCache/vscjava.vscode-java-dependency-0.23.5'
    at /vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:37998
    at Array.reduce (<anonymous>)
    at u (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:37984)
    at ne.L (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:29615)
    at async ne.I (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:27607)
    at async ne.installGalleryExtensions (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:23383)
    at async m.g (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:141:614)
    at async m.installExtensions (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:140:9804)
2024-03-07 10:58:18.348 [info] Marked extension as uninstalled redhat.java-1.28.1-linux-x64
2024-03-07 10:58:18.366 [info] Deleted uninstalled extension from disk angular.ng-template /home/vscode/.vscode-server/extensions/angular.ng-template-17.2.2
2024-03-07 10:58:18.366 [info] Deleted uninstalled extension from disk dbaeumer.vscode-eslint /home/vscode/.vscode-server/extensions/dbaeumer.vscode-eslint-2.4.4
2024-03-07 10:58:18.367 [info] Deleted uninstalled extension from disk eamodio.gitlens /home/vscode/.vscode-server/extensions/eamodio.gitlens-14.9.0
2024-03-07 10:58:18.367 [info] Deleted uninstalled extension from disk esbenp.prettier-vscode /home/vscode/.vscode-server/extensions/esbenp.prettier-vscode-10.1.0
2024-03-07 10:58:18.367 [info] Deleted uninstalled extension from disk golang.go /home/vscode/.vscode-server/extensions/golang.go-0.41.1
2024-03-07 10:58:18.367 [info] Deleted uninstalled extension from disk ms-azuretools.vscode-docker /home/vscode/.vscode-server/extensions/ms-azuretools.vscode-docker-1.29.0
2024-03-07 10:58:18.367 [info] Deleted uninstalled extension from disk nrwl.angular-console /home/vscode/.vscode-server/extensions/nrwl.angular-console-18.17.0
2024-03-07 10:58:18.367 [info] Deleted uninstalled extension from disk orta.vscode-jest /home/vscode/.vscode-server/extensions/orta.vscode-jest-6.2.2
2024-03-07 10:58:18.368 [info] Deleted uninstalled extension from disk roemer.gotaskr-vscode /home/vscode/.vscode-server/extensions/roemer.gotaskr-vscode-0.4.0
2024-03-07 10:58:18.368 [info] Deleted uninstalled extension from disk visualstudioexptteam.intellicode-api-usage-examples /home/vscode/.vscode-server/extensions/visualstudioexptteam.intellicode-api-usage-examples-0.2.8
2024-03-07 10:58:18.368 [info] Deleted uninstalled extension from disk vscjava.vscode-java-debug /home/vscode/.vscode-server/extensions/vscjava.vscode-java-debug-0.56.2
2024-03-07 10:58:18.368 [info] Deleted uninstalled extension from disk vscjava.vscode-java-pack /home/vscode/.vscode-server/extensions/vscjava.vscode-java-pack-0.25.15
2024-03-07 10:58:18.368 [info] Deleted uninstalled extension from disk vscjava.vscode-java-test /home/vscode/.vscode-server/extensions/vscjava.vscode-java-test-0.40.1
2024-03-07 10:58:18.369 [info] Deleted uninstalled extension from disk vscjava.vscode-maven /home/vscode/.vscode-server/extensions/vscjava.vscode-maven-0.44.0
2024-03-07 10:58:19.224 [error] Download: Unable to write file '/home/vscode/.vscode-server/extensionsCache/.dead7f01-91ae-4042-be8a-2ff175b6700b' (Error: aborted)
    at f.download (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:142:1267)
    at async oe.x (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:82055)
    at async oe.h (/vscode/vscode-server/bin/linux-x64/019f4d1419fbc8219a181fab7892ebccf7ee29a2/out/vs/server/node/server.main.js:169:79783)
abhiaagarwal commented 7 months ago

Facing the exact same issue with non-dev containers, on an M1 Pro Macbook ssh tunneling to a local x86 Ubuntu 20.04 container. No error message, just hangs on installing. The VSIX is successfully downloaded as well. Downgrading to 1.86.2 fixes the issue entirely.

sidecus commented 7 months ago

Facing the exact same issue with non-dev containers, on an M1 Pro Macbook ssh tunneling to a local x86 Ubuntu 20.04 container. No error message, just hangs on installing. The VSIX is successfully downloaded as well. Downgrading to 1.86.2 fixes the issue entirely.

Same here, only difference is I am running on an M2 chip. Downgrading to 1.86.2 also worked.

abhiaagarwal commented 7 months ago

Still persists on 1.87.2.

alexandreczg commented 7 months ago

Having the same issue.

Version: 1.87.2 (user setup)
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:20:17.278Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.19045
emmanuelrflores commented 7 months ago

Having the same issue on a Apple M1 Max. With my dev container, it'll max out all my resources and never do anything. I have to kill the container. Rolling back to 1.86.2 as well.

sandy081 commented 6 months ago

@UTGuy Can you please share the remote server log with 1.86 and 1.87? You can find the log here

jamesmeneghello commented 6 months ago

Note that running killall vsce-sign causes the extensions to immediately be installed.

arnefromsa commented 6 months ago

I experienced the same issue, where extensions seems to be stuck in "Installing" with not real feedback to the user. Downgrading to 1.86.2 also worked for me.Latest release seems to have broken this.

UTGuy commented 6 months ago

@sandy081

2024-04-08 13:21:14.407 [info] 

2024-04-08 13:21:14.408 [info] Installing extensions...
2024-04-08 13:21:14.408 [info] Extension host agent started.
2024-04-08 13:21:14.431 [info] Started initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
2024-04-08 13:21:14.451 [debug] ComputeTargetPlatform: alpine-x64
2024-04-08 13:21:14.455 [info] Completed initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
2024-04-08 13:21:14.464 [debug] ComputeTargetPlatform: alpine-x64
2024-04-08 13:21:14.592 [info] [127.0.0.1][d861d919][ManagementConnection] New connection established.
2024-04-08 13:21:14.607 [info] Log level changed to info
2024-04-08 13:21:15.241 [info] [127.0.0.1][9ae30691][ExtensionHostConnection] New connection established.
2024-04-08 13:21:15.250 [info] [127.0.0.1][9ae30691][ExtensionHostConnection] <296> Launched Extension Host Process.
2024-04-08 13:21:15.642 [info] Installing extension 'dbaeumer.vscode-eslint'...
2024-04-08 13:21:15.646 [info] Installing extension 'gruntfuggly.todo-tree'...
2024-04-08 13:21:15.647 [info] Installing extension 'arcanis.vscode-zipfs'...
2024-04-08 13:21:15.649 [info] Installing extension 'snyk-security.snyk-vulnerability-scanner'...
2024-04-08 13:21:15.652 [info] Getting Manifest... dbaeumer.vscode-eslint
2024-04-08 13:21:15.652 [info] Getting Manifest... gruntfuggly.todo-tree
2024-04-08 13:21:15.653 [info] Getting Manifest... arcanis.vscode-zipfs
2024-04-08 13:21:15.653 [info] Getting Manifest... snyk-security.snyk-vulnerability-scanner
2024-04-08 13:21:15.786 [info] Installing extension: dbaeumer.vscode-eslint
2024-04-08 13:21:15.787 [info] Installing extension: snyk-security.snyk-vulnerability-scanner
2024-04-08 13:21:15.787 [info] Installing extension: arcanis.vscode-zipfs
2024-04-08 13:21:15.787 [info] Installing extension: gruntfuggly.todo-tree
2024-04-08 13:21:18.446 [warning] Extension signature verification failed with error 'UnknownError': snyk-security.snyk-vulnerability-scanner
2024-04-08 13:21:22.423 [info] Extracted extension to file:///root/.vscode-server/extensions/snyk-security.snyk-vulnerability-scanner-2.3.12: snyk-security.snyk-vulnerability-scanner
2024-04-08 13:21:22.433 [info] Renamed to /root/.vscode-server/extensions/snyk-security.snyk-vulnerability-scanner-2.3.12
2024-04-08 13:21:22.442 [info] Extracting extension completed. snyk-security.snyk-vulnerability-scanner

image

Can Confirm running killall vsce-sign does cause the extensions to install when they are stuck at installing (credit @jamesmeneghello)

jamesmeneghello commented 6 months ago

As an additional, opening VSCode on a fresh dev container with many extensions causes 1 vsce-sign process per extension to be started (25, with our setup) and consume infinite CPU until killed. Given this is fairly non-obvious (the consumption is inside the dev container which in most cases has a # cpu limit by the container engine, meaning there's no visible UI lag), we actually had an engineer replace his laptop because he was encountering performance issues, only later to realise it was this issue and the old laptop worked fine once killall vsce-sign had been run 😅

sandy081 commented 6 months ago

/duplicate

https://github.com/microsoft/vscode/issues/174632

As a workaround please set "extensions.verifySignature": false setting under customizations.vscode.settings in devcontainer.json

vscodenpa commented 6 months ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!

UTGuy commented 6 months ago

@sandy081

Is this really a duplicate? The issue you referenced (https://github.com/microsoft/vscode/issues/174632) was created in Feb 2023. However, this ticket shows that the issue broke in the 1.87.1 release. That release was in Feb 2024. So I'm hesitant to say this is the same problem.

sandy081 commented 6 months ago

Both issues share the same root cause that signing is too slow. Hence marked it as duplicate.

To understand more about the difference, can you please share the logs with v1.86 and v1.87 as requested earlier here

sandy081 commented 6 months ago

Reopening this issue to understand why it was working before and not with new versions.

Can any one please share the devcontainer.json and Docker files to reproduce the issue?

khuston commented 6 months ago

@sandy081 Here is a repo that reproduces the issue. When I open it using "Dev Containers: Reopen in Container", I am unable to install extensions. (I am also on an M1 MacBook) https://github.com/khuston/vsce-sign-issue

UTGuy commented 6 months ago

@sandy081

here are the results for 1.86.2

2024-04-10 15:47:58.090 [info] 

2024-04-10 15:47:58.091 [info] Installing extensions...
2024-04-10 15:47:58.091 [info] Extension host agent started.
2024-04-10 15:47:58.123 [info] Started initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
2024-04-10 15:47:58.147 [debug] ComputeTargetPlatform: alpine-x64
2024-04-10 15:47:58.154 [info] [127.0.0.1][339f32f5][ManagementConnection] New connection established.
2024-04-10 15:47:58.160 [info] Completed initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
2024-04-10 15:47:58.176 [debug] ComputeTargetPlatform: alpine-x64
2024-04-10 15:47:58.204 [info] Log level changed to info
2024-04-10 15:47:58.773 [info] [127.0.0.1][d4f2b950][ExtensionHostConnection] New connection established.
2024-04-10 15:47:58.787 [info] [127.0.0.1][d4f2b950][ExtensionHostConnection] <288> Launched Extension Host Process.
2024-04-10 15:47:59.517 [info] Installing extension 'snyk-security.snyk-vulnerability-scanner'...
2024-04-10 15:47:59.519 [info] Getting Manifest... snyk-security.snyk-vulnerability-scanner
2024-04-10 15:47:59.524 [info] Installing extension 'arcanis.vscode-zipfs'...
2024-04-10 15:47:59.524 [info] Getting Manifest... arcanis.vscode-zipfs
2024-04-10 15:47:59.527 [info] Installing extension 'dbaeumer.vscode-eslint'...
2024-04-10 15:47:59.528 [info] Getting Manifest... dbaeumer.vscode-eslint
2024-04-10 15:47:59.533 [info] Installing extension 'gruntfuggly.todo-tree'...
2024-04-10 15:47:59.534 [info] Getting Manifest... gruntfuggly.todo-tree
2024-04-10 15:47:59.598 [info] Installing extension: snyk-security.snyk-vulnerability-scanner
2024-04-10 15:47:59.600 [info] Installing extension: arcanis.vscode-zipfs
2024-04-10 15:47:59.603 [info] Installing extension: dbaeumer.vscode-eslint
2024-04-10 15:47:59.621 [info] Installing extension: gruntfuggly.todo-tree
2024-04-10 15:48:00.273 [warning] Extension signature verification failed with error 'ENOENT': snyk-security.snyk-vulnerability-scanner
2024-04-10 15:48:00.340 [warning] Extension signature verification failed with error 'ENOENT': arcanis.vscode-zipfs
2024-04-10 15:48:00.343 [warning] Extension signature verification failed with error 'ENOENT': dbaeumer.vscode-eslint
2024-04-10 15:48:00.343 [warning] Extension signature verification failed with error 'ENOENT': gruntfuggly.todo-tree
2024-04-10 15:48:00.576 [info] Extracted extension to file:///root/.vscode-server/extensions/arcanis.vscode-zipfs-3.0.0: arcanis.vscode-zipfs
2024-04-10 15:48:00.590 [info] Renamed to /root/.vscode-server/extensions/arcanis.vscode-zipfs-3.0.0
2024-04-10 15:48:00.617 [info] Extracting extension completed. arcanis.vscode-zipfs
2024-04-10 15:48:00.652 [info] Extension installed successfully: arcanis.vscode-zipfs
2024-04-10 15:48:00.654 [info] Extension 'arcanis.vscode-zipfs' v3.0.0 was successfully installed.
2024-04-10 15:48:00.732 [info] Extracted extension to file:///root/.vscode-server/extensions/dbaeumer.vscode-eslint-2.4.4: dbaeumer.vscode-eslint
2024-04-10 15:48:00.755 [info] Renamed to /root/.vscode-server/extensions/dbaeumer.vscode-eslint-2.4.4
2024-04-10 15:48:00.762 [info] Extracting extension completed. dbaeumer.vscode-eslint
2024-04-10 15:48:00.773 [info] Extension installed successfully: dbaeumer.vscode-eslint
2024-04-10 15:48:00.773 [info] Extension 'dbaeumer.vscode-eslint' v2.4.4 was successfully installed.
2024-04-10 15:48:00.862 [info] Extracted extension to file:///root/.vscode-server/extensions/gruntfuggly.todo-tree-0.0.226: gruntfuggly.todo-tree
2024-04-10 15:48:00.869 [info] Renamed to /root/.vscode-server/extensions/gruntfuggly.todo-tree-0.0.226
2024-04-10 15:48:00.877 [info] Extracting extension completed. gruntfuggly.todo-tree
2024-04-10 15:48:00.887 [info] Extension installed successfully: gruntfuggly.todo-tree
2024-04-10 15:48:00.889 [info] Extension 'gruntfuggly.todo-tree' v0.0.226 was successfully installed.
2024-04-10 15:48:05.155 [info] Extracted extension to file:///root/.vscode-server/extensions/snyk-security.snyk-vulnerability-scanner-2.4.0: snyk-security.snyk-vulnerability-scanner
2024-04-10 15:48:05.167 [info] Renamed to /root/.vscode-server/extensions/snyk-security.snyk-vulnerability-scanner-2.4.0
2024-04-10 15:48:05.171 [info] Extracting extension completed. snyk-security.snyk-vulnerability-scanner
2024-04-10 15:48:05.176 [info] Extension installed successfully: snyk-security.snyk-vulnerability-scanner
2024-04-10 15:48:05.177 [info] Extension 'snyk-security.snyk-vulnerability-scanner' v2.4.0 was successfully installed.

image

Failing version noted here: https://github.com/microsoft/vscode-remote-release/issues/9628#issuecomment-2042751569

jamesmeneghello commented 6 months ago

We're on M3 Macbooks, happening to all our people.

sandy081 commented 6 months ago

@UTGuy Thanks for the logs. The only difference I see is that before vsce-sign is failing immediately with following error

2024-04-10 15:48:00.273 [warning] Extension signature verification failed with error 'ENOENT': snyk-security.snyk-vulnerability-scanner

Now with following error

2024-04-08 13:21:18.446 [warning] Extension signature verification failed with error 'UnknownError': snyk-security.snyk-vulnerability-scanner

Former, vsce-sign took 300ms where as later it took 3s.

Can you please share the simplest dev container and docker file for me to reproduce?

UTGuy commented 6 months ago

@sandy081 @khuston posted a link to a reproducible repo https://github.com/microsoft/vscode-remote-release/issues/9628#issuecomment-2046092056

amenocal commented 6 months ago

/duplicate

microsoft/vscode#174632

As a workaround please set "extensions.verifySignature": false setting under customizations.vscode.settings in devcontainer.json

So I tried this with 1.88 and it unfortunately did not work for me.

I had to roll back to 1.86.2 as mentioned here and that worked like a charm!

brettmillerb commented 6 months ago

I've hit this issue this week also:

Apple M2 macOS: 14.4.1 (23E224)

Version: 1.89.0-insider Commit: 063d715c4504380317f9ca8eefc602d71e56adb5 Date: 2024-04-19T06:04:15.360Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin arm64 23.4.0

Click me for logs ``` 2024-04-19 16:06:54.060 [info] Extension host agent started. 2024-04-19 16:06:54.133 [debug] No uninstalled extensions found. 2024-04-19 16:06:54.188 [info] [127.0.0.1][382befee][ManagementConnection] New connection established. 2024-04-19 16:06:54.215 [info] Log level changed to info 2024-04-19 16:06:54.954 [info] [127.0.0.1][93e0bd11][ExtensionHostConnection] New connection established. 2024-04-19 16:06:54.970 [info] [127.0.0.1][93e0bd11][ExtensionHostConnection] <2208> Launched Extension Host Process. 2024-04-19 16:07:31.229 [info] Getting Manifest... ms-vscode.powershell 2024-04-19 16:07:31.517 [info] Installing extension: ms-vscode.powershell 2024-04-19 16:21:04.417 [info] Extension signature verification result for ms-vscode.powershell: UnknownError. Duration: 812155ms. 2024-04-19 16:21:06.447 [info] Extracted extension to file:///root/.vscode-server-insiders/extensions/ms-vscode.powershell-2024.2.1: ms-vscode.powershell 2024-04-19 16:21:06.456 [info] Renamed to /root/.vscode-server-insiders/extensions/ms-vscode.powershell-2024.2.1 2024-04-19 16:21:06.464 [info] Extracting extension completed. ms-vscode.powershell 2024-04-19 16:21:06.475 [info] Extension installed successfully: ms-vscode.powershell ```

issue is still prevalent in insiders builds.

Note: I ran killall vsce-sign to get it to install in the end

@sandy081

jamesmeneghello commented 6 months ago

/duplicate microsoft/vscode#174632 As a workaround please set "extensions.verifySignature": false setting under customizations.vscode.settings in devcontainer.json

So I tried this with 1.88 and it unfortunately did not work for me.

I had to roll back to 1.86.2 as mentioned here and that worked like a charm!

Note that if you do change this setting, it won't apply until you rebuild the dev container. This workaround did work for me.

suemareverton commented 5 months ago

As a workaround please set "extensions.verifySignature": false setting under customizations.vscode.settings in devcontainer.json Note that if you do change this setting, it won't apply until you rebuild the dev container. This workaround did work for me.

Thank you guys, it worked after these steps.

sandy081 commented 5 months ago

Those who are seeing Installing forever issue, can you please try our latest insiders. We have shipped a new version of vsce-sign and we are expecting that it will fix this issue. We checked it running it locally and it seems to be fixed, but would like to see if this also works for everyone. Thanks.

CC @UTGuy

gjhenrique commented 5 months ago

Hi @sandy081

I downloaded the latest Insiders and vsce-sign is not stuck anymore. I have the setup of a linux/amd64 image in docker with a M1 machine

gjhenrique commented 5 months ago

Hey @sandy081

Do you have an idea when is the fix gonna hit stable?

sandy081 commented 5 months ago

Scheduled to release in first week of June

UTGuy commented 5 months ago

@sandy081

The latest insiders build seems to work!

sandy081 commented 5 months ago

Marking it as verified based on author's confirmation from above comment.

en-ver commented 4 months ago

As a workaround please set "extensions.verifySignature": false setting under customizations.vscode.settings in devcontainer.json

worked for me Macbook Air M1