Whamcloud - gitweb
LU-16943 tests: fix replay-single/135 under hard failure mode
authorJian Yu <yujian@whamcloud.com>
Fri, 14 Jul 2023 06:22:25 +0000 (14:22 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 16 Jul 2023 23:09:55 +0000 (23:09 +0000)
commit18a424a0db1d6e91dfaed938766af40a0d5d98d9
tree8d88e85e9acc1ee9632c6722900887d1d3d7193f
parentb3876240c290d03e5e5a6fc97197b223b34ecc46
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.

Lustre-change: https://review.whamcloud.com/51574
Lustre-commit: TBD (from 1b73b6465b77744992bb1f6d782362bf0cf7f409)

Test-Parameters: trivial testlist=replay-single

Test-Parameters: trivial env=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/ex/lustre-release/+/51607
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh