[LU-10101] sanity-quota test 7e input to quota_error() is incorrect Created: 06/Oct/17  Updated: 24/Oct/17  Resolved: 24/Oct/17

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

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

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In sanity-quota test_7e, we call quota_error at

1483         # hardlimit should be cleared on slave during reintegration
1484         $RUNAS createmany -m $TESTFILE $((ilimit + 1)) ||
1485                 quota_error -u $TSTUSR "create failed, expect success"

quota_error passes the input to quota_scan and neither routine accounts for nor understand input/flags with a “-“ before them. So, the “-u” should be just “u”.

This does not cause any errors, but, if test 7e fails the call to createmany, we will not get the quota information printed to the logs.



 Comments   
Comment by Gerrit Updater [ 06/Oct/17 ]

James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/29358
Subject: LU-10101 tests: correct sanity-quota call to quota_error
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d10a2ed14125da74af8e7b4b3a79dfbf84409dea

Comment by Gerrit Updater [ 24/Oct/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29358/
Subject: LU-10101 tests: correct sanity-quota call to quota_error
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6ce91e9e9503390ef6c8d817ceed5afbf1d41124

Comment by Peter Jones [ 24/Oct/17 ]

Landed for 2.11

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