Skip to content

[3.11] gh-149776: Skip UDP Lite tests if it's not supported (#149777) - #153593

Merged
pablogsal merged 1 commit into
python:3.11from
vstinner:udplite11
Aug 10, 2026
Merged

[3.11] gh-149776: Skip UDP Lite tests if it's not supported (#149777)#153593
pablogsal merged 1 commit into
python:3.11from
vstinner:udplite11

Conversation

@vstinner

@vstinner vstinner commented Jul 11, 2026

Copy link
Copy Markdown
Member

Fix test_socket on Linux kernel 7.1 and newer: skip UDP Lite tests if it's not supported.

(cherry picked from commit 3cfc249)

…9777)

Fix test_socket on Linux kernel 7.1 and newer: skip UDP Lite tests if
it's not supported.

(cherry picked from commit 3cfc249)
@vstinner

Copy link
Copy Markdown
Member Author

The Linux kernel of the "AMD64 Fedora Stable" buildbot was upgraded from 7.0 to 7.1, 3 days ago, so test_socket started to fail. The Linux kernel 7.1 removes the UDP Lite support. This PR backports a fix from the main branch.

@vstinner

Copy link
Copy Markdown
Member Author

cc @hugovk

@vstinner

Copy link
Copy Markdown
Member Author

macOS / build and test (macos-15-intel): test_ssl fails because it lacks the fix gh-153311 (ssl fix backport).

======================================================================
ERROR: test_load_verify_cadata (test.test_ssl.ContextTests.test_load_verify_cadata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 1535, in test_load_verify_cadata
    ctx.load_verify_locations(cadata=cacert_der)
ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4057)

======================================================================
ERROR: test_connect_cadata (test.test_ssl.SimpleBackgroundTests.test_connect_cadata)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/cpython/cpython/Lib/test/test_ssl.py", line 2181, in test_connect_cadata
    ctx.load_verify_locations(cadata=der)
ssl.SSLError: [ASN1: NOT_ENOUGH_DATA] not enough data (_ssl.c:4057)

@pablogsal
pablogsal merged commit 67d79df into python:3.11 Aug 10, 2026
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants