Whamcloud - gitweb
EX-8191 lipe: Fix test for --collect-fsize-stats in lipe3
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Thu, 28 Sep 2023 13:29:47 +0000 (15:29 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 2 Oct 2023 01:02:27 +0000 (01:02 +0000)
commit8ae8cc50805ea4cfa2ca1c92d907a2226a3ce361
tree574e41157917a7345ab5d14bb2aa5955202bcbf0
parent45ec86e3b3b3b0787a395c9cd6ff060db4fec17b
EX-8191 lipe: Fix test for --collect-fsize-stats in lipe3

This patch modifies the test for collecting statistics
in lipe3 and corrects:
1. Error getting a username if it doesnt already exist.
2. Error comparing file sizes after changing table
generation rules.
3. Converts the test from reading yaml to reading json
4. Now many files of different sizes are generated
for the test.
5. Now the data for comparison is retrieved from
the ls utility.
6. The test has added a check for creating a user with a
large UID, GID, which checks the availability of reports
for this user.

Test-Parameters: trivial testlist=sanity-lipe-scan3
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I7d0bdcc407bc0d27441c4204511dab2e6a421a5f
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52424
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/src/lipe_scan3/ls3_stats.c
lustre/tests/sanity-lipe-scan3.sh