diff mbox series

[v1] python3: ptest: skip flaky test_attach_to_process_without_colors

Message ID 20260903105212.19288-1-pratik.farkase@est.tech
State New
Headers show
Series [v1] python3: ptest: skip flaky test_attach_to_process_without_colors | expand

Commit Message

Pratik Farkase Sept. 3, 2026, 10:52 a.m. UTC
The test_attach_to_process_without_colors test in test_remote_pdb is
timing sensitive and fails intermittently on loaded autobuilder hosts.
The target process spins in a short bounded loop waiting for the
debugger to inject a new value, and under QEMU emulation with host load
pdb does not attach in time, so the function returns its original value
and the test fails.

This is the same race already handled for the with_colors variant in
the same test case, and part of the broader class of timing-sensitive
CPython tests tracked at
https://github.com/python/cpython/issues/130363

[YOCTO #16412]

Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
---
 meta/recipes-devtools/python/python3_3.14.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
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..bbba5a0003 100644
--- a/meta/recipes-devtools/python/python3_3.14.7.bb
+++ b/meta/recipes-devtools/python/python3_3.14.7.bb
@@ -324,9 +324,10 @@  SKIPPED_TESTS += " \
 
 # Intermittent failure under load - the remote pdb attach test is timing
 # sensitive and fails on loaded autobuilder hosts (CPython #130363)
-# Bugzilla YP 16201
+# Bugzilla YP 16201, 16412
 SKIPPED_TESTS += " \
     --ignore test.test_remote_pdb.PdbAttachTestCase.test_attach_to_process_with_colors \
+    --ignore test.test_remote_pdb.PdbAttachTestCase.test_attach_to_process_without_colors \
 "
 
 SKIPPED_TESTS:append:libc-musl = " \