Whamcloud - gitweb
LU-14692 tests: wait for osp in conf-sanity/84 77/50477/4
authorLi Dongyang <dongyangli@ddn.com>
Thu, 30 Mar 2023 12:45:04 +0000 (23:45 +1100)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 May 2023 04:10:11 +0000 (04:10 +0000)
Wait for osp to change the first IDIF SEQ to a
normal SEQ, before using replay_barrier.
Otherwise the SEQ change could get lost and we
will trigger LASSERT during replay.

Change-Id: I32daa49d6329902b84eebb00090ae3cebe4a71b0
Test-Parameters: trivial testlist=conf-sanity env=ONLY=84,ONLY_REPEAT=10
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50477
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/conf-sanity.sh

index b0a8c10..af8918c 100644 (file)
@@ -6820,7 +6820,9 @@ test_84() {
                error "start MDS failed"
 
        start_ost || error "start OST0000 failed"
+       wait_osc_import_state mds ost1 FULL
        start_ost2 || error "start OST0001 failed"
+       wait_osc_import_state mds ost2 FULL
 
        echo "recovery_time=$time_min, timeout=$TIMEOUT, wrap_up=$wrap_up"