Bug 4495 - [Anolis 23][社区nightly & ANCK-5.10-14-rc1][aarch64]执行LTP测试套syscalls模块epoll_pwait03执行失败
Summary: [Anolis 23][社区nightly & ANCK-5.10-14-rc1][aarch64]执行LTP测试套syscalls模块epoll_pwa...
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:42 UTC by Banana
Modified: 2023-03-14 21:07 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:42:10 UTC
[问题描述]:
执行LTP测试套syscalls模块epoll_pwait03执行失败。

testlog:
<<<test_start>>>
tag=epoll_pwait03 stime=1678642707
cmdline="epoll_pwait03"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 30s
epoll_pwait_var.h:38: TINFO: Test epoll_pwait()
tst_timer_test.c:357: TINFO: CLOCK_MONOTONIC resolution 1ns
tst_timer_test.c:369: TINFO: prctl(PR_GET_TIMERSLACK) = 50us
tst_test.c:1534: TINFO: Updating max runtime to 0h 00m 09s
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 39s
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 1000us 500 iterations, threshold 450.01us
tst_timer_test.c:305: TINFO: min 1011us, max 1064us, median 1052us, trunc mean 1052.05us (discarded 25)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 2000us 500 iterations, threshold 450.01us
tst_timer_test.c:305: TINFO: min 2007us, max 2063us, median 2052us, trunc mean 2051.88us (discarded 25)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 5000us 300 iterations, threshold 450.04us
tst_timer_test.c:305: TINFO: min 5009us, max 5059us, median 5053us, trunc mean 5052.34us (discarded 15)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 10000us 100 iterations, threshold 450.33us
tst_timer_test.c:305: TINFO: min 10028us, max 10057us, median 10054us, trunc mean 10053.46us (discarded 5)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 25000us 50 iterations, threshold 451.29us
tst_timer_test.c:305: TINFO: min 25016us, max 25059us, median 25054us, trunc mean 25052.21us (discarded 2)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 100000us 10 iterations, threshold 537.00us
tst_timer_test.c:305: TINFO: min 100105us, max 100106us, median 100105us, trunc mean 100105.22us (discarded 1)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 1000000us 2 iterations, threshold 4400.00us
tst_timer_test.c:305: TINFO: min 1001006us, max 1001009us, median 1001006us, trunc mean 1001006.00us (discarded 1)
tst_timer_test.c:311: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
epoll_pwait_var.h:40: TINFO: Test epoll_pwait2()
tst_timer_test.c:357: TINFO: CLOCK_MONOTONIC resolution 1ns
tst_timer_test.c:369: TINFO: prctl(PR_GET_TIMERSLACK) = 50us
tst_test.c:1534: TINFO: Updating max runtime to 0h 00m 09s
tst_test.c:1526: TINFO: Timeout per run is 0h 00m 39s
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 1000us 500 iterations, threshold 450.01us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 2000us 500 iterations, threshold 450.01us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 5000us 300 iterations, threshold 450.04us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 10000us 100 iterations, threshold 450.33us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 25000us 50 iterations, threshold 451.29us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 100000us 10 iterations, threshold 537.00us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting
tst_timer_test.c:263: TINFO: do_epoll_pwait() sleeping for 1000000us 2 iterations, threshold 4400.00us
epoll_pwait03.c:33: TFAIL: do_epoll_pwait() returned -1, expected 0: ENOSYS (38)
tst_timer_test.c:270: TINFO: sampling function failed, exiting

Summary:
passed   7
failed   7
broken   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=9 termination_type=exited termination_id=1 corefile=no
cutime=1 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_pwait03
Comment 1 Banana alibaba_cloud_group 2023-03-13 15:44:34 UTC
Anolis8-5.10-nightly-func-aarch64执行结果未fail

<<<test_start>>>
tag=epoll_pwait03 stime=1678639926
cmdline="epoll_pwait03"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1528: TINFO: Timeout per run is 0h 00m 30s
epoll_pwait_var.h:38: TINFO: Test epoll_pwait()
tst_timer_test.c:357: TINFO: CLOCK_MONOTONIC resolution 1ns
tst_timer_test.c:369: TINFO: prctl(PR_GET_TIMERSLACK) = 50us
tst_test.c:1535: TINFO: Updating max runtime to 0h 00m 09s
tst_test.c:1528: TINFO: Timeout per run is 0h 00m 39s
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 1000us 500 iterations, threshold 450.01us
tst_timer_test.c:308: TINFO: min 1022us, max 1063us, median 1052us, trunc mean 1052.13us (discarded 25)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 2000us 500 iterations, threshold 450.01us
tst_timer_test.c:308: TINFO: min 2015us, max 2060us, median 2053us, trunc mean 2052.83us (discarded 25)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 5000us 300 iterations, threshold 450.04us
tst_timer_test.c:308: TINFO: min 5013us, max 5065us, median 5054us, trunc mean 5052.53us (discarded 15)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 10000us 100 iterations, threshold 450.33us
tst_timer_test.c:308: TINFO: min 10019us, max 10057us, median 10053us, trunc mean 10053.08us (discarded 5)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 25000us 50 iterations, threshold 451.29us
tst_timer_test.c:308: TINFO: min 25020us, max 25058us, median 25054us, trunc mean 25053.12us (discarded 2)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 100000us 10 iterations, threshold 537.00us
tst_timer_test.c:308: TINFO: min 100045us, max 100109us, median 100106us, trunc mean 100099.44us (discarded 1)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 1000000us 2 iterations, threshold 4400.00us
tst_timer_test.c:308: TINFO: min 1000467us, max 1000977us, median 1000467us, trunc mean 1000467.00us (discarded 1)
tst_timer_test.c:312: TINFO: Virtualisation detected, skipping oversleep checks
tst_timer_test.c:326: TPASS: Measured times are within thresholds
epoll_pwait_var.h:40: TINFO: Test epoll_pwait2()
tst_timer_test.c:357: TINFO: CLOCK_MONOTONIC resolution 1ns
tst_timer_test.c:369: TINFO: prctl(PR_GET_TIMERSLACK) = 50us
tst_test.c:1535: TINFO: Updating max runtime to 0h 00m 09s
tst_test.c:1528: TINFO: Timeout per run is 0h 00m 39s
tst_timer_test.c:265: TINFO: do_epoll_pwait() sleeping for 1000us 500 iterations, threshold 450.01us
../../../../include/lapi/epoll.h:54: TCONF: syscall(441) __NR_epoll_pwait2 not supported on your arch

Summary:
passed   7
failed   0
broken   0
skipped  1
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
Comment 2 anolislw alibaba_cloud_group 2023-03-13 18:00:17 UTC
 [Anolis 23][社区nightly & ANCK-5.10-14-rc1][x86_64]环境下该case也存在同样问题
Comment 3 yunmeng365524 2023-03-14 21:07:32 UTC
https://bugzilla.openanolis.cn/show_bug.cgi?id=4463

*** This bug has been marked as a duplicate of bug 4463 ***