[LU-15879] sanity-quota test_2: user create success, but expect EDQUOT Created: 21/May/22 Updated: 08/Feb/24 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | zfs | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
This issue was created by maloo for eaujames <eaujames@ddn.com> This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/f3facb68-9e2e-4166-9fc4-d49930fbfc95 test_2 failed with the following error: user create success, but expect EDQUOT User quota (inode hardlimit:2048 files)
Create 1024 files ...
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
[createmany] [-m] [/mnt/lustre/d2.sanity-quota/f2.sanity-quota-0] [1024]
total: 1024 create in 1.04 seconds: 985.93 ops/second
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
[createmany] [-m] [/mnt/lustre/d2.sanity-quota/f2.sanity-quota-0_yyy] [1024]
mknod(/mnt/lustre/d2.sanity-quota/f2.sanity-quota-0_yyy0) error: Disk quota exceeded
total: 0 create in 0.33 seconds: 0.00 ops/second
Create out of file quota ...
running as uid/gid/euid/egid 60000/60000/60000/60000, groups:
[touch] [/mnt/lustre/d2.sanity-quota/f2.sanity-quota-0_xxx]
Disk quotas for usr quota_usr (uid 60000):
Filesystem kbytes quota limit grace files quota limit grace
/mnt/lustre 1536 0 0 - 1024 0 2048 -
lustre-MDT0000_UUID
1536 - 0 - 1024 - 2048 -
lustre-MDT0001_UUID
0 - 0 - 0 - 0 -
lustre-MDT0002_UUID
0 - 0 - 0 - 0 -
lustre-MDT0003_UUID
0 - 0 - 0 - 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
0 - 0 - - - - -
lustre-OST0007_UUID
0 - 0 - - - - -
Total allocated inode limit: 2048, total allocated block limit: 0
Files for user (quota_usr):
File: /mnt/lustre/d2.sanity-quota/f2.sanity-quota-0240
Size: 0 Blocks: 0 IO Block: 4194304 regular empty file
Device: 2c54f966h/743766374d Inode: 144115641698222573 Links: 1
Access: (0444/-r--r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr)
Access: 2022-05-20 16:16:00.000000000 +0000
Modify: 2022-05-20 16:16:00.000000000 +0000
Change: 2022-05-20 16:16:00.000000000 +0000
Birth: 2022-05-20 16:16:00.000000000 +0000
File: /mnt/lustre/d2.sanity-quota/f2.sanity-quota-0237
Size: 0 Blocks: 0 IO Block: 4194304 regular empty file
Device: 2c54f966h/743766374d Inode: 144115641698222570 Links: 1
Access: (0444/-r--r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr)
Access: 2022-05-20 16:16:00.000000000 +0000
Modify: 2022-05-20 16:16:00.000000000 +0000
Change: 2022-05-20 16:16:00.000000000 +0000
Birth: 2022-05-20 16:16:00.000000000 +0000
File: /mnt/lustre/d2.sanity-quota/f2.sanity-quota-0670
Size: 0 Blocks: 0 IO Block: 4194304 regular empty file
Device: 2c54f966h/743766374d Inode: 144115641698223003 Links: 1
Access: (0444/-r--r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr)
Access: 2022-05-20 16:16:01.000000000 +0000
Modify: 2022-05-20 16:16:01.000000000 +0000
Change: 2022-05-20 16:16:01.000000000 +0000
Birth: 2022-05-20 16:16:01.000000000 +0000
File: /mnt/lustre/d2.sanity-quota/f2.sanity-quota-0793
Size: 0 Blocks: 0 IO Block: 4194304 regular empty file
Device: 2c54f966h/743766374d Inode: 144115641698223126 Links: 1
Access: (0444/-r--r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr)
Access: 2022-05-20 16:16:01.000000000 +0000
Modify: 2022-05-20 16:16:01.000000000 +0000
Change: 2022-05-20 16:16:01.000000000 +0000
Birth: 2022-05-20 16:16:01.000000000 +0000
CMD: trevis-51vm4 /usr/sbin/lctl get_param -n version 2>/dev/null
CMD: trevis-51vm4 zpool get all
sanity-quota test_2: @@@@@@ FAIL: user create success, but expect EDQUOT
Trace dump:
= /usr/lib64/lustre/tests/test-framework.sh:6406:error()
= /usr/lib64/lustre/tests/sanity-quota.sh:158:quota_error()
= /usr/lib64/lustre/tests/sanity-quota.sh:1218:test_2()
= /usr/lib64/lustre/tests/test-framework.sh:6723:run_one()
= /usr/lib64/lustre/tests/test-framework.sh:6770:run_one_logged()
= /usr/lib64/lustre/tests/test-framework.sh:6611:run_test()
= /usr/lib64/lustre/tests/sanity-quota.sh:1296:main()
This seems to only appear on ZFS (as with the LU-15523): VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV |
| Comments |
| Comment by Jian Yu [ 14/Dec/22 ] |
|
+1 on b2_15 branch: https://testing.whamcloud.com/test_sets/916d439b-4b93-4d35-87ad-253b85cb081d |
| Comment by Arshad Hussain [ 23/May/23 ] |
|
+1 (Master) https://testing.whamcloud.com/sub_tests/16ed7389-3c87-4572-b18e-dce044d0db5f |
| Comment by Serguei Smirnov [ 24/May/23 ] |
|
+1 on master: https://testing.whamcloud.com/test_sets/e12683dd-fc03-40a1-b406-c17f24261c25 |
| Comment by Xinliang Liu [ 30/Aug/23 ] |
|
+1 on b2_15 branch: https://testing.whamcloud.com/test_sets/2f65223f-2461-449d-9a43-1e4f305ce328 |
| Comment by Sergey Cheremencev [ 08/Feb/24 ] |
|
+1 on master: https://testing.whamcloud.com/test_sets/8fdfb273-3050-41cf-a5a7-0c36f40d30b6 |