Skip to content

[3.10] gh-145548: Use VMADDR_CID_LOCAL in VSOCK socket tests (GH-145589) (GH-145809)#148617

Open
miss-islington wants to merge 1 commit intopython:3.10from
miss-islington:backport-e378eda-3.10
Open

[3.10] gh-145548: Use VMADDR_CID_LOCAL in VSOCK socket tests (GH-145589) (GH-145809)#148617
miss-islington wants to merge 1 commit intopython:3.10from
miss-islington:backport-e378eda-3.10

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

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)
(cherry picked from commit 16dbbe5)

VMADDR_CID_LOCAL was added to socekt in 3.14. The test needs a
local constant in setUp(), as in clientSetUp().
(cherry picked from commit e378eda)

Co-authored-by: Petr Viktorin encukou@gmail.com
Co-authored-by: Miss Islington (bot) 31488909+miss-islington@users.noreply.github.com
Co-authored-by: Victor Stinner vstinner@python.org

…ythonGH-145589) (pythonGH-145809)

* [3.12] pythongh-145548: Use VMADDR_CID_LOCAL in VSOCK socket tests (pythonGH-145589) (pythonGH-145594)

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)
(cherry picked from commit 16dbbe5)

* [3.13] pythongh-145548: Don't use VMADDR_CID_LOCAL from `socket` (pythonGH-145735)

VMADDR_CID_LOCAL was added to `socekt` in 3.14. The test needs a
local constant in setUp(), as in clientSetUp().
(cherry picked from commit e378eda)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
@encukou
Copy link
Copy Markdown
Member

encukou commented Apr 21, 2026

!buildbot AMD64.Fedora

@bedevere-bot
Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit 1e1074a 🤖

Results will be shown at:

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

The command will test the builders whose names match following regular expression: AMD64.Fedora

The builders matched are:

  • AMD64 Fedora Rawhide Refleaks PR
  • AMD64 Fedora Stable LTO + PGO PR
  • AMD64 Fedora Rawhide NoGIL refleaks PR
  • AMD64 Fedora Stable Clang Installed PR
  • AMD64 Fedora Stable LTO PR
  • AMD64 Fedora Rawhide LTO + PGO PR
  • AMD64 Fedora Rawhide LTO PR
  • AMD64 Fedora Stable Refleaks PR
  • AMD64 Fedora Rawhide NoGIL PR
  • AMD64 Fedora Stable PR
  • AMD64 Fedora Rawhide PR
  • AMD64 Fedora Rawhide Clang Installed PR
  • AMD64 Fedora Rawhide Clang PR
  • AMD64 Fedora Stable Clang PR

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.

3 participants