getrusage04 failed on T-azure-4.15

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

Bug Description

We used to have a bug for this issue, see bug 1905396

The solution is to use systemd to skip this test on Microsoft Hyper-V instances

However this is not working on Trusty.

Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
INFO: Test start time: Thu Sep 16 13:30:01 UTC 2021
COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 31949 -n 31949 -f /tmp/ltp-gnLZF9WE1r/alltests -l /dev/null -C /dev/null -T /dev/null
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
sh: 1: systemd-detect-virt: not found
sh: 1: systemd-detect-virt: not found
getrusage04 0 TINFO : Expected timers granularity is 4000 us
getrusage04 0 TINFO : Using 1 as multiply factor for max [us]time increment (1000+4000us)!
getrusage04 0 TINFO : utime: 0us; stime: 5751us
getrusage04 0 TINFO : utime: 0us; stime: 6137us
getrusage04 0 TINFO : utime: 4581us; stime: 9162us
getrusage04 0 TINFO : utime: 4581us; stime: 9557us
getrusage04 0 TINFO : utime: 4700us; stime: 18802us
getrusage04 1 TFAIL : getrusage04.c:133: stime increased > 5000us:
INFO: ltp-pan reported some tests FAIL
LTP Version: 20210121
INFO: Test end time: Thu Sep 16 13:30:01 UTC 2021

After discussed with krzk, it's not worth it to implement virt-detection for this.
Let's use this bug to hint this failure.

Po-Hsu Lin (cypressyew)
tags: added: 4.15 azure sru-20210906 trusty ubuntu-ltp-syscalls
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

BTW it seems this is only happening on Standard_A2_v2

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.