== sanity-lfsck test 45: LFSCK should fix UID/GID/PROJID of OST object ========================================================== 13:38:57 (1756993137)
using SAVE_PROJECT_SUPPORTED=0
/mnt/build/lustre/tests/../utils/lfs project -p 1000 /mnt/lustrerunning as uid/gid/euid/egid 500/500/500/500, groups: 500
[dd] [if=/dev/zero] [bs=1M] [of=/mnt/lustre30+0 records in
30+0 records out
31457280 bytes (31 MB, 30 MiB) copied, 0.141164 s, 223 MB/s
check the quota usage after initial write
-u 500 space:30720
-g 500 space:30720
-p 1000 space:30720
Stopping /mnt/lustre-ost1 (opts:) on tmp.ijUTMPr2sI
clear the UID/GID/PROJID of the test file
-rw-rw-rw- 1 root root 31457280 Sep 4 13:39 /mnt/lustre-ost1/O/280000401/d2/2a2
0 --------------e------- /mnt/lustre-ost1/O/280000401/d2/2a2
Start ost1: mount -t lustre -o localrecov /dev/mapper/ost1_flakey /mnt/lustre-ost1
seq.cli-lustre-OST0000-super.width=65536
Started lustre-OST0000
check the quota usage after UID/GID/PROJID is cleared
-u 500 space:[0]
1 Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.
sanity-lfsck.sh: line 6428: ((: [0]
1 Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.: syntax error: operand expected (error token is "[0]
1 Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.")
sanity-lfsck test_45: @@@@@@ FAIL: quota USR usage [0]
1 Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate. for 500 is wrong
Trace dump:
= ./../tests/test-framework.sh:7379:error()
= sanity-lfsck.sh:6429:test_45()
= ./../tests/test-framework.sh:7755:run_one()
= ./../tests/test-framework.sh:7818:run_one_logged()
= ./../tests/test-framework.sh:7633:run_test()
= sanity-lfsck.sh:6481:main()
Dumping lctl log to /tmp/ltest-logs/sanity-lfsck.test_45.*.1756993150.log
Dumping logs only on local client.
FAIL 45 (13s)