memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E/F/G/I

Bug #1847982 reported by Po-Hsu Lin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Krzysztof Kozlowski
linux-azure (Ubuntu)
Invalid
Undecided
Unassigned
Disco
Won't Fix
Undecided
Unassigned
linux-kvm (Ubuntu)
Invalid
Undecided
Unassigned
Disco
Won't Fix
Undecided
Unassigned
linux-oracle (Ubuntu)
Invalid
Undecided
Unassigned
Disco
Won't Fix
Undecided
Unassigned

Bug Description

Issue found on Azure Disco kernel 5.0.0-1023.24

Failed on instance:
  * Standard_GS2
  * Standard_D16s_v3

Passed on instance:
  * Standard_F32s_v2
  * Standard_L8s_v2
  * Standard_L4s
  * Standard_L8s_v2

(Although it has passed on these instances, but they all have the same test output, just the pids are different)

Test failed with:
  /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error

 tag=memcg_subgroup_charge stime=1570239843 dur=3 exit=exited stat=1 core=no cu=7 cs=11
 startup='Sat Oct 5 01:44:03 2019'
 memcg_subgroup_charge 1 TINFO: Starting test 1
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 1 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 1 TINFO: Warming up pid: 119041
 memcg_subgroup_charge 1 TINFO: Process is still here after warm up: 119041
 memcg_subgroup_charge 1 TPASS: rss is 135168 as expected
 memcg_subgroup_charge 2 TPASS: rss is 0 as expected
 memcg_subgroup_charge 3 TINFO: Starting test 2
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 3 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 3 TINFO: Warming up pid: 119071
 memcg_subgroup_charge 3 TINFO: Process is still here after warm up: 119071
 memcg_subgroup_charge 3 TFAIL: rss is 0, 135168 expected
 memcg_subgroup_charge 4 TPASS: rss is 0 as expected
 memcg_subgroup_charge 5 TINFO: Starting test 3
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 5 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 5 TINFO: Warming up pid: 119094
 memcg_subgroup_charge 5 TINFO: Process is still here after warm up: 119094
 memcg_subgroup_charge 5 TPASS: rss is 135168 as expected
 memcg_subgroup_charge 6 TPASS: rss is 0 as expected

Po-Hsu Lin (cypressyew)
tags: added: 5.0 amd64 disco sru-20190930 ubuntu-ltp
Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue found on D-kvm:

 startup='Fri Nov 15 03:59:55 2019'
 memcg_subgroup_charge 1 TINFO: Starting test 1
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 1 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 1 TINFO: Warming up pid: 712
 memcg_subgroup_charge 1 TINFO: Process is still here after warm up: 712
 memcg_subgroup_charge 1 TPASS: rss is 135168 as expected
 memcg_subgroup_charge 2 TPASS: rss is 0 as expected
 memcg_subgroup_charge 3 TINFO: Starting test 2
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 3 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 3 TINFO: Warming up pid: 738
 memcg_subgroup_charge 3 TINFO: Process is still here after warm up: 738
 memcg_subgroup_charge 3 TPASS: rss is 135168 as expected
 memcg_subgroup_charge 4 TPASS: rss is 0 as expected
 memcg_subgroup_charge 5 TINFO: Starting test 3
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 5 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 5 TINFO: Warming up pid: 761
 memcg_subgroup_charge 5 TINFO: Process is still here after warm up: 761
 memcg_subgroup_charge 5 TBROK: timeouted on memory.usage_in_bytes
 tag=memcg_subgroup_charge stime=1573790395 dur=13 exit=exited stat=2 core=no cu=33 cs=22

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

Can be found on D-Oracle as well.

tags: added: oracle
summary: - memcg_subgroup_charge from controllers in ubuntu_ltp failed on D-Azure
+ memcg_subgroup_charge from controllers in ubuntu_ltp failed on D
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: memcg_subgroup_charge from controllers in ubuntu_ltp failed on D

Spotted on E-5.3 AWS ARM64 instance a1.large, passed on the other 2 ARM64 instances.

tags: added: 5.3 aws eoan sru-20191202
tags: added: arm64
summary: - memcg_subgroup_charge from controllers in ubuntu_ltp failed on D
+ memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E

Didn't see this on E-AWS 5.3.0-1024.26 ARM64

Steve Langasek (vorlon)
Changed in linux-azure (Ubuntu Disco):
status: New → Won't Fix
Changed in linux-kvm (Ubuntu Disco):
status: New → Won't Fix
Changed in linux-oracle (Ubuntu Disco):
status: New → Won't Fix
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Found on F 5.4.0-49.53 node amaura

 startup='Tue Sep 22 01:41:38 2020'
 memcg_subgroup_charge 1 TINFO: Starting test 1
 /opt/ltp/testcases/bin/memcg_subgroup_charge.sh: 522: echo: echo: I/O error
 memcg_subgroup_charge 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 1 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 1 TINFO: Warming up pid: 961276
 memcg_subgroup_charge 1 TINFO: Process is still here after warm up: 961276
 memcg_subgroup_charge 1 TBROK: timeouted on memory.usage_in_bytes
 tag=memcg_subgroup_charge stime=1600738898 dur=12 exit=exited stat=2 core=no cu=7 cs=5

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

