Open
Description
Bug report
Bug description:
Execution of test_socket.RDSTest.testPeek hangs indefinitely in docker container for Python 3.12.10.
Reproduced on ArchLinux, Docker version 28.2.2, official images Ubuntu 18:04 and Ubuntu 24:04.
Steps:
- Install necessary packages for compilation.
- Download https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz
- Do 'configure', 'make'. then execute
./python -m test test_socket -m test.test_socket.RDSTest.testPeek -v
The test is stuck. There is no error output, just 'testPeek (test.test_socket.RDSTest.testPeek) ...'.
Strace shows that the process waits for an answer from socket.
If you interrupt and rerun the same test - it completes without issues.
Seems to be the same issue as in #79428.
CPython versions tested on:
3.13.5
Operating systems tested on:
Linux