-
Notifications
You must be signed in to change notification settings - Fork 543
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
Nightly tests are failing #3464
Comments
Tests against nightly failed, see: https://github.com/nodejs/undici/actions/runs/10418179441 |
|
Tests against nightly failed, see: https://github.com/nodejs/undici/actions/runs/10431397022 |
Tests against nightly failed, see: https://github.com/nodejs/undici/actions/runs/10439694412 |
I'll take a look later this week, maybe we can skip it for now; did something changed within the OpenSSL that is causing that failure on nightly? |
@KhafraDev by the test name ( |
It executes on versions >= 20 Line 372 in 69cfd97
|
Is this failing on the nightly build only (nodejs#main) or has it failed since Node.js 22.6.0? |
Only on the nightly. It seems related to the way OpenSSL handles the missing of ALPN response. Tried to do bisect Today but didn’t have the time. |
Did something changed on that regard for v23? |
Can someone test it using the v22.7.0-proposal but removing nodejs/node@a8c78c6 and nodejs/node@df3e6bb? |
I'm sorry I don't have any time to test. |
I can confirm dropping OpenSSL update passes the test. I'll remove it for the next release and for main branch. Let's discuss the reason in the PR. |
It seems undici needs to update its test suite for Node.js 22.8.0 (nodejs/node#54491 (comment)) |
Why though? Doesnt it need to be wrapped again in nodejs, as it is done before? https://github.com/nodejs/node/blob/8b0c699f2aafdf81bc4834b9bd2a4923741d3a6f/lib/_tls_wrap.js#L1732 Now we get the openssl warning directly. |
Please see With that PR the undici tests pass again. |
This might depend on the outcome of this new behaviour from OpenSSL, isn't it? |
I might not be the best person to discuss it, but looks like not wrapping it on Node.js would make more sense, it gives the library the ability to decide what to do on OpenSSL error codes. As mentioned by Richard, this is a bug fix from OpenSSL, but I can see why this is problematic as it can be considered semver-major on error code changes. |
Just one argument for the wrapping is that |
@richardlau what's your thought on this? I don't think we can hold the OpenSSL update for too long. Our choice is either accept nodejs/node#54492 as an expected approach or clarify that users should rely on OpenSSL error codes. |
Also keep in mind the error has the very descriptive error message |
From the perspective of the issue, I'd like to rely on OpenSSL error codes if they were more descriptive compared to what currently throws. The wrap made by @Uzlopak seems like a good step forward but it might require a wider consensus (I guess?) |
ugh... |
No description provided.
The text was updated successfully, but these errors were encountered: