Bug 22144 - [Anolis8.9][anck-5.10][社区版nightly][x86_64]xfstests测试套测试ext4文件系统时case:generic/683-687测试fail
Summary: [Anolis8.9][anck-5.10][社区版nightly][x86_64]xfstests测试套测试ext4文件系统时case:generic/...
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: 8.9
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao_mq
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-23 17:40 UTC by qq178635604
Modified: 2025-06-23 17:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qq178635604 2025-06-23 17:40:33 UTC
Description of problem:
在社区版的anolis8.9 anck-5.10 kernel nightly测试中,xfstests测试套ext4中case:generic/683测试失败
case:generic/684测试失败
case:generic/685测试失败
case:generic/686测试失败
case:generic/687测试失败

How reproducible:
1)wget https://abs.openanolis.cn/download/OpenAnolis/DOCKER/cbp/task_id-347/2025-06-22/1750593961/kernel-5.10.134-cbp.git.72ad9fd00.an8.x86_64.rpm
2)wget https://abs.openanolis.cn/download/OpenAnolis/DOCKER/cbp/task_id-347/2025-06-22/1750593961/kernel-devel-5.10.134-cbp.git.72ad9fd00.an8.x86_64.rpm
3)wget https://abs.openanolis.cn/download/OpenAnolis/DOCKER/cbp/task_id-347/2025-06-22/1750593961/kernel-headers-5.10.134-cbp.git.72ad9fd00.an8.x86_64.rpm
4)rpm -ivh *.rpm
5)reboot

Steps to Reproduce:
#编译安装xfstests:
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb1
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb2
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb3
mkfs -t ext4 -L tone -q -F  -q -F /dev/vdb4
export FSTYP=ext4
export TEST_DEV=/dev/vdb1
export SCRATCH_DEV=/dev/vdb2
export TEST_LOGDEV =/dev/vdb3
export SCRATCH_LOGDEV=/dev/vdb4
mkdir -p /fs/vdb1 /fs/vdb2
export TEST_DIR=/fs/vdb1
export SCRATCH_MNT=/fs/vdb2
export OVL_BASE_FSTYP=ext4

git clone --branch anck-5.10 https://gitee.com/anolis/xfstests.git
cd xfstests
export CFLAGS="-fcommon"
make configure
./configure
make && make install

Actual results:
[root@iZ2ze6zirbtts5b20ha7rlZ xfstests]# ./check generic/683
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 iZ2ze6zirbtts5b20ha7rlZ 5.10.134-cbp.git.72ad9fd00.an8.x86_64 #1 SMP Sat Jun 21 12:10:14 UTC 2025
MKFS_OPTIONS  -- -F /dev/vdb2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdb2 /fs/vdb2

generic/683       - output mismatch (see /tmp/tone/run/xfstests/results//generic/683.out.bad)
    --- tests/generic/683.out   2025-06-23 13:41:39.945841783 +0800
    +++ /tmp/tone/run/xfstests/results//generic/683.out.bad     2025-06-23 17:06:29.751607886 +0800
    @@ -33,7 +33,7 @@

     Test 9 - qa_user, non-exec file falloc, only sgid
     2666 -rw-rwSrw- TEST_DIR/683/a
    -2666 -rw-rwSrw- TEST_DIR/683/a
    +666 -rw-rw-rw- TEST_DIR/683/a

     Test 10 - qa_user, group-exec file falloc, only sgid
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/683.out /tmp/tone/run/xfstests/results//generic/683.out.bad'  to see the entire diff)
Ran: generic/683
Failures: generic/683
Failed 1 of 1 tests


[root@iZ2ze6zirbtts5b20ha7rlZ xfstests]# ./check generic/684
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 iZ2ze6zirbtts5b20ha7rlZ 5.10.134-cbp.git.72ad9fd00.an8.x86_64 #1 SMP Sat Jun 21 12:10:14 UTC 2025
MKFS_OPTIONS  -- -F /dev/vdb2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdb2 /fs/vdb2

generic/684       - output mismatch (see /tmp/tone/run/xfstests/results//generic/684.out.bad)
    --- tests/generic/684.out   2025-06-23 13:41:40.051841419 +0800
    +++ /tmp/tone/run/xfstests/results//generic/684.out.bad     2025-06-23 17:06:42.442564179 +0800
    @@ -33,7 +33,7 @@

     Test 9 - qa_user, non-exec file fpunch, only sgid
     2666 -rw-rwSrw- TEST_DIR/684/a
    -2666 -rw-rwSrw- TEST_DIR/684/a
    +666 -rw-rw-rw- TEST_DIR/684/a

     Test 10 - qa_user, group-exec file fpunch, only sgid
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/684.out /tmp/tone/run/xfstests/results//generic/684.out.bad'  to see the entire diff)
Ran: generic/684
Failures: generic/684
Failed 1 of 1 tests


[root@iZ2ze6zirbtts5b20ha7rlZ xfstests]# ./check generic/685
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 iZ2ze6zirbtts5b20ha7rlZ 5.10.134-cbp.git.72ad9fd00.an8.x86_64 #1 SMP Sat Jun 21 12:10:14 UTC 2025
MKFS_OPTIONS  -- -F /dev/vdb2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdb2 /fs/vdb2

generic/685       - output mismatch (see /tmp/tone/run/xfstests/results//generic/685.out.bad)
    --- tests/generic/685.out   2025-06-23 13:41:40.150841079 +0800
    +++ /tmp/tone/run/xfstests/results//generic/685.out.bad     2025-06-23 17:06:46.221551164 +0800
    @@ -33,7 +33,7 @@

     Test 9 - qa_user, non-exec file fzero, only sgid
     2666 -rw-rwSrw- TEST_DIR/685/a
    -2666 -rw-rwSrw- TEST_DIR/685/a
    +666 -rw-rw-rw- TEST_DIR/685/a

     Test 10 - qa_user, group-exec file fzero, only sgid
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/685.out /tmp/tone/run/xfstests/results//generic/685.out.bad'  to see the entire diff)
Ran: generic/685
Failures: generic/685
Failed 1 of 1 tests


[root@iZ2ze6zirbtts5b20ha7rlZ xfstests]# ./check generic/686
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 iZ2ze6zirbtts5b20ha7rlZ 5.10.134-cbp.git.72ad9fd00.an8.x86_64 #1 SMP Sat Jun 21 12:10:14 UTC 2025
MKFS_OPTIONS  -- -F /dev/vdb2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdb2 /fs/vdb2

generic/686       - output mismatch (see /tmp/tone/run/xfstests/results//generic/686.out.bad)
    --- tests/generic/686.out   2025-06-23 13:41:39.787842326 +0800
    +++ /tmp/tone/run/xfstests/results//generic/686.out.bad     2025-06-23 17:06:49.303540550 +0800
    @@ -33,7 +33,7 @@

     Test 9 - qa_user, non-exec file finsert, only sgid
     2666 -rw-rwSrw- TEST_DIR/686/a
    -2666 -rw-rwSrw- TEST_DIR/686/a
    +666 -rw-rw-rw- TEST_DIR/686/a

     Test 10 - qa_user, group-exec file finsert, only sgid
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/686.out /tmp/tone/run/xfstests/results//generic/686.out.bad'  to see the entire diff)
Ran: generic/686
Failures: generic/686
Failed 1 of 1 tests

[root@iZ2ze6zirbtts5b20ha7rlZ xfstests]# ./check generic/687
FSTYP         -- ext4
PLATFORM      -- Linux/x86_64 iZ2ze6zirbtts5b20ha7rlZ 5.10.134-cbp.git.72ad9fd00.an8.x86_64 #1 SMP Sat Jun 21 12:10:14 UTC 2025
MKFS_OPTIONS  -- -F /dev/vdb2
MOUNT_OPTIONS -- -o acl,user_xattr /dev/vdb2 /fs/vdb2

generic/687       - output mismatch (see /tmp/tone/run/xfstests/results//generic/687.out.bad)
    --- tests/generic/687.out   2025-06-23 13:41:40.626839443 +0800
    +++ /tmp/tone/run/xfstests/results//generic/687.out.bad     2025-06-23 17:06:52.816528452 +0800
    @@ -33,7 +33,7 @@

     Test 9 - qa_user, non-exec file fcollapse, only sgid
     2666 -rw-rwSrw- TEST_DIR/687/a
    -2666 -rw-rwSrw- TEST_DIR/687/a
    +666 -rw-rw-rw- TEST_DIR/687/a

     Test 10 - qa_user, group-exec file fcollapse, only sgid
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/687.out /tmp/tone/run/xfstests/results//generic/687.out.bad'  to see the entire diff)
Ran: generic/687
Failures: generic/687
Failed 1 of 1 tests




[root@iZ2ze6zirbtts5b20ha7rlZ ~]# diff -u /tmp/tone/run/xfstests/tests/generic/683.out /tmp/tone/run/xfstests/results//generic/683.out.bad
--- /tmp/tone/run/xfstests/tests/generic/683.out        2025-06-23 13:41:39.945841783 +0800
+++ /tmp/tone/run/xfstests/results//generic/683.out.bad 2025-06-23 17:06:29.751607886 +0800
@@ -33,7 +33,7 @@

 Test 9 - qa_user, non-exec file falloc, only sgid
 2666 -rw-rwSrw- TEST_DIR/683/a
-2666 -rw-rwSrw- TEST_DIR/683/a
+666 -rw-rw-rw- TEST_DIR/683/a

 Test 10 - qa_user, group-exec file falloc, only sgid
 2676 -rw-rwsrw- TEST_DIR/683/a
@@ -41,7 +41,7 @@

 Test 11 - qa_user, user-exec file falloc, only sgid
 2766 -rwxrwSrw- TEST_DIR/683/a
-2766 -rwxrwSrw- TEST_DIR/683/a
+766 -rwxrw-rw- TEST_DIR/683/a

 Test 12 - qa_user, all-exec file falloc, only sgid
 2777 -rwxrwsrwx TEST_DIR/683/a


[root@iZ2ze6zirbtts5b20ha7rlZ ~]# diff -u /tmp/tone/run/xfstests/tests/generic/684.out /tmp/tone/run/xfstests/results//generic/684.out.bad
--- /tmp/tone/run/xfstests/tests/generic/684.out        2025-06-23 13:41:40.051841419 +0800
+++ /tmp/tone/run/xfstests/results//generic/684.out.bad 2025-06-23 17:06:42.442564179 +0800
@@ -33,7 +33,7 @@

 Test 9 - qa_user, non-exec file fpunch, only sgid
 2666 -rw-rwSrw- TEST_DIR/684/a
-2666 -rw-rwSrw- TEST_DIR/684/a
+666 -rw-rw-rw- TEST_DIR/684/a

 Test 10 - qa_user, group-exec file fpunch, only sgid
 2676 -rw-rwsrw- TEST_DIR/684/a
@@ -41,7 +41,7 @@

 Test 11 - qa_user, user-exec file fpunch, only sgid
 2766 -rwxrwSrw- TEST_DIR/684/a
-2766 -rwxrwSrw- TEST_DIR/684/a
+766 -rwxrw-rw- TEST_DIR/684/a

 Test 12 - qa_user, all-exec file fpunch, only sgid
 2777 -rwxrwsrwx TEST_DIR/684/a


[root@iZ2ze6zirbtts5b20ha7rlZ ~]# diff -u /tmp/tone/run/xfstests/tests/generic/685.out /tmp/tone/run/xfstests/results//generic/685.out.bad
--- /tmp/tone/run/xfstests/tests/generic/685.out        2025-06-23 13:41:40.150841079 +0800
+++ /tmp/tone/run/xfstests/results//generic/685.out.bad 2025-06-23 17:06:46.221551164 +0800
@@ -33,7 +33,7 @@

 Test 9 - qa_user, non-exec file fzero, only sgid
 2666 -rw-rwSrw- TEST_DIR/685/a
-2666 -rw-rwSrw- TEST_DIR/685/a
+666 -rw-rw-rw- TEST_DIR/685/a

 Test 10 - qa_user, group-exec file fzero, only sgid
 2676 -rw-rwsrw- TEST_DIR/685/a
@@ -41,7 +41,7 @@

 Test 11 - qa_user, user-exec file fzero, only sgid
 2766 -rwxrwSrw- TEST_DIR/685/a
-2766 -rwxrwSrw- TEST_DIR/685/a
+766 -rwxrw-rw- TEST_DIR/685/a

 Test 12 - qa_user, all-exec file fzero, only sgid
 2777 -rwxrwsrwx TEST_DIR/685/a

[root@iZ2ze6zirbtts5b20ha7rlZ ~]# diff -u /tmp/tone/run/xfstests/tests/generic/686.out /tmp/tone/run/xfstests/results//generic/686.out.bad
--- /tmp/tone/run/xfstests/tests/generic/686.out        2025-06-23 13:41:39.787842326 +0800
+++ /tmp/tone/run/xfstests/results//generic/686.out.bad 2025-06-23 17:06:49.303540550 +0800
@@ -33,7 +33,7 @@

 Test 9 - qa_user, non-exec file finsert, only sgid
 2666 -rw-rwSrw- TEST_DIR/686/a
-2666 -rw-rwSrw- TEST_DIR/686/a
+666 -rw-rw-rw- TEST_DIR/686/a

 Test 10 - qa_user, group-exec file finsert, only sgid
 2676 -rw-rwsrw- TEST_DIR/686/a
@@ -41,7 +41,7 @@

 Test 11 - qa_user, user-exec file finsert, only sgid
 2766 -rwxrwSrw- TEST_DIR/686/a
-2766 -rwxrwSrw- TEST_DIR/686/a
+766 -rwxrw-rw- TEST_DIR/686/a

 Test 12 - qa_user, all-exec file finsert, only sgid
 2777 -rwxrwsrwx TEST_DIR/686/a

[root@iZ2ze6zirbtts5b20ha7rlZ ~]# diff -u /tmp/tone/run/xfstests/tests/generic/687.out /tmp/tone/run/xfstests/results//generic/687.out.bad
--- /tmp/tone/run/xfstests/tests/generic/687.out        2025-06-23 13:41:40.626839443 +0800
+++ /tmp/tone/run/xfstests/results//generic/687.out.bad 2025-06-23 17:06:52.816528452 +0800
@@ -33,7 +33,7 @@

 Test 9 - qa_user, non-exec file fcollapse, only sgid
 2666 -rw-rwSrw- TEST_DIR/687/a
-2666 -rw-rwSrw- TEST_DIR/687/a
+666 -rw-rw-rw- TEST_DIR/687/a

 Test 10 - qa_user, group-exec file fcollapse, only sgid
 2676 -rw-rwsrw- TEST_DIR/687/a
@@ -41,7 +41,7 @@

 Test 11 - qa_user, user-exec file fcollapse, only sgid
 2766 -rwxrwSrw- TEST_DIR/687/a
-2766 -rwxrwSrw- TEST_DIR/687/a
+766 -rwxrw-rw- TEST_DIR/687/a

 Test 12 - qa_user, all-exec file fcollapse, only sgid
 2777 -rwxrwsrwx TEST_DIR/687/a

Expected results:
case pass

Additional info:
[root@iZ2ze6zirbtts5b20ha7rlZ ~]# uname -r
5.10.134-cbp.git.72ad9fd00.an8.x86_64

[root@iZ2ze6zirbtts5b20ha7rlZ ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.9"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.9"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.9"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

[root@iZ2ze6zirbtts5b20ha7rlZ ~]# lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
BIOS Vendor ID:      Alibaba Cloud
CPU family:          6
Model:               106
Model name:          Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
BIOS Model name:     pc-i440fx-2.1
Stepping:            6
CPU MHz:             3499.070
BogoMIPS:            5399.99
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           48K
L1i cache:           32K
L2 cache:            1280K
L3 cache:            49152K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 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_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities

[root@iZ2ze6zirbtts5b20ha7rlZ ~]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt3)/boot/vmlinuz-5.10.134-cbp.git.72ad9fd00.an8.x86_64 root=UUID=d9dd46c5-8041-4c35-a62d-07cc68ebba5a ro cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 vring_force_dma_api spec_rstack_overflow=off rhgb 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-128G:256M,128G-376G:384M,376G-:448M kfence.sample_interval=100 kfence.booting_max=0-2G:0,2G-32G:2M,32G-:32M preempt=none