Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.14.0, Lustre 2.12.4, Lustre 2.12.5
-
Interop testing
-
3
-
9223372036854775807
Description
sanityn test_103 fails with
== sanityn test 103: Test size correctness with lockahead ============================================ 15:41:45 (1578670905) CMD: trevis-44vm6.trevis.whamcloud.com /usr/sbin/lctl get_param -n version 2>/dev/null || /usr/sbin/lctl lustre_build_version 2>/dev/null || /usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2 fail_loc=0x415 CMD: trevis-44vm8 /usr/sbin/lctl set_param fail_loc=0x415 fail_val=2 fail_loc=0x415 fail_val=2 Incorrect size expected (no glimpse fix): Starting test test23 at 1578670906 lockahead_test: cannot give advice: Operation not supported (95) lockahead_test: lockahead_test.c:1122: test23: assertion 'rc == 0' failed: cannot lockahead '/mnt/lustre2/d103.sanityn/f103.sanityn': Operation not supported fail_loc=0 CMD: trevis-44vm8 /usr/sbin/lctl set_param fail_loc=0x214 fail_val=2 fail_loc=0x214 fail_val=2 Starting test test23 at 1578670908 lockahead_test: cannot give advice: Operation not supported (95) lockahead_test: lockahead_test.c:1122: test23: assertion 'rc == 0' failed: cannot lockahead '/mnt/lustre2/d103.sanityn/f103.sanityn': Operation not supported sanityn test_103: @@@@@@ FAIL: Lockahead test23 failed, 255 Trace dump: = /usr/lib64/lustre/tests/test-framework.sh:5900:error() = /usr/lib64/lustre/tests/sanityn.sh:4637:test_103()
The issue is seen in interop testing with Lustre clients 2.12.3.57 and later with any server with version less than 2.12.3.57. Patch https://review.whamcloud.com/36406/ for LU-11670 adds sanityn test 103 and landed to b2_12 on 12 December 2019. The test has a version check, but it may not be the correct version
4734 test_103() {
4735 [ $(lustre_version_code $ost1) -lt $(version_code 2.10.50) ] &&
4736 skip "Lockahead needs OST version at least 2.10.50"
See the following for logs
https://testing.whamcloud.com/test_sets/daca5678-3461-11ea-bb75-52540065bddc
https://testing.whamcloud.com/test_sets/93f0f922-1e46-11ea-b1e8-52540065bddc