Bug 4661 - [Anolis 23][社区nightly & ANCK-5.10-14-rc2][aarch64][xfstests]测试套case:xfs.generic/594执行Fail
Summary: [Anolis 23][社区nightly & ANCK-5.10-14-rc2][aarch64][xfstests]测试套case:xfs.gener...
Status: NEW
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: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-30 17:38 UTC by Banana
Modified: 2024-02-02 10:13 UTC (History)
5 users (show)

See Also:


Attachments
generic-594.out文件 (1.96 KB, text/plain)
2023-03-30 17:39 UTC, Banana
Details
generic-594.out.bad文件 (2.02 KB, text/plain)
2023-03-30 17:39 UTC, Banana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Banana alibaba_cloud_group 2023-03-30 17:38:25 UTC
[问题描述]:
Anolis23 aarch64 测试xfstests测试套的xfs.generic/594执行Fail

generic/594       - output mismatch (see /tmp/tone/run/xfstests/results//generic/594.out.bad)
    --- tests/generic/594.out	2023-03-30 12:24:08.780853446 +0800
    +++ /tmp/tone/run/xfstests/results//generic/594.out.bad	2023-03-30 13:24:30.703236567 +0800
    @@ -1,4 +1,6 @@
     QA output created by 594
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     1. set project quota timer
     *** Report for user quotas on device SCRATCH_DEV
     Block grace time: DEF_TIME; Inode grace time: DEF_TIME
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/594.out /tmp/tone/run/xfstests/results//generic/594.out.bad'  to see the entire diff)

[环境信息]:
机器类型: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

[问题发生概率]:必现
Comment 1 Banana alibaba_cloud_group 2023-03-30 17:39:07 UTC
Created attachment 695 [details]
generic-594.out文件

generic-594.out文件:xfstests/tests/generic/594.out
Comment 2 Banana alibaba_cloud_group 2023-03-30 17:39:34 UTC
Created attachment 696 [details]
generic-594.out.bad文件

generic-594.out.bad:xfstests/results//generic/594.out.bad
Comment 3 Banana alibaba_cloud_group 2023-03-30 17:40:36 UTC
对比594.out文件与594.out.bad,发现594.out.bad文件内多了两行警告信息:
//grep: warning: stray \ before -为多的内容
QA output created by 594
grep: warning: stray \ before -
grep: warning: stray \ before -
1. set project quota timer
Comment 4 Banana alibaba_cloud_group 2023-03-30 17:53:00 UTC
类似问题:
generic/600
generic/600       - output mismatch (see /tmp/tone/run/xfstests/results//generic/600.out.bad)
    --- tests/generic/600.out	2023-03-30 12:24:08.792853468 +0800
    +++ /tmp/tone/run/xfstests/results//generic/600.out.bad	2023-03-30 13:24:36.551246780 +0800
    @@ -1,2 +1,4 @@
     QA output created by 600
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     Silence is golden
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/600.out /tmp/tone/run/xfstests/results//generic/600.out.bad'  to see the entire diff)


generic/601
generic/601       - output mismatch (see /tmp/tone/run/xfstests/results//generic/601.out.bad)
    --- tests/generic/601.out	2023-03-30 12:24:08.796853475 +0800
    +++ /tmp/tone/run/xfstests/results//generic/601.out.bad	2023-03-30 13:24:40.043252878 +0800
    @@ -1,2 +1,4 @@
     QA output created by 601
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     Silence is golden
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/601.out /tmp/tone/run/xfstests/results//generic/601.out.bad'  to see the entire diff)


generic/603
generic/603       - output mismatch (see /tmp/tone/run/xfstests/results//generic/603.out.bad)
    --- tests/generic/603.out	2023-03-30 12:24:08.800853482 +0800
    +++ /tmp/tone/run/xfstests/results//generic/603.out.bad	2023-03-30 13:25:29.671339545 +0800
    @@ -1,4 +1,6 @@
     QA output created by 603
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     ### Set up different grace timers to each type of quota
     
     ### Test user quota softlimit and grace time
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/603.out /tmp/tone/run/xfstests/results//generic/603.out.bad'  to see the entire diff)
Comment 5 Banana alibaba_cloud_group 2023-03-30 18:10:07 UTC
xfs/106也是类似问题:
xfs/106       - output mismatch (see /tmp/tone/run/xfstests/results//xfs/106.out.bad)
    --- tests/xfs/106.out	2023-03-30 12:24:10.980857401 +0800
    +++ /tmp/tone/run/xfstests/results//xfs/106.out.bad	2023-03-30 13:41:55.949060182 +0800
    @@ -5,6 +5,7 @@
     quota remount
     
     checking quot command (type=u)
    +grep: warning: stray \ before #
     SCRATCH_DEV (SCRATCH_MNT) User:
      1024 15 fsgqa 
     
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/xfs/106.out /tmp/tone/run/xfstests/results//xfs/106.out.bad'  to see the entire diff)
Comment 6 anolislw alibaba_cloud_group 2023-03-31 14:02:40 UTC
anolis23 x86 ECS xfstests测试中该case:xfs.generic/594,xfs.generic/600,xfs.xfs/106,ext4.generic/594也存在相似问题

------------ xfs.generic/594报错信息 --------------------
generic/594       - output mismatch (see /tmp/tone/run/xfstests/results//generic/594.out.bad)
    --- tests/generic/594.out	2023-03-31 11:27:49.626906865 +0800
    +++ /tmp/tone/run/xfstests/results//generic/594.out.bad	2023-03-31 12:16:20.350100856 +0800
    @@ -1,4 +1,6 @@
     QA output created by 594
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     1. set project quota timer
     *** Report for user quotas on device SCRATCH_DEV
     Block grace time: DEF_TIME; Inode grace time: DEF_TIME
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/594.out /tmp/tone/run/xfstests/results//generic/594.out.bad'  to see the entire diff)


-------------   xfs.generic/600报错信息 --------------------------------
generic/600       - output mismatch (see /tmp/tone/run/xfstests/results//generic/600.out.bad)
    --- tests/generic/600.out	2023-03-31 11:27:49.634906904 +0800
    +++ /tmp/tone/run/xfstests/results//generic/600.out.bad	2023-03-31 12:16:26.065128572 +0800
    @@ -1,2 +1,4 @@
     QA output created by 600
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     Silence is golden
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/generic/600.out /tmp/tone/run/xfstests/results//generic/600.out.bad'  to see the entire diff)


------------ xfs.xfs/106报错信息 ----------------------------------------
xfs/106       - output mismatch (see /tmp/tone/run/xfstests/results//xfs/106.out.bad)
    --- tests/xfs/106.out	2023-03-31 11:27:51.211914618 +0800
    +++ /tmp/tone/run/xfstests/results//xfs/106.out.bad	2023-03-31 12:30:56.374352072 +0800
    @@ -5,6 +5,7 @@
     quota remount
     
     checking quot command (type=u)
    +grep: warning: stray \ before #
     SCRATCH_DEV (SCRATCH_MNT) User:
      1024 15 fsgqa 
     
    ...
    (Run 'diff -u /tmp/tone/run/xfstests/tests/xfs/106.out /tmp/tone/run/xfstests/results//xfs/106.out.bad'  to see the entire diff)



-------------    ext4.generic/594报错信息     ---------------------------
generic/594       - output mismatch (see /tmp/tone/run/xfstests/results//generic/594.out.bad)
    --- tests/generic/594.out	2023-03-31 10:44:51.690137435 +0800
    +++ /tmp/tone/run/xfstests/results//generic/594.out.bad	2023-03-31 11:22:54.649463931 +0800
    @@ -1,4 +1,6 @@
     QA output created by 594
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     1. set project quota timer
     *** Report for user quotas on device SCRATCH_DEV
     Block grace time: DEF_TIME; Inode grace time: DEF_TIME
    ...
Comment 7 zhangjinglin loongson_group 2024-02-02 10:13:48 UTC
[Anolis23.1][RC1][loongarch64][ANCK-5.10-016.2] xfstests测试中该case:generic/594,generic/600,generic/601,generic/603 也存在相同问题

软件环境:
#内核版本:
# uname -r
5.10.134-16.2_rc1.an23.loongarch64

#系统版本
# 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/"

generic/594       - output mismatch (see /root/tone_test/tone/run/xfstests/results//generic/594.out.bad)
    --- tests/generic/594.out	2024-02-01 16:15:28.387254841 +0800
    +++ /root/tone_test/tone/run/xfstests/results//generic/594.out.bad	2024-02-01 17:54:23.020099630 +0800
    @@ -1,4 +1,6 @@
     QA output created by 594
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     1. set project quota timer
     *** Report for user quotas on device SCRATCH_DEV
     Block grace time: DEF_TIME; Inode grace time: DEF_TIME
    ...
    (Run 'diff -u /root/tone_test/tone/run/xfstests/tests/generic/594.out /root/tone_test/tone/run/xfstests/results//generic/594.out.bad'  to see the entire diff)

generic/600       - output mismatch (see /root/tone_test/tone/run/xfstests/results//generic/600.out.bad)
    --- tests/generic/600.out	2024-02-01 16:15:28.415254636 +0800
    +++ /root/tone_test/tone/run/xfstests/results//generic/600.out.bad	2024-02-01 17:54:43.435950682 +0800
    @@ -1,2 +1,4 @@
     QA output created by 600
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     Silence is golden
    ...
    (Run 'diff -u /root/tone_test/tone/run/xfstests/tests/generic/600.out /root/tone_test/tone/run/xfstests/results//generic/600.out.bad'  to see the entire diff)

generic/601       - output mismatch (see /root/tone_test/tone/run/xfstests/results//generic/601.out.bad)
    --- tests/generic/601.out	2024-02-01 16:15:28.419254606 +0800
    +++ /root/tone_test/tone/run/xfstests/results//generic/601.out.bad	2024-02-01 17:54:48.899910818 +0800
    @@ -1,2 +1,4 @@
     QA output created by 601
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     Silence is golden
    ...
    (Run 'diff -u /root/tone_test/tone/run/xfstests/tests/generic/601.out /root/tone_test/tone/run/xfstests/results//generic/601.out.bad'  to see the entire diff)

generic/603       - output mismatch (see /root/tone_test/tone/run/xfstests/results//generic/603.out.bad)
    --- tests/generic/603.out	2024-02-01 16:15:28.427254548 +0800
    +++ /root/tone_test/tone/run/xfstests/results//generic/603.out.bad	2024-02-01 17:55:46.275492222 +0800
    @@ -1,4 +1,6 @@
     QA output created by 603
    +grep: warning: stray \ before -
    +grep: warning: stray \ before -
     ### Set up different grace timers to each type of quota
     
     ### Test user quota softlimit and grace time
    ...
    (Run 'diff -u /root/tone_test/tone/run/xfstests/tests/generic/603.out /root/tone_test/tone/run/xfstests/results//generic/603.out.bad'  to see the entire diff)