diff mbox series

[v2,3/3] lttng-tools: Disable slow tests to fix ptest runs

Message ID 20250819101714.3600601-3-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 328d5c9a1dcfa4c636fd6d6e05f2474c15dc9f7a
Headers show
Series [v2,1/3] lttng-tools: Upgrade 2.13.15 -> 2.14.0 | expand

Commit Message

Richard Purdie Aug. 19, 2025, 10:17 a.m. UTC
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../lttng/lttng-tools/disable-tests2.patch    | 28 +++++++++++++++++++
 .../lttng/lttng-tools_2.14.0.bb               |  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 meta/recipes-kernel/lttng/lttng-tools/disable-tests2.patch

Comments

patchtest@automation.yoctoproject.org Aug. 19, 2025, 10:31 a.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/v2-3-3-lttng-tools-Disable-slow-tests-to-fix-ptest-runs.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test CVE tag format (test_patch.TestPatch.test_cve_tag_format)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
diff mbox series

Patch

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 00000000000..5b9a07fcb81
--- /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 <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 \
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 262bea07488..a3faf1e758c 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"