[LU-9295] sanity-lfsck tests 9a and 9b skipped due to uninitialized server version Created: 05/Apr/17  Updated: 17/Aug/17  Resolved: 17/Aug/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0, Lustre 2.10.0
Fix Version/s: Lustre 2.11.0

Type: Bug Priority: Major
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: easy, test

Issue Links:
Related
is related to LU-9887 sanity-lfsck test_9a: FAIL: (4) Got s... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity-lfsck test_9a and test_9b are being skipped due to the following code:

1019 test_9a() {
1020         if [ -z "$(grep "processor.*: 1" /proc/cpuinfo)" ]; then
1021                 skip "Testing on UP system, the speed may be inaccurate."
1022                 return 0
1023         fi
1024 
1025         [[ $server_version -ge $(version_code 2.7.50) ]] ||
1026                 { skip "Need MDS version >= 2.7.50"; return; }

The lustre_version_code function is never called to get the server version.



 Comments   
Comment by Gerrit Updater [ 05/Apr/17 ]

James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/26403
Subject: LU-9295 test: sanity-lfsck 9a,b needs server version
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d59c01970c4c8262bb26d3f20ba7bdb6e6bf4918

Comment by Gerrit Updater [ 17/Aug/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26403/
Subject: LU-9295 test: skip sanity-lfsck 9 less than 2.8
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7a3fa849bb96b8fb7faec8e5973e15265938a5c1

Comment by James Nunez (Inactive) [ 17/Aug/17 ]

Landed to master; future 2.11.0

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