Whamcloud - gitweb
LU-17047 tests: sanity/77c ensure ost debug_path is valid 43/56643/5
authorRonnie Sahlberg <rsahlberg@whamcloud.com>
Thu, 10 Oct 2024 03:57:39 +0000 (23:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 18 Oct 2024 18:44:02 +0000 (18:44 +0000)
commit0bb0b2938c41c4181d7f536675700606932699f6
treee9f71aa6dd59b1c342b68a24258683d9c3e3c201
parentcb1e0174f7c7a2b0c62067af1cdfa09e8a7cc63e
LU-17047 tests: sanity/77c ensure ost debug_path is valid

test_77c has been failing intermittently for a while due
to either debug_param not being set properly before this test is
invoked or due to silent failure of getting the param from the
remote node.

Try to avoid these spurios test flakiness by forcing the debug_path
parameter to the expected setting during test startup.
A test shouldn't depend on no residuals being present from unrelated
prior tests anyway.

If need be we can add a dedicated test that only verifies that we
can set debug_path to a specific value and then read the value back.

Test-Parameters: trivial testgroup=rolling-upgrade-client1
Test-Parameters: testgroup=rolling-downgrade-mds
Test-Parameters: testgroup=rolling-downgrade-client2
Test-Parameters: testgroup=rolling-upgrade-client2
Signed-off-by: Ronnie Sahlberg <rsahlberg@whamcloud.com>
Change-Id: I4aae3e422d8f492a7877fbe20a6c553afc35e998
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56643
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh