test_class.test_detach_materialized_dict_no_memory() fails randomly on the Free Threading macOS CI
Đang mở
Chưa có ai nhận issue này.
tests
topic-free-threading
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ả
macOS (free-threading) / build and test (macos-26) build: https://github.com/python/cpython/actions/runs/34757893189/job/103725487469?pr=157417
FAIL: test_detach_materialized_dict_no_memory (test.test_class.TestInlineValues.test_detach_materialized_dict_no_memory)
----------------------------------------------------------------------
test.support.isolation._RemoteTraceback:
"""
Traceback (most recent call last):
File "/Users/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 1374, in internal
return test(*args, **kwargs)
AssertionError: the dictionary was not cleared
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 1374, in internal
return test(*args, **kwargs)
AssertionError: test failed in the subprocess
Linked PRs
- gh-157444
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 test.test_class.TestInlineValues.test_detach_materialized_dict_no_memory và lần chạy CI macOS free-threading được liên kết. Tái hiện lỗi trên bản build macOS-26 free-threading, sau đó kiểm tra assertion của subprocess rằng dictionary chưa bị xóa. Được xem là hoàn tất khi test không còn ngẫu nhiên thất bại trong cấu hình CI đó.
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
- testing-qa
- 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