python / python/cpython

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

Đang mở
#151,622 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

OS-linux tests type-bug
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với Lib/test/test_os/test_os.py tại TimerfdTests.test_timerfd_ns_poll và check_timerfd_poll, sau đó xem lại build log được liên kết và tái hiện trên Linux s390x. Hoàn thành khi xác định được lý do số lần poll là 2 thay vì 1 và giải quyết được test bị lỗi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
linux, python
Lĩnh vực
operating-systems, testing-qa
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.