python / python/cpython

3.15.0b2, openSUSE/Factory, s390x: failing test: test_os (test_timerfd_ns_poll)

未關閉
#151,622 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

OS-linux tests type-bug
主要語言
Python
星號
77.2k
分支
36k
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)

Complete build log

Is this about time-outs again? Is our build machine too slow again?

CPython versions tested on:

3.15

Operating systems tested on:

Linux

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。