memcg_stat_rss from controllers in ubuntu_ltp failed (Process ### exited with 1 after warm up)

Bug #1837035 reported by Po-Hsu Lin
10
This bug affects 2 people
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/testcases/bin/memcg_stat_rss.sh: 168: kill: No such process

memcg_stat_rss 4 TFAIL: Process 1845 exited with 1 after warm up

<<<test_start>>>
tag=memcg_stat_rss stime=1563448062
cmdline="memcg_stat_rss.sh"
contacts=""
analysis=exit
<<<test_output>>>
memcg_stat_rss 1 TINFO: Starting test 1
/opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 168: kill: No such process

memcg_stat_rss 4 TFAIL: Process 1845 exited with 1 after warm up
memcg_stat_rss 5 TINFO: Starting test 5
/opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 6 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 8 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 10 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 12 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 168: kill: No such process

memcg_stat_rss 12 TFAIL: Process 1948 exited with 1 after warm up
memcg_stat_rss 13 TINFO: Starting test 10
/opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 13 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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_status>>>
initiation_status="ok"
duration=11 termination_type=exited termination_id=1 corefile=no
cutime=20 cstime=7
<<<test_end>>>

Steps to run this test:
  git clone --depth=1 https://github.com/linux-test-project/ltp.git
  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-5.0.0-21-generic 5.0.0-21.22
ProcVersionSignature: User Name 5.0.0-21.22-generic 5.0.15
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=/boot/vmlinuz-5.0.0-21-generic root=UUID=7b91a2b8-2e02-407e-a51d-766f6d969020 ro
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-21-generic N/A
 linux-backports-modules-5.0.0-21-generic N/A
 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.:bvr1.8.2:bd08/17/2011:svnDellInc.:pnPowerEdgeR310:pvr:rvnDellInc.:rn05XKKK:rvrA05:cvnDellInc.:ct23:cvr:
dmi.product.name: PowerEdge R310
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: 5.0 sru-20190701 ubuntu-ltp
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (4.6 KiB)

If you run the test again on the same node, it will pass:
<<<test_start>>>
tag=memcg_stat_rss stime=1563449251
cmdline="memcg_stat_rss.sh"
contacts=""
analysis=exit
<<<test_output>>>
memcg_stat_rss 1 TINFO: Starting test 1
/opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 6 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
memcg_stat_rss 8 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
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/testcases/...

Read more...

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu Disco):
status: New → Confirmed
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: memcg_stat_rss from controllers in ubuntu_ltp failed with D i386

Timeout on s390x zVM (kernel04), passed on s390x LPAR:
 startup='Thu Oct 24 09:06:57 2019'
 memcg_stat_rss 1 TINFO: Starting test 1
 /opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
 memcg_stat_rss 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_stat_rss 1 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_stat_rss 1 TINFO: Warming up pid: 20456
 memcg_stat_rss 1 TINFO: Process is still here after warm up: 20456
 memcg_stat_rss 1 TPASS: rss is 135168 as expected
 memcg_stat_rss 2 TINFO: Starting test 2
 /opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
 memcg_stat_rss 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_stat_rss 2 TINFO: Running memcg_process --mmap-file -s 4096
 memcg_stat_rss 2 TINFO: Warming up pid: 20479
 memcg_stat_rss 2 TINFO: Process is still here after warm up: 20479
 memcg_stat_rss 2 TPASS: rss is 0 as expected
 memcg_stat_rss 3 TINFO: Starting test 3
 /opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
 memcg_stat_rss 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_stat_rss 3 TINFO: Running memcg_process --shm -k 3 -s 4096
 memcg_stat_rss 3 TINFO: Warming up pid: 20499
 memcg_stat_rss 3 TINFO: Process is still here after warm up: 20499
 memcg_stat_rss 3 TPASS: rss is 0 as expected
 memcg_stat_rss 4 TINFO: Starting test 4
 /opt/ltp/testcases/bin/memcg_stat_rss.sh: 522: echo: echo: I/O error
 memcg_stat_rss 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_stat_rss 4 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
 memcg_stat_rss 4 TINFO: Warming up pid: 20521
 memcg_stat_rss 4 TINFO: Process is still here after warm up: 20521
 memcg_stat_rss 4 TBROK: timeouted on memory.usage_in_bytes
 tag=memcg_stat_rss stime=1571904417 dur=14 exit=exited stat=2 core=no cu=3 cs=10

summary: memcg_stat_rss from controllers in ubuntu_ltp failed with D i386
+ (timeout with D s390x zVM)
tags: added: sru-20191021
tags: added: s390x
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: memcg_stat_rss from controllers in ubuntu_ltp failed with D i386 (timeout with D s390x zVM)

