memcg_stat_rss from controllers in ubuntu_ltp failed (Process ### exited with 1 after warm up)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
linux-aws (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This issue was spotted on an i386 node "pepe" with Disco kernel,
it failed with:
memcg_process: shmget() failed: Invalid argument
/opt/ltp/
memcg_stat_rss 4 TFAIL: Process 1845 exited with 1 after warm up
<<<test_start>>>
tag=memcg_stat_rss stime=1563448062
cmdline=
contacts=""
analysis=exit
<<<test_output>>>
memcg_stat_rss 1 TINFO: Starting test 1
/opt/ltp/
memcg_stat_rss 1 TINFO: set /dev/memcg/
memcg_stat_rss 1 TINFO: Running memcg_process --mmap-anon -s 135168
memcg_stat_rss 1 TINFO: Warming up pid: 1784
memcg_stat_rss 1 TINFO: Process is still here after warm up: 1784
memcg_stat_rss 1 TPASS: rss is 135168 as expected
memcg_stat_rss 2 TINFO: Starting test 2
/opt/ltp/
memcg_stat_rss 2 TINFO: set /dev/memcg/
memcg_stat_rss 2 TINFO: Running memcg_process --mmap-file -s 4096
memcg_stat_rss 2 TINFO: Warming up pid: 1804
memcg_stat_rss 2 TINFO: Process is still here after warm up: 1804
memcg_stat_rss 2 TPASS: rss is 0 as expected
memcg_stat_rss 3 TINFO: Starting test 3
/opt/ltp/
memcg_stat_rss 3 TINFO: set /dev/memcg/
memcg_stat_rss 3 TINFO: Running memcg_process --shm -k 3 -s 4096
memcg_stat_rss 3 TINFO: Warming up pid: 1825
memcg_stat_rss 3 TINFO: Process is still here after warm up: 1825
memcg_stat_rss 3 TPASS: rss is 0 as expected
memcg_stat_rss 4 TINFO: Starting test 4
/opt/ltp/
memcg_stat_rss 4 TINFO: set /dev/memcg/
memcg_stat_rss 4 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
memcg_stat_rss 4 TINFO: Warming up pid: 1845
memcg_process: shmget() failed: Invalid argument
/opt/ltp/
memcg_stat_rss 4 TFAIL: Process 1845 exited with 1 after warm up
memcg_stat_rss 5 TINFO: Starting test 5
/opt/ltp/
memcg_stat_rss 5 TINFO: set /dev/memcg/
memcg_stat_rss 5 TINFO: Running memcg_process --mmap-lock1 -s 135168
memcg_stat_rss 5 TINFO: Warming up pid: 1858
memcg_stat_rss 5 TINFO: Process is still here after warm up: 1858
memcg_stat_rss 5 TPASS: rss is 135168 as expected
memcg_stat_rss 6 TINFO: Starting test 6
/opt/ltp/
memcg_stat_rss 6 TINFO: set /dev/memcg/
memcg_stat_rss 6 TINFO: Running memcg_process --mmap-anon -s 135168
memcg_stat_rss 6 TINFO: Warming up pid: 1878
memcg_stat_rss 6 TINFO: Process is still here after warm up: 1878
memcg_stat_rss 6 TPASS: rss is 135168 as expected
memcg_stat_rss 7 TPASS: rss is 0 as expected
memcg_stat_rss 8 TINFO: Starting test 7
/opt/ltp/
memcg_stat_rss 8 TINFO: set /dev/memcg/
memcg_stat_rss 8 TINFO: Running memcg_process --mmap-file -s 4096
memcg_stat_rss 8 TINFO: Warming up pid: 1901
memcg_stat_rss 8 TINFO: Process is still here after warm up: 1901
memcg_stat_rss 8 TPASS: rss is 0 as expected
memcg_stat_rss 9 TPASS: rss is 0 as expected
memcg_stat_rss 10 TINFO: Starting test 8
/opt/ltp/
memcg_stat_rss 10 TINFO: set /dev/memcg/
memcg_stat_rss 10 TINFO: Running memcg_process --shm -k 8 -s 4096
memcg_stat_rss 10 TINFO: Warming up pid: 1925
memcg_stat_rss 10 TINFO: Process is still here after warm up: 1925
memcg_stat_rss 10 TPASS: rss is 0 as expected
memcg_stat_rss 11 TPASS: rss is 0 as expected
memcg_stat_rss 12 TINFO: Starting test 9
/opt/ltp/
memcg_stat_rss 12 TINFO: set /dev/memcg/
memcg_stat_rss 12 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
memcg_stat_rss 12 TINFO: Warming up pid: 1948
memcg_process: shmget() failed: Invalid argument
/opt/ltp/
memcg_stat_rss 12 TFAIL: Process 1948 exited with 1 after warm up
memcg_stat_rss 13 TINFO: Starting test 10
/opt/ltp/
memcg_stat_rss 13 TINFO: set /dev/memcg/
memcg_stat_rss 13 TINFO: Running memcg_process --mmap-lock1 -s 135168
memcg_stat_rss 13 TINFO: Warming up pid: 1961
memcg_stat_rss 13 TINFO: Process is still here after warm up: 1961
memcg_stat_rss 13 TPASS: rss is 135168 as expected
memcg_stat_rss 14 TPASS: rss is 0 as expected
<<<execution_
initiation_
duration=11 termination_
cutime=20 cstime=7
<<<test_end>>>
Steps to run this test:
git clone --depth=1 https:/
cd ltp; make autotools; ./configure; make; sudo make install
echo "memcg_stat_rss memcg_stat_rss.sh" > /tmp/jobs
sudo /opt/ltp/runltp -f /tmp/jobs
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.0.0-21-generic i686
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 18 10:01 seq
crw-rw---- 1 root audio 116, 33 Jul 18 10:01 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Thu Jul 18 11:08:54 2019
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. PowerEdge R310
PciMultimedia:
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.178.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/17/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.8.2
dmi.board.name: 05XKKK
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: PowerEdge R310
dmi.sys.vendor: Dell Inc.
no longer affects: | linux-aws (Ubuntu Disco) |
no longer affects: | linux (Ubuntu Disco) |
tags: | added: 5.4 focal |
tags: | added: sru-20210315 |
tags: | added: sru-20210412 |
tags: | added: sru-20210531 |
tags: | added: sru-20220808 |
summary: |
- memcg_stat_rss from controllers in ubuntu_ltp failed + memcg_stat_rss from controllers in ubuntu_ltp failed (Process ### exited + with 1 after warm up) |
If you run the test again on the same node, it will pass: "memcg_ stat_rss. sh" testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ bin/memcg_ stat_rss. sh: 522: echo: echo: I/O error memory. use_hierarchy to 0 failed testcases/ ...
<<<test_start>>>
tag=memcg_stat_rss stime=1563449251
cmdline=
contacts=""
analysis=exit
<<<test_output>>>
memcg_stat_rss 1 TINFO: Starting test 1
/opt/ltp/
memcg_stat_rss 1 TINFO: set /dev/memcg/
memcg_stat_rss 1 TINFO: Running memcg_process --mmap-anon -s 135168
memcg_stat_rss 1 TINFO: Warming up pid: 2865
memcg_stat_rss 1 TINFO: Process is still here after warm up: 2865
memcg_stat_rss 1 TPASS: rss is 135168 as expected
memcg_stat_rss 2 TINFO: Starting test 2
/opt/ltp/
memcg_stat_rss 2 TINFO: set /dev/memcg/
memcg_stat_rss 2 TINFO: Running memcg_process --mmap-file -s 4096
memcg_stat_rss 2 TINFO: Warming up pid: 2885
memcg_stat_rss 2 TINFO: Process is still here after warm up: 2885
memcg_stat_rss 2 TPASS: rss is 0 as expected
memcg_stat_rss 3 TINFO: Starting test 3
/opt/ltp/
memcg_stat_rss 3 TINFO: set /dev/memcg/
memcg_stat_rss 3 TINFO: Running memcg_process --shm -k 3 -s 4096
memcg_stat_rss 3 TINFO: Warming up pid: 2905
memcg_stat_rss 3 TINFO: Process is still here after warm up: 2905
memcg_stat_rss 3 TPASS: rss is 0 as expected
memcg_stat_rss 4 TINFO: Starting test 4
/opt/ltp/
memcg_stat_rss 4 TINFO: set /dev/memcg/
memcg_stat_rss 4 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
memcg_stat_rss 4 TINFO: Warming up pid: 2925
memcg_stat_rss 4 TINFO: Process is still here after warm up: 2925
memcg_stat_rss 4 TPASS: rss is 135168 as expected
memcg_stat_rss 5 TINFO: Starting test 5
/opt/ltp/
memcg_stat_rss 5 TINFO: set /dev/memcg/
memcg_stat_rss 5 TINFO: Running memcg_process --mmap-lock1 -s 135168
memcg_stat_rss 5 TINFO: Warming up pid: 2947
memcg_stat_rss 5 TINFO: Process is still here after warm up: 2947
memcg_stat_rss 5 TPASS: rss is 135168 as expected
memcg_stat_rss 6 TINFO: Starting test 6
/opt/ltp/
memcg_stat_rss 6 TINFO: set /dev/memcg/
memcg_stat_rss 6 TINFO: Running memcg_process --mmap-anon -s 135168
memcg_stat_rss 6 TINFO: Warming up pid: 2967
memcg_stat_rss 6 TINFO: Process is still here after warm up: 2967
memcg_stat_rss 6 TPASS: rss is 135168 as expected
memcg_stat_rss 7 TPASS: rss is 0 as expected
memcg_stat_rss 8 TINFO: Starting test 7
/opt/ltp/
memcg_stat_rss 8 TINFO: set /dev/memcg/
memcg_stat_rss 8 TINFO: Running memcg_process --mmap-file -s 4096
memcg_stat_rss 8 TINFO: Warming up pid: 2990
memcg_stat_rss 8 TINFO: Process is still here after warm up: 2990
memcg_stat_rss 8 TPASS: rss is 0 as expected
memcg_stat_rss 9 TPASS: rss is 0 as expected
memcg_stat_rss 10 TINFO: Starting test 8
/opt/ltp/