[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:
Related
is related to LU-15523 sanity-quota test_2: group create suc... Open
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):
https://testing.whamcloud.com/sub_tests/4a9694e9-c3ed-4b24-80b5-9e73c4fad06b
https://testing.whamcloud.com/sub_tests/5bbed512-b50e-437f-a10d-b9d1b760d75c
https://testing.whamcloud.com/sub_tests/f198c55a-40e7-4f3b-a507-d8089ee0bd81
https://testing.whamcloud.com/sub_tests/0063b33b-2754-4d3a-8395-1566d0886255

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity-quota test_2 - user create success, but expect EDQUOT



 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

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