Skip to content

test_socket: testStream() fails on Fedora Rawhide #119461

Description

@vstinner

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

Activity

  1. vstinner commented on May 23, 2024

    @vstinner
    MemberAuthor

    It started failing around May 15, 2024.

  2. vstinner commented on May 23, 2024

    @vstinner
    MemberAuthor

    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
  3. stratakis commented on May 23, 2024

    @stratakis
    Contributor

    changes.txt

    Package changes the day the build started failing.

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

    @vstinner
    MemberAuthor

    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).

  6. added 5 commits that reference this issue on May 23, 2024
  7. added a commit that references this issue on May 23, 2024
  8. added a commit that references this issue on May 23, 2024
  9. vstinner commented on Jun 3, 2024

    @vstinner
    MemberAuthor

    Fixed by commit: e94dbe4.

  10. 1 remaining item

  11. added a commit that references this issue on Jan 22, 2025
  12. added a commit that references this issue on Jan 23, 2025
  13. added a commit that references this issue on Jan 29, 2025
  14. added a commit that references this issue on Feb 2, 2025
  15. added 3 commits that reference this issue on Feb 2, 2025
  16. added 2 commits that reference this issue on Feb 2, 2025
  17. added a commit that references this issue on Feb 3, 2025
  18. added a commit that references this issue on Feb 7, 2025
  19. added 2 commits that reference this issue on Feb 13, 2025
  20. added a commit that references this issue on Feb 13, 2025
  21. added a commit that references this issue on Feb 19, 2025
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 dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions