python / python/cpython

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

オープン
#151,622 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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)

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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Lib/test/test_os/test_os.py の TimerfdTests.test_timerfd_ns_poll と check_timerfd_poll から始め、次にリンクされた build log を確認して、Linux s390x で再現してください。poll の回数が 1 ではなく 2 になる理由を特定し、失敗しているテストを解決できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
linux, python
領域
operating-systems, testing-qa
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。