[LU-11650] sanity-sec test 17 fails with 'test_17 returned 1': syntax error: operand expected (error token is "[0]") Created: 09/Nov/18  Updated: 05/Jul/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.0, Lustre 2.13.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity-sec test_17 fails with no obvious failure and with no error message. For the failure at https://testing.whamcloud.com/test_sets/feedbaca-e388-11e8-bfe1-52540065bddc , the only obvous issue is the following in the client test_log

/usr/lib64/lustre/tests/sanity-sec.sh: line 1273: [0]: syntax error: operand expected (error token is "[0]")

Looking at sanity-sec.sh, we see this error takes place in the do_fops_quota_test() routine

1272         qused_new=$(nodemap_check_quota "$run_u")
1273         [ $((qused_new)) -lt $((qused_low)) \
1274                 -o $((qused_new)) -gt $((qused_high)) ] &&
1275                 error "quota not reclaimed, expect $qused_orig, " \
1276                       "got $qused_new, fuzz $quota_fuzz"


 Comments   
Comment by Jian Yu [ 10/Dec/18 ]

sanity-sec test 19 hit the same issue on master branch:
https://testing.whamcloud.com/test_sets/e11d848c-fc59-11e8-8512-52540065bddc

Comment by Minh Diep [ 05/Apr/19 ]

+1 on b2_12: https://testing.whamcloud.com/test_sets/019ab566-5715-11e9-b98a-52540065bddc

Comment by James Nunez (Inactive) [ 15/Aug/19 ]

sanity-sec test 18 is also hitting this issue on master (2.13.0):
https://testing.whamcloud.com/test_sets/f978df96-b567-11e9-a1bd-52540065bddc

Comment by Andreas Dilger [ 14/Dec/21 ]

+1 on master: https://testing.whamcloud.com/test_sets/e56fd47c-d36b-4abd-a8b0-a9648294cc02

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