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 <[email protected]> --- meta/recipes-devtools/python/python3_3.14.6.bb | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.49.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#239532): https://lists.openembedded.org/g/openembedded-core/message/239532 Mute This Topic: https://lists.openembedded.org/mt/119965939/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
