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+="-fcommon";make autotools;./configure 3.make && 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....... <<<test_start>>> tag=epoll_pwait02 stime=1678353250 cmdline="epoll_pwait02" contacts="" analysis=exit <<<test_output>>> 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 <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=0 <<<test_end>>> 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
对比在Anolis8-5.10-x86_64环境下该case是pass的 ---------------------------------- { "testcase": "epoll_pwait02", "value": "Pass" },
*** Bug 4497 has been marked as a duplicate of this bug. ***
*** Bug 4495 has been marked as a duplicate of this bug. ***
*** Bug 4496 has been marked as a duplicate of this bug. ***
[Anolis23.1][RC1][loongarch64] 也存在相同问题 软件环境: #内核版本: # uname -r 5.10.134-16.2_rc1.an23.loongarch64 #系统版本 # 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/" 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/ <<<test_start>>> tag=epoll_pwait02 stime=1705596988 cmdline="epoll_pwait02" contacts="" analysis=exit <<<test_output>>> 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 <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=0 <<<test_end>>>