Bug 8976 - [xfstests]xfstests测试套xfs格式xfs/435测试项FAIL
Summary: [xfstests]xfstests测试套xfs格式xfs/435测试项FAIL
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-09 16:58 UTC by Banana
Modified: 2025-07-03 15:48 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.
Comment 1 Banana alibaba_cloud_group 2024-05-09 17:01:58 UTC
[问题描述]:
xfstests测试套ext4文件格式执行xfs/435测试项FAIL,custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50
[root@iZbp143ti4ccpaufkzata7Z xfstests]# ./check tests/xfs/435
FSTYP         -- xfs (non-debug)
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 context=system_u:object_r:root_t:s0 /dev/nvme1n1p2 /fs/nvme1n1p2

xfs/435
- output mismatch (see /root/tone/run/xfstests/results//xfs/435.out.bad)
    --- tests/xfs/435.out       2024-04-19 15:32:14.479473686 +0800
    +++ /root/tone/run/xfstests/results//xfs/435.out.bad        2024-05-09 16:55:29.473314138 +0800
    @@ -3,3 +3,4 @@
     Create a many-block file
     Remount to check recovery
     See if we leak
    +custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50
    ...
    (Run 'diff -u /root/tone/run/xfstests/tests/xfs/435.out /root/tone/run/xfstests/results//xfs/435.out.bad'  to see the entire diff)
Ran: xfs/435
Failures: xfs/435
Failed 1 of 1 tests


多出内容
custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50


[环境信息]:
机器类型: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 xfs -L OStest -q -f /dev/nvme1n1p2

mkfs -t xfs -L OStest -q -f /dev/nvme1n1p1
mount -o inode64 /dev/nvme1n1p2 /fs/nvme1n1p2
mount -o inode64 /dev/nvme1n1p1 /fs/nvme1n1p1
export FSTYP=xfs
export TEST_DEV=/dev/nvme1n1p1
export SCRATCH_DEV=/dev/nvme1n1p2
export TEST_DIR=/fs/nvme1n1p1
export SCRATCH_MNT=/fs/nvme1n1p2
3、执行测试
./check tests/xfs/435
Comment 2 Banana alibaba_cloud_group 2024-05-10 17:33:53 UTC
An23.1 6.6.25-2_rc1.an23.x86_64 环境xfs/435测试项有相同问题

xfs/435       - output mismatch (see /root/tone/run/xfstests/results//xfs/435.out.bad)
    --- tests/xfs/435.out	2024-05-07 14:36:18.405458970 +0800
    +++ /root/tone/run/xfstests/results//xfs/435.out.bad	2024-05-08 09:08:17.747431648 +0800
    @@ -3,3 +3,4 @@
     Create a many-block file
     Remount to check recovery
     See if we leak
    +custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50
    ...
    (Run 'diff -u /root/tone/run/xfstests/tests/xfs/435.out /root/tone/run/xfstests/results//xfs/435.out.bad'  to see the entire diff)

[root@iZbp1c9jzchxjqive233ufZ xfstests]# uname -r
6.6.25-2_rc1.an23.x86_64
[root@iZbp1c9jzchxjqive233ufZ 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/"
Comment 3 anolislw alibaba_cloud_group 2024-11-18 14:51:33 UTC
[Anolis23.2][6.6.25-2.2_rc1][xfstests][aarch64] xfstests测试套 xfs文件格式 ,用例xfs/435有同样问题
--------------------------------
[root@5f9Lab15 xfstests]# ./check xfs/435
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 5f9Lab15 6.6.25-2.2_rc1.an23.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct 31 21:26:10 CST 2024
MKFS_OPTIONS  -- -f /dev/nvme0n1p2
MOUNT_OPTIONS -- /dev/nvme0n1p2 /fs/nvme0n1p2

xfs/435       - output mismatch (see /tone/run/xfstests/results//xfs/435.out.bad)
    --- tests/xfs/435.out       2024-11-18 13:30:23.427121863 +0800
    +++ /tone/run/xfstests/results//xfs/435.out.bad     2024-11-18 14:47:51.563800709 +0800
    @@ -3,3 +3,4 @@
     Create a many-block file
     Remount to check recovery
     See if we leak
    +custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50
    ...
    (Run 'diff -u /tone/run/xfstests/tests/xfs/435.out /tone/run/xfstests/results//xfs/435.out.bad'  to see the entire diff)
Ran: xfs/435
Failures: xfs/435
Failed 1 of 1 tests
Comment 4 yunmeng365524 2024-12-04 14:15:10 UTC
非新增问题,后续版本跟踪,记录做基线
Comment 5 yunhe123 alibaba_cloud_group 2025-07-01 11:42:58 UTC
ecs nightly环境,6.6.88-cbp.git.8932083f9.an23.aarch64内核,xfstests测试xfs文件系统该用例存在同样的问题,日志如下:


xfs/435       - output mismatch (see /var/tmp/tone/run/xfstests/results//xfs/435.out.bad)
    --- tests/xfs/435.out       2025-07-01 11:32:23.939702946 +0800
    +++ /var/tmp/tone/run/xfstests/results//xfs/435.out.bad     2025-07-01 11:38:28.167415592 +0800
    @@ -3,3 +3,4 @@
     Create a many-block file
     Remount to check recovery
     See if we leak
    +custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50
    ...
    (Run 'diff -u /var/tmp/tone/run/xfstests/tests/xfs/435.out /var/tmp/tone/run/xfstests/results//xfs/435.out.bad'  to see the entire diff)
Comment 6 gaohongmei 2025-07-03 15:48:52 UTC
anolis23 x86 6.6.88环境,xfstests xfs,xfs/435用例也报这个错

# uname -r
6.6.88-cbp.git.8c112c479.an23.x86_64

# cat /etc/anolis-release 
Anolis OS release 23

# ./check xfs/435
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 iZbp1buoq4hel9h1qekepsZ 6.6.88-cbp.git.8c112c479.an23.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul  2 22:32:14 CST 2025
MKFS_OPTIONS  -- -f /dev/vdb2
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/vdb2 /fs/vdb2

xfs/435       - output mismatch (see /tmp/tone/run/xfstests/results//xfs/435.out.bad)
    --- tests/xfs/435.out       2025-07-03 07:12:08.957199407 +0800
    +++ /tmp/tone/run/xfstests/results//xfs/435.out.bad 2025-07-03 15:47:16.195209117 +0800
    @@ -3,3 +3,4 @@
     Create a many-block file
     Remount to check recovery
     See if we leak
    +custom patient module removal for xfs timed out waiting for refcnt to become 0 using timeout of 50
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/xfs/435.out /tmp/tone/run/xfstests/results//xfs/435.out.bad'  to see the entire diff)
Ran: xfs/435
Failures: xfs/435
Failed 1 of 1 tests