Whamcloud - gitweb
LU-16943 tests: fix replay-single/135 under hard failure mode 08/51608/4
authorJian Yu <yujian@whamcloud.com>
Fri, 14 Jul 2023 06:04:42 +0000 (14:04 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Oct 2023 13:48:30 +0000 (13:48 +0000)
commitdc943357276b3bec99d24c89d9b36f7b3cf20aeb
treec52e52ebf460fb46cfd563001de568adba4e7d66
parent34e1409cad412086d509349f64dc9d77911d2fb8
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: 74140e5df4c094f7f0e923e1b82c464b18e8a7cc

Test-Parameters: trivial testlist=replay-single
Test-Parameters: trivial fstype=zfs 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/fs/lustre-release/+/51608
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/replay-single.sh
lustre/tests/test-framework.sh