test_sendfile_close_peer_in_the_middle_of_receiving fails on ppc64le
Open
Nobody has claimed this yet.
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Lib/test/test_asyncio/test_sendfile.py, especially test_sendfile_close_peer_in_the_middle_of_receiving at line 466, and reproduce the failure on Linux ppc64le using the provided build log as context. Compare the test's behavior on other architectures; done means the test reliably raises ConnectionError as expected on ppc64le without regressing other platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100