This failure can be found on B-AWS-FIPS 4.15.0-2015.15-aws-fips with instance c5.large as well.

summary: - memcg_stat_rss from controllers in ubuntu_ltp failed with D i386
- (timeout with D s390x zVM)
+ memcg_stat_rss from controllers in ubuntu_ltp failed
tags: added: 4.15 aws bionic
Po-Hsu Lin (cypressyew)
no longer affects: linux-aws (Ubuntu Disco)
no longer affects: linux (Ubuntu Disco)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: memcg_stat_rss from controllers in ubuntu_ltp failed

It's failing with:
memcg_stat_rss 7 TFAIL: rss is 135168, 0 expected

On 5.0.0-1050.55-oem-osp1 with node amaura

tags: added: sru-20200406
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This can be found on Oracle 4.15 VM.Standard2.1 passed on VM.Standard2.16

tags: added: sru-20200608
tags: added: oracle
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This will timeout on B-4.15 s390x zVM (passed on s390x LPAR):
 memcg_stat_rss 4 TINFO: Starting test 4
 sh: echo: I/O error
 memcg_stat_rss 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_stat_rss 4 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
 memcg_stat_rss 4 TINFO: Warming up pid: 33885
 memcg_stat_rss 4 TINFO: Process is still here after warm up: 33885
 memcg_stat_rss 4 TBROK: timeouted on memory.usage_in_bytes

tags: added: sru-20200921
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on B-5.4 ARM64

 memcg_stat_rss 4 TINFO: Starting test 4
 sh: echo: I/O error
 memcg_stat_rss 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_stat_rss 4 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
 memcg_stat_rss 4 TINFO: Warming up pid: 50880
 memcg_process: shmget() failed: Invalid argument
 /opt/ltp/testcases/bin/memcg_stat_rss.sh: 168: kill: No such process

 memcg_stat_rss 4 TFAIL: Process 50880 exited with 1 after warm up

tags: added: arm64
tags: added: 5.4 focal
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :
Download full text (7.5 KiB)

failed on Bionic/azure-4.15 : 4.15.0-1097.107 : amd64

149. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 1 TINFO: Starting test 1
150. 10/09 03:14:32 DEBUG| utils:0153| [stdout] sh: echo: I/O error
151. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
152. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 1 TINFO: Running memcg_process --mmap-anon -s 135168
153. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 1 TINFO: Warming up pid: 6204
154. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 1 TINFO: Process is still here after warm up: 6204
155. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 1 TPASS: rss is 135168 as expected
156. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 2 TINFO: Starting test 2
157. 10/09 03:14:32 DEBUG| utils:0153| [stdout] sh: echo: I/O error
158. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 2 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
159. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 2 TINFO: Running memcg_process --mmap-file -s 4096
160. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 2 TINFO: Warming up pid: 6227
161. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 2 TINFO: Process is still here after warm up: 6227
162. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 2 TPASS: rss is 0 as expected
163. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 3 TINFO: Starting test 3
164. 10/09 03:14:32 DEBUG| utils:0153| [stdout] sh: echo: I/O error
165. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
166. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 3 TINFO: Running memcg_process --shm -k 3 -s 4096
167. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 3 TINFO: Warming up pid: 6256
168. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 3 TINFO: Process is still here after warm up: 6256
169. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 3 TPASS: rss is 0 as expected
170. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 4 TINFO: Starting test 4
171. 10/09 03:14:32 DEBUG| utils:0153| [stdout] sh: echo: I/O error
172. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 4 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
173. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 4 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
174. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 4 TINFO: Warming up pid: 6284
175. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 4 TINFO: Process is still here after warm up: 6284
176. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 4 TPASS: rss is 135168 as expected
177. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 5 TINFO: Starting test 5
178. 10/09 03:14:32 DEBUG| utils:0153| [stdout] sh: echo: I/O error
179. 10/09 03:14:32 DEBUG| utils:0153| [stdout] memcg_stat_rss 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
180. 10/09 03:14:32 DEBUG| utils:0153| [stdou...

Read more...

tags: added: azure
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on Groovy/linux 5.8.0-31.33

tags: added: 5.8 groovy sru-20201109
Revision history for this message
Francis Ginther (fginther) wrote :

Seen with linux-oracle 4.15.0-1065.73.

tags: added: sru-20210125
tags: added: sru-20210315
tags: added: sru-20210412
tags: added: sru-20210531
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed a variation of this in B/aws-5.4, cycle sru-20210621 :

18:43:32 DEBUG| [stdout] memcg_stat_rss 9 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
18:43:32 DEBUG| [stdout] memcg_stat_rss 9 TINFO: Warming up pid: 64876
18:43:32 DEBUG| [stdout] memcg_process: shmget() failed: Invalid argument
18:43:32 DEBUG| [stdout] /opt/ltp/testcases/bin/memcg_stat_rss.sh: 223: kill: No such process
18:43:32 DEBUG| [stdout]
18:43:32 DEBUG| [stdout] memcg_stat_rss 9 TFAIL: Process 64876 exited with 1 after warm up
18:43:32 DEBUG| [stdout] memcg_stat_rss 10 TINFO: Running memcg_process --mmap-lock1 -s 135168
18:43:32 DEBUG| [stdout] memcg_stat_rss 10 TINFO: Warming up pid: 64888
18:43:32 DEBUG| [stdout] memcg_stat_rss 10 TINFO: Process is still here after warm up: 64888
18:43:32 DEBUG| [stdout] memcg_stat_rss 10 TPASS: rss is 135168 as expected
18:43:32 DEBUG| [stdout] memcg_stat_rss 10 TPASS: rss is 0 as expected

tags: added: sru-20210621
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in B/aws (kernel 4.15), cycle sru-20210621.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

This testcase seems to be very flaky. With focal/linux 5.4.0-85.95 it failed on the arm64 dazzle node at the following subtest:

08:24:55 DEBUG| [stdout] memcg_stat_rss 6 TINFO: Running memcg_process --mmap-anon -s 135168
08:24:55 DEBUG| [stdout] memcg_stat_rss 6 TINFO: Warming up pid: 640968
08:24:55 DEBUG| [stdout] memcg_stat_rss 6 TINFO: Process is still here after warm up: 640968
08:24:55 DEBUG| [stdout] memcg_stat_rss 6 TPASS: rss is 135168 as expected
08:24:55 DEBUG| [stdout] memcg_stat_rss 6 TFAIL: rss is 135168, 0 expected

But with version 5.4.0-83.93 it failed on another subtest on the same node:

18:11:33 DEBUG| [stdout] memcg_stat_rss 1 TINFO: Running memcg_process --mmap-anon -s 135168
18:11:33 DEBUG| [stdout] memcg_stat_rss 1 TINFO: Warming up pid: 632606
18:11:33 DEBUG| [stdout] memcg_stat_rss 1 TINFO: Process is still here after warm up: 632606
18:11:33 DEBUG| [stdout] memcg_stat_rss 1 TFAIL: rss is 0, 135168 expected

And looking at other results sometimes the testcase completes successfully.

tags: added: sru-20210906
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote (last edit ):

Spotted also with hirsute/linux-realtime 5.11.0-27.28:

memcg_stat_rss 9 TINFO: Running memcg_process --mmap-anon --mmap-file --shm -s 135168
memcg_stat_rss 9 TINFO: Warming up pid: 139026
memcg_process: shmget() failed: Invalid argument
/opt/ltp/testcases/bin/memcg_stat_rss.sh: 263: kill: No such process

memcg_stat_rss 9 TFAIL: Process 139026 exited with 1 after warm up

The same issue is also affecting memcg_move_charge_at_immigrate:

  memcg_move_charge_at_immigrate_test 2 TINFO: Test move anon
  memcg_move_charge_at_immigrate_test 2 TINFO: Running memcg_process --mmap-anon --shm --mmap-file -
s 135168
  memcg_move_charge_at_immigrate_test 2 TINFO: Warming up pid: 139497
  memcg_process: shmget() failed: Invalid argument
  /opt/ltp/testcases/bin/memcg_move_charge_at_immigrate_test.sh: 263: kill: No such process

  memcg_move_charge_at_immigrate_test 2 TFAIL: Process 139497 exited with 1 after warm up

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-aws (Ubuntu):
status: New → Confirmed
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Also: 2022.01.03/bionic/linux-azure-5.4/5.4.0-1069.72~18.04.1

Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Also on: 2022.01.31/bionic/linux-azure-5.4/5.4.0-1070.73~18.04.1

tags: added: sru-20220131
Revision history for this message
Luke Nowakowski-Krijger (lukenow) wrote :

2022.02.21/bionic/linux/4.15.0-172.181 on dryden

tags: added: sru-20220221
Po-Hsu Lin (cypressyew)
tags: added: sru-20220808
Revision history for this message
Portia Stephens (portias) wrote :

Found on linux-xilinx-zynqmp-5.15.0-1020.24/arm64 on zcu106

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on B-aws-5.4 (5.4.0-1097.105~18.04.1) a1.medium, c5n.large, t3.medium

The memcg_move_charge_at_immigrate_test is failing with the same reason. These two are failing in pairs on this kernel this round.

Po-Hsu Lin (cypressyew)
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)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.