[LU-13149] Interop: sanityn test 103 fails with 'Lockahead test23 failed, 255' Created: 17/Jan/20  Updated: 10/Aug/20  Resolved: 10/Aug/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0, Lustre 2.12.4, Lustre 2.12.5
Fix Version/s: Lustre 2.12.6

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: interop
Environment:

Interop testing


Issue Links:
Related
is related to LU-11670 Incorrect size when using lockahead Resolved
Severity: 3
Rank (Obsolete): 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



 Comments   
Comment by Gerrit Updater [ 05/Jun/20 ]

James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/38847
Subject: LU-13149 tests: change sanityn 103 facet value
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 6a9c56663982b5d7fb6a20e99ad5ecbb62ae9085

Comment by Gerrit Updater [ 07/Aug/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38847/
Subject: LU-13149 tests: change sanityn 103 facet value
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 8a68af6d8be5b5f72b519233a8703c61773a934a

Comment by James Nunez (Inactive) [ 10/Aug/20 ]

Landed to branch b2_12.

Generated at Sat Feb 10 02:58:48 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.