Bug 6175 - [ANCK-5.10][倚天][aarch64][nightly]perf_event_tests测试套下的events用例失败,Unexpected char ? Testing format of event files under /sys/...
Summary: [ANCK-5.10][倚天][aarch64][nightly]perf_event_tests测试套下的events用例失败,Unexpected c...
Status: NEW
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: shuming
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-17 10:03 UTC by yunhe123
Modified: 2023-08-17 10:04 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunhe123 alibaba_cloud_group 2023-08-17 10:03:18 UTC
Description of problem:
perf_event_tests测试套下的events用例失败,Unexpected char ? Testing format of event files under /sys/...   该用例在更换的倚天机型是failed,原来的kunpeng机型用例pass

测试日志如下:
[root@localhost perf_event_tests]# ./tests/sysfs/events

Testing files under /sys/bus/event_source/devices
To see if they match ABI documented in
        Documentation/ABI/testing/sysfs-bus-event_source-devices-format
        Documentation/ABI/testing/sysfs-bus-event_source-devices-events

Base 10 number used:
  type=0x7770,eventid=0x2,wp_dev_sel=?,wp_chn_sel=?,wp_grp=?,wp_val=?,wp_mask=?
This has since been allowed by the ABI
Unexpected char ?
Testing format of event files under /sys/...               FAILED



Version-Release number of selected component (if applicable):
# perf -v
perf version 5.10.134-759.git.f019c570a1.an8.aarch64


How reproducible:
必现

Steps to Reproduce:
git clone https://github.com/deater/perf_event_tests.git
cd perf_event_tests 
make 
执行用例
./tests/sysfs/events


Actual results:
用例执行fail


Expected results:
用例执行pass


Additional info:
内核信息:# uname -r
5.10.134-759.git.f019c570a1.an8.aarch64

版本信息:# 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/"

内存信息:# free -h
              total        used        free      shared  buff/cache   available
Mem:          250Gi       4.8Gi       245Gi       4.0Mi       988Mi       243Gi
Swap:            0B          0B          0B


cpu信息:# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              128
On-line CPU(s) list: 0-127
Thread(s) per core:  1
Core(s) per socket:  128
Socket(s):           1
NUMA node(s):        2
Vendor ID:           ARM
BIOS Vendor ID:      T-HEAD
Model:               0
Model name:          Neoverse-N2
BIOS Model name:     Yitian710-128
Stepping:            r0p0
BogoMIPS:            100.00
L1d cache:           64K
L1i cache:           64K
L2 cache:            1024K
L3 cache:            65536K
NUMA node0 CPU(s):   0-63
NUMA node1 CPU(s):   64-127
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh