Bug 4847 - [Anolis23][x86_64][社区nightly] LTP测试套case:controllers/cgroup_core02执行失败
Summary: [Anolis23][x86_64][社区nightly] LTP测试套case:controllers/cgroup_core02执行失败
Status: NEW
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-04-27 16:45 UTC by anolislw
Modified: 2025-07-04 14:45 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2023-04-27 16:45:09 UTC
Description of problem:
anolis23 x86_64 ECS环境,LTP测试套case:controllers/cgroup_core02执行失败.

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

Steps to Reproduce:
1)git clone https://github.com/linux-test-project/ltp.git
  cd ltp
  git checkout 20230315
  make autotools
  ./configure
  make && make install
2)cd /opt/ltp
  ./runltp  -f controllers -s cgroup_core02

Actual results:
Running tests.......
<<<test_start>>>
tag=cgroup_core02 stime=1682584811
cmdline="cgroup_core02"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1558: TINFO: Timeout per run is 0h 00m 30s
cgroup_core02.c:82: TFAIL: test_lesser_ns_open failed

HINT: You _MAY_ be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e57457641613

HINT: You _MAY_ be vulnerable to CVE(s):

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4197

Summary:
passed   0
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-692-g147bb6499

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

            Done executing testcases.
            LTP Version:  20220527-692-g147bb6499
       ###############################################################


Expected results:
case pass

Additional info:
[root@qibo-anolis23-nightly-func-x86-1 ltp]# uname -r
5.10.134-91.git.a06e25de3491.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]# free -g
               total        used        free      shared  buff/cache   available
Mem:              15           0          12           0           1          14
Swap:              0           0           0
[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  720K  3.1G   1% /run
/dev/vda1        40G   14G   26G  35% /
/dev/vdc1        98G  3.3G   90G   4% /tmp
tmpfs           1.6G     0  1.6G   0% /run/user/0
[root@qibo-anolis23-nightly-func-x86-1 ltp]# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/boot/vmlinuz-5.10.134-91.git.a06e25de3491.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]# 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 s
                         se2 ss ht syscall 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 3dnowprefetch cpuid_fault invpcid_single ibrs_enhanced fsg
                         sbase 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 vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopc
                         ntdq 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
Comment 1 Banana alibaba_cloud_group 2023-06-07 14:56:13 UTC
Anolis23 5.10内核 nightly arm环境有相同问题

<<<test_start>>>
tag=cgroup_core02 stime=1686074476
cmdline="cgroup_core02"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1558: TINFO: Timeout per run is 0h 00m 30s
cgroup_core02.c:82: TFAIL: test_lesser_ns_open failed

HINT: You _MAY_ be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e57457641613

HINT: You _MAY_ be vulnerable to CVE(s):

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4197

Summary:
passed   0
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>>>
Comment 2 gaohongmei 2025-07-04 14:30:35 UTC
6.6.88  x86环境,ltp测试controllers/cgroup_core02执行失败

# uname -r
6.6.88-cbp.git.3ccff695e.an23.x86_64

# cat /etc/anolis-release 
Anolis OS release 23

# ./runltp -f controllers -s cgroup_core02
Running tests.......
<<<test_start>>>
tag=cgroup_core02 stime=1751610377
cmdline="cgroup_core02"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1741: TINFO: LTP version: 20220527-1548-g3a89553af
tst_test.c:1625: TINFO: Timeout per run is 0h 00m 30s
cgroup_core02.c:82: TFAIL: test_lesser_ns_open failed

HINT: You _MAY_ be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e57457641613

HINT: You _MAY_ be vulnerable to CVE(s):

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4197

Summary:
passed   0
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-1548-g3a89553af
Comment 3 gaohongmei 2025-07-04 14:45:21 UTC
6.6.88-cbp.git.3ccff695e.an23.x86_64内核,ltp测试套cve/cve-2021-4197_2也是这个报错

# ./runltp -f cve -s cve-2021-4197_2
<<<test_start>>>
tag=cve-2021-4197_2 stime=1751611350
cmdline="cgroup_core02"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:1741: TINFO: LTP version: 20220527-1548-g3a89553af
tst_test.c:1625: TINFO: Timeout per run is 0h 00m 30s
cgroup_core02.c:82: TFAIL: test_lesser_ns_open failed

HINT: You _MAY_ be missing kernel fixes:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e57457641613

HINT: You _MAY_ be vulnerable to CVE(s):

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4197

Summary:
passed   0
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-1548-g3a89553af