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 <[email protected]>
---
 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243598): 
https://lists.openembedded.org/g/openembedded-core/message/243598
Mute This Topic: https://lists.openembedded.org/mt/120787121/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to