Description of problem: anolis8 aarch64物理机环境,内部nightly xfstests ext4-2-bigalloc测试case:generic/091执行失败。 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 下载并编译安装内部xfstests mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme0n1p1 mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme0n1p2 mkdir /mnt/nvme0n1p1 mkdir /mnt/nvme0n1p2 #TEST_DEV/SCRATCH_DEV为文件系统所在的磁盘或分区 export TEST_DEV=/dev/nvme0n1p1 export SCRATCH_DEV=/dev/nvme0n1p2 export FSTYP=ext4 #TEST_DIR/SCRATCH_MNT表示待测试文件系统的挂载目录 export SCRATCH_MNT=/mnt/nvme0n1p2 export TEST_DIR=/mnt/nvme0n1p1 cd xfstests安装目录 ./check generic/091 Actual results: [root@l57h15217 xfstests]# ./check generic/091 FSTYP -- ext4 PLATFORM -- Linux/aarch64 l57h15217 4.19.91-724.git.c18ed0b83.an8.aarch64 #1 SMP Wed May 17 13:56:08 UTC 2023 MKFS_OPTIONS -- -F /dev/nvme0n1p2 MOUNT_OPTIONS -- -o acl,user_xattr /dev/nvme0n1p2 /mnt/nvme0n1p2 generic/091 [failed, exit status 1]- output mismatch (see /var/lib/xfstests/results//generic/091.out.bad) --- tests/generic/091.out 2023-03-28 18:46:09.651121573 +0800 +++ /var/lib/xfstests/results//generic/091.out.bad 2023-05-18 17:26:26.880444281 +0800 @@ -1,7 +1,37 @@ QA output created by 091 fsx -N 10000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W ... (Run 'diff -u /var/lib/xfstests/tests/generic/091.out /var/lib/xfstests/results//generic/091.out.bad' to see the entire diff) Ran: generic/091 Failures: generic/091 Failed 1 of 1 tests [root@l57h15217 xfstests]# diff -u /var/lib/xfstests/tests/generic/091.out /var/lib/xfstests/results//generic/091.out.bad --- /var/lib/xfstests/tests/generic/091.out 2023-03-28 18:46:09.651121573 +0800 +++ /var/lib/xfstests/results//generic/091.out.bad 2023-05-18 17:26:26.880444281 +0800 @@ -1,7 +1,37 @@ QA output created by 091 fsx -N 10000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W +mapped writes DISABLED +Seed set to 1 +main: filesystem does not support clone range, disabling! +main: filesystem does not support dedupe range, disabling! +main: filesystem does not support exchange range, disabling! +fallocating to largest ever: 0x79f06 +insert range: 0x13000 to 0x22000 +do_insert_range: fallocate: Invalid argument +LOG DUMP (23 total operations): +1( 1 mod 256): FALLOC 0x6ba10 thru 0x79f06 (0xe4f6 bytes) EXTENDING +2( 2 mod 256): SKIPPED (no operation) +3( 3 mod 256): SKIPPED (no operation) +4( 4 mod 256): SKIPPED (no operation) +5( 5 mod 256): READ 0x16000 thru 0x1cfff (0x7000 bytes) +6( 6 mod 256): PUNCH 0x62f22 thru 0x6fc46 (0xcd25 bytes) +7( 7 mod 256): PUNCH 0x6917e thru 0x69e9d (0xd20 bytes) +8( 8 mod 256): COPY 0x1a000 thru 0x20fff (0x7000 bytes) to 0x40400 thru 0x473ff +9( 9 mod 256): READ 0x47000 thru 0x52fff (0xc000 bytes) +10( 10 mod 256): FALLOC 0x4a42b thru 0x4b8f7 (0x14cc bytes) INTERIOR +11( 11 mod 256): TRUNCATE DOWN from 0x79f06 to 0x15c00 +12( 12 mod 256): SKIPPED (no operation) +13( 13 mod 256): SKIPPED (no operation) +14( 14 mod 256): WRITE 0x28400 thru 0x2bbff (0x3800 bytes) HOLE +15( 15 mod 256): SKIPPED (no operation) +16( 16 mod 256): ZERO 0x1fba0 thru 0x2c568 (0xc9c9 bytes) +17( 17 mod 256): READ 0x1c000 thru 0x1dfff (0x2000 bytes) +18( 18 mod 256): READ 0x1d000 thru 0x1efff (0x2000 bytes) +19( 19 mod 256): WRITE 0x40200 thru 0x4cdff (0xcc00 bytes) HOLE +20( 20 mod 256): SKIPPED (no operation) +21( 21 mod 256): ZERO 0x2932 thru 0x11911 (0xefe0 bytes) +22( 22 mod 256): SKIPPED (no operation) +23( 23 mod 256): INSERT 0x13000 thru 0x21fff (0xf000 bytes) +Log of operations saved to "/mnt/nvme0n1p1/junk.fsxops"; replay with --replay-ops +Correct content saved for comparison +(maybe hexdump "/mnt/nvme0n1p1/junk" vs "/mnt/nvme0n1p1/junk.fsxgood") Expected results: case pass Additional info: [root@l57h15217 xfstests]# uname -r 4.19.91-724.git.c18ed0b83.an8.aarch64 [root@l57h15217 xfstests]# cat /etc/anolis-release Anolis OS release 8.8 [root@l57h15217 xfstests]# 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/" [root@l57h15217 xfstests]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 378G 0 378G 0% /dev tmpfs 378G 100K 378G 1% /dev/shm tmpfs 378G 4.1G 374G 2% /run tmpfs 378G 0 378G 0% /sys/fs/cgroup /dev/sda2 49G 16G 32G 33% / /dev/sda1 1022M 6.7M 1016M 1% /boot/efi tmpfs 76G 0 76G 0% /run/user/0 [root@l57h15217 xfstests]# free -g total used free shared buff/cache available Mem: 754 677 75 2 2 73 Swap: 1 1 0 [root@l57h15217 xfstests]# cat /proc/cmdline BOOT_IMAGE=(hd1,gpt2)/boot/vmlinuz-4.19.91-724.git.c18ed0b83.an8.aarch64 root=UUID=3fbce54d-0f7f-47cf-a94a-c4592d5d6057 ro console=tty0 console=ttyS0,115200 rd.driver.pre=ahci cgwb_v1 psi=1 slub_debug=FPZU kmemleak=on crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M [root@l57h15217 xfstests]# lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 96 On-line CPU(s) list: 0-95 Thread(s) per core: 1 Core(s) per socket: 48 Socket(s): 2 NUMA node(s): 1 Vendor ID: HiSilicon BIOS Vendor ID: HiSilicon Model: 0 Model name: Kunpeng-920 BIOS Model name: HUAWEI Kunpeng 920 5250 Stepping: 0x1 CPU MHz: 2600.000 CPU max MHz: 2600.0000 CPU min MHz: 200.0000 BogoMIPS: 200.00 L1d cache: 64K L1i cache: 64K L2 cache: 512K L3 cache: 24576K NUMA node0 CPU(s): 0-95 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
alinux2 x86 nightly版本有同样问题 generic/091 [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/091.out.bad) --- tests/generic/091.out 2023-05-17 22:30:58.318120850 +0800 +++ /tmp/tone/run/xfstests/results//generic/091.out.bad 2023-05-17 22:43:13.376679964 +0800 @@ -1,7 +1,18 @@ QA output created by 091 fsx -N 10000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/091.out /tmp/tone/run/xfstests/results//generic/091.out.bad' to see the entire diff) # uname -r 4.19.91-1411.git.c18ed0b83a1b.al7.x86_64
anolis7-4.19-x86 ck27.4版本有相同失败; 内核:4.19.91-27.4.an7.x86_64 部分失败日志如下: generic/091 [failed, exit status 1]- output mismatch (see /tmp/tone/run/xfstests/results//generic/091.out.bad) --- tests/generic/091.out 2023-05-22 18:05:38.256809719 +0800 +++ /tmp/tone/run/xfstests/results//generic/091.out.bad 2023-05-22 18:15:17.970871886 +0800 @@ -1,7 +1,18 @@ QA output created by 091 fsx -N 10000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W -fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W ... (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/091.out /tmp/tone/run/xfstests/results//generic/091.out.bad' to see the entire diff)