]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
lttng-tools: Disable slow tests to fix ptest runs master
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Aug 2025 09:09:07 +0000 (10:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Aug 2025 10:40:28 +0000 (11:40 +0100)
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 <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-tools_2.14.0.bb

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 (file)
index 0000000..5b9a07f
--- /dev/null
@@ -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 <richard.purdie@linuxfoundation.org>
+
+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 \
index 262bea07488d4be5db595d64a720ca091a1d83ea..a3faf1e758c69c43e4b482a4e58cc6b7605daeee 100644 (file)
@@ -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-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"
            "
 
 SRC_URI[sha256sum] = "d8c39c26cec13b7bd82551cd52a22efc358b888e36ebcf9c1b60ef1c3a3c2fd3"