[LU-10201] conf-sanity test 20 fails in local setup Created: 07/Nov/17  Updated: 19/Jan/18  Resolved: 19/Jan/18

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

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: Oleg Drokin
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

I just noticed that conf-sanity test 20 fails on local setup because of overly greedy grep match:

        MCNT=$(grep -c $MOUNT /etc/mtab)
        [ "$MCNT" -ne 1 ] && error "$MOUNT in /etc/mtab $MCNT times"

for local setup where osts and mdt are mounted at /mnt/lustre-

{ost,mdt}

this returns 3:

 conf-sanity test_20: @@@@@@ FAIL: /mnt/lustre in /etc/mtab 3 times


 Comments   
Comment by Gerrit Updater [ 07/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: https://review.whamcloud.com/29957
Subject: LU-10201 tests: Fix overly greedy grep in conf_sanity test 20
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c30383037c9f20aba72f405a3dda8c6fdf256b4f

Comment by Gerrit Updater [ 19/Jan/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29957/
Subject: LU-10201 tests: Fix overly greedy grep in conf_sanity test 20
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d649aad0adfc27d7a02ce62c91d35430177719c4

Comment by Oleg Drokin [ 19/Jan/18 ]

patch landed to master for 2.11

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