Whamcloud - gitweb
LU-18676 tests: enable sanity-quota_49 97/57997/7
authorSergey Cheremencev <scherementsev@ddn.com>
Fri, 7 Feb 2025 00:15:46 +0000 (03:15 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 10 Apr 2025 06:50:00 +0000 (06:50 +0000)
The fix "LU-18676 tests: random write to set file size"
has been landed, so re-enable the test.

Fixes: 149657180e ("LU-18676 tests: random write to set file size")
Test-Parameters: trivial testlist=sanity-quota fstype=zfs
Test-Parameters: testlist=sanity-quota fstype=zfs env=ONLY=49,ONLY_REPEAT=20
Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Change-Id: Ie3171cff03ce957cc88efe81b4c837a1872b139b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57997
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
lustre/tests/sanity-quota.sh

index 615aaf1..da1e539 100755 (executable)
@@ -17,10 +17,6 @@ ALWAYS_EXCEPT="$SANITY_QUOTA_EXCEPT "
 ALWAYS_EXCEPT+=""
 # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT!
 
-if [[ "$ost1_FSTYPE" == "zfs" ]]; then
-       always_except LU-18676 49
-fi
-
 # Test duration:                   30 min
 [ "$SLOW" = "no" ] && EXCEPT_SLOW="61"
 
@@ -4158,14 +4154,14 @@ test_get_allquota() {
        sleep 5
 
        start=$SECONDS
-       $LFS quota -a -s $start_qid -e $end_qid -u $MOUNT | tail -n 50
+       $LFS quota -a -s $start_qid -e $end_qid -u $MOUNT | head -n 50
        total=$((SECONDS - start))
        (( end - start > 0 )) &&
                echo "time=$total, rate=$((qid_cnt / total))/s" ||
                echo "time=0, rate=$qid_cnt/0"
 
        start=$SECONDS
-       $LFS quota -a -s $start_qid -e $end_qid -g $MOUNT | tail -n 50
+       $LFS quota -a -s $start_qid -e $end_qid -g $MOUNT | head -n 50
        total=$((SECONDS - start))
        (( end - start > 0 )) &&
                echo "time=$total, rate=$((qid_cnt / total))/s" ||