Skip to content

gh-148508: Add another common pattern for iOS SSL failures#150442

Open
freakboy3742 wants to merge 2 commits into
python:mainfrom
freakboy3742:ios-ssl-tests
Open

gh-148508: Add another common pattern for iOS SSL failures#150442
freakboy3742 wants to merge 2 commits into
python:mainfrom
freakboy3742:ios-ssl-tests

Conversation

@freakboy3742
Copy link
Copy Markdown
Contributor

@freakboy3742 freakboy3742 commented May 26, 2026

The test_ssl.TestPreHandshakeClose.test_preauth_data_to_tls_server test fails intermittently on the iOS buildbot because an SSL error doesn't raise the expected TLS handshake error.

This test already has an escape clause that allows a skip under certain error conditions (raising a ConnectionError, an OSError, or an SSL error with "wrong version number"). #148536 added a pattern for one type of iOS failure; this PR adds a second failure mode that is observed (simplifying the test into a single regex).

It also tweaks the iOS logging regex to strip an additional space; this should aid Bevedere in reporting stack traces when failures occur.

@freakboy3742
Copy link
Copy Markdown
Contributor Author

!buildbot iOS

@bedevere-bot
Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @freakboy3742 for commit 5e9b009 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F150442%2Fmerge

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@freakboy3742 freakboy3742 requested a review from vstinner May 26, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants