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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 20 15:55:05 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/22/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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/dec1afeaa335422c0b72b182bb3202d1958b06eb

Thanks.

Luca Boccassi

---
>From dec1afeaa335422c0b72b182bb3202d1958b06eb 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
@@ -160,11 +160,12 @@ test_timer_secondary(void)
 		TEST_ASSERT_SUCCESS(ret, "Failed to launch timer manage loop");
 
 		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);
 
 #ifdef RTE_LIBRTE_TIMER_DEBUG
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-20 14:55:43.493291125 +0000
+++ 0003-test-timer-fix-hang-on-secondary-process-failure.patch	2026-02-20 14:55:43.152190193 +0000
@@ -1 +1 @@
-From 5f6945bcfb0de8292da9dd8cd56556e2306d02cb Mon Sep 17 00:00:00 2001
+From dec1afeaa335422c0b72b182bb3202d1958b06eb 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
@@ -30 +31 @@
- 		rte_delay_ms(500);
+ 		rte_delay_ms(2000);


More information about the stable mailing list