From 5be7a9773e106f9675e8d57121c298539f4ce343 Mon Sep 17 00:00:00 2001 From: Toni Saario Date: Wed, 29 Jan 2025 16:32:13 +0200 Subject: [PATCH] Coin: Extend VxWorks restart matching to RTPLib errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Running many tests on the VxWorks in the emulator without restarting it between can cause exhaustion of some resources and cause an RTP spawn fail in some tests. This change will restart the emulator in such cases, which allows the test to try again on fresh boot. Pick-to: 6.9 Change-Id: I5ad715f243867d43b055271d6bc61ca4ccb3089b Reviewed-by: Simo Fält Reviewed-by: Michał Łoś --- coin/instructions/vxworks_testrunner.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/instructions/vxworks_testrunner.yaml b/coin/instructions/vxworks_testrunner.yaml index 2d1b29291f3..6979b6807da 100644 --- a/coin/instructions/vxworks_testrunner.yaml +++ b/coin/instructions/vxworks_testrunner.yaml @@ -66,7 +66,7 @@ instructions: fi # Handle crashes - if echo "$line" | /usr/bin/grep -qE "(SIGSEGV)|(SIGABRT)" + if echo "$line" | /usr/bin/grep -qE "(SIGSEGV)|(SIGABRT)|(S_rtpLib_[A-Z_]+)" then # Empty output pipe while read -t 1 line; do