Whamcloud - gitweb
LU-16943 tests: fix replay-single/135 under hard failure mode 74/51574/6
authorJian Yu <yujian@whamcloud.com>
Wed, 12 Jul 2023 13:48:41 +0000 (21:48 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:32:49 +0000 (06:32 +0000)
commit74140e5df4c094f7f0e923e1b82c464b18e8a7cc
tree6fc4ffb761ed94feaa957976295c6973b4b42cbb
parent0439aaadb1b640225d700aeb2ae894d07e9b3c5b
LU-16943 tests: fix replay-single/135 under hard failure mode

This patch fixes replay-single test_135() to load libcfs module
on the failover partner node to avoid 'fail_val' setting error.
It also fixes the issue that not all of the OSTs are mounted after
failing back ost1.

Test-Parameters: trivial env=REPLAY_SINGLE_EXCEPT=200 testlist=replay-single
Test-Parameters: trivial env=REPLAY_SINGLE_EXCEPT=200 fstype=zfs testlist=replay-single

Test-Parameters: trivial env=REPLAY_SINGLE_EXCEPT=200,FAILURE_MODE=HARD \
    clientcount=4 mdtcount=1 mdscount=2 osscount=2 \
    austeroptions=-R failover=true iscsi=1 \
    testlist=replay-single

Change-Id: Id46c722a6db9d832829a739f41f7462b32a6d9d9
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51574
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh