Whamcloud - gitweb
LU-17968 tests: sanity-hsm 35 slow VM timeout fix 16/55516/3
authorFrederick Dilger <fdilger@whamcloud.com>
Mon, 24 Jun 2024 21:10:12 +0000 (15:10 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Oct 2024 00:17:19 +0000 (00:17 +0000)
Test 35 in sanity-hsm.sh has been failing intermittently since
2021-07-25, with a rate around 1/1300 runs. This is likely
caused by occasional slow VM behaviour so the timeout has been
increased from 1s to 2s to hopefully avoid future occurences
while maintaining test functionality.

Test-Patametets: trivial testlist=sanity-hsm
Test-Parameters: testlist=sanity-hsm env=ONLY=35,ONLY_REPEAT=100

Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I4ed42e79d87cd8d73e373e074fa63cf6226d4471
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55516
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-hsm.sh

index 1fb02c7..12de2d5 100755 (executable)
@@ -2831,7 +2831,7 @@ test_35() {
        wait_request_state $fid RESTORE STARTED
 
        # mv must not block during restore
-       timeout --signal=KILL 1 mv "$f1" "$f" || error "mv $f1 $f failed"
+       timeout --signal=KILL 2 mv "$f1" "$f" || error "mv $f1 $f failed"
 
        copytool_continue
        wait_request_state $fid RESTORE SUCCEED