memcg_stat_rss from controllers in ubuntu_ltp failed with D i386 (timeout with D s390x zVM)

Bug #1837035 reported by Po-Hsu Lin on 2019-07-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned
Disco
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.

Po-Hsu Lin (cypressyew) wrote :
tags: added: 5.0 sru-20190701 ubuntu-ltp
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...

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux (Ubuntu Disco):
status: New → Confirmed

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers