-
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-tls-root-certificates fails consistently on test-rackspace-win2012r2_vs2017-x64-3 #2254
Comments
@nodejs/testing @nodejs/platform-windows @nodejs/crypto |
This comment has been minimized.
This comment has been minimized.
I can't reproduce locally (Windows 10). |
It looks like the problem may not be the test itself but the host. The pattern I'm seeing is that when the test runs on test-rackspace-win2012r2_vs2017-x64-3, it seems to fail, but when it runs on test-rackspace-win2012r2_vs2017-x64-1, it passes. I'm not sure why it almost always runs on test-rackspace-win2012r2_vs2017-x64-3 lately, though. I'm going to test this hypothesis now by marking test-rackspace-win2012r2_vs2017-x64-3 offline and re-running the things that failed while bisecting. (The end result of the bisect was that 9e3eddc75dde9df9356264b42bd30facb82583cd was identified as the bad commit and that doesn't seem likely at all, which is why I started looking at which host was failing.) Here are the failures on test-rackspace-win2012r2_vs2017-x64-3 from the bisect and their re-runs with test-rackspace-win2012r2_vs2017-x64-3 offline: 388cef61e8a4859b7505f7b5cf988eba27ce17b4: https://ci.nodejs.org/job/node-test-commit-windows-fanned/34925/ ❌ 05f1df520064475a255d8956f9e1b6f4bf4c8543: https://ci.nodejs.org/job/node-test-commit-windows-fanned/34927/ ❌ 9e3eddc75dde9df9356264b42bd30facb82583cd: https://ci.nodejs.org/job/node-test-commit-windows-fanned/34928/ ❌ |
(And for good measure, here's a Resume Build for the node-daily-master that ran a few hours ago and had the test fail on rackspace-win2012r2_vs2017-x64-3. |
3 of the 4 have finished and they've all passed. The fourth one is still compiling, but I'm feeling good enough about this to change the name of the issue to reflect this and transfer it to the Build repo. @nodejs/build Maybe someone needs to re-provision test-rackspace-win2012r2_vs2017-x64-3? |
(And now it's passed on the fourth one as well.) |
@Trott thanks for all the trouble-shooting. @joaocgreis any ideas? I ran |
The issue was that This seems to happen when changing to a v10 branch, the Test run: https://ci.nodejs.org/job/node-test-binary-windows-js-suites/2792/RUN_SUBSET=1,nodes=win2012r2-COMPILED_BY-vs2019-x86/ ✔️ (looks like Jenkins picked the node again for the same job as soon as it became available) |
Wow! Not the root cause I was imagining. Thanks for the explanation! |
Thanks for the troubleshooting! Maybe it is possible that we rework the test to not be sensitive to line-endings? That would allow the tests to be more robust independently of job config. I'll take a look, from a quick glance, it looks like a |
Sounds good. Normalizing line endings in imported certificates is also an option and would make it more consistent (the ones already there use LF), though this is probably semver-major and more disrupting. For context, we use |
I am getting an error repeatedly from the rm command in the jenkins config - it seems to me that the config in Jenkins should do |
Oh it seems the actual error came from an incomplete checkout. Though it's probably still a good idea to |
What steps will reproduce the bug?
Its failing consistently enough in CI it might be actually broken, not just flaky.
See:
Can anyone with access to Windows, @nodejs/platform-windows , bisect and see if one of the recent changes to tls root certs introduced this?
What do you see instead?
The text was updated successfully, but these errors were encountered: