Whamcloud - gitweb
LU-18792 tests: fix sanity-hsm test_26e for interop testing 73/58373/3
authorEtienne AUJAMES <etienne.aujames@cea.fr>
Tue, 11 Mar 2025 15:51:02 +0000 (16:51 +0100)
committerOleg Drokin <green@whamcloud.com>
Wed, 26 Mar 2025 03:58:55 +0000 (03:58 +0000)
sanity-hsm test_26e fails in interop with 2.15.x version.
The test needs to be skipped for interop testing.

Test-Parameters: trivial
Test-Parameters: testlist=sanity serverversion=2.15.6 env=ONLY=26e
Fixes: 241cf3c6d0 ("LU-16235 hsm: get a valid cookie for RAoLU request")
Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Change-Id: I56bafcfb2617637a88e328995aefb6ffa9785b37
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58373
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Guillaume Courrier <guillaume.courrier@cea.fr>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-hsm.sh

index 2bb5f23..cfc5cf9 100755 (executable)
@@ -2381,6 +2381,9 @@ test_26d() {
 run_test 26d "RAoLU when Client eviction"
 
 test_26e() {
+       (( MDS1_VERSION >= $(version_code 2.16.51) )) ||
+               skip "need MDS version at least 2.16.51"
+
        # test needs a running copytool
        copytool setup
        mkdir_on_mdt0 $DIR/$tdir