Bug 4662 - [Anolis 23][社区nightly & ANCK-5.10-14-rc2][aarch64][xfstests]测试套case:xfs.generic/648执行Fail
Summary: [Anolis 23][社区nightly & ANCK-5.10-14-rc2][aarch64][xfstests]测试套case:xfs.gener...
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-30 17:55 UTC by Banana
Modified: 2023-07-25 11:51 UTC (History)
5 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 2023-03-30 17:55:21 UTC
[问题描述]:
Anolis23 aarch64 测试xfstests测试套的xfs.generic/648执行Fail

generic/648       [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/648.out.bad)
    --- tests/generic/648.out	2023-03-30 12:24:08.892853647 +0800
    +++ /tmp/tone/run/xfstests/results//generic/648.out.bad	2023-03-30 13:30:16.027839620 +0800
    @@ -1,2 +1,7 @@
     QA output created by 648
     Silence is golden.
    +mount: /fs/vdb2: can't read superblock on /dev/mapper/error-test.
    +       dmesg(1) may have more information after failed mount system call.
    +iteration 25 scratch mount failed
    +(see /tmp/tone/run/xfstests/results//generic/648.full for details)
    +umount: /fs/vdb2: not mounted.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/648.out /tmp/tone/run/xfstests/results//generic/648.out.bad'  to see the entire diff)

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

[内核信息]:
[root@qibo-anolis23-nightly-func-arm-1 ~]# uname -r
5.10.134-55.git.e1522e5f2a62.an23.aarch64

[操作系统信息]:
[root@qibo-anolis23-nightly-func-arm-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/"

[root@qibo-anolis23-nightly-func-arm-1 ~]# rpm -qa | grep glibc
glibc-common-2.36-5.an23.aarch64
glibc-gconv-extra-2.36-5.an23.aarch64
glibc-langpack-en-2.36-5.an23.aarch64
glibc-minimal-langpack-2.36-5.an23.aarch64
glibc-2.36-5.an23.aarch64
glibc-devel-2.36-5.an23.aarch64
glibc-static-2.36-5.an23.aarch64

[root@qibo-anolis23-nightly-func-arm-1 ~]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  4.0M  4.0K  4.0M   1% /dev
tmpfs          tmpfs     7.6G     0  7.6G   0% /dev/shm
tmpfs          tmpfs     3.1G  800K  3.1G   1% /run
/dev/vda2      xfs        40G   20G   20G  50% /
tmpfs          tmpfs     7.6G  2.0G  5.6G  26% /tmp
/dev/vda1      vfat      500M  6.4M  494M   2% /boot/efi
tmpfs          tmpfs      50M     0   50M   0% /usr/local/aegis/cgroup
tmpfs          tmpfs     1.6G     0  1.6G   0% /run/user/0

[问题发生概率]:必现
Comment 1 Banana alibaba_cloud_group 2023-03-30 17:55:59 UTC
generic-648.out:
QA output created by 648
Silence is golden.

generic-648.out.bad:
QA output created by 648
Silence is golden.
mount: /fs/vdb2: can't read superblock on /dev/mapper/error-test.
       dmesg(1) may have more information after failed mount system call.
iteration 25 scratch mount failed
(see /tmp/tone/run/xfstests/results//generic/648.full for details)
umount: /fs/vdb2: not mounted.
Comment 2 yunhe123 alibaba_cloud_group 2023-05-23 10:59:47 UTC
anolis8-5.10-aarch版本存在同样的问题,日志如下:
generic/648       [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/648.out.bad)
    --- tests/generic/648.out   2023-05-23 10:39:49.584737000 +0800
    +++ /tmp/tone/run/xfstests/results//generic/648.out.bad     2023-05-23 10:51:43.964737000 +0800
    @@ -1,2 +1,6 @@
     QA output created by 648
     Silence is golden.
    +mount: /fs/nvme0n1p2: can't read superblock on /dev/mapper/error-test.
    +iteration 24 scratch mount failed
    +(see /tmp/tone/run/xfstests/results//generic/648.full for details)
    +umount: /fs/nvme0n1p2: not mounted.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/648.out /tmp/tone/run/xfstests/results//generic/648.out.bad'  to see the entire diff)


[root@nu4f13165 tone]# diff -u /tmp/tone/run/xfstests/tests/generic/648.out /tmp/tone/run/xfstests/results//generic/648.out.bad
--- /tmp/tone/run/xfstests/tests/generic/648.out        2023-05-23 10:39:49.584737000 +0800
+++ /tmp/tone/run/xfstests/results//generic/648.out.bad 2023-05-23 10:51:43.964737000 +0800
@@ -1,2 +1,6 @@
 QA output created by 648
 Silence is golden.
+mount: /fs/nvme0n1p2: can't read superblock on /dev/mapper/error-test.
+iteration 24 scratch mount failed
+(see /tmp/tone/run/xfstests/results//generic/648.full for details)
+umount: /fs/nvme0n1p2: not mounted.

测试环境信息:
# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 223.6G  0 disk
├─sda1        8:1    0     1G  0 part /boot/efi
├─sda2        8:2    0    50G  0 part /
├─sda3        8:3    0     2G  0 part [SWAP]
└─sda4        8:4    0 170.6G  0 part
nvme0n1     259:0    0   1.5T  0 disk
├─nvme0n1p2 259:1    0 710.7G  0 part
└─nvme0n1p1 259:4    0 708.8G  0 part
[root@nu4f13165 tone]#
[root@nu4f13165 tone]#
[root@nu4f13165 tone]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  377G     0  377G   0% /dev
tmpfs          tmpfs     377G     0  377G   0% /dev/shm
tmpfs          tmpfs     377G   19M  377G   1% /run
tmpfs          tmpfs     377G     0  377G   0% /sys/fs/cgroup
/dev/sda2      ext4       49G   29G   18G  62% /
/dev/sda1      vfat     1022M  6.7M 1016M   1% /boot/efi
tmpfs          tmpfs      76G     0   76G   0% /run/user/0
版本:
 cat /etc/os-release
NAME="Anolis OS"
VERSION="8.8"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.8"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.8"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

内核:
# uname -r
5.10.134-658.git.c507e7bd0.an8.aarch64
Comment 3 Banana alibaba_cloud_group 2023-05-23 15:10:56 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/647 0s ...  2s
       [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/648.out.bad)
    --- tests/generic/648.out	2023-05-22 09:54:43.993255029 +0800
    +++ /tmp/tone/run/xfstests/results//generic/648.out.bad	2023-05-22 12:10:19.466322110 +0800
    @@ -1,2 +1,6 @@
     QA output created by 648
     Silence is golden.
    +mount: /tmp/531883.mogeneric/648unt: mount(2) system call failed: Structure needs cleaning.
    +       dmesg(1) may have more information after failed mount system call.
    +iteration 14 loopimg mount failed
    +(see /tmp/tone/run/xfstests/results//generic/648.full for details)
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/648.out /tmp/tone/run/xfstests/results//generic/648.out.bad'  to see the entire diff)
Comment 4 shanxifanshi alibaba_cloud_group 2023-07-25 11:51:13 UTC
anolis8 5.10 x86 物理机 nightly内核测试也存在同样问题,是个概率fail用例

# uname -r
5.10.134-55.git.dd0596c29.an8.x86_64

# ./check generic/648
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 e69b01521 5.10.134-55.git.dd0596c29.an8.x86_64 #1 SMP Mon Jul 24 11:47:18 UTC 2023
MKFS_OPTIONS  -- -f /dev/sde2
MOUNT_OPTIONS -- /dev/sde2 /fs/sde2

generic/648 101s ... [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/648.out.bad)
    --- tests/generic/648.out   2023-07-24 23:17:54.244738716 +0800
    +++ /tmp/tone/run/xfstests/results//generic/648.out.bad     2023-07-25 11:47:31.427613924 +0800
    @@ -1,2 +1,6 @@
     QA output created by 648
     Silence is golden.
    +mount: /fs/sde2: can't read superblock on /dev/mapper/error-test.
    +iteration 9 scratch mount failed
    +(see /tmp/tone/run/xfstests/results//generic/648.full for details)
    +umount: /fs/sde2: not mounted.
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/648.out /tmp/tone/run/xfstests/results//generic/648.out.bad'  to see the entire diff)
Ran: generic/648
Failures: generic/648
Failed 1 of 1 tests