test_builtin.ImmortalTests.test_immortals tests are not so immortal on i586 and 3.14.0a3
未關閉
還沒有人認領這個 Issue。
3.14
tests
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
All test_builtin.ImmortalTests.test_immortals tests fail on openSUSE/Factory in 3.14.0a3 on i586 (32bit) platform with this error:
[ 1122s] ======================================================================
[ 1122s] FAIL: test_immortals (test.test_builtin.ImmortalTests.test_immortals) [None]
[ 1122s] ----------------------------------------------------------------------
[ 1122s] Traceback (most recent call last):
[ 1122s] File "/home/abuild/rpmbuild/BUILD/Python-3.14.0a3/Lib/test/test_builtin.py", line 2702, in assert_immortal
[ 1122s] self.assertEqual(sys.getrefcount(immortal), self.IMMORTAL_REFCOUNT)
[ 1122s] ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 1122s] AssertionError: 1342177280 != 1879048192
Complete build log with all details of packages used and steps taken to reproduce.
CPython versions tested on:
3.14
Operating systems tested on:
Linux
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 Lib/test/test_builtin.py 第 2702 行附近失敗的斷言 ImmortalTests.test_immortals 開始。檢視連結的 i586 環境完整建置記錄,確定觀察到的 refcount 為何與預期值不同;當 immortal tests 在回報的 32 位元 Python 3.14 建置上通過時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- testing
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100