diff mbox series

[v1] python3: ptest: skip flaky test_taskgroup_23

Message ID 20260907091302.15611-1-pratik.farkase@est.tech
State Under Review
Headers show
Series [v1] python3: ptest: skip flaky test_taskgroup_23 | expand

Commit Message

Pratik Farkase Sept. 7, 2026, 9:13 a.m. UTC
The asyncio test test_taskgroup_23 creates tasks that each sleep for a
fixed time, then sleeps 1.35s and asserts all tasks have completed. On
loaded autobuilder hosts under QEMU emulation the event loop timers are
delayed, so tasks are still pending when the assertion runs and the test
fails intermittently (AssertionError: 2 != 0).

This is part of the broader class of timing-sensitive CPython tests
tracked at https://github.com/python/cpython/issues/130363

[YOCTO #15564]

Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
---
 meta/recipes-devtools/python/python3_3.14.7.bb | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3_3.14.7.bb b/meta/recipes-devtools/python/python3_3.14.7.bb
index 18373e5b5e..997a1ef48c 100644
--- a/meta/recipes-devtools/python/python3_3.14.7.bb
+++ b/meta/recipes-devtools/python/python3_3.14.7.bb
@@ -329,6 +329,15 @@  SKIPPED_TESTS += " \
     --ignore test.test_remote_pdb.PdbAttachTestCase.test_attach_to_process_with_colors \
 "
 
+# Intermittent failure under load - this asyncio taskgroup test assumes
+# scheduled tasks finish within a fixed sleep, which does not hold on
+# loaded autobuilder hosts under QEMU emulation where timer callbacks are
+# delayed. Part of the broader timing-sensitive test class (CPython #130363).
+# Bugzilla YP 15564
+SKIPPED_TESTS += " \
+    --ignore test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_23 \
+"
+
 SKIPPED_TESTS:append:libc-musl = " \
     -x test__locale \
     -x test_c_locale_coercion \