ubuntu_ltp_controllers memcg_subgroup_charge / memcg_max_usage_in_bytes / memcg_usage_in_bytes starts failing with LTP20220527 (Invalid argument)

Bug #1980318 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Po-Hsu Lin

Bug Description

Please note this issue is only limited to nodes in our bare-metal pool, as I am currently testing this branch there.

With LTP test suite updated to 20220527 (https://github.com/linux-test-project/ltp/tree/20220527), these 3 tests:

  * memcg_subgroup_charge
  * memcg_max_usage_in_bytes
  * memcg_usage_in_bytes

starts failing on Ubuntu Bionic / Focal with identical error message:

  memcg_max_usage_in_bytes_test 1 TINFO: Warming up pid: 21434
  memcg_process: mmap(anonymous) failed: Invalid argument
  /opt/ltp/testcases/bin/memcg_max_usage_in_bytes_test.sh: 234: kill: No such process

  memcg_max_usage_in_bytes_test 1 TFAIL: Process 21434 exited with 1 after warm up

Bisect shows commit 0402163 is the cause, revert that change can make this green again.

Issue reported upstream, you will find the complete test log there: https://github.com/linux-test-project/ltp/issues/947

Po-Hsu Lin (cypressyew)
tags: added: 4.15 5.14 5.4 bionic focal ubuntu-ltp-controllers
tags: added: sru-20220530
tags: added: sru-20220620
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

On PowerPC systems with Ubuntu Bionic there will be 2 more failures:
  * memcg_failcnt
  * memcg_stat_rss

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

This issue has been fixed with commit bda92ad659 "memcg/functional: Fix usage of PAGESIZE from memcg_lib.sh" in LTP upstream.

We will include this in the next LTP update.

Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

LTP update pushed to our fork.

Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
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.