-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PPC64LE buildbots] test_socket: VSOCK testStream(): recv fails with EACCES on Fedora 41 #128116
Comments
I failed to reproduce the issue. I connected to the PPC64LE Fedora Stable buildbot, I built Python and ran:
I tried as the |
Some logs on the buildbot: vstinner@localhost:~/python/3.13$ ls -l /dev/vsock
crw-rw-rw-. 1 root root 10, 60 Dec 18 21:14 /dev/vsock
vstinner@localhost:~/python/3.13$ cat x.py
import socket
import fcntl
import struct
def get_cid():
if fcntl is None:
print("a")
return None
if not hasattr(socket, 'IOCTL_VM_SOCKETS_GET_LOCAL_CID'):
print("b")
return None
try:
with open("/dev/vsock", "rb") as f:
r = fcntl.ioctl(f, socket.IOCTL_VM_SOCKETS_GET_LOCAL_CID, " ")
except OSError as exc:
print("c", exc)
return None
else:
return struct.unpack("I", r)[0]
print("CID", get_cid())
vstinner@localhost:~/python/3.13$ ./python x.py
CID 4294967295 |
Last success, Fedora 40 with glibc 2.39: https://buildbot.python.org/#/builders/90/builds/5363/
First error, Fedora 41 with glibc 2.40: https://buildbot.python.org/#/builders/90/builds/5364/
|
I wrote PR gh-128120 to skip the test is recv() fails with EACCESS. |
…or (pythonGH-128120) (cherry picked from commit cbfe302) Co-authored-by: Victor Stinner <vstinner@python.org>
Fixed by change cbfe302. The backport to 3.13 will follow. |
…or (pythonGH-128120) (cherry picked from commit cbfe302) Co-authored-by: Victor Stinner <vstinner@python.org>
Example of failure: https://buildbot.python.org/#/builders/1467/builds/303/steps/6/logs/stdio
See also: #119461 (cc @vstinner)
Linked PRs
The text was updated successfully, but these errors were encountered: