Bug 7864 - [Anolis23.1][RC1][ANCK-5.10-016.2]xfstests测试case:ext4.generic/682测试失败
Summary: [Anolis23.1][RC1][ANCK-5.10-016.2]xfstests测试case:ext4.generic/682测试失败
Status: CLOSED DUPLICATE of bug 7861
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: block/storage (show other bugs) block/storage
Version: 5.10.y-16.2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-10 18:00 UTC by Banana
Modified: 2024-05-22 14:12 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 Banana alibaba_cloud_group 2024-01-10 18:00:21 UTC
[问题描述]:
xfstests测试case:ext4.generic/682测试失败
[root@iZbp1go2piwffd58ar6w4xZ xfstests]# ./check tests/generic/682
FSTYP         -- ext4
PLATFORM      -- Linux/aarch64 iZbp1go2piwffd58ar6w4xZ 5.10.134-16.2_rc1.an23.aarch64 #1 SMP Tue Jan 2 09:58:42 CST 2024
MKFS_OPTIONS  -- -F /dev/nvme1n1p2
MOUNT_OPTIONS -- -o acl,user_xattr -o context=system_u:object_r:root_t:s0 /dev/nvme1n1p2 /mnt/nvme1n1p2

generic/682       - output mismatch (see /root/xfstests/results//generic/682.out.bad)
    --- tests/generic/682.out   2024-01-10 17:50:37.405066492 +0800
    +++ /root/xfstests/results//generic/682.out.bad     2024-01-10 17:54:10.412016348 +0800
    @@ -1,3 +1,3 @@
     QA output created by 682
    -mv: cannot move 'SCRATCH_MNT/staging/yXXX' to 'SCRATCH_MNT/dir/yXXX': Disk quota exceeded
    +mv: cannot overwrite 'SCRATCH_MNT/dir/yXXX': Disk quota exceeded
     Silence is golden
    ...
    (Run 'diff -u /root/xfstests/tests/generic/682.out /root/xfstests/results//generic/682.out.bad'  to see the entire diff)
Ran: generic/682
Failures: generic/682
Failed 1 of 1 tests

[环境信息]:
机器类型:ECS

[内核信息]:
[root@iZbp13qjxld7i2hqvemwgiZ]# uname -r
5.10.134-16.2_rc1.an23.aarch64

[操作系统信息]:
[root@iZbp13qjxld7i2hqvemwgiZ]# 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@iZbp1go2piwffd58ar6w4xZ xfstests]# df -Th
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  4.0M     0  4.0M   0% /dev
tmpfs          tmpfs      31G     0   31G   0% /dev/shm
tmpfs          tmpfs      13G  936K   13G   1% /run
/dev/nvme0n1p2 xfs        40G  4.4G   36G  12% /
tmpfs          tmpfs      31G  3.8G   27G  13% /tmp
/dev/nvme0n1p1 vfat      500M  6.5M  494M   2% /boot/efi
tmpfs          tmpfs     6.1G     0  6.1G   0% /run/user/0

[问题发生概率]:
必现

[复现步骤]:
1、git clone https://github.com/kdave/xfstests.git,下载xfstests测试套
2、编译(前提安装了fio)
    cd xfstests/
    make configure
    ./configure
    make -j
    make install
3、设置测试环境,根据磁盘实际名称执行
    mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme1n1p1
    mkfs -t ext4 -E lazy_itable_init=0,lazy_journal_init=0 -L OStest -q -F -O bigalloc -C 16k -q -F /dev/nvme1n1p2
    mkdir /mnt/nvme1n1p1
    mkdir /mnt/nvme1n1p2
    export TEST_DEV=/dev/nvme1n1p1
    export SCRATCH_DEV=/dev/nvme1n1p2
    export FSTYP=ext4
    export SCRATCH_MNT=/mnt/nvme1n1p2
    export TEST_DIR=/mnt/nvme1n1p1
4、执行./check tests/generic/682
Comment 1 yunmeng365524 2024-01-12 14:43:10 UTC
和https://bugzilla.openanolis.cn/show_bug.cgi?id=7861 类似,都是提示报错有了差异。

*** This bug has been marked as a duplicate of bug 7861 ***
Comment 2 Ferry Meng alibaba_cloud_group 2024-01-19 16:49:09 UTC
上游未修复,已提交patch。

https://lore.kernel.org/fstests/20240119084244.56373-1-mengferry@linux.alibaba.com/
Comment 3 Banana alibaba_cloud_group 2024-05-22 14:11:03 UTC
在https://bugzilla.openanolis.cn/show_bug.cgi?id=7861监控, 关闭问题单
Comment 4 Banana alibaba_cloud_group 2024-05-22 14:12:32 UTC
关闭