diff mbox series

python3: skiptest tracemalloc_track_race

Message ID 20260624223336.1254487-1-kris.gavvala@windriver.com
State New
Headers show
Series python3: skiptest tracemalloc_track_race | expand

Commit Message

Kris Gavvala June 24, 2026, 10:33 p.m. UTC
In python3 ptests for whinlatter, tracemalloc_track_race fails with a segfault.
To avoid ptest failures for now, skip test_tracemalloc_track_race in ptests if using glibc or musl.
Making the change on master to backport to whinlatter.

Fixes [YOCTO #16182]
Upstream Issue: https://github.com/python/cpython/issues/143143

Signed-off-by: Kris Gavvala <kris.gavvala@windriver.com>
---
 meta/recipes-devtools/python/python3_3.14.6.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3_3.14.6.bb b/meta/recipes-devtools/python/python3_3.14.6.bb
index 291bde70f6..0fd1831b86 100644
--- a/meta/recipes-devtools/python/python3_3.14.6.bb
+++ b/meta/recipes-devtools/python/python3_3.14.6.bb
@@ -320,6 +320,14 @@  SKIPPED_TESTS:append:libc-musl = " \
     --ignore test.test_ctypes.test_dlerror.TestNullDlsym.test_null_dlsym \
 "
 
+# Fails due to potential race condition so remove it for glibc and musl
+# Bugzilla YP 16182 (test_tracemalloc)
+SKIPPED_TESTS:append:libc-glibc = " \
+    --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \
+"
+SKIPPED_TESTS:append:libc-musl = " \
+    --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \
+"
 
 do_install_ptest:append () {
     sed -i -e "s|SKIPPED_TESTS=|SKIPPED_TESTS=\"${SKIPPED_TESTS}\"|" ${D}${PTEST_PATH}/run-ptest