On Fri Jun 26, 2026 at 10:38 AM CEST, Yoann Congal wrote:
> On Thu Jun 25, 2026 at 12:33 AM CEST, Kris via lists.openembedded.org Gavvala 
> wrote:
>> 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 \
>> +"
>
> Hello,
>
> I'm not sure we need to specify glibc and musl (do we support anything
> else?). Most likely, we can unconditionnaly skip the test without
> override.

Also, Alex's remark is important: I won't be able to merge this fix to
either of the stable branch before it is merged on master. So, please:
* start by sending a master patch (my above review about glib/musl
  override does apply),
* get it merged,
* and then, send a backport request to wrynose and scarthgap

Thanks!

>
> Regards,
>
>>  
>>  do_install_ptest:append () {
>>      sed -i -e "s|SKIPPED_TESTS=|SKIPPED_TESTS=\"${SKIPPED_TESTS}\"|" 
>> ${D}${PTEST_PATH}/run-ptest


-- 
Yoann Congal
Smile ECS

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239617): 
https://lists.openembedded.org/g/openembedded-core/message/239617
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to