<?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>4463</bug_id>
          
          <creation_ts>2023-03-09 17:20:14 +0000</creation_ts>
          <short_desc>[Anolis23][5.10][x86_64[nightly] ltp测试套syscalls/epoll_pwait02测试失败epoll_pwait02.c:30: TFAIL: do_epoll_pwait() returned -1, expected 1</short_desc>
          <delta_ts>2024-01-29 10:08:33 +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>NEW</bug_status>
          <resolution></resolution>
          
          
          <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="anolislw">wb-lw533035</reporter>
          <assigned_to name="宁畅">hengqi.hq</assigned_to>
          <cc>lhy01509690</cc>
    
    
    <cc>mqaio</cc>
    
    
    <cc>qibo.qb</cc>
    
    
    <cc>songnannan</cc>
    
    
    <cc>sonice1755</cc>
    
    
    <cc>xuchunmei</cc>
    
    
    <cc>zhangjinglin</cc>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14941</commentid>
    <comment_count>0</comment_count>
    <who name="anolislw">wb-lw533035</who>
    <bug_when>2023-03-09 17:20:14 +0000</bug_when>
    <thetext>Description of problem:
Anolis23 5.10 x86_6 nightly ECS环境， ltp测试套syscalls/epoll_pwait02测试失败epoll_pwait02.c:30: TFAIL: do_epoll_pwait() returned -1, expected 1

Version-Release number of selected component (if applicable):
How reproducible:

Steps to Reproduce:
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_pwait02

Actual rTCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2023_03_09-17h_14m_10s.tconf
Running tests.......
&lt;&lt;&lt;test_start&gt;&gt;&gt;
tag=epoll_pwait02 stime=1678353250
cmdline=&quot;epoll_pwait02&quot;
contacts=&quot;&quot;
analysis=exit
&lt;&lt;&lt;test_output&gt;&gt;&gt;
incrementing stop
tst_test.c:1545: TINFO: Timeout per run is 0h 00m 30s
epoll_pwait_var.h:38: TINFO: Test epoll_pwait()
epoll_pwait02.c:27: TPASS: do_epoll_pwait() succeeded
epoll_pwait_var.h:40: TINFO: Test epoll_pwait2()
epoll_pwait02.c:30: TFAIL: do_epoll_pwait() returned -1, expected 1

Summary:
passed   1
failed   1
broken   0
skipped  0
warnings 0
&lt;&lt;&lt;execution_status&gt;&gt;&gt;
initiation_status=&quot;ok&quot;
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
&lt;&lt;&lt;test_end&gt;&gt;&gt;
INFO: ltp-pan reported some tests FAIL
LTP Version: 20220527-95-g96495fd58

       ###############################################################

            Done executing testcases.
            LTP Version:  20220527-95-g96495fd58
       ###############################################################


Expected results:
case pass

Additional info:
[root@qibo-anolis23-nightly-func-x86-1 ltp]# uname -r
5.10.134-4.git.68ae31977f38.an23.x86_64
[root@qibo-anolis23-nightly-func-x86-1 ltp]# cat /etc/anolis-release
Anolis OS release 23
[root@qibo-anolis23-nightly-func-x86-1 ltp]# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.10.134-4.git.68ae31977f38.an23.x86_64 root=UUID=ece72b7f-465b-433d-8b3b-e5fa53a04642 ro rhgb cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 quiet biosdevname=0 net.ifnames=0 console=tty0 console=ttyS0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 cgroup.memory=nokmem crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M
[root@qibo-anolis23-nightly-func-x86-1 ltp]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs           7.6G     0  7.6G   0% /dev/shm
tmpfs           3.1G  660K  3.1G   1% /run
/dev/vda1        40G   17G   24G  41% /
tmpfs           7.6G  1.4G  6.3G  18% /tmp
tmpfs           1.6G     0  1.6G   0% /run/user/0
[root@qibo-anolis23-nightly-func-x86-1 ltp]# free -g
               total        used        free      shared  buff/cache   available
Mem:              15           0          12           1           1          12
Swap:              0           0           0

[root@qibo-anolis23-nightly-func-x86-1 ltp]# lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         46 bits physical, 57 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               GenuineIntel
  BIOS Vendor ID:        Alibaba Cloud
  Model name:            Intel(R) Xeon(R) Platinum 8369B CPU @ 2.70GHz
    BIOS Model name:     pc-i440fx-2.1  CPU @ 0.0GHz
    BIOS CPU family:     1
    CPU family:          6
    Model:               106
    Thread(s) per core:  2
    Core(s) per socket:  2
    Socket(s):           1
    Stepping:            6
    BogoMIPS:            5399.99
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss h
                         t syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulq
                         dq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor
                         lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep
                         bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw
                          avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpc
                         lmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid fsrm arch_capabilities
Virtualization features:
  Hypervisor vendor:     KVM
  Virtualization type:   full
Caches (sum of all):
  L1d:                   96 KiB (2 instances)
  L1i:                   64 KiB (2 instances)
  L2:                    2.5 MiB (2 instances)
  L3:                    48 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-3
Vulnerabilities:
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Mmio stale data:       Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown
  Retbleed:              Not affected
  Spec store bypass:     Vulnerable
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Enhanced IBRS, RSB filling, PBRSB-eIBRS SW sequence
  Srbds:                 Not affected
  Tsx async abort:       Not affected</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14942</commentid>
    <comment_count>1</comment_count>
    <who name="anolislw">wb-lw533035</who>
    <bug_when>2023-03-09 17:22:00 +0000</bug_when>
    <thetext>对比在Anolis8-5.10-x86_64环境下该case是pass的
----------------------------------
 {
    &quot;testcase&quot;: &quot;epoll_pwait02&quot;,
    &quot;value&quot;: &quot;Pass&quot;
  },</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15117</commentid>
    <comment_count>2</comment_count>
    <who name="yunmeng365524">sonice1755</who>
    <bug_when>2023-03-14 21:04:11 +0000</bug_when>
    <thetext>*** Bug 4497 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15120</commentid>
    <comment_count>3</comment_count>
    <who name="yunmeng365524">sonice1755</who>
    <bug_when>2023-03-14 21:07:32 +0000</bug_when>
    <thetext>*** Bug 4495 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15122</commentid>
    <comment_count>4</comment_count>
    <who name="yunmeng365524">sonice1755</who>
    <bug_when>2023-03-14 21:08:22 +0000</bug_when>
    <thetext>*** Bug 4496 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25436</commentid>
    <comment_count>5</comment_count>
    <who name="zhangjinglin">zhangjinglin</who>
    <bug_when>2024-01-29 10:08:33 +0000</bug_when>
    <thetext>[Anolis23.1][RC1][loongarch64] 也存在相同问题

软件环境：
#内核版本：
# uname -r
5.10.134-16.2_rc1.an23.loongarch64

#系统版本
# 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;

iso下载:
https://build.openanolis.cn/kojifiles/output/anolis-23-20240111.16/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20240111.16.iso

安装源配置：
https://build.openanolis.cn/kojifiles/output/anolis-23-20240111.16/compose/os/loongarch64/os/

&lt;&lt;&lt;test_start&gt;&gt;&gt;
tag=epoll_pwait02 stime=1705596988
cmdline=&quot;epoll_pwait02&quot;
contacts=&quot;&quot;
analysis=exit
&lt;&lt;&lt;test_output&gt;&gt;&gt;
tst_test.c:1558: TINFO: Timeout per run is 0h 00m 30s
epoll_pwait_var.h:38: TINFO: Test epoll_pwait()
epoll_pwait02.c:27: TPASS: do_epoll_pwait() succeeded
epoll_pwait_var.h:40: TINFO: Test epoll_pwait2()
epoll_pwait02.c:30: TFAIL: do_epoll_pwait() returned -1, expected 1

Summary:
passed   1
failed   1
broken   0
skipped  0
warnings 0
&lt;&lt;&lt;execution_status&gt;&gt;&gt;
initiation_status=&quot;ok&quot;
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=0
&lt;&lt;&lt;test_end&gt;&gt;&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>