Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
OS-iostestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
Example: https://github.com/python/cpython/actions/runs/18868398194/job/53840759567?pr=140558
======================================================================ERROR: test_UnixDatagramServer (test.test_socketserver.SocketServerTest.test_UnixDatagramServer) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File"/Users/runner/Library/Developer/CoreSimulator/Devices/7EDFF154-B6AB-44D3-BA15-EBE53F1F1878/data/Containers/Bundle/Application/F7FB9E8B-0A4F-4BDD-A041-3CB5C1B883AE/iOSTestbed.app/python/lib/python3.15/test/test_socketserver.py", line227, intest_UnixDatagramServerself.run_server(socketserver.UnixDatagramServer, ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^socketserver.DatagramRequestHandler, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^self.dgram_examine) ^^^^^^^^^^^^^^^^^^^File"/Users/runner/Library/Developer/CoreSimulator/Devices/7EDFF154-B6AB-44D3-BA15-EBE53F1F1878/data/Containers/Bundle/Application/F7FB9E8B-0A4F-4BDD-A041-3CB5C1B883AE/iOSTestbed.app/python/lib/python3.15/test/support/threading_helper.py", line66, indecoratorreturnfunc(*args) File"/Users/runner/Library/Developer/CoreSimulator/Devices/7EDFF154-B6AB-44D3-BA15-EBE53F1F1878/data/Containers/Bundle/Application/F7FB9E8B-0A4F-4BDD-A041-3CB5C1B883AE/iOSTestbed.app/python/lib/python3.15/test/test_socketserver.py", line135, inrun_servertestfunc(svrcls.address_family, addr) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File"/Users/runner/Library/Developer/CoreSimulator/Devices/7EDFF154-B6AB-44D3-BA15-EBE53F1F1878/data/Containers/Bundle/Application/F7FB9E8B-0A4F-4BDD-A041-3CB5C1B883AE/iOSTestbed.app/python/lib/python3.15/test/test_socketserver.py", line162, indgram_examinebuf=data=receive(s, 100) ~~~~~~~^^^^^^^^File"/Users/runner/Library/Developer/CoreSimulator/Devices/7EDFF154-B6AB-44D3-BA15-EBE53F1F1878/data/Containers/Bundle/Application/F7FB9E8B-0A4F-4BDD-A041-3CB5C1B883AE/iOSTestbed.app/python/lib/python3.15/test/test_socketserver.py", line44, inreceiveraiseRuntimeError("timed out on %r"% (sock,)) RuntimeError: timedouton<socket.socketfd=33, family=1, type=2, proto=0, laddr=./test_python_x3rw1qn_.sock>The function uses test.support.SHORT_TIMEOUT which is 30 seconds by default:
defreceive(sock, n, timeout=test.support.SHORT_TIMEOUT): r, w, x=_real_select([sock], [], [], timeout) ifsockinr: returnsock.recv(n) else: raiseRuntimeError("timed out on %r"% (sock,))CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
- gh-140702: Diagnose iOS datagram timeout bug #140736
- gh-140702: Add test skip for Unix Datagram tests on iOS when on Github Actions #140740
- [3.14] gh-140702: Add test skip for Unix Datagram tests on iOS when on Github Actions (GH-140740) #140742
- gh-140702: Log color and GHA env vars in test.pythoninfo #140747
- [3.14] gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747) #140753
- [3.13] gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747) #140754
yihong0618
Metadata
Metadata
Assignees
Labels
OS-iostestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error