ubuntu_ltp_controllers:memcg_move_charge_at_immigrate: memcg_process: shmget() failed: Invalid argument

Bug #1951284 reported by Stefan Bader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Something vaguely similar had been reported against i386 for disco (bug #1837037). Just thought I do this as a new bug with further comments. Seen for kuzzle(arm64) for hirsute:linux(5.11.0-41.45 ) on sru-20211108.

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: 148126
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 148126 exited with 1 after warm up
memcg_move_charge_at_immigrate_test 3 TINFO: Test move file
memcg_move_charge_at_immigrate_test 3 TINFO: Running memcg_process --mmap-anon --shm --mmap-file -s 135168
memcg_move_charge_at_immigrate_test 3 TINFO: Warming up pid: 148137
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 3 TFAIL: Process 148137 exited with 1 after warm up
memcg_move_charge_at_immigrate_test 4 TINFO: Test move anon and file
memcg_move_charge_at_immigrate_test 4 TINFO: Running memcg_process --mmap-anon --shm -s 135168
memcg_move_charge_at_immigrate_test 4 TINFO: Warming up pid: 148148
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 4 TFAIL: Process 148148 exited with 1 after warm up

This seems to be related to a certain shmget() size. Maybe the method of guessing how much to use goes wrong in some cases and then leads to those issues.

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

Found on node a1.medium with H-5.11 AWS 5.11.0-1023.24

tags: added: aws
tags: added: sru-20211129
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.