Bug 4108 - [Anck 4.19][anolis8.6][xaarch64][社区nightly][xfs文件系统] xfstests测试套generic/388 run fail
Summary: [Anck 4.19][anolis8.6][xaarch64][社区nightly][xfs文件系统] xfstests测试套generic/388 r...
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: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 16:59 UTC by anolislw
Modified: 2023-05-23 15:09 UTC (History)
1 user (show)

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 2023-02-17 16:59:16 UTC
Description of problem:
在anolis8.6 aarch64环境下,nightly测试,xfstests测试套 xf为xfs的测试场景下,执行generic/388 run fail

Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
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 generic/388

Actual results:
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# ./check generic/388
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/aarch64 qibo-anolis8-nightly-func-arm-2 4.19.91-308.git.15bad77a1498.an8.aarch64 #1 SMP Thu Feb 16 21:48:10 CST 2023
MKFS_OPTIONS  -- -f /dev/vdb2
MOUNT_OPTIONS -- /dev/vdb2 /fs/vdb2

generic/388       _check_xfs_filesystem: filesystem on /dev/vdb2 is inconsistent (r)
(see /root/xfstests/results//generic/388.full for details)

Ran: generic/388
Failures: generic/388
Failed 1 of 1 tests

[root@qibo-anolis8-nightly-func-arm-2 xfstests]# ./check generic/388
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/aarch64 qibo-anolis8-nightly-func-arm-2 4.19.91-308.git.15bad77a1498.an8.aarch64 #1 SMP Thu Feb 16 21:48:10 CST 2023
MKFS_OPTIONS  -- -f /dev/vdb2
MOUNT_OPTIONS -- /dev/vdb2 /fs/vdb2

generic/388        91s
Ran: generic/388
Passed all 1 tests

[root@qibo-anolis8-nightly-func-arm-2 xfstests]# generic/388^C
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# uname -r
4.19.91-308.git.15bad77a1498.an8.aarch64
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# cat /etc/anolis-release
Anolis OS release 8.6


Expected results:
case pass

Additional info:
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# 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/"

[root@qibo-anolis8-nightly-func-arm-2 xfstests]# cat /etc/anolis-release
Anolis OS release 8.6
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# uname -r
4.19.91-308.git.15bad77a1498.an8.aarch64
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-4.19.91-308.git.15bad77a1498.an8.aarch64 root=UUID=69f901e7-05b1-40ca-bff0-947d6f410fe7 ro cryptomgr.notests cgroup.memory=nokmem rcupdate.rcu_cpu_stall_timeout=300 vring_force_dma_api rhgb quiet console=tty0 biosdevname=0 net.ifnames=0 console=ttyAMA0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        7.5G  4.0K  7.5G   1% /dev
tmpfs           7.5G     0  7.5G   0% /dev/shm
tmpfs           7.5G  652K  7.5G   1% /run
tmpfs           7.5G     0  7.5G   0% /sys/fs/cgroup
/dev/vda2        39G   32G  5.2G  87% /
/dev/vda1       500M  6.8M  494M   2% /boot/efi
tmpfs           1.5G     0  1.5G   0% /run/user/0
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# free -g
              total        used        free      shared  buff/cache   available
Mem:             14           0          13           0           1          14
Swap:             0           0           0
[root@qibo-anolis8-nightly-func-arm-2 xfstests]# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per cluster: 4
Socket(s):           1
Cluster(s):          1
NUMA node(s):        1
Vendor ID:           ARM
BIOS Vendor ID:      Alibaba Cloud
Model:               1
Model name:          Neoverse-N1
BIOS Model name:     virt-rhel7.6.0
Stepping:            r3p1
BogoMIPS:            50.00
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
Comment 1 Banana alibaba_cloud_group 2023-05-23 15:09:23 UTC
Anolis23-ANCK-5.10-014.1 arm机型也有相同问题

[内核信息]:
uname -r
5.10.134-14.1.an23.aarch64

[操作系统信息]:
[root@iZbp1ay5ksb4v5dta0i5kqZ 5.10-134.14.1]# 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/"

问题:
generic/388       [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/388.out.bad)
    --- tests/generic/388.out	2023-05-22 09:54:43.421254160 +0800
    +++ /tmp/tone/run/xfstests/results//generic/388.out.bad	2023-05-22 11:41:23.203514506 +0800
    @@ -1,2 +1,7 @@
     QA output created by 388
     Silence is golden.
    +umount: /fs/vdb2: target is busy.
    +mount: /fs/vdb2: /dev/vdb2 already mounted on /fs/vdb2.
    +       dmesg(1) may have more information after failed mount system call.
    +cycle mount failed
    +(see /tmp/tone/run/xfstests/results//generic/388.full for details)
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/388.out /tmp/tone/run/xfstests/results//generic/388.out.bad'  to see the entire diff)