Description of problem: Anolis23 x86_64 ECS环境,kernel-selftest nightly测试case:proc.proc-uptime-001触发core dumped Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: [root@qibo-anolis23-nightly-func-x86-1 proc]# ./proc-uptime-001 proc-uptime-001: proc-uptime-001.c:39: main: Assertion `i1 >= i0' failed. Aborted (core dumped) [root@qibo-anolis23-nightly-func-x86-1 proc]# coredumpctl list | grep proc-uptime Fri 2023-04-21 15:06:40 CST 1853852 0 0 SIGABRT present /tmp/tone/run/kernel-selftests/proc/proc-uptime-001 17.4K [root@qibo-anolis23-nightly-func-x86-1 proc]# coredumpctl info 1853852 PID: 1853852 (proc-uptime-001) UID: 0 (root) GID: 0 (root) Signal: 6 (ABRT) Timestamp: Fri 2023-04-21 15:06:40 CST (1min 25s ago) Command Line: ./proc-uptime-001 Executable: /tmp/tone/run/kernel-selftests/proc/proc-uptime-001 Control Group: /user.slice/user-0.slice/session-187.scope Unit: session-187.scope Slice: user-0.slice Session: 187 Owner UID: 0 (root) Boot ID: 2e464bd5daff4bb5853f2baf4e1877c5 Machine ID: 432698561ba6400e937f4027d8bde489 Hostname: qibo-anolis23-nightly-func-x86-1 Storage: /var/lib/systemd/coredump/core.proc-uptime-001.0.2e464bd5daff4bb5853f2baf4e1877c5.1853852.1682060800000000.zst (presen> Size on Disk: 17.4K Message: Process 1853852 (proc-uptime-001) of user 0 dumped core. Stack trace of thread 1853852: #0 0x00007f30510d3d9c __pthread_kill_implementation (libc.so.6 + 0x88d9c) #1 0x00007f3051083926 raise (libc.so.6 + 0x38926) #2 0x00007f305106d7fc abort (libc.so.6 + 0x227fc) #3 0x00007f305106d71b __assert_fail_base.cold (libc.so.6 + 0x2271b) #4 0x00007f305107c636 __assert_fail (libc.so.6 + 0x31636) #5 0x0000000000401138 n/a (/tmp/tone/run/kernel-selftests/proc/proc-uptime-001 + 0x1138) ELF object binary architecture: AMD x86-64 Expected results: case pass Additional info: [root@qibo-anolis23-nightly-func-x86-1 proc]# uname -r 5.10.134-85.git.cccb0b9b05af.an23.x86_64 [root@qibo-anolis23-nightly-func-x86-1 proc]# cat /etc/anolis-release Anolis OS release 23 [root@qibo-anolis23-nightly-func-x86-1 proc]# cat /proc/cmdline BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.10.134-85.git.cccb0b9b05af.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 proc]# 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 ht syscal l nx pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetc h cpuid_fault invpcid_single ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512 dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves wbnoinvd arat avx512vbmi pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcnt dq 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 [root@qibo-anolis23-nightly-func-x86-1 proc]# [root@qibo-anolis23-nightly-func-x86-1 proc]# rpm -q glibc glibc-2.36-3.an23.x86_64 [root@qibo-anolis23-nightly-func-x86-1 proc]# rpm -qa| grep glibc glibc-common-2.36-3.an23.x86_64 glibc-gconv-extra-2.36-3.an23.x86_64 glibc-minimal-langpack-2.36-3.an23.x86_64 glibc-2.36-3.an23.x86_64 glibc-devel-2.36-3.an23.x86_64 glibc-static-2.36-3.an23.x86_64 [root@qibo-anolis23-nightly-func-x86-1 proc]# yum info glibc Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:28:42 ago on Fri Apr 21 14:44:18 2023. Installed Packages Name : glibc Version : 2.36 Release : 3.an23 Architecture : x86_64 Size : 6.5 M Source : glibc-2.36-3.an23.src.rpm Repository : @System From repo : BaseOS Summary : The GNU libc libraries URL : http://www.gnu.org/software/glibc/ License : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv2+ with exceptions and BSD and Inner-Net and ISC and Public : Domain and GFDL Description : The glibc package contains standard libraries which are used by : multiple programs on the system. In order to save disk space and : memory, as well as to make upgrading easier, common system code is : kept in one place and shared between programs. This particular package : contains the most important sets of shared libraries: the standard C : library and the standard math library. Without these two libraries, a
清帮忙分析一下,当前nightly环境能稳定复现。如果要环境请钉钉联系。
补充信息: arm上可通过,nightly目前依然失败
上游已知问题,nohz的情况下,idle time有概率回退 经过讨论,tglx认为该数字本来就不保证单调递增,讨论详见https://lore.kernel.org/lkml/87357q228f.ffs@tglx/ 后来进了一组patch,把该selftest的idle time递增断言给删了 https://lore.kernel.org/lkml/20230222144649.624380-8-frederic@kernel.org/ 故by design