test_class.test_detach_materialized_dict_no_memory() fails randomly on the Free Threading macOS CI
オープン
まだ誰も着手していません。
tests
topic-free-threading
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
test.test_class.TestInlineValues.test_detach_materialized_dict_no_memory と、リンクされている macOS free-threading CI 実行から始めます。macOS-26 free-threading ビルドで失敗を再現し、その後、辞書がクリアされていないことを確認する subprocess のアサーションを調べます。この CI 構成でテストがランダムに失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100