-
Notifications
You must be signed in to change notification settings - Fork 36
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vscode test run failing on Windows platform #265
Comments
As discussed "Failed Installing Extensions: file:///d%3A/a/liberty-tools-vscode/liberty-tools-vscode/liberty-dev-vscode-ext-23.0.6-SNAPSHOT.vsix" is related to the change introduced in the tools to restrict installation only on 1.78 and above. What we should check is on the test run in supported platform <ie 1.78 and 1.79> . Pls check it once the #262 is merged in to main which has the basic test-automation integration |
created a new branch "windows-test" post the #262 merge
|
Hard coded vscode version to 1.78.2 just to see if the windows test goes through because the error message clearly says the extension is not compatible with 1.77.0 The tests are running with 1.78.2. Gradle tests went thru. But maven tests other than the "Start" tests are failing with below error. As the "Start" test is passing, mvn should be available, so in between tests why mvn becomes unrecognized needs to be investigated. |
Hello @TrevCraw, I have created a branch ( |
The tests are running on the Windows Fyre machine, with no mvn install errors observed. However, some tests are failing due to an 'element not interactable' error. In GHA, I am encountering the following error: Error: Command failed: cd vscodeCdTmrs && tar -xvf C:\Users\RUNNER~1\AppData\Local\Temp\test-resources\stable.zip |
When I ran the test using command prompt in my local windows machine, tests ran without any six installation error. But When I ran the tests in powershelgl, I got the following error. Installing extensions... |
Windows platform tests were working as expected until this run - https://github.com/OpenLiberty/liberty-tools-vscode/actions/runs/5079475331
18 tests were passing and 3 failing including docker and attach debugger tests.
Post this multiple changes have happened to fix other issues in the tests and currently windows plaform has been removed from the test run.
Before removal of the windows platform, if we check the last run - https://github.com/OpenLiberty/liberty-tools-vscode/actions/runs/5186451875/jobs/9347567786 - we can see the below exception -
Failed Installing Extensions: file:///d%3A/a/liberty-tools-vscode/liberty-tools-vscode/liberty-dev-vscode-ext-23.0.6-SNAPSHOT.vsix
Error: Command failed: set ELECTRON_RUN_AS_NODE=1 && "D:\a\liberty-tools-vscode\liberty-tools-vscode\test-resources\VSCode-win32-x64-archive\Code.exe" "D:\a\liberty-tools-vscode\liberty-tools-vscode\test-resources\VSCode-win32-x64-archive\resources\app\out\cli.js" --ms-enable-electron-run-as-node --force --install-extension "D:\a\liberty-tools-vscode\liberty-tools-vscode\liberty-dev-vscode-ext-23.0.6-SNAPSHOT.vsix"
The text was updated successfully, but these errors were encountered: