You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intermittent iOS buildbot failure in test_preauth_data_to_tls_server #148508
Not sure what is causing this - it seems to be related to the switch to testing the full XCframework in the buildbot (since we're not seeing the same failures in GitHub Actions CI, and we didn't see this failure prior to the switch). Most of the time, the same test passes on a re-run (which is the warning on the build). I'll do some poking around to see if I can reproduce the problem.
After investigation; the other SSL errors are expected (and are the thing being tested; the exceptions appear in the output in verbose mode.
The error being raised appears to be part of a cluster of issues where there's already some skip handling for non-Linux platforms. When I run locally, I'm reliably hitting that skip handling (which is why the error isn't reproducible). On the buildbot, conditions are evidently slightly different, and the error being manifested is slightly different.
======================================================================
FAIL: test_preauth_data_to_tls_server (test.test_ssl.TestPreHandshakeClose.test_preauth_data_to_tls_server)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/buildbot/Library/Developer/CoreSimulator/Devices/4F9AFDE7-A49A-46AD-B161-FCA22E48EA55/data/Containers/Bundle/Application/65366177-2141-4935-B3D8-41FD90FA40BF/iOSTestbed.app/python/lib/python3.15/test/test_ssl.py", line 5624, in test_preauth_data_to_tls_server
self.assertIn("before TLS handshake with data", wrap_error.args[1])
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 'before TLS handshake with data' not found in '[SSL: RECORD_LAYER_FAILURE] record layer failure (_ssl.c:1109)'
----------------------------------------------------------------------
Ran 209 tests in 21.815s FAILED (failures=1, skipped=16) test test_ssl failed
Activity
freakboy3742 commentedon Apr 13, 2026
Not sure what is causing this - it seems to be related to the switch to testing the full XCframework in the buildbot (since we're not seeing the same failures in GitHub Actions CI, and we didn't see this failure prior to the switch). Most of the time, the same test passes on a re-run (which is the warning on the build). I'll do some poking around to see if I can reproduce the problem.
freakboy3742 commentedon Apr 14, 2026
After investigation; the other SSL errors are expected (and are the thing being tested; the exceptions appear in the output in verbose mode.
The error being raised appears to be part of a cluster of issues where there's already some skip handling for non-Linux platforms. When I run locally, I'm reliably hitting that skip handling (which is why the error isn't reproducible). On the buildbot, conditions are evidently slightly different, and the error being manifested is slightly different.
freakboy3742 commentedon Apr 14, 2026
For posterity - the full test failure is:
gh-148508: Add resilience to SSL preauth tests on iOS (#148536)
pythongh-148508: Add resilience to SSL preauth tests on iOS (pythonGH…
pythongh-148508: Add resilience to SSL preauth tests on iOS (pythonGH…
[3.13] gh-148508: Add resilience to SSL preauth tests on iOS (GH-148536…
[3.14] gh-148508: Add resilience to SSL preauth tests on iOS (GH-148536…
freakboy3742 commentedon Apr 14, 2026
Closing as this should now be addressed; we can re-open if it continues.
pythongh-148508: Add resilience to SSL preauth tests on iOS (python#1…
11 remaining items
[3.15] gh-148508: Add another common pattern for iOS SSL failures to …
[3.14] gh-148508: Add another common pattern for iOS SSL failures to …
[3.11] pythongh-148508: Add resilience to SSL preauth tests on iOS (p…
[3.11] pythongh-148508: Add another common pattern for iOS SSL failur…
[3.12] pythongh-148508: Add resilience to SSL preauth tests on iOS (p…
[3.12] pythongh-148508: Add another common pattern for iOS SSL failur…
[3.12] gh-148508: Add another common pattern for iOS SSL failures to …
[3.10] gh-148508: Add another common pattern for iOS SSL failures to …
[3.11] gh-148508: Add another common pattern for iOS SSL failures to …
[3.12] pythongh-148508: Add resilience to SSL preauth tests on iOS (p…
[3.12] pythongh-148508: Add another common pattern for iOS SSL failur…
[3.11] pythongh-148508: Add resilience to SSL preauth tests on iOS (p…
[3.11] pythongh-148508: Add another common pattern for iOS SSL failur…
[3.12] pythongh-148508: Add resilience to SSL preauth tests on iOS (p…
[3.12] pythongh-148508: Add another common pattern for iOS SSL failur…