[问题描述]: 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
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
[Anolis 23][社区nightly & ANCK-5.10-14-rc1][x86_64]环境下该case也存在同样问题
https://bugzilla.openanolis.cn/show_bug.cgi?id=4463 *** This bug has been marked as a duplicate of bug 4463 ***
根因一样,__NR_epoll_pwait2 在an23上执行失败。8上成功是因为跳过了epoll_pwait2