Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃毇 Bug] running extester in git bash on windows crashes during unpack #1212

Open
DavyLandman opened this issue Mar 25, 2024 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@DavyLandman
Copy link
Contributor

DavyLandman commented Mar 25, 2024

Describe the bug

On windows we run: npx extest setup-and-run out/test/vscode-suite/*.test.js --storage uitests inside of a bash window (both in github actions to be able to share the step with linux & osx, and to use git-bash).

But it then fails with:

Downloading VS Code: 1.75.1 / stable
Downloading VS Code from: https://update.code.visualstudio.com/1.75.1/win32-x64-archive/stable
progress: 0/157 (0%)
progress: 131302436/131302436 (100%)
Downloaded VS Code into D:\a\rascal-language-servers\rascal-language-servers\rascal-vscode-extension\uitests\stable.zip
Unpacking VS Code into D:\a\rascal-language-servers\rascal-language-servers\rascal-vscode-extension\uitests
Error: Command failed: cd vscodesrxCRj && tar -xvf D:\a\rascal-language-servers\rascal-language-servers\rascal-vscode-extension\uitests\stable.zip
tar: Cannot connect to D: resolve failed

It downloads a zip, and then tries to use tar to extract the zip.

Steps to reproduce

1. start (git) bash on windows
2. run `npx extest setup-tests`
3. see it fail

If you run it in powershell, it succeeds

Logs

Downloading VS Code: 1.75.1 / stable
Downloading VS Code from: https://update.code.visualstudio.com/1.75.1/win32-x64-archive/stable
progress: 0/157 (0%)
progress: 131302436/131302436 (100%)
Downloaded VS Code into D:\a\rascal-language-servers\rascal-language-servers\rascal-vscode-extension\uitests\stable.zip
Unpacking VS Code into D:\a\rascal-language-servers\rascal-language-servers\rascal-vscode-extension\uitests
Error: Command failed: cd vscodesrxCRj && tar -xvf D:\a\rascal-language-servers\rascal-language-servers\rascal-vscode-extension\uitests\stable.zip
tar: Cannot connect to D: resolve failed

Operating System

Windows 11

Visual Studio Code

1.87.2

vscode-extension-tester

7.3.0

NodeJS

18.19.1

npm

10.2.4

@DavyLandman DavyLandman added bug Something isn't working new-issue New issue which was not discussed yet labels Mar 25, 2024
@NevEinsit
Copy link

I saw the same issue on Windows that I have to use sed and replace tar by other tools that can unpack (7z, etc.) the archive

@DavyLandman
Copy link
Contributor Author

DavyLandman commented Apr 2, 2024

ps: workaround is to run setup in Powershell/cmd, and then run the tests in offline mode.

@djelinek djelinek removed the new-issue New issue which was not discussed yet label Apr 23, 2024
@djelinek djelinek added this to the BACKLOG milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants