Bug 4497 - [Anolis 23][社区nightly & ANCK-5.10-14-rc1][aarch64]LTP测试套syscalls模块epoll_pwait05执行失败,with ts.tv_sec < 0 expected EINVAL: ENOSYS
Summary: [Anolis 23][社区nightly & ANCK-5.10-14-rc1][aarch64]LTP测试套syscalls模块epoll_pwait...
Status: RESOLVED DUPLICATE of bug 4463
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-13 15:55 UTC by Banana
Modified: 2023-03-14 21:06 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 2023-03-13 15:55:18 UTC
[问题描述]:
LTP测试套syscalls模块epoll_pwait05执行失败

testlog
<<<test_start>>>
tag=epoll_pwait05 stime=1678642716
cmdline="epoll_pwait05"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
epoll_pwait05.c:35: TFAIL: with ts.tv_sec < 0 expected EINVAL: ENOSYS (38)
epoll_pwait05.c:35: TFAIL: with ts.tv_nsec < 0 expected EINVAL: ENOSYS (38)
epoll_pwait05.c:35: TFAIL: with ts.tv_nsec >= NSEC_PER_SEC expected EINVAL: ENOSYS (38)

Summary:
passed   0
failed   3
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
<<<test_end>>>

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

内核信息:
[root@qibo-anck014-an23-g6r-1 ~]# uname -r
5.10.134-14_rc1.an23.aarch64

操作系统信息:
[root@qibo-anck014-an23-g6r-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/"

[问题发生概率]:
必现

[复现步骤]:
1.git clone https://gitee.com/anolis/ltp.git --branch anck-5.10
2.cd ltp;export CFLAGS+="-fcommon";make autotools;./configure
3.make && make install
4 cd /opt/ltp;./runltp  -f syscalls -s epoll_pwait05
Comment 1 Banana alibaba_cloud_group 2023-03-13 15:56:50 UTC
Anolis8-5.10-nightly-func-aarch64对比结果,不支持,skip
tst_test.c:1528: TINFO: Timeout per run is 0h 00m 30s
../../../../include/lapi/epoll.h:54: TCONF: syscall(441) __NR_epoll_pwait2 not supported on your arch
Comment 2 anolislw alibaba_cloud_group 2023-03-13 18:02:24 UTC
 [Anolis 23][社区nightly & ANCK-5.10-14-rc1][x86_64]环境下该case也存在同样问题
Comment 3 yunmeng365524 2023-03-14 21:04:11 UTC
https://bugzilla.openanolis.cn/show_bug.cgi?id=4463

*** This bug has been marked as a duplicate of bug 4463 ***
Comment 4 yunmeng365524 2023-03-14 21:06:00 UTC
根因一样,__NR_epoll_pwait2 在an23上执行失败。8上成功是因为跳过了epoll_pwait2