Skip to content

[3.13] gh-145548: Use VMADDR_CID_LOCAL in VSOCK socket tests (GH-145589)#145594

Merged
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-6c8c72f-3.13
Mar 6, 2026
Merged

[3.13] gh-145548: Use VMADDR_CID_LOCAL in VSOCK socket tests (GH-145589)#145594
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-6c8c72f-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 6, 2026

Prefer VMADDR_CID_LOCAL instead of VMADDR_CID_ANY for bind() in the
server. Skip the test if bind() fails with EADDRNOTAVAIL.

Log vsock CID in test.pythoninfo.
(cherry picked from commit 6c8c72f)

Co-authored-by: Victor Stinner vstinner@python.org

…-145589)

Prefer VMADDR_CID_LOCAL instead of VMADDR_CID_ANY for bind() in the
server. Skip the test if bind() fails with EADDRNOTAVAIL.

Log vsock CID in test.pythoninfo.
(cherry picked from commit 6c8c72f)

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner
Copy link
Member

vstinner commented Mar 6, 2026

I will wait for Fedora Stable buildbots to pass on the main branch before merging the change to the 3.13 branch.

@vstinner vstinner merged commit 16dbbe5 into python:3.13 Mar 6, 2026
42 checks passed
@miss-islington miss-islington deleted the backport-6c8c72f-3.13 branch March 6, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants