Bug 3410 - [Anolis8.6][aarch64][nightly]xfstests测试套ext4-2-bigalloc/generic/475 run fail
Summary: [Anolis8.6][aarch64][nightly]xfstests测试套ext4-2-bigalloc/generic/475 run fail
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-4.19 (show other bugs) kernel - anck-4.19
Version: 8.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: xiaoguangwang
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 17:44 UTC by anolislw
Modified: 2022-12-16 11:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2022-12-09 17:44:38 UTC
[问题简述]
在Anolis8.6 aarch64环境下,nightly的xfstests测试中ext4-2-bigalloc/generic/475 run fail

[期望结果]
case pass

[实际结果]
[root@l57h15216 xfstests]# ./check generic/475
FSTYP         -- ext4
PLATFORM      -- Linux/aarch64 l57h15216 4.19.91-562.git.33fa3ee82.an8.aarch64 #1 SMP Thu Dec 8 13:55:59 UTC 2022
MKFS_OPTIONS  -- -F /dev/nvme0n1p2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/nvme0n1p2 /mnt/nvme0n1p2

generic/475       [failed, exit status 1]- output mismatch (see /var/lib/xfstests/results//generic/475.out.bad)
    --- tests/generic/475.out 2022-12-09 17:19:27.514350990 +0800
    +++ /var/lib/xfstests/results//generic/475.out.bad  2022-12-09 17:42:08.759214914 +0800
    @@ -1,2 +1,3 @@
     QA output created by 475
     Silence is golden.
    +failed to create dm linear device
    ...
    (Run 'diff -u /var/lib/xfstests/tests/generic/475.out /var/lib/xfstests/results//generic/475.out.bad'  to see the entire diff)
Ran: generic/475
Failures: generic/475
Failed 1 of 1 tests

[root@l57h15216 xfstests]# uname -r
4.19.91-562.git.33fa3ee82.an8.aarch64
[root@l57h15216 xfstests]# cat /etc/redhat-release
Anolis OS release 8.6

[复现步骤]
提前磁盘分好2个分区
git clone https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
yum install -y xfsprogs-devel libuuid-devel libattr-devel libacl-devel libaio-devel libtool
cd xfstests-dev
make && make install
mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme0n1p1
mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme0n1p2
mkdir /mnt/nvme0n1p1
mkdir /mnt/nvme0n1p2
#TEST_DEV/SCRATCH_DEV为文件系统所在的磁盘或分区
export TEST_DEV=/dev/nvme0n1p1
export SCRATCH_DEV=/dev/nvme0n1p2
export FSTYP=ext4
#TEST_DIR/SCRATCH_MNT表示待测试文件系统的挂载目录
export SCRATCH_MNT=/mnt/nvme0n1p2
export TEST_DIR=/mnt/nvme0n1p1
cd /var/lib/xfstests
./check generic/475

[环境信息]
[root@l57h15216 xfstests]# uname -r
4.19.91-562.git.33fa3ee82.an8.aarch64
[root@l57h15216 xfstests]# cat /etc/redhat-release
Anolis OS release 8.6
[root@l57h15216 xfstests]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        378G     0  378G   0% /dev
tmpfs           378G     0  378G   0% /dev/shm
tmpfs           378G  4.1G  374G   2% /run
tmpfs           378G     0  378G   0% /sys/fs/cgroup
/dev/sda2        49G   14G   34G  29% /
/dev/sda1      1022M  6.7M 1016M   1% /boot/efi
tmpfs            76G     0   76G   0% /run/user/0
[root@l57h15216 xfstests]# free -g
              total        used        free      shared  buff/cache   available
Mem:            755           4         740           4          10         743
Swap:             1           0           1
[root@l57h15216 xfstests]# cat /proc/cmdline
BOOT_IMAGE=(hd1,gpt2)/boot/vmlinuz-4.19.91-562.git.33fa3ee82.an8.aarch64 root=UUID=155c08da-f348-4f0a-87d2-c9304f9b2f7b ro console=tty0 console=ttyS0,115200rd.driver.pre=ahci crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
[root@l57h15216 xfstests]# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              96
On-line CPU(s) list: 0-95
Thread(s) per core:  1
Core(s) per socket:  48
Socket(s):           2
NUMA node(s):        1
Vendor ID:           HiSilicon
BIOS Vendor ID:      HiSilicon
Model:               0
Model name:          Kunpeng-920
BIOS Model name:     HUAWEI Kunpeng 920 5250
Stepping:            0x1
CPU max MHz:         2600.0000
CPU min MHz:         200.0000
BogoMIPS:            200.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            512K
L3 cache:            24576K
NUMA node0 CPU(s):   0-95
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm