]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
lttng-tools: Filter out regression testsuite on musl systems
authorKhem Raj <raj.khem@gmail.com>
Thu, 28 Aug 2025 02:51:34 +0000 (19:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Sep 2025 22:00:00 +0000 (23:00 +0100)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb

index 49575ef57cdf62bca32fc4ca6874b1e8f82dacd7..dc549bff1ebffce85ba90ea6af658bb7554d3467 100644 (file)
@@ -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 \