test.test_concurrent_futures.test_deadlock test_pyrepl failed on 1-core-VM
未关闭
还没有人认领这个 Issue。
tests
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
While working on reproducible builds for openSUSE (sponsored by the NLnet NGI0 fund), I found that our python313 package fails to build on 1-core-VMs from two failing tests.
Full build log: https://rb.zq1.de/other/python313/build-j1.log
2 re-run tests:
test.test_concurrent_futures.test_deadlock test_pyrepl
2 tests failed:
test.test_concurrent_futures.test_deadlock test_pyrepl
447 tests OK.
Total duration: 3 hour 35 sec
Total tests: run=42,874 (filtered) failures=7 skipped=1,745
Total test files: run=466/468 (filtered) failed=2 skipped=15 resource_denied=4 rerun=2
If those tests cannot pass in such an env, they should be skipped automatically.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查链接的构建日志,并在单核 Linux VM 上复现 test.test_concurrent_futures.test_deadlock 和 test_pyrepl。确定这些失败是否仅出现在单核环境中,然后让受影响的测试在那里自动跳过;当测试在该环境中不再失败且更广泛的测试运行仍然有效时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- testing-qa
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100