← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2106102] [NEW] memcontrol03 from ubuntu_ltp_controller fails with memory.current distribution deviating from expected proportions

 

Public bug reported:

Failure observed on TF arm-server with oracular:linux-lowlatency
6.11.0-1012.13 (2025.03.17).

Log output:

      ---(snip)---
      tst_test.c:1833: TINFO: === Testing on xfs ===
      tst_test.c:1170: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
      tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=xfs flags=0
      memcontrol03.c:144: TINFO: Child 92595 in leaf_C: Allocating pagecache: 52428800
      memcontrol03.c:144: TINFO: Child 92596 in leaf_D: Allocating pagecache: 52428800
      memcontrol03.c:144: TINFO: Child 92597 in leaf_F: Allocating pagecache: 52428800
      memcontrol03.c:107: TINFO: Child 92598 in trunk_G: Allocating anon: 155189248
      memcontrol03.c:121: TPASS: Child 92598 exited
      memcontrol03.c:208: TPASS: Expect: (A/B memory.current=52822016) ~= 52428800
 (A)> memcontrol03.c:214: TPASS: Expect: (A/B/C memory.current=23134208) ~= 34603008
 (A)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=25165824) ~= 17825792
      memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
      memcontrol03.c:107: TINFO: Child 92599 in trunk_G: Allocating anon: 178257920
      memcontrol03.c:116: TPASS: Child 92599 killed by OOM
      memcontrol03.c:224: TPASS: Expect: (A/B memory.current=46661632) ~= 52428800
      tst_test.c:1833: TINFO: === Testing on btrfs ===
      tst_test.c:1170: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
      tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=btrfs flags=0
      memcontrol03.c:144: TINFO: Child 92624 in leaf_C: Allocating pagecache: 52428800
      memcontrol03.c:144: TINFO: Child 92625 in leaf_D: Allocating pagecache: 52428800
      memcontrol03.c:144: TINFO: Child 92626 in leaf_F: Allocating pagecache: 52428800
      memcontrol03.c:107: TINFO: Child 92627 in trunk_G: Allocating anon: 155189248
      memcontrol03.c:121: TPASS: Child 92627 exited
 (B)> memcontrol03.c:208: TFAIL: Expect: (A/B memory.current=38469632) ~= 52428800
 (A)> memcontrol03.c:214: TFAIL: Expect: (A/B/C memory.current=19070976) ~= 34603008
 (A)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=18939904) ~= 17825792
      memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
      memcontrol03.c:107: TINFO: Child 92628 in trunk_G: Allocating anon: 178257920
      memcontrol03.c:116: TPASS: Child 92628 killed by OOM
 (B)> memcontrol03.c:224: TFAIL: Expect: (A/B memory.current=38404096) ~= 52428800

There seems to be two issues that led to the test case failure:
* (A). proportional protection seems not to work (in the above log, the results were out of expected range only for testing on btrfs)
* (B). on btrfs, memory reclaimed more than expected

Looking back at the test history, issue (A) seems to have been present
at least since 2024.10.28, which is the oldest cycle for which I can
search the logs. It just hadn't been caught due to *lenient* criteria
until now.

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: oracular ubuntu-ltp-controllers

** Description changed:

  Failure observed on TF arm-server with oracular:linux-lowlatency
  6.11.0-1012.13 (2025.03.17).
  
  Log output:
  
-       ---(snip)---
-       tst_test.c:1833: TINFO: === Testing on xfs ===
-       tst_test.c:1170: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
-       tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=xfs flags=0
-       memcontrol03.c:144: TINFO: Child 92595 in leaf_C: Allocating pagecache: 52428800
-       memcontrol03.c:144: TINFO: Child 92596 in leaf_D: Allocating pagecache: 52428800
-       memcontrol03.c:144: TINFO: Child 92597 in leaf_F: Allocating pagecache: 52428800
-       memcontrol03.c:107: TINFO: Child 92598 in trunk_G: Allocating anon: 155189248
-       memcontrol03.c:121: TPASS: Child 92598 exited
-       memcontrol03.c:208: TPASS: Expect: (A/B memory.current=52822016) ~= 52428800
- (*1)> memcontrol03.c:214: TPASS: Expect: (A/B/C memory.current=23134208) ~= 34603008
- (*1)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=25165824) ~= 17825792
-       memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
-       memcontrol03.c:107: TINFO: Child 92599 in trunk_G: Allocating anon: 178257920
-       memcontrol03.c:116: TPASS: Child 92599 killed by OOM
-       memcontrol03.c:224: TPASS: Expect: (A/B memory.current=46661632) ~= 52428800
-       tst_test.c:1833: TINFO: === Testing on btrfs ===
-       tst_test.c:1170: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
-       tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=btrfs flags=0
-       memcontrol03.c:144: TINFO: Child 92624 in leaf_C: Allocating pagecache: 52428800
-       memcontrol03.c:144: TINFO: Child 92625 in leaf_D: Allocating pagecache: 52428800
-       memcontrol03.c:144: TINFO: Child 92626 in leaf_F: Allocating pagecache: 52428800
-       memcontrol03.c:107: TINFO: Child 92627 in trunk_G: Allocating anon: 155189248
-       memcontrol03.c:121: TPASS: Child 92627 exited
- (*2)> memcontrol03.c:208: TFAIL: Expect: (A/B memory.current=38469632) ~= 52428800
- (*1)> memcontrol03.c:214: TFAIL: Expect: (A/B/C memory.current=19070976) ~= 34603008                                    
- (*1)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=18939904) ~= 17825792
-       memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
-       memcontrol03.c:107: TINFO: Child 92628 in trunk_G: Allocating anon: 178257920
-       memcontrol03.c:116: TPASS: Child 92628 killed by OOM
- (*2)> memcontrol03.c:224: TFAIL: Expect: (A/B memory.current=38404096) ~= 52428800
- 
+       ---(snip)---
+       tst_test.c:1833: TINFO: === Testing on xfs ===
+       tst_test.c:1170: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
+       tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=xfs flags=0
+       memcontrol03.c:144: TINFO: Child 92595 in leaf_C: Allocating pagecache: 52428800
+       memcontrol03.c:144: TINFO: Child 92596 in leaf_D: Allocating pagecache: 52428800
+       memcontrol03.c:144: TINFO: Child 92597 in leaf_F: Allocating pagecache: 52428800
+       memcontrol03.c:107: TINFO: Child 92598 in trunk_G: Allocating anon: 155189248
+       memcontrol03.c:121: TPASS: Child 92598 exited
+       memcontrol03.c:208: TPASS: Expect: (A/B memory.current=52822016) ~= 52428800
+  (A)> memcontrol03.c:214: TPASS: Expect: (A/B/C memory.current=23134208) ~= 34603008
+  (A)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=25165824) ~= 17825792
+       memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
+       memcontrol03.c:107: TINFO: Child 92599 in trunk_G: Allocating anon: 178257920
+       memcontrol03.c:116: TPASS: Child 92599 killed by OOM
+       memcontrol03.c:224: TPASS: Expect: (A/B memory.current=46661632) ~= 52428800
+       tst_test.c:1833: TINFO: === Testing on btrfs ===
+       tst_test.c:1170: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
+       tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=btrfs flags=0
+       memcontrol03.c:144: TINFO: Child 92624 in leaf_C: Allocating pagecache: 52428800
+       memcontrol03.c:144: TINFO: Child 92625 in leaf_D: Allocating pagecache: 52428800
+       memcontrol03.c:144: TINFO: Child 92626 in leaf_F: Allocating pagecache: 52428800
+       memcontrol03.c:107: TINFO: Child 92627 in trunk_G: Allocating anon: 155189248
+       memcontrol03.c:121: TPASS: Child 92627 exited
+  (B)> memcontrol03.c:208: TFAIL: Expect: (A/B memory.current=38469632) ~= 52428800
+  (A)> memcontrol03.c:214: TFAIL: Expect: (A/B/C memory.current=19070976) ~= 34603008
+  (A)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=18939904) ~= 17825792
+       memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
+       memcontrol03.c:107: TINFO: Child 92628 in trunk_G: Allocating anon: 178257920
+       memcontrol03.c:116: TPASS: Child 92628 killed by OOM
+  (B)> memcontrol03.c:224: TFAIL: Expect: (A/B memory.current=38404096) ~= 52428800
  
  There seems to be two issues that led to the test case failure:
- * (A). proportional protection seems not to work
+ * (A). proportional protection seems not to work (in the above log, the results were out of expected range only for testing on btrfs)
  * (B). on btrfs, memory reclaimed more than expected
  
  Looking back at the test history, issue (A) seems to have been present
  at least since 2024.10.28, which is the oldest cycle for which I can
  search the logs. It just hadn't been caught due to *lenient* criteria
  until now.

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2106102

Title:
  memcontrol03 from ubuntu_ltp_controller fails with memory.current
  distribution deviating from expected proportions

Status in ubuntu-kernel-tests:
  New

Bug description:
  Failure observed on TF arm-server with oracular:linux-lowlatency
  6.11.0-1012.13 (2025.03.17).

  Log output:

        ---(snip)---
        tst_test.c:1833: TINFO: === Testing on xfs ===
        tst_test.c:1170: TINFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
        tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=xfs flags=0
        memcontrol03.c:144: TINFO: Child 92595 in leaf_C: Allocating pagecache: 52428800
        memcontrol03.c:144: TINFO: Child 92596 in leaf_D: Allocating pagecache: 52428800
        memcontrol03.c:144: TINFO: Child 92597 in leaf_F: Allocating pagecache: 52428800
        memcontrol03.c:107: TINFO: Child 92598 in trunk_G: Allocating anon: 155189248
        memcontrol03.c:121: TPASS: Child 92598 exited
        memcontrol03.c:208: TPASS: Expect: (A/B memory.current=52822016) ~= 52428800
   (A)> memcontrol03.c:214: TPASS: Expect: (A/B/C memory.current=23134208) ~= 34603008
   (A)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=25165824) ~= 17825792
        memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
        memcontrol03.c:107: TINFO: Child 92599 in trunk_G: Allocating anon: 178257920
        memcontrol03.c:116: TPASS: Child 92599 killed by OOM
        memcontrol03.c:224: TPASS: Expect: (A/B memory.current=46661632) ~= 52428800
        tst_test.c:1833: TINFO: === Testing on btrfs ===
        tst_test.c:1170: TINFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
        tst_test.c:1182: TINFO: Mounting /dev/loop0 to /tmp/ltp-uA5omilvmh/LTP_memimR6Vj/mntdir fstyp=btrfs flags=0
        memcontrol03.c:144: TINFO: Child 92624 in leaf_C: Allocating pagecache: 52428800
        memcontrol03.c:144: TINFO: Child 92625 in leaf_D: Allocating pagecache: 52428800
        memcontrol03.c:144: TINFO: Child 92626 in leaf_F: Allocating pagecache: 52428800
        memcontrol03.c:107: TINFO: Child 92627 in trunk_G: Allocating anon: 155189248
        memcontrol03.c:121: TPASS: Child 92627 exited
   (B)> memcontrol03.c:208: TFAIL: Expect: (A/B memory.current=38469632) ~= 52428800
   (A)> memcontrol03.c:214: TFAIL: Expect: (A/B/C memory.current=19070976) ~= 34603008
   (A)> memcontrol03.c:216: TPASS: Expect: (A/B/D memory.current=18939904) ~= 17825792
        memcontrol03.c:218: TPASS: Expect: (A/B/E memory.current=0) ~= 0
        memcontrol03.c:107: TINFO: Child 92628 in trunk_G: Allocating anon: 178257920
        memcontrol03.c:116: TPASS: Child 92628 killed by OOM
   (B)> memcontrol03.c:224: TFAIL: Expect: (A/B memory.current=38404096) ~= 52428800

  There seems to be two issues that led to the test case failure:
  * (A). proportional protection seems not to work (in the above log, the results were out of expected range only for testing on btrfs)
  * (B). on btrfs, memory reclaimed more than expected

  Looking back at the test history, issue (A) seems to have been present
  at least since 2024.10.28, which is the oldest cycle for which I can
  search the logs. It just hadn't been caught due to *lenient* criteria
  until now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2106102/+subscriptions