Whamcloud - gitweb
LU-15935 tests: ignore replay-dual/33 cleanup error 15/58915/2
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 23 Apr 2025 05:58:47 +0000 (23:58 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:16:35 +0000 (02:16 +0000)
The cleanup in replay-dual test_33 can fail to reset at_min
if the OST was already stopped on some node during cleanup.
Ignore these non-fatal errors during stack_trap cleanup.

Fixes: 1a79d395dd ("LU-15935 target: keep track of multirpc slots in last_rcvd")
Test-Parameters: trivial testlist=replay-dual env=ONLY=33
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I69d3feb9591256704b47c850c35ea97ffb500c1e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58915
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-dual.sh

index 39664d7..6f6d760 100755 (executable)
@@ -1305,7 +1305,7 @@ test_33() { # LU-15935
        local at_min_old
        at_min_old=$(at_min_get ost1)
        at_min_set 60 ost
-       stack_trap "at_min_set $at_min_old ost"
+       stack_trap "at_min_set $at_min_old ost || true"
 
        # Clean old locks
        cancel_lru_locks mdc