[LU-16397] sanity-quota test_1h: Write success, expect EDQUOT Created: 14/Dec/22  Updated: 20/Dec/23  Resolved: 20/Dec/23

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

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Fixed Votes: 0
Labels: None

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

 Description   

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/8c60fbcf-b2d2-401c-8dbc-f30a38ea1730
test_1h failed with the following error:

Write success, expect EDQUOT
User quota (block hardlimit:10 MB)
Write 5M Using Fallocate
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [fallocate] [-l5M] [/mnt/lustre/d1h.sanity-quota/f1h.sanity-quota-0]
CMD: trevis-79vm4 lctl set_param -n os[cd]*.*MDT*.force_sync=1
CMD: trevis-79vm3 lctl set_param -n osd*.*OS*.force_sync=1
Write 11M Using Fallocate
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
 [fallocate] [-l11M] [/mnt/lustre/d1h.sanity-quota/f1h.sanity-quota-0]
Disk quotas for usr quota_usr (uid 60000):
     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
    /mnt/lustre   11264*      0   10240       -       1       0       0       -
lustre-MDT0000_UUID
                      0       -       0       -       1       -       0       -
lustre-OST0000_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0001_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0002_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0003_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0004_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0005_UUID
                      0       -       0       -       -       -       -       -
lustre-OST0006_UUID
                  11264       -       0       -       -       -       -       -
Total allocated inode limit: 0, total allocated block limit: 0
Files for user (quota_usr):
  File: /mnt/lustre/d1h.sanity-quota/f1h.sanity-quota-0
  Size: 11534336  	Blocks: 22528      IO Block: 4194304 regular file
Device: 2c54f966h/743766374d	Inode: 144115205272502286  Links: 1
Access: (0644/-rw-r--r--)  Uid: (60000/quota_usr)   Gid: (60000/quota_usr)
Access: 2022-10-29 17:29:20.000000000 +0000
Modify: 2022-10-29 17:29:21.000000000 +0000
Change: 2022-10-29 17:29:21.000000000 +0000
 Birth: -
CMD: trevis-79vm4 /usr/sbin/lctl get_param -n version 2>/dev/null ||
				/usr/sbin/lctl lustre_build_version 2>/dev/null ||
				/usr/sbin/lctl --version 2>/dev/null | cut -d' ' -f2
 sanity-quota test_1h: @@@@@@ FAIL: Write success, expect EDQUOT 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6145:error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:177:quota_error()
  = /usr/lib64/lustre/tests/sanity-quota.sh:561:check_write_fallocate()
  = /usr/lib64/lustre/tests/sanity-quota.sh:708:test_1h()
  = /usr/lib64/lustre/tests/test-framework.sh:6466:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:6515:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:6355:run_test()
  = /usr/lib64/lustre/tests/sanity-quota.sh:718:main()


 Comments   
Comment by Gerrit Updater [ 30/Dec/22 ]

"Hongchao Zhang <hongchao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49533
Subject: LU-16397 test: check quota setting on QSD
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: bba4d25ea8e14b4f7813766aa4b1f3083b5fa4cc

Comment by Gerrit Updater [ 20/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49533/
Subject: LU-16397 test: check quota setting on QSD
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bc968fe05179f1c0c3dde4b16a95e030488483fd

Comment by Peter Jones [ 20/Dec/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:26:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.