diff mbox series

lttng-tools: Filter out regression testsuite on musl systems

Message ID 20250828025134.3747161-1-raj.khem@gmail.com
State New
Headers show
Series lttng-tools: Filter out regression testsuite on musl systems | expand

Commit Message

Khem Raj Aug. 28, 2025, 2:51 a.m. UTC
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 <raj.khem@gmail.com>
---
 meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

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 6f3fba1d735..e706e87c060 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb
@@ -206,6 +206,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 \