patch 'test/trace: fix parallel execution with traces enabled' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:03:17 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/23/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/a70bede756f50b4e3ca81ca8634e7a6758ff2297
Thanks.
Kevin
---
>From a70bede756f50b4e3ca81ca8634e7a6758ff2297 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu, 5 Mar 2026 09:51:02 -0800
Subject: [PATCH] test/trace: fix parallel execution with traces enabled
[ upstream commit 07b697b29741c080a6f125a96a5ef5f68249a34d ]
The trace_autotest_with_traces test needs a unique file-prefix to avoid
collisions when running in parallel with other tests.
Rather than duplicating test argument construction, restructure to add
file-prefix as the last step. This allows reusing test_args for the
trace variant by concatenating the trace-specific arguments and a
different file-prefix at the end.
Fixes: 0aeaf75df879 ("test: define unit tests suites based on test types")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
app/test/suites/meson.build | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/app/test/suites/meson.build b/app/test/suites/meson.build
index 7e2b1fa410..5446324360 100644
--- a/app/test/suites/meson.build
+++ b/app/test/suites/meson.build
@@ -81,15 +81,18 @@ foreach suite:test_suites
continue # skip this test
endif
- if is_linux
- # use unique file-prefix to allow parallel runs
- test_args += ['--file-prefix=' + test_name.underscorify()]
- endif
-
if get_option('default_library') == 'shared'
test_args += ['-d', dpdk_drivers_build_dir]
endif
+ # use unique file-prefix to allow parallel runs
+ file_prefix = []
+ trace_prefix = []
+ if is_linux
+ file_prefix = ['--file-prefix=' + test_name.underscorify()]
+ trace_prefix = [file_prefix[0] + '_with_traces']
+ endif
+
test(test_name, dpdk_test,
- args : test_args,
+ args : test_args + file_prefix,
env: ['DPDK_TEST=' + test_name],
timeout : timeout_seconds_fast,
@@ -97,8 +100,8 @@ foreach suite:test_suites
suite : 'fast-tests')
if not is_windows and test_name == 'trace_autotest'
- test_args += ['--trace=.*']
- test_args += ['--trace-dir=@0@'.format(meson.current_build_dir())]
+ trace_extra = ['--trace=.*',
+ '--trace-dir=@0@'.format(meson.current_build_dir())]
test(test_name + '_with_traces', dpdk_test,
- args : test_args,
+ args : test_args + trace_extra + trace_prefix,
env: ['DPDK_TEST=' + test_name],
timeout : timeout_seconds_fast,
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:09.339025567 +0000
+++ 0079-test-trace-fix-parallel-execution-with-traces-enable.patch 2026-03-19 10:01:07.131632793 +0000
@@ -1 +1 @@
-From 07b697b29741c080a6f125a96a5ef5f68249a34d Mon Sep 17 00:00:00 2001
+From a70bede756f50b4e3ca81ca8634e7a6758ff2297 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 07b697b29741c080a6f125a96a5ef5f68249a34d ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 4c815ea097..786c459c24 100644
+index 7e2b1fa410..5446324360 100644
@@ -26 +27 @@
-@@ -91,15 +91,18 @@ foreach suite:test_suites
+@@ -81,15 +81,18 @@ foreach suite:test_suites
@@ -51 +52 @@
-@@ -107,8 +110,8 @@ foreach suite:test_suites
+@@ -97,8 +100,8 @@ foreach suite:test_suites
More information about the stable
mailing list