-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
test_ssl
failures in free threading Windows optimized builds
#131804
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
Comments
Are you running the builds in a way that should also skip the test? Debug builds of CPython won't work properly with our pre-built OpenSSL |
These are optimized (non-debug) builds. Are our pre-built OpenSSL libraries incompatible with the free threading build? |
I'm running: GOOD (default build):
BAD (--disable-gil build):
|
Maybe this needs to handle the versioned |
Yeah, that'll be the problem. That's a shame, as it means we can't just use a single OpenSSL build for all our releases. Maybe we need to drop the idea of installing binaries together and just require completely separate install directories. I'm happy enough with that once we drop the old installer, but I really don't want to spend the amount of time to get it working properly there. Alternatively, if we push openssl/openssl#22209 through (and get it into an LTS release, whenever they anoint their next one), then we wouldn't need to patch it at all. Long-term that's definitely for the best. Or maybe we can patch the change into our own sources in https://github.com/python/cpython-source-deps/tree/openssl-3.0 |
Can we do something silly like patch it try: |
We need to patch for each platform, so that multiplies out pretty quick. It's easier just to add a commit to our sources with the real patch and remove the automatic one from that build script. I'll take a look tomorrow |
It looks like the easiest fix is to just disable applink entirely (which requires an OpenSSL rebuild), which should work fine for release builds (those that link to We're due to rev the OpenSSL build anyway, so I'll do it. I'll make the functions that pass |
The bin tag is 3.0.16.1 because we rebuilt without uplink support to fix pythongh-131804. This PR also prevents making calls that are now unsafe without uplink, and updates the tests to property interpret these failures as unsupported.
The bin tag is 3.0.16.1 because we rebuilt without uplink support to fix pythongh-131804. This PR also prevents making calls that are now unsafe without uplink, and updates the tests to property interpret these failures as unsupported.
The bin tag is 3.0.16.1 because we rebuilt without uplink support to fix pythongh-131804. This PR also prevents making calls that are now unsafe without uplink, and updates the tests to property interpret these failures as unsupported.
The bin tag is 3.0.16.1 because we rebuilt without uplink support to fix pythongh-131804. This PR also prevents making calls that are now unsafe without uplink, and updates the tests to property interpret these failures as unsupported.
I'm seeing failures like:
The test then immediately exits.
I've seen this in the buildbots and when building locally on Windows:
https://buildbot.python.org/#/builders/1622/builds/1125
We don't see this in the GitHub actions CI because the relevant tests are skipped in debug builds:
cpython/Lib/test/test_ssl.py
Lines 1324 to 1325 in 8a00c9a
I don't think the relevant tests use threads at all -- it seems more likely to be a build issue than a multithreading issue.
cc @itamaro @zooba
The text was updated successfully, but these errors were encountered: