[问题描述]: Anolis23 aarch64 测试xfstests测试套的xfs.xfs/540执行Fail xfs/540 - output mismatch (see /tmp/tone/run/xfstests/results//xfs/540.out.bad) --- tests/xfs/540.out 2023-03-30 23:19:14.272324710 +0800 +++ /tmp/tone/run/xfstests/results//xfs/540.out.bad 2023-03-31 00:57:24.330812851 +0800 @@ -2,4 +2,5 @@ Format and mount Misconfigure the root directory Detect misconfigured directory +repair did not catch error? Repair misconfigured directory ... (Run 'diff -u /tmp/tone/run/xfstests/tests/xfs/540.out /tmp/tone/run/xfstests/results//xfs/540.out.bad' to see the entire diff) 540.out: QA output created by 540 Format and mount Misconfigure the root directory Detect misconfigured directory Repair misconfigured directory 540.out.bad: QA output created by 540 Format and mount Misconfigure the root directory Detect misconfigured directory repair did not catch error? Repair misconfigured directory [环境信息]: 机器类型: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 [问题发生概率]:必现
Anolis23 x86_64 ECS环境,xfstests测试套该case也存在该问题 ------------- [root@qibo-anolis23-nightly-func-x86-1 xfstests]# ./check xfs/540 FSTYP -- xfs (non-debug) PLATFORM -- Linux/x86_64 qibo-anolis23-nightly-func-x86-1 5.10.134-64.git.e3bbb1997652.an23.x86_64 #1 SMP Thu Mar 30 21:36:57 CST 2023 MKFS_OPTIONS -- -f /dev/vdb2 MOUNT_OPTIONS -- /dev/vdb2 /fs/vdb2 xfs/540 - output mismatch (see /root/xfstests/results//xfs/540.out.bad) --- tests/xfs/540.out 2023-03-28 16:03:40.398664508 +0800 +++ /root/xfstests/results//xfs/540.out.bad 2023-03-31 15:55:44.162271271 +0800 @@ -2,4 +2,5 @@ Format and mount Misconfigure the root directory Detect misconfigured directory +repair did not catch error? Repair misconfigured directory ... (Run 'diff -u /root/xfstests/tests/xfs/540.out /root/xfstests/results//xfs/540.out.bad' to see the entire diff) Ran: xfs/540 Failures: xfs/540 Failed 1 of 1 tests [root@qibo-anolis23-nightly-func-x86-1 xfstests]# diff -u /root/xfstests/tests/xfs/540.out /root/xfstests/results//xfs/540.out.bad --- /root/xfstests/tests/xfs/540.out 2023-03-28 16:03:40.398664508 +0800 +++ /root/xfstests/results//xfs/540.out.bad 2023-03-31 15:55:44.162271271 +0800 @@ -2,4 +2,5 @@ Format and mount Misconfigure the root directory Detect misconfigured directory +repair did not catch error? Repair misconfigured directory
[问题描述]: [root@iZbp143ti4ccpaufkzata7Z xfstests]# ./check tests/xfs/540 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/540 - output mismatch (see /root/tone/run/xfstests/results//xfs/540.out.bad) --- tests/xfs/540.out 2024-04-19 15:32:14.731469093 +0800 +++ /root/tone/run/xfstests/results//xfs/540.out.bad 2024-05-09 17:07:32.676356554 +0800 @@ -2,4 +2,5 @@ Format and mount Misconfigure the root directory Detect misconfigured directory +repair did not catch error? Repair misconfigured directory ... (Run 'diff -u /root/tone/run/xfstests/tests/xfs/540.out /root/tone/run/xfstests/results//xfs/540.out.bad' to see the entire diff) Ran: xfs/540 Failures: xfs/540 Failed 1 of 1 tests [环境信息]: 机器类型: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/540
(In reply to Banana from comment #2) > [问题描述]: > [root@iZbp143ti4ccpaufkzata7Z xfstests]# ./check tests/xfs/540 > 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/540 - output mismatch (see > /root/tone/run/xfstests/results//xfs/540.out.bad) > --- tests/xfs/540.out 2024-04-19 15:32:14.731469093 +0800 > +++ /root/tone/run/xfstests/results//xfs/540.out.bad 2024-05-09 > 17:07:32.676356554 +0800 > @@ -2,4 +2,5 @@ > Format and mount > Misconfigure the root directory > Detect misconfigured directory > +repair did not catch error? > Repair misconfigured directory > ... > (Run 'diff -u /root/tone/run/xfstests/tests/xfs/540.out > /root/tone/run/xfstests/results//xfs/540.out.bad' to see the entire diff) > Ran: xfs/540 > Failures: xfs/540 > Failed 1 of 1 tests > > [环境信息]: > 机器类型: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/540 在An23.1 6.6.25-2_rc1.an23.aarch64环境上有相同问题