From b97dcec2bce26f0eb2a9a842cd20637ab1f17d0d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 27 Aug 2025 19:51:34 -0700 Subject: [PATCH] lttng-tools: Filter out regression testsuite on musl systems regression testsuite does not run to finish on musl systems, some of the issues seen * python is OOM'ing which is fixed by asking for 8G memory for qemu * It hits the timeout limits of ptest-runner even -t 2400 does not finish it * Use make -j1 and running run-ptest script directly ( outside ptest-runner to avoid timeout limit) causes it to run forever Lets disable this testsuite for musl systems for now. Signed-off-by: Khem Raj Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb index 49575ef57cd..dc549bff1eb 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb @@ -205,6 +205,11 @@ do_install_ptest () { done } +do_install_ptest:append:libc-musl () { + # filter-out running regression testsuite on musl systems, it hangs + sed -i -e '$a\' -e 'SUBDIRS := $(filter-out regression,$(SUBDIRS))' ${D}${PTEST_PATH}/tests/Makefile +} + INHIBIT_PACKAGE_STRIP_FILES = "\ ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/userspace-probe-elf-binary \ ${PKGD}${PTEST_PATH}/tests/utils/testapp/userspace-probe-elf-binary/.libs/userspace-probe-elf-binary \ -- 2.47.3