Whamcloud - gitweb
EX-3342 tests: correct Lustre version checks in sanity
authorAlena Nikitenko <anikitenko@ddn.com>
Wed, 12 Jan 2022 16:08:39 +0000 (19:08 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Mar 2022 17:11:56 +0000 (17:11 +0000)
commit06a2859754a5af0bdb0d199f50afabacb9fad7aa
tree0d5f525c132defa345d3ae7e9215e013ebff745c
parent0b8b17774a0ec85f71d039033a89fe8faf8ffdf8
EX-3342 tests: correct Lustre version checks in sanity

Many patches land to the EXAScaler branches as ports from
other branches.  Sometimes the tests that are included with
the ported patches check the version of Lustre to ensure
that the feature it tests exists in this version of Lustre.
These version values are not always changed when patches
are ported from one branch to another.

Modified b_es6_0 version of these tests for interop
testing.

Sanity tests 65n and 311 were modified.
Performing test steps on versions >= 2.12.59 or between
versions 2.12.3 and 2.12.50 makes no sense for b_es5_2
branch, because all Lustre tags on this branch are lower
than 2.12.50.
Checks in test 65n will be changed to >= 2.12.3.6 which
is a tag for the patch that added this test to b_es5_2
branch.
Version check in test 311 is not needed at all, because
it includes all possible versions on b_es5_2 branch.

Lustre-change: https://review.whamcloud.com/46068
Lustre-commit: 2d92fc888e12fb7b58d496952ccd69dd10299c09

Test-Parameters: env=ONLY="65n 311" serverversion=2.10.8 serverdistro=el7.6
Test-Parameters: env=ONLY="65n 311" serverversion=2.14
Test-Parameters: trivial env=ONLY="65n 311"
Test-Parameters: env=ONLY="65n 311" clientversion=2.12.6-ddn42
Test-Parameters: env=ONLY="65n 311" serverversion=2.12.6-ddn42

Fixes: 550e41edbcb ("LU-11739 lod: subdir under ROOT should honor default layout")
Fixes: 37a9077f103 ("LU-11208 tests: add version check to sanity tests")

Signed-off-by: Alena Nikitenko <anikitenko@ddn.com>
Change-Id: Ic6383fe5585e18646a365f49f501da52848c765a
Reviewed-on: https://review.whamcloud.com/46421
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity.sh