GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465) by vstinner · Pull Request #119479 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented May 23, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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 commit e94dbe4)

  • Issue: test_socket: testStream() fails on Fedora Rawhide #119461

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner
pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465)
8241456
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 commit e94dbe4)
@vstinner vstinner added skip news needs backport to 3.12 only security fixes labels May 23, 2024
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting core review labels May 23, 2024
This was referenced May 23, 2024
test_socket: testStream() fails on Fedora Rawhide #119461
Closed
gh-119461: Fix ThreadedVSOCKSocketStreamTest #119465
Merged
@vstinner
vstinner enabled auto-merge (squash) May 23, 2024 21:47
@vstinner

vstinner commented May 23, 2024

Copy link
Copy Markdown
Member Author

This backport doesn't add socket.VMADDR_CID_LOCAL constant.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
vstinner merged commit c750061 into python:3.13 May 23, 2024
@vstinner
vstinner deleted the vsock_local313 branch May 23, 2024 22:27
@miss-islington-app

miss-islington-app Bot commented May 23, 2024

Copy link
Copy Markdown

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label May 23, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 23, 2024
@vstinner @miss-islington
[3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…
4bca8a5
…19465) (pythonGH-119479)

pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)
@bedevere-app

bedevere-app Bot commented May 23, 2024

Copy link
Copy Markdown

GH-119484 is a backport of this pull request to the 3.12 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label May 23, 2024
vstinner added a commit that referenced this pull request May 23, 2024
@miss-islington @vstinner
[3.12] [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (
122dd4f
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 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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
@JelleZijlstra JelleZijlstra mentioned this pull request May 28, 2024
backport a9a74da 3.13 #119642
Closed
hrnciar pushed a commit to fedora-python/cpython that referenced this pull request Sep 11, 2024
@miss-islington @vstinner @hrnciar
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
79fecc6
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
hrnciar pushed a commit to fedora-python/cpython that referenced this pull request Sep 11, 2024
@miss-islington @vstinner @hrnciar
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
e5fb458
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
hrnciar pushed a commit to fedora-python/cpython that referenced this pull request Sep 11, 2024
@miss-islington @vstinner @hrnciar
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
cc2b987
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
hroncok pushed a commit to fedora-python/cpython that referenced this pull request Sep 11, 2024
@miss-islington @vstinner @hroncok
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
a3345bd
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
frenzymadness pushed a commit to fedora-python/cpython that referenced this pull request Dec 3, 2024
@miss-islington @vstinner @frenzymadness
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
711d800
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
frenzymadness pushed a commit to fedora-python/cpython that referenced this pull request Dec 3, 2024
@miss-islington @vstinner @frenzymadness
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
c90b131
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
frenzymadness pushed a commit to fedora-python/cpython that referenced this pull request Dec 3, 2024
@miss-islington @vstinner @frenzymadness
00438: Fix ThreadedVSOCKSocketStreamTest (pythonGH-119465) (pythonGH-…
fb0aa8b
…119479) (python#119484)

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 commit c750061)

Co-authored-by: Victor Stinner <[email protected]>
(cherry picked from commit e94dbe4)

Co-authored-by: Victor Stinner <[email protected]>
@vstinner vstinner mentioned this pull request Jan 22, 2025
[3.11] gh-119461: Fix ThreadedVSOCKSocketStreamTest #129171
Merged
vstinner added a commit to vstinner/cpython that referenced this pull request Jan 22, 2025
@vstinner
[3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465
6a286e6
) (python#119479)

pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465)

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 commit e94dbe4)
(cherry picked from commit c750061)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@vstinner
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.