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 — test_socket: testStream() fails on Fedora Rawhide · Issue #119461 · python/cpython

test_socket: testStream() fails on Fedora Rawhide #119461

New issue
Copy link
New issue
Copy link
Closed
Closed
test_socket: testStream() fails on Fedora Rawhide#119461
Copy link
Labels
testsTests in the Lib/test dirTests in the Lib/test dir

Description

@vstinner
vstinner
opened on May 23, 2024
Issue body actions

Example of failure: https://buildbot.python.org/all/#/builders/536/builds/7175

======================================================================
ERROR: testStream (test.test_socket.ThreadedVSOCKSocketStreamTest.testStream)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64/build/Lib/test/test_socket.py", line 395, in _setUp
    self.__setUp()
    ~~~~~~~~~~~~^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64/build/Lib/test/test_socket.py", line 538, in setUp
    self.conn, self.connaddr = self.serv.accept()
                               ~~~~~~~~~~~~~~~~^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64/build/Lib/socket.py", line 295, in accept
    fd, addr = self._accept()
               ~~~~~~~~~~~~^^
TimeoutError: timed out

======================================================================
ERROR: testStream (test.test_socket.ThreadedVSOCKSocketStreamTest.testStream)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64/build/Lib/test/test_socket.py", line 383, in raise_queued_exception
    raise self.queue.get()
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64/build/Lib/test/test_socket.py", line 407, in clientRun
    self.clientSetUp()
    ~~~~~~~~~~~~~~~~^^
  File "/home/buildbot/buildarea/3.x.cstratak-fedora-rawhide-aarch64/build/Lib/test/test_socket.py", line 546, in clientSetUp
    self.cli.connect((cid, VSOCKPORT))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: [Errno 19] No such device

Linked PRs

  • gh-119461: Skip ThreadedVSOCKSocketStreamTest if cid is VMADDR_CID_ANY #119463
  • gh-119461: Fix ThreadedVSOCKSocketStreamTest #119465
  • [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465) #119479
  • [3.12] [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (GH-119479) #119484
  • [3.11] gh-119461: Fix ThreadedVSOCKSocketStreamTest #129171
  • [3.10] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) #129440
  • gh-119461: Restore the testSocket VSOCK skipUnless removed by PR #119465 #129561
  • [3.13] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) #129564
  • [3.12] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) #129565
  • [3.11] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) #129566
  • [3.9] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) (GH-129440) #130075

Activity

Next
  1. vstinner
    added
    testsTests in the Lib/test dirTests in the Lib/test dir
    on May 23, 2024
  2. vstinner commented on May 23, 2024

    @vstinner
    vstinner
    on May 23, 2024
    MemberAuthor
    More actions

    It started failing around May 15, 2024.

    • First failure on x86-64: https://buildbot.python.org/all/#/builders/339/builds/5314
    • Latest success: https://buildbot.python.org/all/#/builders/339/builds/5313
  3. vstinner commented on May 23, 2024

    @vstinner
    vstinner
    on May 23, 2024
    MemberAuthor
    More actions

    First failure on x86-64: https://buildbot.python.org/all/#/builders/339/builds/5314
    Latest success: https://buildbot.python.org/all/#/builders/339/builds/5313

    The kernel was updated between the two builds.

    • Before: platform.platform: Linux-6.9.0-0.rc3.20240413git8f2c057754b2.35.fc41.aarch64-aarch64-with-glibc2.39.9000
    • After: platform.platform: Linux-6.9.0-64.fc41.aarch64-aarch64-with-glibc2.39.9000
  4. stratakis commented on May 23, 2024

    @stratakis
    stratakis
    on May 23, 2024
    Contributor
    More actions

    changes.txt

    Package changes the day the build started failing.

  5. vstinner
    added a commit that references this issue on May 23, 2024

    pythongh-119461: Skip ThreadedVSOCKSocketStreamTest if cid is VMADDR_…

    1d31894
  6. vstinner commented on May 23, 2024

    @vstinner
    vstinner
    on May 23, 2024
    MemberAuthor
    More actions

    On Fedora Rawhide x86-64 and Linux kernel 6.9.0-64.fc41.x86_64, the device /dev/vsock does exist. get_cid() returns 4294967295 which is VMADDR_CID_ANY (-1).

    On Fedora Stable x86-64 and Linux kernel 6.8.10-300.fc40.x86_64, the device /dev/vsock doesn't exist. get_cid() returns None (if fails with OSError).

  7. vstinner
    added 5 commits that reference this issue on May 23, 2024

    pythongh-119461: Fix ThreadedVSOCKSocketStreamTest

    967e843

    pythongh-119461: Fix ThreadedVSOCKSocketStreamTest

    d81cb0b

    gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465)

    e94dbe4

    pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465)

    8241456

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

    c750061
  8. miss-islington
    added a commit that references this issue on May 23, 2024

    [3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…

    4bca8a5
  9. vstinner
    added a commit that references this issue on May 23, 2024

    [3.12] [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (

    122dd4f
  10. vstinner commented on Jun 3, 2024

    @vstinner
    vstinner
    on Jun 3, 2024
    MemberAuthor
    More actions

    Fixed by commit: e94dbe4.

  11. vstinner
    closed this as completedon Jun 3, 2024
  12. 1 remaining item

  13. vstinner
    added a commit that references this issue on Jan 22, 2025

    [3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465

    6a286e6
  14. ambv
    added a commit that references this issue on Jan 23, 2025

    [3.11] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#129171)

    45db419
  15. miss-islington
    added a commit that references this issue on Jan 29, 2025

    [3.11] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…

    2491831
  16. gpshead
    added a commit that references this issue on Feb 2, 2025

    gh-119461: Restore the testSocket VSOCK skipUnless removed by PR #119465

    e1006ce
  17. miss-islington
    added 3 commits that reference this issue on Feb 2, 2025

    pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …

    812a401

    pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …

    22b065d

    pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …

    f326edc
  18. gpshead
    added 2 commits that reference this issue on Feb 2, 2025

    [3.12] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR

    368ba55

    [3.13] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR

    1459d08
  19. encukou
    added a commit that references this issue on Feb 3, 2025

    pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …

    8532e37
  20. srinivasreddy
    added a commit that references this issue on Feb 7, 2025

    pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …

    e4dcd60
  21. pablogsal
    added 2 commits that reference this issue on Feb 13, 2025

    [3.10] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) (#129440

    2bd9f9b

    [3.11] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR

    552ec42
  22. miss-islington
    added a commit that references this issue on Feb 13, 2025

    [3.10] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…

    4ac4704
  23. ambv
    added a commit that references this issue on Feb 19, 2025

    [3.9] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) (GH-12…

    d80cbdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — 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.