3.15.0b2, openSUSE/Factory, s390x: failing test: test_os (test_timerfd_ns_poll)
未关闭
还没有人认领这个 Issue。
OS-linux
tests
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
[15008s] 0:54:56 load avg: 1.03 Re-running 1 failed tests in verbose mode in subprocesses
[15008s] 0:54:56 load avg: 1.03 Run 1 test in parallel using 1 worker process (timeout: 1 hour 30 min, worker timeout: 1 hour 35 min)
[15009s] 0:54:59 load avg: 1.02 [1/1/1] test.test_os.test_os failed (1 failure)
[15009s] Re-running test.test_os.test_os in verbose mode (matching: test_timerfd_ns_poll)
[15009s] test_timerfd_ns_poll (test.test_os.test_os.TimerfdTests.test_timerfd_ns_poll) ... FAIL
[15009s]
[15009s] ======================================================================
[15009s] FAIL: test_timerfd_ns_poll (test.test_os.test_os.TimerfdTests.test_timerfd_ns_poll)
[15009s] ----------------------------------------------------------------------
[15009s] Traceback (most recent call last):
[15009s] File "/home/abuild/rpmbuild/BUILD/python315-3.15.0_b2-build/Python-3.15.0b2/Lib/test/test_os/test_os.py", line 4304, in test_timerfd_ns_poll
[15009s] self.check_timerfd_poll(True)
[15009s] ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
[15009s] File "/home/abuild/rpmbuild/BUILD/python315-3.15.0_b2-build/Python-3.15.0b2/Lib/test/test_os/test_os.py", line 4289, in check_timerfd_poll
[15009s] self.assertEqual(self.read_count_signaled(fd), 1)
[15009s] ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[15009s] AssertionError: 2 != 1
[15009s]
[15009s] ----------------------------------------------------------------------
[15009s] Ran 1 test in 0.467s
[15009s]
[15009s] FAILED (failures=1)
Is this about time-outs again? Is our build machine too slow again?
CPython versions tested on:
3.15
Operating systems tested on:
Linux
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 Lib/test/test_os/test_os.py 中的 TimerfdTests.test_timerfd_ns_poll 和 check_timerfd_poll 开始,然后查看关联的构建日志,并在 Linux s390x 上复现。完成标准是确定 poll 次数为何是 2 而不是 1,并解决失败的测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- linux, python
- 领域
- operating-systems, testing-qa
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 42/100