-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
nodejs: skip some TLS tests on 20.x and 18.x #344086
Conversation
(Having just say that, I realize that it might be nodejs/node@01f751b that I somehow missed. I can't really test that hypothesis as there are simply too much stuff to rebuild, once the caches have been populated I'll try to see if the tests pass with that commit applied) |
Edit: Misunderstood the cache the other way around, leaving as draft while the dependencies of nodejs are built to avoid this being merged before you have a chance to test the potential patch. |
In a test run on my local system the following were fixed by that patch:
The following would still be pending:
|
c1295b8
to
90e36b9
Compare
Only tested building nodejs_20, nodejs_18 might still need other patches or disabling of tests |
eb4a054
to
eecc700
Compare
I've forced pushed to have the patches listed in the "correct" order, which will simplify updating Node.js versions when future releases will pick up those patches. |
nixpkgs/pkgs/development/web/nodejs/nodejs.nix Lines 261 to 267 in 6030d78
|
eecc700
to
58e7865
Compare
"test-process-euid-egid" | ||
"test-process-initgroups" | ||
"test-process-setgroups" | ||
"test-process-uid-gid" | ||
"test-setproctitle" | ||
"test-tls-cli-max-version-1.3" | ||
"test-tls-client-auth" | ||
# The next test will be fixed by https://github.com/nodejs/node/pull/55089: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to just vendor this patch since we’re applying so many anyway? It’ll never be merged into 18.x or 20.x, presumably.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’ll never be merged into 18.x or 20.x, presumably.
No reason it wouldn't. For v20.x, all (non-semver-minor) patches are typically always backported after a maturation period until it reaches maintenance (next month). For v18.x, I've opened nodejs/node#55101 and plan to include it as well – having passing tests with OpenSSL 3.2 is useful not just for the Nix project.
It will definitely land on v22.x anyway, which is also affected.
Do we want to just vendor this patch since we’re applying so many anyway?
I'm not against it, but also I don't think it's necessary, it seems fine to keep the test on that list while we wait for the fix to land upstream. The minimum wait time is 48 hours for that kind of PRs in the Node.js project, so depending on whether this PR has landed, I'll either update it or I'll open a new one targeting staging
once that happens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, okay; I didn’t realize the LTS branches got so much attention :)
It should be okay to just roll it into this PR once merged. We just threw away all the builds to revert the GCC bump, so it’s going to be quite a few days before eating a Node.js rebuild becomes unpalatable; if you’re okay waiting for the PR to be merged then I’m fine merging this after that.
Co-authored-by: Fabián Heredia Montiel <[email protected]>
58e7865
to
e005e5d
Compare
Addresses #343421 (comment).
It looks like some tests are only passing on 22.x branch atm, I wasn't able to pin point any obvious commit that address this issue, I guess it's fine to skip those tests for now to unblock the build.