Whamcloud - gitweb
LU-17873 test: ignore WIFSIGNALED if rc is 0
authorHongchao Zhang <hongchao@whamcloud.com>
Sat, 20 Apr 2024 06:31:51 +0000 (14:31 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 30 May 2024 00:39:40 +0000 (00:39 +0000)
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 <hongchao@whamcloud.com>
Change-Id: Ifc3727d48010c9f00f38baff9ff91b5cc3afce5c
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55185
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre-iokit/mds-survey/mds-survey

index 6111e1a..0410bd5 100755 (executable)
@@ -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++;                                                    \