<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.openanolis.cn/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.openanolis.cn/"
          
          maintainer="service@openanolis.org"
>

    <bug>
          <bug_id>4495</bug_id>
          
          <creation_ts>2023-03-13 15:42:10 +0000</creation_ts>
          <short_desc>[Anolis 23][社区nightly &amp; ANCK-5.10-14-rc1][aarch64]执行LTP测试套syscalls模块epoll_pwait03执行失败</short_desc>
          <delta_ts>2023-03-14 21:07:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Anolis OS</classification>
          <product>Anolis OS 23</product>
          <component>Others</component>
          <version>23.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4463</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3-Medium</priority>
          <bug_severity>S3-normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Banana">lhy01509690</reporter>
          <assigned_to name="yunmeng365524">sonice1755</assigned_to>
          <cc>maqiao.mq</cc>
    
    
    <cc>songnannan</cc>
    
    
    <cc>sonice1755</cc>
    
    
    <cc>wb-lw533035</cc>
    
    
    <cc>xuchunmei</cc>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15044</commentid>
    <comment_count>0</comment_count>
    <who name="Banana">lhy01509690</who>
    <bug_when>2023-03-13 15:42:10 +0000</bug_when>
    <thetext>[问题描述]：
执行LTP测试套syscalls模块epoll_pwait03执行失败。

testlog：
&lt;&lt;&lt;test_start&gt;&gt;&gt;
tag=epoll_pwait03 stime=1678642707
cmdline=&quot;epoll_pwait03&quot;
contacts=&quot;&quot;
analysis=exit
&lt;&lt;&lt;test_output&gt;&gt;&gt;
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
&lt;&lt;&lt;execution_status&gt;&gt;&gt;
initiation_status=&quot;ok&quot;
duration=9 termination_type=exited termination_id=1 corefile=no
cutime=1 cstime=0
&lt;&lt;&lt;test_end&gt;&gt;&gt;
[环境信息]：
机器类型：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=&quot;Anolis OS&quot;
VERSION=&quot;23&quot;
ID=&quot;anolis&quot;
VERSION_ID=&quot;23&quot;
PLATFORM_ID=&quot;platform:an23&quot;
PRETTY_NAME=&quot;Anolis OS 23&quot;
ANSI_COLOR=&quot;0;31&quot;
HOME_URL=&quot;https://openanolis.cn/&quot;
BUG_REPORT_URL=&quot;https://bugzilla.openanolis.cn/&quot;

[问题发生概率]：
必现

[复现步骤]：
1.git clone https://gitee.com/anolis/ltp.git --branch anck-5.10
2.cd ltp;export CFLAGS+=&quot;-fcommon&quot;;make autotools;./configure
3.make &amp;&amp; make install
4 cd /opt/ltp;./runltp  -f syscalls -s epoll_pwait03</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15045</commentid>
    <comment_count>1</comment_count>
    <who name="Banana">lhy01509690</who>
    <bug_when>2023-03-13 15:44:34 +0000</bug_when>
    <thetext>Anolis8-5.10-nightly-func-aarch64执行结果未fail

&lt;&lt;&lt;test_start&gt;&gt;&gt;
tag=epoll_pwait03 stime=1678639926
cmdline=&quot;epoll_pwait03&quot;
contacts=&quot;&quot;
analysis=exit
&lt;&lt;&lt;test_output&gt;&gt;&gt;
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
&lt;&lt;&lt;execution_status&gt;&gt;&gt;
initiation_status=&quot;ok&quot;
duration=8 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
&lt;&lt;&lt;test_end&gt;&gt;&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15055</commentid>
    <comment_count>2</comment_count>
    <who name="anolislw">wb-lw533035</who>
    <bug_when>2023-03-13 18:00:17 +0000</bug_when>
    <thetext> [Anolis 23][社区nightly &amp; ANCK-5.10-14-rc1][x86_64]环境下该case也存在同样问题</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15119</commentid>
    <comment_count>3</comment_count>
    <who name="yunmeng365524">sonice1755</who>
    <bug_when>2023-03-14 21:07:32 +0000</bug_when>
    <thetext>https://bugzilla.openanolis.cn/show_bug.cgi?id=4463

*** This bug has been marked as a duplicate of bug 4463 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>