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 <[email protected]>
---
 meta/recipes-devtools/python/python3_3.14.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 = " \
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245026): 
https://lists.openembedded.org/g/openembedded-core/message/245026
Mute This Topic: https://lists.openembedded.org/mt/121066814/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to