BTW for comment above (comment #5)
it's the Focal 5.4 lowlatency kernel, the same node passed with the focal generic kernel

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

Spotted on B-5.4 ARM64
 memcg_subgroup_charge 1 TINFO: Starting test 1
 sh: echo: I/O error
 memcg_subgroup_charge 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 1 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 1 TINFO: Warming up pid: 51116
 memcg_subgroup_charge 1 TINFO: Process is still here after warm up: 51116
 memcg_subgroup_charge 1 TFAIL: rss is 0, 135168 expected

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

This cycle on B-5.4 ARM64 node appleton:
 startup='Fri Dec 18 06:32:54 2020'
 memcg_subgroup_charge 1 TINFO: Starting test 1
 sh: echo: I/O error
 memcg_subgroup_charge 1 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 1 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 1 TINFO: Warming up pid: 48615
 memcg_subgroup_charge 1 TINFO: Process is still here after warm up: 48615
 memcg_subgroup_charge 1 TPASS: rss is 135168 as expected
 memcg_subgroup_charge 2 TPASS: rss is 0 as expected
 memcg_subgroup_charge 3 TINFO: Starting test 2
 sh: echo: I/O error
 memcg_subgroup_charge 3 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 3 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 3 TINFO: Warming up pid: 48640
 memcg_subgroup_charge 3 TINFO: Process is still here after warm up: 48640
 memcg_subgroup_charge 3 TPASS: rss is 135168 as expected
 memcg_subgroup_charge 4 TPASS: rss is 0 as expected
 memcg_subgroup_charge 5 TINFO: Starting test 3
 sh: echo: I/O error
 memcg_subgroup_charge 5 TINFO: set /dev/memcg/memory.use_hierarchy to 0 failed
 memcg_subgroup_charge 5 TINFO: Running memcg_process --mmap-anon -s 135168
 memcg_subgroup_charge 5 TINFO: Warming up pid: 48667
 memcg_subgroup_charge 5 TINFO: Process is still here after warm up: 48667
 memcg_subgroup_charge 5 TBROK: timeouted on memory.usage_in_bytes
 tag=memcg_subgroup_charge stime=1608273174 dur=14 exit=exited stat=2 core=no cu=24 cs=18

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

Found this on groovy:linux-kvm, cycle sru-20210315.

tags: added: groovy kvm
tags: added: sru-20210412
summary: - memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E
+ memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E/F/G
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E/F/G

Found on F-oem-5.10 5.10.0-1025.26-oem rumford

tags: added: fips
tags: added: 5.11 hirsute sru-20210510
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Observed in H/KVM, cycle sru-20210510.

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

Found on 5.11.0-1005.5 - intel
on node bavor (passed on spitfire)

Test timeout:
  memcg_subgroup_charge 1 TBROK: timed out on memory.usage_in_bytes

Need a manual test to see if we need a longer timeout for it.

tags: added: sru-20210531
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

memcg_subgroup_charge 3 TFAIL: rss is 0, 135168 expected

Found on focal/oracle 5.8.0-1032.33~20.04.1

Changed in ubuntu-kernel-tests:
assignee: nobody → Krzysztof Kozlowski (krzk)
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Sent fix to upstream (LTP) for:
memcg_subgroup_charge 3 TFAIL: rss is 0, 135168 expected

There might be here second/different issue reported (memcg_subgroup_charge 1 TBROK: timed out on memory.usage_in_bytes).

Changed in ubuntu-kernel-tests:
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux-azure (Ubuntu):
status: New → Confirmed
Changed in linux-kvm (Ubuntu):
status: New → Confirmed
Changed in linux-oracle (Ubuntu):
status: New → Confirmed
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Also found with focal/linux-hwe-5.11 5.11.0-20.21~20.04.1.

tags: added: hwe-5.11
tags: added: impish
summary: - memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E/F/G
+ memcg_subgroup_charge from controllers in ubuntu_ltp failed on D/E/F/G/I
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

v4 of patchset https://lists.linux.it/pipermail/ltp/2021-July/023764.html applied locally, so marking as fix-released.

Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
Changed in linux-azure (Ubuntu):
status: Confirmed → Invalid
Changed in linux-kvm (Ubuntu):
status: Confirmed → Invalid
Changed in linux-oracle (Ubuntu):
status: Confirmed → Invalid
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.