Bug 8968 - [Anolis23.1 GA][Beta][ANCK6.6.71-3 rc1][ANCK-6.6.25-2][aarch64][xfstests]xfstests测试套ext4-2-bigalloc执行generic/112测试项FAIL
Summary: [Anolis23.1 GA][Beta][ANCK6.6.71-3 rc1][ANCK-6.6.25-2][aarch64][xfstests]xfst...
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 16:09 UTC by Banana
Modified: 2025-03-06 11:02 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Banana alibaba_cloud_group 2024-05-08 16:09:40 UTC
[问题描述]:
xfstests测试套ext4-2-bigalloc执行ext4/059测试项FAIL
[root@iZbp143ti4ccpaufkzata7Z xfstests]# ./check tests/generic/112
FSTYP         -- ext4
PLATFORM      -- Linux/aarch64 iZbp143ti4ccpaufkzata7Z 6.6.25-2_rc1.an23.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Apr 11 15:02:38 CST 2024
MKFS_OPTIONS  -- -F /dev/nvme1n1p2
MOUNT_OPTIONS -- -o acl,user_xattr -o context=system_u:object_r:root_t:s0 /dev/nvme1n1p2 /fs/nvme1n1p2

generic/112 6s ... [failed, exit status 1]- output mismatch (see /root/tone/run/xfstests/results//generic/112.out.bad)
    --- tests/generic/112.out   2024-04-19 15:32:09.059572465 +0800
    +++ /root/tone/run/xfstests/results//generic/112.out.bad    2024-05-08 16:05:57.817610220 +0800
    @@ -4,15 +4,4 @@
     -----------------------------------------------
     fsx.0 : -A -d -N numops -S 0
     -----------------------------------------------
    -
    ------------------------------------------------
    -fsx.1 : -A -d -N numops -S 0 -x
    ------------------------------------------------
    ...
    (Run 'diff -u /root/tone/run/xfstests/tests/generic/112.out /root/tone/run/xfstests/results//generic/112.out.bad'  to see the entire diff)
Ran: generic/112
Failures: generic/112
Failed 1 of 1 tests

[root@iZbp143ti4ccpaufkzata7Z xfstests]# sdiff /root/tone/run/xfstests/tests/generic/112.out /root/tone/run/xfstests/results//generic/112.out.bad
QA output created by 112                                        QA output created by 112
brevity is wit...                                               brevity is wit...

-----------------------------------------------                 -----------------------------------------------
fsx.0 : -A -d -N numops -S 0                                    fsx.0 : -A -d -N numops -S 0
-----------------------------------------------                 -----------------------------------------------
                                                              |     fsx (-A -d -N 1000 -S 0) returned 0 - see 112.0.full
-----------------------------------------------               <
fsx.1 : -A -d -N numops -S 0 -x                               <
-----------------------------------------------               <
                                                              <
-----------------------------------------------               <
fsx.2 : -A -d -N numops -l filelen -S 0                       <
-----------------------------------------------               <
                                                              <
-----------------------------------------------               <
fsx.3 : -A -d -N numops -l filelen -S 0 -x                    <
-----------------------------------------------               <

[环境信息]:
机器类型:ECS

[内核信息]:
[root@iZbp143ti4ccpaufkzata7Z xfstests]# uname -r
6.6.25-2_rc1.an23.aarch64

[操作系统信息]:
[root@iZbp143ti4ccpaufkzata7Z xfstests]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[文件系统]
[root@iZbp143ti4ccpaufkzata7Z xfstests]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  4.0M     0  4.0M   0% /dev
tmpfs          tmpfs      16G     0   16G   0% /dev/shm
tmpfs          tmpfs     6.1G  768K  6.1G   1% /run
efivarfs       efivarfs  256K   17K  240K   7% /sys/firmware/efi/efivars
/dev/nvme0n1p2 xfs        40G   11G   30G  27% /
tmpfs          tmpfs      16G     0   16G   0% /tmp
/dev/nvme0n1p1 vfat      500M  6.5M  494M   2% /boot/efi
tmpfs          tmpfs     3.1G     0  3.1G   0% /run/user/0

[问题发生概率]:
必现

[复现步骤]:
1、部署xfstests环境
2、部署测试环境
wipefs -a -f /dev/nvme1n1
wipefs -a -f /dev/nvme1n1
partprobe /dev/nvme1n1
parted -s /dev/nvme1n1 mklabel gpt mkpart primary 2048 20480
partprobe /dev/nvme1n1
parted -s /dev/nvme1n1 mkpart primary 20480 40960
mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme1n1p2
mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme1n1p1
mkdir -p /fs/nvme1n1p2
mkdir -p /fs/nvme1n1p1
mount  /dev/nvme1n1p1 /fs/nvme1n1p1
mount  /dev/nvme1n1p2 /fs/nvme1n1p2

export FSTYP=ext4
export TEST_DEV=/dev/nvme1n1p1
export SCRATCH_DEV=/dev/nvme1n1p2
export TEST_DIR=/fs/nvme1n1p1
export SCRATCH_MNT=/fs/nvme1n1p2
3、执行./check tests/generic/112命令
Comment 1 Banana alibaba_cloud_group 2024-05-10 17:44:16 UTC
An23.1 6.6.25-2_rc1.an23.x86_64环境有相同问题
generic/112 4s ... [failed, exit status 1]- output mismatch (see /root/tone/run/xfstests/results//generic/112.out.bad)
    --- tests/generic/112.out	2024-05-07 14:36:13.376415570 +0800
    +++ /root/tone/run/xfstests/results//generic/112.out.bad	2024-05-07 20:11:59.698524588 +0800
    @@ -4,15 +4,4 @@
     -----------------------------------------------
     fsx.0 : -A -d -N numops -S 0
     -----------------------------------------------
    -
    ------------------------------------------------
    -fsx.1 : -A -d -N numops -S 0 -x
    ------------------------------------------------
    ...
    (Run 'diff -u /root/tone/run/xfstests/tests/generic/112.out /root/tone/run/xfstests/results//generic/112.out.bad'  to see the entire diff)
Comment 2 zhixin01 alibaba_cloud_group 2025-03-04 15:38:06 UTC
alinux3 6.6.71-3_rc1.al8.aarch64环境有相同问题
generic/112       [failed, exit status 1]- output mismatch (see /var/tmp/tone/run/xfstests/results//generic/112.out.bad)
    --- tests/generic/112.out   2025-03-04 13:43:35.733746068 +0800
    +++ /var/tmp/tone/run/xfstests/results//generic/112.out.bad 2025-03-04 15:35:42.727320417 +0800
    @@ -4,15 +4,4 @@
     -----------------------------------------------
     fsx.0 : -A -d -N numops -S 0
     -----------------------------------------------
    -
    ------------------------------------------------
    -fsx.1 : -A -d -N numops -S 0 -x
    ------------------------------------------------
    ...
    (Run 'diff -u /var/tmp/tone/run/xfstests/tests/generic/112.out /var/tmp/tone/run/xfstests/results//generic/112.out.bad'  to see the entire diff)
Ran: generic/112
Failures: generic/112
Failed 1 of 1 tests

[tone]Error: The return code of run() in run.sh is not 0
generic/112: Fail
Test running: Done

#uname -r
6.6.71-3_rc1.al8.aarch64

#cat /etc/os-release
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
UPDATE_ID="10"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"
Comment 3 yunhe123 alibaba_cloud_group 2025-03-06 11:02:35 UTC
alinux3 6.6.71-3_rc1.al8.x86_64内核,存在同样的问题:

generic/112 1s ... [failed, exit status 1]- output mismatch (see /var/tmp/tone/run/xfstests/results//generic/112.out.bad)
    --- tests/generic/112.out   2025-03-03 23:23:38.308675191 +0800
    +++ /var/tmp/tone/run/xfstests/results//generic/112.out.bad 2025-03-06 10:11:36.321448626 +0800
    @@ -4,15 +4,4 @@
     -----------------------------------------------
     fsx.0 : -A -d -N numops -S 0
     -----------------------------------------------
    -
    ------------------------------------------------
    -fsx.1 : -A -d -N numops -S 0 -x
    ------------------------------------------------
    ...
    (Run 'diff -u /var/tmp/tone/run/xfstests/tests/generic/112.out /var/tmp/tone/run/xfstests/results//generic/112.out.bad'  to see the entire diff)