Whamcloud - gitweb
LU-17873 test: ignore WIFSIGNALED if rc is 0 94/55194/3
authorHongchao Zhang <hongchao@whamcloud.com>
Sat, 20 Apr 2024 17:53:11 +0000 (01:53 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 Jun 2024 04:52:21 +0000 (04:52 +0000)
Ignored the checking resulst of WIFSIGNALED if the return status
of the "lctl test_create" thread is zero.

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/fs/lustre-release/+/55194
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre-iokit/mds-survey/mds-survey

index b75d3e9..08ac45f 100755 (executable)
@@ -119,6 +119,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++;                                                    \