Bug 4922 - [Anolis23.2][6.6.25-2.2_rc1][xfstests][x86_64] xfstests测试套 xfs文件系统测试 case: xfs/293执行异常
Summary: [Anolis23.2][6.6.25-2.2_rc1][xfstests][x86_64] xfstests测试套 xfs文件系统测试 case: x...
Status: RESOLVED DUPLICATE of bug 4674
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: banye97
QA Contact:
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2023-05-10 17:22 UTC by anolislw
Modified: 2025-07-03 15:26 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 anolislw alibaba_cloud_group 2023-05-10 17:22:30 UTC
Description of problem:
Anolis23 x86_64 ECS环境,社区nightly xfstests测试case:xfs/293执行失败

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Steps to Reproduce:
wipefs -a --force /dev/vdb1  
wipefs -a --force /dev/vdb2
wipefs -a --force /dev/vdb3 
wipefs -a --force /dev/vdb4

mkfs -t xfs -L OStest -q -f /dev/vdb1
mkfs -t xfs -L OStest -q -f /dev/vdb2
mkfs -t xfs -L OStest -q -f /dev/vdb3
mkfs -t xfs -L OStest -q -f /dev/vdb4

export FSTYP=xfs
export TEST_DIR=/fs/vdb1
export TEST_DEV=/dev/vdb1
export SCRATCH_MNT=/fs/vdb2
export SCRATCH_DEV=/dev/vdb2
mkdir -p /fs/vdb1 /fs/vdb2
git clone --branch anck-5.10 https://gitee.com/anolis/xfstests.git
export CFLAGS="-fcommon"
cd xfstests
make configure
./configure
make && make install
./check xfs/293

Actual results:
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# ./check xfs/293
FSTYP         -- xfs (non-debug)
PLATFORM      -- Linux/x86_64 qibo-anolis23-nightly-func-x86-1 5.10.134-104.git.5ffa4625ad4e.an23.x86_64 #1 SMP Tue May 9 21:37:06 CST 2023
MKFS_OPTIONS  -- -f /dev/vdb2
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /dev/vdb2 /fs/vdb2

xfs/293       - output mismatch (see /root/xfstests/results//xfs/293.out.bad)
    --- tests/xfs/293.out       2023-05-08 18:12:40.036106181 +0800
    +++ /root/xfstests/results//xfs/293.out.bad 2023-05-10 17:18:36.657930870 +0800
    @@ -1,2 +1,71 @@
     QA output created by 293
     Silence is golden
    +add_enckey not documented in the xfs_io manpage
    +allocsp not documented in the xfs_io manpage
    +bmap not documented in the xfs_io manpage
    +bulkstat not documented in the xfs_io manpage
    +bulkstat_single not documented in the xfs_io manpage
    ...
    (Run 'diff -u /root/xfstests/tests/xfs/293.out /root/xfstests/results//xfs/293.out.bad'  to see the entire diff)
Ran: xfs/293
Failures: xfs/293
Failed 1 of 1 tests

[root@qibo-anolis23-nightly-func-x86-1 xfstests]# diff -u /root/xfstests/tests/xfs/293.out /root/xfstests/results//xfs/293.out.bad
--- /root/xfstests/tests/xfs/293.out    2023-05-08 18:12:40.036106181 +0800
+++ /root/xfstests/results//xfs/293.out.bad     2023-05-10 17:18:36.657930870 +0800
@@ -1,2 +1,71 @@
 QA output created by 293
 Silence is golden
+add_enckey not documented in the xfs_io manpage
+allocsp not documented in the xfs_io manpage
+bmap not documented in the xfs_io manpage
+bulkstat not documented in the xfs_io manpage
+bulkstat_single not documented in the xfs_io manpage
+chattr not documented in the xfs_io manpage
+chmod not documented in the xfs_io manpage
+chproj not documented in the xfs_io manpage
+close not documented in the xfs_io manpage
+copy_range not documented in the xfs_io manpage
+cowextsize not documented in the xfs_io manpage
+crc32cselftest not documented in the xfs_io manpage
+dedupe not documented in the xfs_io manpage
+enckey_status not documented in the xfs_io manpage
+extsize not documented in the xfs_io manpage
+fadvise not documented in the xfs_io manpage
+falloc not documented in the xfs_io manpage
+fcollapse not documented in the xfs_io manpage
+fdatasync not documented in the xfs_io manpage
+fiemap not documented in the xfs_io manpage
+file not documented in the xfs_io manpage
+finsert not documented in the xfs_io manpage
+flink not documented in the xfs_io manpage
+fpunch not documented in the xfs_io manpage
+freesp not documented in the xfs_io manpage
+fsmap not documented in the xfs_io manpage
+fsync not documented in the xfs_io manpage
+funshare not documented in the xfs_io manpage
+fzero not documented in the xfs_io manpage
+get_encpolicy not documented in the xfs_io manpage
+help not documented in the xfs_io manpage
+inode not documented in the xfs_io manpage
+inumbers not documented in the xfs_io manpage
+label not documented in the xfs_io manpage
+log_writes not documented in the xfs_io manpage
+lsattr not documented in the xfs_io manpage
+lsproj not documented in the xfs_io manpage
+madvise not documented in the xfs_io manpage
+mincore not documented in the xfs_io manpage
+mmap not documented in the xfs_io manpage
+mread not documented in the xfs_io manpage
+mremap not documented in the xfs_io manpage
+msync not documented in the xfs_io manpage
+munmap not documented in the xfs_io manpage
+mwrite not documented in the xfs_io manpage
+open not documented in the xfs_io manpage
+pread not documented in the xfs_io manpage
+print not documented in the xfs_io manpage
+pwrite not documented in the xfs_io manpage
+quit not documented in the xfs_io manpage
+readdir not documented in the xfs_io manpage
+reflink not documented in the xfs_io manpage
+resvsp not documented in the xfs_io manpage
+rm_enckey not documented in the xfs_io manpage
+scrub not documented in the xfs_io manpage
+seek not documented in the xfs_io manpage
+sendfile not documented in the xfs_io manpage
+set_encpolicy not documented in the xfs_io manpage
+stat not documented in the xfs_io manpage
+statfs not documented in the xfs_io manpage
+statx not documented in the xfs_io manpage
+swapext not documented in the xfs_io manpage
+sync not documented in the xfs_io manpage
+sync_range not documented in the xfs_io manpage
+syncfs not documented in the xfs_io manpage
+truncate not documented in the xfs_io manpage
+unresvsp not documented in the xfs_io manpage
+utimes not documented in the xfs_io manpage
+zero not documented in the xfs_io manpage


Expected results:
case pass

Additional info:
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# uname -r
5.10.134-104.git.5ffa4625ad4e.an23.x86_64
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# cat /etc/anolis-release
Anolis OS release 23
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.10.134-104.git.5ffa4625ad4e.an23.x86_64 root=UUID=ece72b7f-465b-433d-8b3b-e5fa53a04642 ro rhgb cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 quiet biosdevname=0 net.ifnames=0 console=tty0 console=ttyS0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 cgroup.memory=nokmem crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        4.0M  4.0K  4.0M   1% /dev
tmpfs           7.6G     0  7.6G   0% /dev/shm
tmpfs           3.1G  716K  3.1G   1% /run
/dev/vda1        40G   14G   27G  34% /
/dev/vdc1        98G  3.4G   90G   4% /tmp
tmpfs           1.6G     0  1.6G   0% /run/user/0
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# free -g
               total        used        free      shared  buff/cache   available
Mem:              15           0          12           0           1          14
Swap:              0           0           0
[root@qibo-anolis23-nightly-func-x86-1 xfstests]# lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         46 bits physical, 57 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               GenuineIntel
  BIOS Vendor ID:        Alibaba Cloud
  Model name:            Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
    BIOS Model name:     pc-i440fx-2.1  CPU @ 0.0GHz
    BIOS CPU family:     1
    CPU family:          6
    Model:               106
    Thread(s) per core:  2
    Core(s) per socket:  2
    Socket(s):           1
    Stepping:            6
    BogoMIPS:            5399.99
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 s
                         s ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni p
                         clmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hy
                         pervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi
                         1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd
                         sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_v
                         bmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
Virtualization features:
  Hypervisor vendor:     KVM
  Virtualization type:   full
Caches (sum of all):
  L1d:                   96 KiB (2 instances)
  L1i:                   64 KiB (2 instances)
  L2:                    2.5 MiB (2 instances)
  L3:                    48 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-3
Vulnerabilities:
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
  Retbleed:              Not affected
  Spec store bypass:     Vulnerable
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
Comment 1 anolislw alibaba_cloud_group 2023-05-10 17:25:35 UTC
有相关单子
https://bugzilla.openanolis.cn/show_bug.cgi?id=4674

*** This bug has been marked as a duplicate of bug 4674 ***
Comment 2 anolislw alibaba_cloud_group 2024-11-18 14:37:58 UTC
更新下反馈下:

[Anolis23.2][6.6.25-2.2_rc1][xfstests][x86_64] xfs文件格式,执行xfs/293还存在问题
----------------------------
[root@5f9Lab15 xfstests]# ./check xfs/293
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/293       - output mismatch (see /tone/run/xfstests/results//xfs/293.out.bad)
    --- tests/xfs/293.out       2024-11-18 13:30:22.587121892 +0800
    +++ /tone/run/xfstests/results//xfs/293.out.bad     2024-11-18 14:29:02.216840368 +0800
    @@ -1,2 +1,72 @@
     QA output created by 293
     Silence is golden
    +add_enckey not documented in the xfs_io manpage
    +allocsp not documented in the xfs_io manpage
    +bmap not documented in the xfs_io manpage
    +bulkstat not documented in the xfs_io manpage
    +bulkstat_single not documented in the xfs_io manpage
    ...
    (Run 'diff -u /tone/run/xfstests/tests/xfs/293.out /tone/run/xfstests/results//xfs/293.out.bad'  to see the entire diff)
Ran: xfs/293
Failures: xfs/293
Failed 1 of 1 tests

[root@5f9Lab15 xfstests]# ./check xfs/293^C
[root@5f9Lab15 xfstests]# uname -r
6.6.25-2.2_rc1.an23.x86_64
Comment 3 gaohongmei 2025-07-03 15:26:36 UTC
anolis23 x86 6.6.88环境,xfstests xfs,xfs/293用例也报这个错

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

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

# ./check xfs/293
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/293       - output mismatch (see /tmp/tone/run/xfstests/results//xfs/293.out.bad)
    --- tests/xfs/293.out       2025-07-03 07:12:08.703197548 +0800
    +++ /tmp/tone/run/xfstests/results//xfs/293.out.bad 2025-07-03 15:24:50.004305202 +0800
    @@ -1,2 +1,72 @@
     QA output created by 293
     Silence is golden
    +add_enckey not documented in the xfs_io manpage
    +allocsp not documented in the xfs_io manpage
    +bmap not documented in the xfs_io manpage
    +bulkstat not documented in the xfs_io manpage
    +bulkstat_single not documented in the xfs_io manpage
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/xfs/293.out /tmp/tone/run/xfstests/results//xfs/293.out.bad'  to see the entire diff)
Ran: xfs/293
Failures: xfs/293
Failed 1 of 1 tests