python3: skip TimerfdTests class
PATCH 1/1 python3: skip TimerfdTests class
test_timerfd_ns_TFD_TIME() recently failed on riscv64, but 15743 saw another part of the suite fail for x86-64. There are other tests in the same TimerfdTests that look prone to load timeouts. Instead of individually skipping tests and/or for certain architectures, skip the class, putting the skip below the general list with a new comment. Remove the original comment for 15743, since it's mentioned in the TimerfdTests skip note.
New results (x86-64):
|Total duration: 3 min 20 sec |Total tests: run=48,083 (filtered) skipped=2,507 |Total test files: run=529/538 (filtered) skipped=76 resource_denied=9 |Result: SUCCESS |DURATION: 202 |END: /usr/lib/python3/ptest |2026-10-30T13:18 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 |root@qemux86-64:~#
[YOCTO #16470]
Signed-off-by Trevor Gamblin <[email protected]>
--- meta/recipes-devtools/python/python3_3.14.10.bb | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
meta/recipes-devtools/python/python3_3.14.10.bb +9 -2
@@ -255,7 +255,6 @@ do_install:append:class-nativesdk () { # 15120 (test_input_no_stdout_fileno) # 15131 (*TestBarrier.test_timeout) # 15177 (test_thread_time) -# 15743 (test.test_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME) # 15885 (test_default_timeout) SKIPPED_TESTS = " \ --ignore *TestBarrier.test_timeout \
@@ -263,7 +262,6 @@ SKIPPED_TESTS = " \ --ignore ExecutorShutdownTest \ --ignore ProcessPoolShutdownTest \ --ignore ThreadPoolShutdownTest \ - --ignore test.test_os.test_os.TimerfdTests.test_timerfd_TFD_TIMER_ABSTIME \ --ignore test_active_children \ --ignore test_default_timeout \ --ignore test_input_no_stdout_fileno \
@@ -330,6 +328,15 @@ SKIPPED_TESTS += " \ --ignore test_shutdown_no_wait_max_tasks_gh119592 \ " +# Intermittent failure under load - these are all timer tests. +# test_timerfd_TFD_TIMER_ABSTIME was observed failing in Bugzilla YP 15743. +# test_timerfd_ns_TFS_TIMER_ABSTIME was observed failing in Bugzilla YP 16470. +# There are actually several other tests in the suite that all look prone to +# load variability, so skip the whole test class. +SKIPPED_TESTS:append = " \ + --ignore TimerfdTests \ +" + # https://github.com/python/cpython/issues/159424 SKIPPED_TESTS:append:libc-musl = " \ --ignore test.test_readline.TestHistoryManipulation.test_append_limited_history \
Signature · 1 line
2.56.0