Skip to contentSkip to conversation

lttng-tools: Filter out regression testsuite on musl systems

PATCH In review Khem Raj 3 participants 4 messages Aug 28, 2025 – Sep 2, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb +5 -0
index 6f3fba1d735..e706e87c060 100644
@@ -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 \
#1 lore raw
Quoted 10 lines · Khem Raj via lists.openembedded.org

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.

Is there a bug filed upstream that we can track to know when to enable the tests again?

Ross

author
#2 lore raw
Quoted 6 lines · Ross Burton
Quoted 4 lines · Khem Raj via lists.openembedded.org

regression testsuite does not run to finish on musl systems, some of the issues seen

Quoted 9 lines
Quoted 6 lines

* 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.

Is there a bug filed upstream that we can track to know when to enable the tests again?

Now there is https://bugs.lttng.org/issues/1432

Quoted 1 line

Ross

#3 lore raw
Quoted 4 lines · Khem Raj via lists.openembedded.org
Quoted 2 lines

Is there a bug filed upstream that we can track to know when to enable the tests again?

Now there is https://bugs.lttng.org/issues/1432

Please resend all these patches Ross commented on with the information and links included in them.

Alex