Description of problem: xfstests测试套下generic/600和generic/601用例执行失败,set grace和got grace不一致 generic/600 - output mismatch (see /tmp/tone/run/xfstests/results//generic/600.out.bad) --- tests/generic/600.out 2023-01-08 22:10:51.994747339 +0800 +++ /tmp/tone/run/xfstests/results//generic/600.out.bad 2023-01-09 16:13:30.687829494 +0800 @@ -1,2 +1,3 @@ QA output created by 600 Silence is golden +set grace to 1673252110 but got grace 1673252008 ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/600.out /tmp/tone/run/xfstests/results//generic/600.out.bad' to see the entire diff) Ran: generic/600 Failures: generic/600 Failed 1 of 1 tests generic/601 - output mismatch (see /tmp/tone/run/xfstests/results//generic/601.out.bad) --- tests/generic/601.out 2023-01-08 22:10:52.964762064 +0800 +++ /tmp/tone/run/xfstests/results//generic/601.out.bad 2023-01-09 16:10:54.169687430 +0800 @@ -1,2 +1,3 @@ QA output created by 601 Silence is golden +set grace to 1673251954 but got grace 1673251852 ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/601.out /tmp/tone/run/xfstests/results//generic/601.out.bad' to see the entire diff) Ran: generic/601 Failures: generic/601 Failed 1 of 1 tests How reproducible: 手动必现 Steps to Reproduce: wipefs -a --force /dev/vdb1 wipefs -a --force /dev/vdb2 wipefs -a --force /dev/vdb3 wipefs -a --force /dev/vdb4 mkfs -t xfs -L OStest -q -f /dev/vdb1 mkfs -t xfs -L OStest -q -f /dev/vdb2 mkfs -t xfs -L OStest -q -f /dev/vdb3 mkfs -t xfs -L OStest -q -f /dev/vdb4 export FSTYP=xfs export TEST_DIR=/fs/vdb1 export TEST_DEV=/dev/vdb1 export SCRATCH_MNT=/fs/vdb2 export SCRATCH_DEV=/dev/vdb2 mkdir -p /fs/vdb1 /fs/vdb2 git clone --branch anck-4.19 https://gitee.com/anolis/xfstests.git export CFLAGS="-fcommon" make configure ./configure make && make install ./check tests/generic/600(或./check tests/generic/601) Actual results: 用例执行失败 Expected results: 用例执行通过 Additional info: # cat /etc/os-release NAME="Anolis OS" VERSION="8.6" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.6" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.6" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" # uname -r 4.19.91-260.git.dc94d8113a48.an8.x86_64 # yum list xfsprogs Last metadata expiration check: 2:54:27 ago on Mon 09 Jan 2023 01:20:19 PM CST. Installed Packages xfsprogs.x86_64 5.0.0-10.0.3.an8 @System # free -h total used free shared buff/cache available Mem: 15Gi 355Mi 10Gi 0.0Ki 3.9Gi 14Gi Swap: 0B 0B 0B
anolis8.6 ck-4.19 aarch64该case也存在问题 generic/600 - output mismatch (see /tmp/tone/run/xfstests/results//generic/600.out.bad) --- tests/generic/600.out 2023-01-10 23:47:25.371497320 +0800 +++ /tmp/tone/run/xfstests/results//generic/600.out.bad 2023-01-11 01:21:25.037417387 +0800 @@ -1,2 +1,3 @@ QA output created by 600 Silence is golden +set grace to 1673371384 but got grace 1673371282 ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/600.out /tmp/tone/run/xfstests/results//generic/600.out.bad' to see the entire diff) generic/601 - output mismatch (see /tmp/tone/run/xfstests/results//generic/601.out.bad) --- tests/generic/601.out 2023-01-10 23:47:26.679506216 +0800 +++ /tmp/tone/run/xfstests/results//generic/601.out.bad 2023-01-11 01:21:29.169445380 +0800 @@ -1,2 +1,3 @@ QA output created by 601 Silence is golden +set grace to 1673371388 but got grace 1673371286 ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/601.out /tmp/tone/run/xfstests/results//generic/601.out.bad' to see the entire diff)
同https://bugzilla.openanolis.cn/show_bug.cgi?id=3682 https://bugzilla.openanolis.cn/show_bug.cgi?id=366 特性于v5.8合入, anck 5.10 已支持,anck 4.19 无计划支持此特性。