Whamcloud - gitweb
LU-11912 tests: force new seq in runtests
authorLi Dongyang <dongyangli@ddn.com>
Wed, 18 Oct 2023 05:15:41 +0000 (16:15 +1100)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 19 Oct 2023 12:50:47 +0000 (12:50 +0000)
If seq rollover happens during runtests/1,
the new seq on OST will consume some space and
this will fail the free space check.

Force a new seq before running test case to
prevent this.

Lustre-change: https://review.whamcloud.com/52741
Lustre-commit: TBD

Change-Id: I7bb1156127eb423889626bf84bc6c87dd68e6ece
Test-Parameters: trivial testlist=runtests
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52743
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/runtests

index 60461c7..d7c446d 100755 (executable)
@@ -15,6 +15,7 @@ RUNTESTS_SRC=${RUNTESTS_SRC:-"/etc /bin"}
 [ "$RMDIRMANY" ] || RMDIRMANY="unlinkmany -d"
 
 check_and_setup_lustre
+force_new_seq_all
 
 test_1() {
        sleep 5 # let MDS refresh aggregated statfs