Bug 8990 - [Anolis23.1 GA][Beta][ANCK6.6.71-3 rc1][ANCK-6.6.25-2][aarch64][xfstests]ext4-nfsv4.2-2 generic/742测试项Fail:fiemap-fault: fiemap failed 95: Operation not supported
Summary: [Anolis23.1 GA][Beta][ANCK6.6.71-3 rc1][ANCK-6.6.25-2][aarch64][xfstests]ext4...
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-10 14:38 UTC by Banana
Modified: 2025-03-06 14:04 UTC (History)
8 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-10 14:38:53 UTC
[问题描述]:
ext4-nfsv4.2-2 generic/742测试项Fail:fiemap-fault: fiemap failed 95: Operation not supported

[root@iZbp143ti4ccpaufkzata7Z xfstests]# ./check  tests/generic/742
FSTYP         -- nfs
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  -- localhost:/fs/nvme1n1p2
MOUNT_OPTIONS -- -o vers=4.2 -o context=system_u:object_r:root_t:s0 localhost:/fs/nvme1n1p2 /nfs/nvme1n1p2

generic/742 3s ... [failed, exit status 1]- output mismatch (see /root/tone/run/xfstests/results//generic/742.out.bad)
    --- tests/generic/742.out   2024-04-19 15:32:10.591544544 +0800
    +++ /root/tone/run/xfstests/results//generic/742.out.bad    2024-05-10 11:53:12.475484251 +0800
    @@ -1,2 +1,3 @@
     QA output created by 742
     Silence is golden
    +fiemap-fault: fiemap failed 95: Operation not supported
    ...
    (Run 'diff -u /root/tone/run/xfstests/tests/generic/742.out /root/tone/run/xfstests/results//generic/742.out.bad'  to see the entire diff)
Ran: generic/742
Failures: generic/742
Failed 1 of 1 tests

[root@iZbp143ti4ccpaufkzata7Z xfstests]# cat /root/tone/run/xfstests/results//generic/742.out.bad
QA output created by 742
Silence is golden
----异常输出----
fiemap-fault: fiemap failed 95: Operation not supported


[环境信息]:
机器类型: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、设置以下测试环境
dmsetup remove_all
wipefs -a --force /dev/nvme1n1p1
wipefs -a --force /dev/nvme1n1p2
mkfs -t ext4 -q -F /dev/nvme1n1p1
mkfs -t ext4 -q -F /dev/nvme1n1p2
mkdir -p /fs/nvme1n1p2
mkdir -p /fs/nvme1n1p1
mount -t ext4 /dev/nvme1n1p1 /fs/nvme1n1p1/
mount -t ext4 /dev/nvme1n1p2 /fs/nvme1n1p2
mkdir -p /export
mount -t tmpfs nfsv4_root_export /export
mkdir -p /export/fs/nvme1n1p1
mount --bind /fs/nvme1n1p1/ /export/fs/nvme1n1p1
mkdir -p  /export//fs/nvme1n1p2
mount --bind /fs/nvme1n1p2/ /export/fs/nvme1n1p2/
echo '/export *(fsid=0,rw,no_subtree_check,no_root_squash)' > /etc/exports
echo '/export/fs/nvme1n1p1 *(rw,no_subtree_check,no_root_squash)' >> /etc/exports
echo '/export/fs/nvme1n1p2 *(rw,no_subtree_check,no_root_squash)' >> /etc/exports
systemctl restart rpcbind
systemctl restart nfs-server
exportfs -r
mkdir -p /nfs/nvme1n1p1
mount -t nfs -o vers=4.2 localhost:/fs/nvme1n1p1 /nfs/nvme1n1p1/
mkdir -p /nfs/nvme1n1p2
mount -t nfs -o vers=4.2 localhost:/fs/nvme1n1p2 /nfs/nvme1n1p2/
umount -f -l /nfs/nvme1n1p1 /nfs/nvme1n1p2 /fs/nvme1n1p1 /fs/nvme1n1p2
export TEST_DIR=/nfs/nvme1n1p1/
export TEST_DEV=/dev/nvme1n1p1
export nfsvers=4.2
export FSTYP=nfs
export SCRATCH_MNT=/fs/scratch
mkdir /fs/scratch -p
chmod 755 -R /fs
export SCRATCH_DEV=/dev/nvme1n1p2
export TEST_DIR=/nfs/nvme1n1p2/
export SCRATCH_MNT=/nfs/nvme1n1p2/
export TEST_DEV=localhost:/fs/nvme1n1p1
export SCRATCH_DEV=localhost:/fs/nvme1n1p2
export 'TEST_FS_MOUNT_OPTS=-o vers=4.2'
export 'MOUNT_OPTIONS=-o vers=4.2'
chmod 755 -R /nfs
3、执行测试命令
./check tests/generic/742
Comment 1 Banana alibaba_cloud_group 2024-05-10 17:37:45 UTC
An23.1 6.6.25-2_rc1.an23.x86_64环境有相同问题

generic/742 4s ... [failed, exit status 1]- output mismatch (see /root/tone/run/xfstests/results//generic/742.out.bad)
    --- tests/generic/742.out	2024-05-07 14:36:14.798427840 +0800
    +++ /root/tone/run/xfstests/results//generic/742.out.bad	2024-05-08 02:21:52.423008908 +0800
    @@ -1,2 +1,3 @@
     QA output created by 742
     Silence is golden
    +fiemap-fault: fiemap failed 95: Operation not supported
    ...
    (Run 'diff -u /root/tone/run/xfstests/tests/generic/742.out /root/tone/run/xfstests/results//generic/742.out.bad'  to see the entire diff)
Comment 2 zhixin01 alibaba_cloud_group 2025-03-04 17:28:33 UTC
alinux3 6.6.71-3_rc1.al8.aarch64环境下,ext4-nfsv4.2-2 generic/742也有同样的失败
generic/742       [failed, exit status 1]- output mismatch (see /var/tmp/tone/run/xfstests/results//generic/742.out.bad)
    --- tests/generic/742.out   2025-03-04 13:43:33.729792012 +0800
    +++ /var/tmp/tone/run/xfstests/results//generic/742.out.bad 2025-03-04 17:25:33.756072533 +0800
    @@ -1,2 +1,3 @@
     QA output created by 742
     Silence is golden
    +fiemap-fault: fiemap failed 95: Operation not supported
    ...
    (Run 'diff -u /var/tmp/tone/run/xfstests/tests/generic/742.out /var/tmp/tone/run/xfstests/results//generic/742.out.bad'  to see the entire diff)
Ran: generic/742
Failures: generic/742
Failed 1 of 1 tests

#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 14:04:44 UTC
alinux3,6.6.71-3_rc1.al8.x86_64内核环境上,该用例也存在同样的问题:

generic/742 3s ... [failed, exit status 1]- output mismatch (see /var/tmp/tone/run/xfstests/results//generic/742.out.bad)
    --- tests/generic/742.out   2025-03-03 23:23:37.884673320 +0800
    +++ /var/tmp/tone/run/xfstests/results//generic/742.out.bad 2025-03-06 13:50:44.864963238 +0800
    @@ -1,2 +1,3 @@
     QA output created by 742
     Silence is golden
    +fiemap-fault: fiemap failed 95: Operation not supported
    ...
    (Run 'diff -u /var/tmp/tone/run/xfstests/tests/generic/742.out /var/tmp/tone/run/xfstests/results//generic/742.out.bad'  to see the entire diff)