From 250cf16133917320c3268bfa622dd87d11fe38ac Mon Sep 17 00:00:00 2001 From: Hongchao Zhang Date: Sat, 20 Apr 2024 14:31:51 +0800 Subject: [PATCH] LU-17873 test: ignore WIFSIGNALED if rc is 0 Ignored the checking resulst of WIFSIGNALED if the return status of the "lctl test_create" thread is zero. Lustre-change: https://review.whamcloud.com/55194 Lustre-commit: TBD (from d1000ae89065a6868d0dbbd5c752ff06299d36c4) Test-Parameters: trivial envdefinitions=SLOW=yes,DEBUG_SIZE=64 mdtcount=1 \ testlist=mds-survey,mds-survey,mds-survey,mds-survey,mds-survey,mds-survey Signed-off-by: Hongchao Zhang Change-Id: Ifc3727d48010c9f00f38baff9ff91b5cc3afce5c Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55185 Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo --- lustre-iokit/mds-survey/mds-survey | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre-iokit/mds-survey/mds-survey b/lustre-iokit/mds-survey/mds-survey index 6111e1a9..0410bd5 100755 --- a/lustre-iokit/mds-survey/mds-survey +++ b/lustre-iokit/mds-survey/mds-survey @@ -114,6 +114,9 @@ get_stats () { n = -1; \ exit; \ } \ + /PID [0-9]+ had rc=0/ { \ + next; \ + } \ /^Total: total [0-9]+ threads [0-9]+ sec [0-9\.]+ [0-9]+\.[0-9]+\/second$/ { \ ave = strtonum($8); \ n++; \ -- 1.8.3.1