Repository navigation
test_socket: testStream() fails on Fedora Rawhide #119461
Copy link
Copy link
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dir
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dir
Activity
vstinner commentedon May 23, 2024
It started failing around May 15, 2024.
vstinner commentedon May 23, 2024
The kernel was updated between the two builds.
platform.platform: Linux-6.9.0-0.rc3.20240413git8f2c057754b2.35.fc41.aarch64-aarch64-with-glibc2.39.9000platform.platform: Linux-6.9.0-64.fc41.aarch64-aarch64-with-glibc2.39.9000stratakis commentedon May 23, 2024
changes.txt
Package changes the day the build started failing.
pythongh-119461: Skip ThreadedVSOCKSocketStreamTest if cid is VMADDR_…
vstinner commentedon May 23, 2024
On Fedora Rawhide x86-64 and Linux kernel 6.9.0-64.fc41.x86_64, the device
/dev/vsockdoes exist. get_cid() returns4294967295which isVMADDR_CID_ANY(-1).On Fedora Stable x86-64 and Linux kernel 6.8.10-300.fc40.x86_64, the device
/dev/vsockdoesn't exist. get_cid() returnsNone(if fails withOSError).pythongh-119461: Fix ThreadedVSOCKSocketStreamTest
pythongh-119461: Fix ThreadedVSOCKSocketStreamTest
gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465)
pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465)
[3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#119465) (#119479)
[3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…
[3.12] [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (
vstinner commentedon Jun 3, 2024
Fixed by commit: e94dbe4.
1 remaining item
[3.13] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (python#119465
[3.11] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#129171)
[3.11] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…
gh-119461: Restore the testSocket VSOCK skipUnless removed by PR #119465
pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …
pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …
pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …
[3.12] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR
[3.13] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR
pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …
pythongh-119461: Restore the testSocket VSOCK skipUnless removed by PR …
[3.10] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) (#129440
[3.11] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR
[3.10] pythongh-119461: Fix ThreadedVSOCKSocketStreamTest (pythonGH-1…
[3.9] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-129171) (GH-12…