From f55e6c80f158c1a7232286ae077277960e97bdfb Mon Sep 17 00:00:00 2001 From: Kris Gavvala Date: Thu, 9 Jul 2026 08:09:30 -0700 Subject: [PATCH] python3: skiptest tracemalloc_track_race In python3 ptests, tracemalloc_track_race fails with a segfault. To avoid ptest failures for now, skip the test. Fixes [YOCTO #16182] Upstream Issue: https://github.com/python/cpython/issues/143143 (From OE-Core rev: 09adf3945b681bbc9eaa89cdad8fbb17191fd7d3) Signed-off-by: Kris Gavvala Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (cherry picked from commit 7504490ba5e6ce0317dd12bdb961542062f05830) Signed-off-by: Yoann Congal Signed-off-by: Paul Barker --- meta/recipes-devtools/python/python3_3.12.13.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/python/python3_3.12.13.bb b/meta/recipes-devtools/python/python3_3.12.13.bb index b31dd3d743..d74bdc158b 100644 --- a/meta/recipes-devtools/python/python3_3.12.13.bb +++ b/meta/recipes-devtools/python/python3_3.12.13.bb @@ -256,6 +256,11 @@ do_install:append:class-nativesdk () { create_wrapper ${D}${bindir}/python${PYTHON_MAJMIN} TERMINFO_DIRS='${sysconfdir}/terminfo:/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo' PYTHONNOUSERSITE='1' } +# Fails with segfault +# Bugzilla YP 16182 (test_tracemalloc_track_race) +SKIPPED_TESTS = " \ + --ignore test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race \ +" SKIPPED_TESTS:append:class-target:libc-musl = " \ -x test__locale \