test.test_socket.RDSTest.testPeek hangs indefinitely in docker container
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
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 https://github.com/python/cpython/issues/79428.
CPython versions tested on:
3.13.5
Operating systems tested on:
Linux
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il blocco con ./python -m test test_socket -m test.test_socket.RDSTest.testPeek -v nella configurazione Docker/Linux indicata. Inizia da test.test_socket.RDSTest.testPeek e confronta il comportamento con l’issue #79428; il lavoro è completato quando il test termina in modo affidabile alla sua prima esecuzione senza attendere indefinitamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- networking, testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100