From: Hongchao Zhang Date: Sat, 20 Apr 2024 06:31:51 +0000 (+0800) Subject: LU-17873 test: ignore WIFSIGNALED if rc is 0 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=250cf16133917320c3268bfa622dd87d11fe38ac;p=fs%2Flustre-release.git 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 --- 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++; \