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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-test-binary-windows-native-suites broken on test-azure_msft-win10_vs2019-x64-2 #3174

Closed
targos opened this issue Feb 4, 2023 · 6 comments

Comments

@targos
Copy link
Member

targos commented Feb 4, 2023

It fails always: https://ci.nodejs.org/computer/test-azure_msft-win10_vs2019-x64-2/builds

@targos
Copy link
Member Author

targos commented Feb 4, 2023

I always struggle to understand what makes a Windows job actually fail.

Example job: https://ci.nodejs.org/job/node-test-binary-windows-native-suites/nodes=win10-vs2019-COMPILED_BY-vs2019/16544/console

@targos
Copy link
Member Author

targos commented Feb 4, 2023

@nodejs/platform-windows

@anonrig
Copy link
Member

anonrig commented Feb 4, 2023

This issue blocks nodejs/node#46410. (cc @lemire)

@richardlau
Copy link
Member

I always struggle to understand what makes a Windows job actually fail.

Example job: https://ci.nodejs.org/job/node-test-binary-windows-native-suites/nodes=win10-vs2019-COMPILED_BY-vs2019/16544/console

Relevant bits from the job log:

23:03:43 > taskkill /t /f /fi "IMAGENAME eq node.exe" 
23:03:43 ERROR: The process with PID 8712 (child process of PID 7420) could not be terminated.
23:03:43 Reason: There is no running instance of the task.
...
23:03:44 > git clean -dffx 
23:03:44 warning: failed to remove Release/node.exe: Invalid argument
23:03:44 warning: failed to remove test/addons/cpu-profiler-crash/build/Release/binding.node: Invalid argument

This usually means there's a running process left behind on the machine which is preventing git from cleaning the checkout. I'm not sure what taskkill cannot kill it.

I've logged into the machine with RDP (using Remmina) and can see via Task Manager that there is indeed a Node.js process running while no build is in progress.
image
I've killed the process via "End task".

Another (more drastic) option may be to run https://ci.nodejs.org/view/housekeeping/job/windows-update-reboot/ and force the machine to reboot which would also make the running Node.js process go away.

@richardlau
Copy link
Member

Well https://ci.nodejs.org/job/node-test-binary-windows-native-suites/16628/nodes=win10-vs2019-COMPILED_BY-vs2019/ ran on the machine and failed with an actual test failure.

@joaocgreis
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants