patch 'test/timer: fix hang on secondary process failure' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Feb 26 14:08:06 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/02/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/ea8d449fdaa4895c5bf4b3bf345a6273aa5b0ed6

Thanks.

Kevin

---
>From ea8d449fdaa4895c5bf4b3bf345a6273aa5b0ed6 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Thu, 11 Dec 2025 17:17:02 +0000
Subject: [PATCH] test/timer: fix hang on secondary process failure

[ upstream commit 5f6945bcfb0de8292da9dd8cd56556e2306d02cb ]

When the secondary process run from timer_secontary_autotest fails, the
timer loop is never stopped so the whole process hangs until timeout.
Fix this by setting the stop flag before checking for success or failure
of the secondary process.

Fixes: 50247fe03fe0 ("test/timer: exercise new APIs in secondary process")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/test/test_timer_secondary.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app/test/test_timer_secondary.c b/app/test/test_timer_secondary.c
index 4e220559b4..1e77137ae3 100644
--- a/app/test/test_timer_secondary.c
+++ b/app/test/test_timer_secondary.c
@@ -161,9 +161,10 @@ test_timer_secondary(void)
 
 		ret = timer_secondary_spawn_wait(*sec_lcorep);
-		TEST_ASSERT_SUCCESS(ret, "Secondary process execution failed");
+		/* must set exit flag even on error case, so check ret later */
 
 		rte_delay_ms(2000);
-
 		test_info->exit_flag = 1;
+
+		TEST_ASSERT_SUCCESS(ret, "Secondary process execution failed");
 		rte_eal_wait_lcore(*mgr_lcorep);
 
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-26 10:16:47.362422109 +0000
+++ 0004-test-timer-fix-hang-on-secondary-process-failure.patch	2026-02-26 10:16:46.880178822 +0000
@@ -1 +1 @@
-From 5f6945bcfb0de8292da9dd8cd56556e2306d02cb Mon Sep 17 00:00:00 2001
+From ea8d449fdaa4895c5bf4b3bf345a6273aa5b0ed6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5f6945bcfb0de8292da9dd8cd56556e2306d02cb ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index ee2675a821..8580880a56 100644
+index 4e220559b4..1e77137ae3 100644
@@ -29 +30 @@
- 		rte_delay_ms(500);
+ 		rte_delay_ms(2000);



More information about the stable mailing list