-
Notifications
You must be signed in to change notification settings - Fork 166
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
test-rackspace-win2022_vs2022-x64-6
systematic build timeout for win-vs2022-arm64
#3504
Comments
nodejs/reliability#676 indicates that this happens on test-rackspace-win2022_vs2022-x64-1 and test-rackspace-win2022_vs2022-x64-2 too, maybe less frequent though |
This message is immediately before an attempt is made to download a x64 Node.js Windows binary (to convert the license to RTF). #3477 (comment) says that on the test CI that there should be a caching mechanism to prevent the builds getting stuck here. |
Two win2019 machines are also affected: |
I took a look. There is indeed a cache there but it can get corrupted (that's what happened here). I'll improve the logic to prohibit this. There is also an occasional ongoing problem with release CI where nodes get stuck trying to download the x64 node.exe for days (no caching there). I'll try to make a standardized approach that will work in both CI environments. |
Label added back to https://ci.nodejs.org/computer/test-rackspace-win2022_vs2022-x64-6/configure |
@StefanStojanovic It seems the bug is still here: https://ci.nodejs.org/job/node-compile-windows/53041/nodes=win-vs2022-arm64/console |
Thanks for letting me know @targos! This is a different bug, but it represents the same. Caching only works well if it can download the x64 binary, in runs after you reenabled the machine I've seen this when downloading node.exe:
The machine didn't have a cached node.exe and in one run compilation failed. The new caching mechanism improves on the old one in a way that it doesn't overwrite a valid binary with an invalid one. Since this machine didn't have a valid binary to begin with, failure was a possibility. Now I've set it up correctly and checked other machines for invalid cache. Since now everything is as expected, the new caching mechanism should make sure it stays like that by never invalidating node.exe. I'll be monitoring this in the following weeks and hopefully, this will not happen again. |
Removed |
Happened with a release machine: https://ci-release.nodejs.org/job/iojs+release/10022/nodes=vs2022-arm64/console |
I recall that release CI doesn't use node.exe caching for signing ARM64 binaries. I even opened an issue to implement it some time ago #3527. This was based on an improvement I had for caching (https://github.com/nodejs/build/pull/3514/files), but it broke test CI because of In short, in release CI we need the download from https://nodejs.org/dist/latest/win-x64/node.exe to go smoothly and that is not always the case as sometimes it hangs. Luckily that doesn't happen too often. |
Fixes: nodejs#3504 Refs: nodejs#3315 Refs: nodejs#3514 Refs: nodejs#3533
After landing the PR I ran windows fanned job, and node compile debug job, that was previously failing (with first PR that needed to be reverted) now passed. Will monitor CI runs closely in the next few days to make sure everything is OK. |
Release CI doesn't use the |
However, looking at everything now, it seems very likely that this somehow causes the error described here, which is very weird since the |
See https://ci.nodejs.org/computer/test-rackspace-win2022_vs2022-x64-6/builds
All
win-vs2022-arm64
systematically fail with:Examples:
https://ci.nodejs.org/job/node-compile-windows/nodes=win-vs2022-arm64/52608/console
https://ci.nodejs.org/job/node-compile-windows/nodes=win-vs2022-arm64/52601/console
https://ci.nodejs.org/job/node-compile-windows/nodes=win-vs2022-arm64/52597/console
Other machines don't have this problem so I removed the
win-vs2022-arm64
label from that one in https://ci.nodejs.org/computer/test-rackspace-win2022_vs2022-x64-6/configure to prevent CI failures.The text was updated successfully, but these errors were encountered: