Skip to contentSkip to conversation

python3: ptest: skip flaky test_shutdown_no_wait_max_tasks_gh119592

PATCH New Pratik Farkase 1 participant 1 message Oct 26

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: ptest: skip flaky test_shutdown_no_wait_max_tasks_gh119592

This concurrent.futures ProcessPool test starts a worker and expects it to be stranded within a 30s thread-join timeout. On loaded autobuilder hosts under QEMU emulation (seen on qemuriscv64) the worker process is slow to start, the managed queue get() times out and the join exceeds 30s, so the test fails intermittently. The upstream test is inherently timing-sensitive (CPython gh-119592), so skip it like the other flaky timing-dependent tests.

[YOCTO #16466]

---
 meta/recipes-devtools/python/python3_3.14.7.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)
meta/recipes-devtools/python/python3_3.14.7.bb +11 -0
index f917edebd8..d89da0431d 100644
@@ -353,6 +353,17 @@ SKIPPED_TESTS += " \
     --ignore test.test_asyncio.test_eager_task_factory.CEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks \
 "
 
+# Intermittent failure under load - this concurrent.futures ProcessPool test
+# starts a worker and expects it to be stranded within a 30s thread-join
+# timeout. On loaded autobuilder hosts under QEMU emulation (seen on
+# qemuriscv64) the worker process is slow to start, the managed queue get()
+# times out and the join exceeds 30s. Upstream test is timing-sensitive
+# (CPython gh-119592).
+# Bugzilla YP 16466
+SKIPPED_TESTS += " \
+    --ignore test_shutdown_no_wait_max_tasks_gh119592 \
+"
+
 SKIPPED_TESTS:append:libc-musl = " \
     -x test__locale \
     -x test_c_locale_coercion \
Signature · 1 line
2.43.0