[LU-12766] sanity-quota test 3 fails with 'write success, but expect EDQUOT' Created: 16/Sep/19 Updated: 27/Feb/21 Resolved: 26/Feb/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0, Lustre 2.14.0, Lustre 2.12.4 |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
sanity-quota test_3 fails with 'write success, but expect EDQUOT', but looking at the client test_log we see Total allocated inode limit: 0, total allocated block limit: 0 pid 1000 is using default file quota setting Files for project (1000): lfs: failed for '/mnt/lustre': Too many levels of symbolic links sanity-quota test_3: @@@@@@ FAIL: write success, but expect EDQUOT Trace dump: = /usr/lib64/lustre/tests/test-framework.sh:6115:error() = /usr/lib64/lustre/tests/sanity-quota.sh:152:quota_error() = /usr/lib64/lustre/tests/sanity-quota.sh:771:test_block_soft() = /usr/lib64/lustre/tests/sanity-quota.sh:827:test_3() There is no additional errors or indication of a problem in any of the console logs. We’ve only seen sanity-quota test 3 fail with this error and with the lfs error: We've seen sanity-quota test 3 fail with the same "write success, but expect EDQUOT " error, but the test_log does not have the lfs error. The logs have a different failure: Total allocated inode limit: 0, total allocated block limit: 0 Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate. Files for project (1000): sanity-quota test_3: @@@@@@ FAIL: write success, but expect EDQUOT Trace dump: = /usr/lib64/lustre/tests/test-framework.sh:6114:error() = /usr/lib64/lustre/tests/sanity-quota.sh:152:quota_error() = /usr/lib64/lustre/tests/sanity-quota.sh:734:test_block_soft() = /usr/lib64/lustre/tests/sanity-quota.sh:784:test_3() Logs for these errors are at |
| Comments |
| Comment by Alexander Zarochentsev [ 19/Sep/19 ] |
|
I filed > https://testing.whamcloud.com/test_sets/43331474-b5b5-11e9-a1bd-52540065bddc |
| Comment by Bruno Faccini (Inactive) [ 31/Oct/19 ] |
|
+1 on master @https://testing.whamcloud.com/test_sessions/431dfbf0-778f-46c2-84d5-e61058e669d6 |
| Comment by Andreas Dilger [ 20/Jan/20 ] |
|
I see in the test output for one of these failures: https://testing.whamcloud.com/test_sets/0f515d40-3b53-11ea-80b4-52540065bddc Sleep through grace sanity-quota.sh: line 357: let: 4m55: value too great for base (error token is "4m55") ...sleep 4m55 seconds sleep: invalid time interval '4m55' |
| Comment by Andreas Dilger [ 16/Jan/21 ] |
|
In a recent failure this is more interesting; https://testing.whamcloud.com/test_sets/e5ffdc29-ca05-4fa2-8c9a-c9d2e2da3946 Block grace time: 1w; Inode grace time: 1w : Sleep through grace ... ...sleep 21305 seconds which is 255s less than 6h. From the code:
case $flavour in
block)
time=$(lfs quota -$qtype $qarg $parg $DIR|
awk 'NR == 3 { print $5 }'| sed 's/s$//')
;;
file)
time=$(lfs quota -$qtype $qarg $DIR|
awk 'NR == 3 { print $9 }'| sed 's/s$//')
;;
esac
[[ $time == *m* ]] && time=${time//m/} && time=$((time*60));
[[ $time == *h* ]] && time=${time//h/} && time=$((time*60*60));
[[ $time == *d* ]] && time=${time//d/} && time=$((time*24*60*60));
[[ $time == *w* ]] && time=${time//w/} && time=$((time*7*24*60*60));
let time+=$extrasleep
echo "...sleep $time seconds"
sleep $time
The wdhm handling was added in patch https://review.whamcloud.com/37327 " |
| Comment by Gerrit Updater [ 18/Jan/21 ] |
|
Wang Shilong (wshilong@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41259 |
| Comment by Gerrit Updater [ 26/Feb/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41259/ |
| Comment by Peter Jones [ 26/Feb/21 ] |
|
Landed for 2.15 |