Openembedded Core Discussions
 help / color / mirror / Atom feed
* [OE-core][PATCH v1] procps: ptest: skip kill test due to race condition
@ 2026-08-17  7:53 Pratik Farkase
  2026-08-17  8:28 ` [OE-core][PATCH v2] procps: ptest: skip signal-based kill tests " Pratik Farkase
  0 siblings, 1 reply; 2+ messages in thread
From: Pratik Farkase @ 2026-08-17  7:53 UTC (permalink / raw)
  To: openembedded-core; +Cc: pratik.farkase, Pratik Farkase

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 --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 -
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-17  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17  7:53 [OE-core][PATCH v1] procps: ptest: skip kill test due to race condition Pratik Farkase
2026-08-17  8:28 ` [OE-core][PATCH v2] procps: ptest: skip signal-based kill tests " Pratik Farkase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox