== sanity-quota test 1b: Quota pools: Block hard limit (normal use and out of quota) ========================================================== 13:11:28 (1741626688) Waiting for MDT destroys to complete oleg351-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported oleg351-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 Creating test directory fail_val=0 fail_loc=0 User quota (block hardlimit:20 MB) Creating new pool qpool1 oleg351-server: Pool lustre.qpool1 created Adding targets to pool oleg351-server: OST lustre-OST0000_UUID added to pool lustre.qpool1 oleg351-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 -u quota_usr space:0 used 0 -u quota_usr bhardlimit:10240 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.150875 s, 34.7 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/d1b.sanity-quota/f1b.sanity-quota-0] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.148972 s, 35.2 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0] [count=1] [seek=10] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-0': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.05174 s, 0.0 kB/s Waiting for MDT destroys to complete oleg351-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported oleg351-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 -u quota_usr space:0 -------------------------------------- Group quota (block hardlimit:20 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/d1b.sanity-quota/f1b.sanity-quota-1] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.145208 s, 36.1 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/d1b.sanity-quota/f1b.sanity-quota-1] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.138625 s, 37.8 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-1] [count=1] [seek=10] dd: error writing '/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-1': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.0505756 s, 0.0 kB/s Waiting for MDT destroys to complete oleg351-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported oleg351-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 -g quota_usr space:0 -p 1000 space:0 -------------------------------------- Project quota (block hardlimit:20 mb) /home/green/git/lustre-release/lustre/utils/lfs project -p 1000 /mnt/lustre/d1b.sanity-quota/f1b.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/d1b.sanity-quota/f1b.sanity-quota-2] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.143099 s, 36.6 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/d1b.sanity-quota/f1b.sanity-quota-2] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.137703 s, 38.1 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: 60000 [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1b.sanity-quota/f1b.sanity-quota-2] [count=1] [seek=10] 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0453173 s, 23.1 MB/s Disk quotas for prj 1000 (pid 1000): Filesystem kbytes bquota blimit bgrace files iquota ilimit igrace /mnt/lustre 9216 0 20480 - 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/d1b.sanity-quota/f1b.sanity-quota-2' Size: 11534336 Blocks: 18432 IO Block: 4194304 regular file Device: 2c54f966h/743766374d Inode: 144115205289279516 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2025-03-10 13:12:19.000000000 -0400 Modify: 2025-03-10 13:12:26.000000000 -0400 Change: 2025-03-10 13:12:26.000000000 -0400 Birth: - sanity-quota test_1b: @@@@@@ 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:823:test_1b() = /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:832:main() Dumping lctl log to /tmp/testlogs//sanity-quota.test_1b.*.1741626747.log Destroy the created pools: qpool1 lustre.qpool1 rsync: chown "/tmp/testlogs/.sanity-quota.test_1b.debug_log.oleg351-server.1741626747.log.PHWx4T" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-quota.test_1b.dmesg.oleg351-server.1741626747.log.BzpBTD" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1651) [generator=3.1.2] oleg351-server: OST lustre-OST0000_UUID removed from pool lustre.qpool1 oleg351-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg351-server: Pool lustre.qpool1 destroyed Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete oleg351-server: fstrim: /mnt/lustre-ost2: the discard operation is not supported oleg351-server: fstrim: /mnt/lustre-ost1: the discard operation is not supported pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1 pdsh@oleg351-client: oleg351-server: ssh exited with exit code 1