== sanity-quota test 1e: Quota pools: global pool high block limit vs quota pool with small ========================================================== 07:01:34 (1717153294) Waiting for MDT destroys to complete Creating test directory fail_val=0 fail_loc=0 User quota (block hardlimit:53000000 MB) Creating new pool oleg231-server: Pool lustre.qpool1 created Waiting 90s for '' Adding targets to pool oleg231-server: OST lustre-OST0001_UUID added to pool lustre.qpool1 Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-0] [count=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.145273 s, 36.1 MB/s Write out of block quota ... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-0] [count=5] [seek=5] 5+0 records in 5+0 records out 5242880 bytes (5.2 MB) copied, 0.13085 s, 40.1 MB/s running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-0] [count=1] [seek=10] dd: error writing '/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-0': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.0426812 s, 0.0 kB/s Write... running as uid/gid/euid/egid 60000/60000/60000/60000, groups: [dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-1] [count=20] dd: error writing '/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-1': Disk quota exceeded 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.0391011 s, 0.0 kB/s Disk quotas for usr quota_usr (uid 60000): Filesystem kbytes quota limit grace files quota limit grace /mnt/lustre 10240 0 54272000000 - 2 0 0 - lustre-MDT0000_UUID 0 - 0 - 2 - 0 - lustre-MDT0001_UUID 0 - 0 - 0 - 0 - lustre-OST0000_UUID 0 - 0 - - - - - lustre-OST0001_UUID 10240* - 10240 - - - - - Total allocated inode limit: 0, total allocated block limit: 10240 Files for user (quota_usr): File: '/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-1' Size: 0 Blocks: 0 IO Block: 4194304 regular empty file Device: 2c54f966h/743766374d Inode: 144115205289279515 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2024-05-31 07:01:52.000000000 -0400 Modify: 2024-05-31 07:02:13.000000000 -0400 Change: 2024-05-31 07:02:13.000000000 -0400 Birth: - File: '/mnt/lustre/d1e.sanity-quota/f1e.sanity-quota-0' Size: 10485760 Blocks: 20480 IO Block: 4194304 regular file Device: 2c54f966h/743766374d Inode: 144115205289279513 Links: 1 Access: (0644/-rw-r--r--) Uid: (60000/quota_usr) Gid: (60000/quota_usr) Access: 2024-05-31 07:01:44.000000000 -0400 Modify: 2024-05-31 07:01:52.000000000 -0400 Change: 2024-05-31 07:01:52.000000000 -0400 Birth: - sanity-quota test_1e: @@@@@@ FAIL: write failure, but expect success Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6427:error() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:158:quota_error() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:952:test_1e() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6744:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6791:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6632:run_test() = /home/green/git/lustre-release/lustre/tests/sanity-quota.sh:964:main() Dumping lctl log to /tmp/testlogs//sanity-quota.test_1e.*.1717153334.log Destroy the created pools: qpool1 rsync: chown "/tmp/testlogs/.sanity-quota.test_1e.debug_log.oleg231-server.1717153334.log.f5g6aG" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanity-quota.test_1e.dmesg.oleg231-server.1717153334.log.Jq6WBC" 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] lustre.qpool1 oleg231-server: OST lustre-OST0001_UUID removed from pool lustre.qpool1 oleg231-server: Pool lustre.qpool1 destroyed Delete files... Wait for unlink objects finished... Waiting for MDT destroys to complete