From: Richard Purdie Date: Tue, 19 Aug 2025 09:09:07 +0000 (+0100) Subject: lttng-tools: Disable slow tests to fix ptest runs X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git lttng-tools: Disable slow tests to fix ptest runs Add a patch disabling some ptests in lttng-tools since they are slow, give no output on the console and cause the ptest run to error due to our 450s inactivity timeout. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch b/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch new file mode 100644 index 0000000000..5b9a07fcb8 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch @@ -0,0 +1,28 @@ +These tests take too long to run for our default output timeout in ptest-runner (450s). +We could change that to 900s but it is a global setting so skip these tests for +now. Ideally tests.serial would have occasional output when running to show activity. + +Upstream-Status: Inappropriate [workaround for slow tests] +Signed-off-by: Richard Purdie + +Index: lttng-tools-2.14.0/tests/regression/Makefile.am +=================================================================== +--- lttng-tools-2.14.0.orig/tests/regression/Makefile.am ++++ lttng-tools-2.14.0/tests/regression/Makefile.am +@@ -26,7 +26,6 @@ SERIAL_TESTS = tools/base-path/test_ust + tools/tracefile-limits/test_tracefile_count \ + tools/tracefile-limits/test_tracefile_size \ + tools/exclusion/test_exclusion \ +- tools/snapshots/test_kernel \ + tools/snapshots/test_ust_fast \ + tools/snapshots/test_ust_streaming \ + tools/snapshots/test_kernel_streaming \ +@@ -47,8 +46,6 @@ SERIAL_TESTS = tools/base-path/test_ust + tools/rotation/test_schedule_api \ + tools/metadata/test_kernel \ + tools/working-directory/test_relayd_working_directory \ +- tools/clear/test_ust \ +- tools/clear/test_kernel \ + tools/clear/test_live_hang.py \ + tools/tracker/test_event_tracker \ + tools/trigger/start-stop/test_start_stop \ 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 262bea0748..a3faf1e758 100644 --- a/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb +++ b/meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb @@ -51,6 +51,7 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ file://disable-tests.patch \ file://0001-gen-ust-events-constructor-change-rpath-to-libdir-li.patch \ file://0001-eventfd.cpp-Remove-the-scope-resolution-operator.patch \ + file://disable-tests2.patch \ " SRC_URI[sha256sum] = "d8c39c26cec13b7bd82551cd52a22efc358b888e36ebcf9c1b60ef1c3a3c2fd3"