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