diff mbox series

[v1] procps: ptest: skip kill test due to race condition

Message ID 20260817075327.8764-1-pratik.farkase@est.tech
State New
Headers show
Series [v1] procps: ptest: skip kill test due to race condition | expand

Commit Message

Pratik Farkase Aug. 17, 2026, 7:53 a.m. UTC
The kill dejagnu test has a race condition where the test_process helper
can exit or become unavailable before the expect script reads its output,
resulting in 'spawn id not open' errors. This causes intermittent
'kill with SIGUSR1' failures on the autobuilder, particularly on
qemuarm64.

This is tracked upstream at https://gitlab.com/procps-ng/procps/-/issues/423

[YOCTO #16263]

Signed-off-by: Pratik Farkase <pratik.farkase@est.tech>
---
 meta/recipes-extended/procps/procps/run-ptest | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-extended/procps/procps/run-ptest b/meta/recipes-extended/procps/procps/run-ptest
index 7e132653b0..40dbd35265 100644
--- a/meta/recipes-extended/procps/procps/run-ptest
+++ b/meta/recipes-extended/procps/procps/run-ptest
@@ -3,6 +3,13 @@ 
 # Run testsuite which use dejagnu
 cd ./testsuite
 for tool in @DEJATOOL@; do
+    # Skip the kill test as it has a race condition where test_process
+    # can exit before the expect script reads from it, causing
+    # "spawn id not open" errors (upstream: https://gitlab.com/procps-ng/procps/-/issues/423)
+    if [ "$tool" = "kill" ]; then
+        echo "SKIP: kill (flaky, upstream issue #423)"
+        continue
+    fi
     runtest -a --tool $tool --outdir ../log
 done
 cd -