Skip to content

Commit 6682c47

Browse files
pratikfarkasestrpurdie
authored andcommitted
python3: ptest: skip flaky test_attach_to_process_without_colors
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 python/cpython#130363 [YOCTO #16412] Signed-off-by: Pratik Farkase <pratik.farkase@est.tech> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1 parent 635fe91 commit 6682c47

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎meta/recipes-devtools/python/python3_3.14.7.bb‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,10 @@ SKIPPED_TESTS += " \
324324

325325
# Intermittent failure under load - the remote pdb attach test is timing
326326
# sensitive and fails on loaded autobuilder hosts (CPython #130363)
327-
# Bugzilla YP 16201
327+
# Bugzilla YP 16201, 16412
328328
SKIPPED_TESTS += " \
329329
--ignore test.test_remote_pdb.PdbAttachTestCase.test_attach_to_process_with_colors \
330+
--ignore test.test_remote_pdb.PdbAttachTestCase.test_attach_to_process_without_colors \
330331
"
331332

332333
SKIPPED_TESTS:append:libc-musl = " \

0 commit comments

Comments
 (0)