Skip to contentSkip to conversation

python3: ptest: skip flaky test_attach_to_process_with_colors

PATCH New Pratik Farkase 1 participant 1 message Aug 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: ptest: skip flaky test_attach_to_process_with_colors

The test_attach_to_process_with_colors test in test_remote_pdb is timing sensitive and fails intermittently on loaded autobuilder hosts. It attaches a debugger to a running process and expects specific output within tight time constraints that are not met under QEMU emulation with host load.

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

[YOCTO #16201]

---
 meta/recipes-devtools/python/python3_3.14.7.bb | 7 +++++++
 1 file changed, 7 insertions(+)
meta/recipes-devtools/python/python3_3.14.7.bb +7 -0
index 1eef256a83..53a9ca59b5 100644
@@ -319,6 +319,13 @@ SKIPPED_TESTS += " \
     --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \
 "
 
+# Intermittent failure under load - the remote pdb attach test is timing
+# sensitive and fails on loaded autobuilder hosts (CPython #130363)
+# Bugzilla YP 16201
+SKIPPED_TESTS += " \
+    --ignore test.test_remote_pdb.PdbAttachTestCase.test_attach_to_process_with_colors \
+"
+
 SKIPPED_TESTS:append:libc-musl = " \
     -x test__locale \
     -x test_c_locale_coercion \
Signature · 1 line
2.43.0