Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465)#119479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:3.13fromvstinner:vsock_local313
May 23, 2024

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedMay 23, 2024
edited by bedevere-appbot
Loading

Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the host address or the "any" address, use the local communication address (loopback): VMADDR_CID_LOCAL.

On Linux 6.9, apparently, the /dev/vsock device is now available but get_cid() returns VMADDR_CID_ANY (-1).

(cherry picked from commite94dbe4)

Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commite94dbe4)
@vstinner
Copy link
MemberAuthor

This backport doesn't addsocket.VMADDR_CID_LOCAL constant.

@vstinnervstinner merged commitc750061 intopython:3.13May 23, 2024
@vstinnervstinner deleted the vsock_local313 branchMay 23, 2024 22:27
@miss-islington-app
Copy link

Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 23, 2024
…19465) (pythonGH-119479)pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)
@bedevere-app
Copy link

GH-119484 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelMay 23, 2024
vstinner added a commit that referenced this pull requestMay 23, 2024
GH-119479) (#119484)[3.13]gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (GH-119479)gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
hrnciar pushed a commit to fedora-python/cpython that referenced this pull requestSep 11, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
hrnciar pushed a commit to fedora-python/cpython that referenced this pull requestSep 11, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
hrnciar pushed a commit to fedora-python/cpython that referenced this pull requestSep 11, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
hroncok pushed a commit to fedora-python/cpython that referenced this pull requestSep 11, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
frenzymadness pushed a commit to fedora-python/cpython that referenced this pull requestDec 3, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
frenzymadness pushed a commit to fedora-python/cpython that referenced this pull requestDec 3, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
frenzymadness pushed a commit to fedora-python/cpython that referenced this pull requestDec 3, 2024
…119479) (python#119484)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commitc750061)Co-authored-by: Victor Stinner <vstinner@python.org>(cherry picked from commite94dbe4)Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner added a commit to vstinner/cpython that referenced this pull requestJan 22, 2025
) (python#119479)pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465)Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the hostaddress or the "any" address, use the local communication address(loopback): VMADDR_CID_LOCAL.On Linux 6.9, apparently, the /dev/vsock device is now available butget_cid() returns VMADDR_CID_ANY (-1).(cherry picked from commite94dbe4)(cherry picked from commitc750061)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
skip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp