test_sendfile_close_peer_in_the_middle_of_receiving fails on ppc64le
Đang mở
Chưa có ai nhận issue này.
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 35.9k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với Lib/test/test_asyncio/test_sendfile.py, đặc biệt là test_sendfile_close_peer_in_the_middle_of_receiving ở dòng 466, và tái hiện lỗi trên Linux ppc64le bằng cách sử dụng build log được cung cấp làm ngữ cảnh. So sánh hành vi của test trên các kiến trúc khác; công việc được xem là hoàn tất khi test reliably raises ConnectionError như mong đợi trên ppc64le mà không gây regression trên các nền tảng khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- networking, testing
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100