From 41d7455b8fe35223e3e3a8f3e885da8ee2f95251 Mon Sep 17 00:00:00 2001 From: Sergey Cheremencev Date: Wed, 30 Apr 2025 21:21:45 +0300 Subject: [PATCH] LU-18936 tests: sanity-quota_95 interop fix Skip sanity-quota 95 if MDS version is less than 2_16_52-39-gb162043239 to avoid MDS that is missing root idmap quota offset. Fixes: b162043239 ("LU-18109 nodemap: fix idmap offset for root") Test-Parameters: testlist=sanity-quota env=ONLY=95 serverversion=2.16 Signed-off-by: Sergey Cheremencev Change-Id: I713827eb7eb500689a75e956817d2a6eac556656 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59044 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/sanity-quota.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity-quota.sh b/lustre/tests/sanity-quota.sh index 22fe0fe..9ca1757 100755 --- a/lustre/tests/sanity-quota.sh +++ b/lustre/tests/sanity-quota.sh @@ -6915,6 +6915,9 @@ test_95() { local ip=$(host_nids_address $HOSTNAME $NETTYPE) local nid=$(h2nettype $ip) + (( $MDS1_VERSION >= $(version_code 2_16_52-39-gb162043239) )) || + skip "need MDS >= 2.16.52.39 to have idmap fix for root" + $LFS setquota -u $off -B1025 $DIR || error "Can't setquota for uid $off" stack_trap "$LFS setquota -u $off -B0 $DIR" -- 1.8.3.1