== sanity-quota test 1a: Block hard limit (normal use and out of quota) ========================================================== 03:50:26 (1743493826) Waiting for MDT destroys to complete /mnt/lustre-ost2: 0 B (0 bytes) trimmed /mnt/lustre-ost1: 0 B (0 bytes) trimmed Creating test directory fail_val=0 fail_loc=0 User quota (block hardlimit:10 MB) -u quota_usr space:0 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-0] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.63578 s, 3.2 MB/s Write out of block quota ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-0] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.23823 s, 4.2 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-0] [count=1] [seek=10] dd: error writing '/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-0': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.518643 s, 0.0 kB/s Waiting for MDT destroys to complete /mnt/lustre-ost2: 0 B (0 bytes) trimmed /mnt/lustre-ost1: 84.7 MiB (88817664 bytes) trimmed -u quota_usr space:0 -------------------------------------- Group quota (block hardlimit:10 MB) -g quota_usr space:0 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-1] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.21087 s, 4.3 MB/s Write out of block quota ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-1] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.13473 s, 4.6 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-1] [count=1] [seek=10] dd: error writing '/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-1': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes copied, 0.396793 s, 0.0 kB/s Waiting for MDT destroys to complete /mnt/lustre-ost2: 0 B (0 bytes) trimmed /mnt/lustre-ost1: 84.7 MiB (88817664 bytes) trimmed -g quota_usr space:0 -p 1000 space:0 -------------------------------------- Project quota (block hardlimit:10 mb) /home/green/git/lustre-release/lustre/utils/lfs project -p 1000 /mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-2 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-2] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.15907 s, 4.5 MB/s Write out of block quota ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-2] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB, 5.0 MiB) copied, 1.47158 s, 3.6 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-2] [count=1] [seek=10] 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.399479 s, 2.6 MB/s Disk quotas for prj 1000 (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 9216 0 10240 - 1 0 0 - lustre-MDT0000 0 - 0 - 1 - 0 - lustre-MDT0001 0 - 0 - 0 - 0 - lustre-OST0000 9216 - 10240 - 1 - 0 - lustre-OST0001 0 - 0 - 0 - 0 - Total allocated inode limit: 0, total allocated block limit: 10240 Files for project (1000), count=1: File: /mnt/lustre/d1a.sanity-quota/f1a.sanity-quota-2 Size: 11534336 Blocks: 18432 IO Block: 4194304 regular file Device: 2c54f966h/743766374d Inode: 144115205289279503 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2025-04-01 03:53:26.000000000 -0400 Modify: 2025-04-01 03:53:53.000000000 -0400 Change: 2025-04-01 03:53:53.000000000 -0400 Birth: 2025-04-01 03:53:26.000000000 -0400 sanity-quota test_1a: @@@@@@ FAIL: user write success, but expect EDQUOT Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7235:error() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:160:quota_error() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:587:test_1_check_write() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:696:test_1a() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7608:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7671:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7489:run_test() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:708:main() Dumping lctl log to /tmp/testlogs//sanity-quota.test_1a.*.1743494044.log rsync: chown "/tmp/testlogs/.sanity-quota.test_1a.debug_log.oleg654-server.1743494044.log.4SKI9I" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-quota.test_1a.dmesg.oleg654-server.1743494044.log.ZINbal" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1670) [generator=3.1.3] Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete /mnt/lustre-ost2: 0 B (0 bytes) trimmed /mnt/lustre-ost1: 84.7 MiB (88817664 bytes) trimmed