test_sendfile_close_peer_in_the_middle_of_receiving fails on ppc64le
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:
When running the test suite for Python 3.12 on ppc64le architecture, this test fails (it passes perfectly well on other architectures):
[ 6080s] FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving)
[ 6080s] ----------------------------------------------------------------------
[ 6080s] Traceback (most recent call last):
[ 6080s] File "/home/abuild/rpmbuild/BUILD/Python-3.12.5/Lib/test/test_asyncio/test_sendfile.py", line 466, in test_sendfile_close_peer_in_the_middle_of_receiving
[ 6080s] with self.assertRaises(ConnectionError):
[ 6080s] AssertionError: ConnectionError not raised
CPython versions tested on:
3.12
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
Inizia da Lib/test/test_asyncio/test_sendfile.py, in particolare da test_sendfile_close_peer_in_the_middle_of_receiving alla riga 466, e riproduci il problema su Linux ppc64le usando il build log fornito come contesto. Confronta il comportamento del test su altre architetture; il lavoro è completato quando il test solleva in modo affidabile ConnectionError come previsto su ppc64le senza introdurre regressioni sulle altre piattaforme.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- networking, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100