Skip to content

Intermittent iOS buildbot failure in test_preauth_data_to_tls_server #148508

Activity

  1. freakboy3742 commented on Apr 13, 2026

    @freakboy3742
    Contributor

    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.

  2. freakboy3742 commented on Apr 14, 2026

    @freakboy3742
    Contributor

    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.

  3. freakboy3742 commented on Apr 14, 2026

    @freakboy3742
    Contributor

    For posterity - the full test failure is:

    ====================================================================== 
    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
    
  4. added a commit that references this issue on Apr 14, 2026
  5. added 2 commits that reference this issue on Apr 14, 2026
  6. added 2 commits that reference this issue on Apr 14, 2026
  7. freakboy3742 commented on Apr 14, 2026

    @freakboy3742
    Contributor

    Closing as this should now be addressed; we can re-open if it continues.

  8. added a commit that references this issue on Apr 25, 2026
  9. 11 remaining items

  10. added 2 commits that reference this issue on Jun 1, 2026
  11. added 4 commits that reference this issue on Jun 12, 2026
  12. added a commit that references this issue on Sep 30, 2026
  13. added 2 commits that reference this issue on Oct 1, 2026
  14. added 4 commits that reference this issue on Oct 2, 2026
  15. added 2 commits that reference this issue on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-iostestsTests in the Lib/test dirtopic-SSLtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions