test_sendfile_close_peer_in_the_middle_of_receiving fails on ppc64le
Aberta
Ninguém assumiu esta issue ainda.
type-bug
- Linguagem predominante
- Python
- Estrelas
- 77.2k
- Forks
- 36k
- Métricas de merge de PRs
- Métricas de PR pendentes
Descrição
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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece por Lib/test/test_asyncio/test_sendfile.py, especialmente test_sendfile_close_peer_in_the_middle_of_receiving na linha 466, e reproduza a falha no Linux ppc64le usando o build log fornecido como contexto. Compare o comportamento do teste em outras arquiteturas; a tarefa estará concluída quando o teste gerar ConnectionError de forma confiável, como esperado, no ppc64le sem causar regressões em outras plataformas.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- networking, testing
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100