getrusage04 from ubuntu_ltp_syscalls failed on T-4.15 Azure

Bug #1841425 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux-azure (Ubuntu)
New
Undecided
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

Test failed with:

<<<test_start>>>
tag=getrusage04 stime=1566816628
cmdline="getrusage04"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
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: 1384us; stime: 0us
getrusage04 0 TINFO : utime: 1384us; stime: 932us
getrusage04 0 TINFO : utime: 1384us; stime: 8609us
getrusage04 1 TFAIL : getrusage04.c:133: stime increased > 5000us:
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=1
<<<test_end>>>

It uses systemd-detect-virt to check for VM environment, and bails out the test with:
 if (tst_is_virt(VIRT_XEN) || tst_is_virt(VIRT_KVM))
  tst_brkm(TCONF, NULL, "This testcase is not supported on this"
          " virtual machine.");

Looks like the test will be skipped from Bionic Azure test result.
But this tool is not available for Trusty and this test failed.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-4.15.0-1045-azure 4.15.0-1045.49~14.04.1
ProcVersionSignature: User Name 4.15.0-1045.49~14.04.1-username 4.15.18
Uname: Linux 4.15.0-1045-azure x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Mon Aug 26 10:50:35 2019
SourcePackage: linux-signed-azure
UpgradeStatus: No upgrade log present (probably fresh install)

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

Test result on Bionic Azure:
  getrusage04 1 TCONF : getrusage04.c:202: This testcase is not supported on this virtual machine.
  getrusage04 2 TCONF : getrusage04.c:202: Remaining cases not appropriate for configuration

Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Spotted on Focal/azure : 5.4.0-1029.29 : amd64

6509. 09/26 17:48:15 DEBUG| utils:0153| [stdout] startup='Sat Sep 26 16:48:53 2020'
6510. 09/26 17:48:15 DEBUG| utils:0153| [stdout] getrusage04 0 TINFO : Expected timers granularity is 4000 us
6511. 09/26 17:48:15 DEBUG| utils:0153| [stdout] getrusage04 0 TINFO : Using 1 as multiply factor for max [us]time increment (1000+4000us)!
6512. 09/26 17:48:15 DEBUG| utils:0153| [stdout] getrusage04 0 TINFO : utime: 1855us; stime: 0us
6513. 09/26 17:48:15 DEBUG| utils:0153| [stdout] getrusage04 0 TINFO : utime: 1855us; stime: 3594us
6514. 09/26 17:48:15 DEBUG| utils:0153| [stdout] getrusage04 0 TINFO : utime: 1855us; stime: 9109us
6515. 09/26 17:48:15 DEBUG| utils:0153| [stdout] getrusage04 1 TFAIL : getrusage04.c:132: stime increased > 5000us:
6516. 09/26 17:48:15 DEBUG| utils:0153| [stdout] tag=getrusage04 stime=1601138933 dur=0 exit=exited stat=1 core=no cu=0 cs=2

tags: added: azure bionic focal sru-20200921
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

failed on Bionic/azure-4.15 : 4.15.0-1097.107 : amd64

tags: added: 4.15
Po-Hsu Lin (cypressyew)
affects: linux-signed-azure (Ubuntu) → linux-azure (Ubuntu)
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.