Bug 3691 - [Anck 4.19][anolis8.6][x86_64][社区nightly][xfs文件系统]xfstests测试套下generic/630失败,+ASSERT: offset 37 should be 0x58, got 0x66!
Summary: [Anck 4.19][anolis8.6][x86_64][社区nightly][xfs文件系统]xfstests测试套下generic/630失败,+...
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: shuancue
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-10 17:46 UTC by zhixin01
Modified: 2023-02-21 14:51 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhixin01 alibaba_cloud_group 2023-01-10 17:46:39 UTC
Description of problem:
xfstests测试套下generic/630失败,+ASSERT: offset 37 should be 0x58, got 0x66!

generic/630       - output mismatch (see /tmp/tone/run/xfstests/results//generic/630.out.bad)
    --- tests/generic/630.out   2023-01-09 23:08:36.945705793 +0800
    +++ /tmp/tone/run/xfstests/results//generic/630.out.bad     2023-01-10 17:40:35.272848734 +0800
    @@ -1,2 +1,4 @@
     QA output created by 630
    +ASSERT: offset 37 should be 0x58, got 0x66!
    +/tmp/tone/run/xfstests/tests/generic/630: line 29: 850619 Aborted                 (core dumped) $here/src/deduperace -c $SCRATCH_MNT -n $nr_ops
     Silence is golden.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/630.out /tmp/tone/run/xfstests/results//generic/630.out.bad'  to see the entire diff)
Ran: generic/630
Failures: generic/630
Failed 1 of 1 tests

# diff -u /tmp/tone/run/xfstests/tests/generic/630.out /tmp/tone/run/xfstests/results//generic/630.out.bad
--- /tmp/tone/run/xfstests/tests/generic/630.out        2023-01-09 23:08:36.945705793 +0800
+++ /tmp/tone/run/xfstests/results//generic/630.out.bad 2023-01-10 17:40:35.272848734 +0800
@@ -1,2 +1,4 @@
 QA output created by 630
+ASSERT: offset 37 should be 0x58, got 0x66!
+/tmp/tone/run/xfstests/tests/generic/630: line 29: 850619 Aborted                 (core dumped) $here/src/deduperace -c $SCRATCH_MNT -n $nr_ops
 Silence is golden.

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/630

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-261.git.98e6929d1498.an8.x86_64

# yum list xfsprogs
Last metadata expiration check: 3:47:08 ago on Tue 10 Jan 2023 12:05:18 PM CST.
Installed Packages
xfsprogs.x86_64                                           5.0.0-10.0.3.an8                                            @System
Comment 1 anolislw alibaba_cloud_group 2023-01-11 16:26:14 UTC
anolis8.6 ck-4.19 aarch64环境该case存在相同问题

eneric/630       - output mismatch (see /tmp/tone/run/xfstests/results//generic/630.out.bad)
    --- tests/generic/630.out	2023-01-10 23:47:26.335503876 +0800
    +++ /tmp/tone/run/xfstests/results//generic/630.out.bad	2023-01-11 01:25:57.455262908 +0800
    @@ -1,2 +1,4 @@
     QA output created by 630
    +ASSERT: offset 37 should be 0x58, got 0x66!
    +/tmp/tone/run/xfstests/tests/generic/630: line 29: 3669783 Aborted                 (core dumped) $here/src/deduperace -c $SCRATCH_MNT -n $nr_ops
     Silence is golden.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/630.out /tmp/tone/run/xfstests/results//generic/630.out.bad'  to see the entire diff)