Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15879

sanity-quota test_2: user create success, but expect EDQUOT

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 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

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: