diff mbox series

lttng-tools: Filter out regression testsuite on musl systems

Message ID 20250828025134.3747161-1-raj.khem@gmail.com
State Accepted, archived
Commit b97dcec2bce26f0eb2a9a842cd20637ab1f17d0d
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(+)

Comments

Ross Burton Sept. 1, 2025, 5:09 p.m. UTC | #1
On 28 Aug 2025, at 03:51, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
> 
> 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
Khem Raj Sept. 2, 2025, 1:46 a.m. UTC | #2
On Mon, Sep 1, 2025 at 10:09 AM Ross Burton <Ross.Burton@arm.com> wrote:
>
> On 28 Aug 2025, at 03:51, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
> >
> > 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?
>

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

> Ross
Alexander Kanavin Sept. 2, 2025, 8:41 a.m. UTC | #3
On Tue, 2 Sept 2025 at 03:46, Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:
> > 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
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 \