settimeofday01 in ubuntu_ltp_syscalls failed on KVM kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux-kvm (Ubuntu) |
Invalid
|
Undecided
|
Kai-Heng Feng |
Bug Description
Issue found on C-KVM, from the test case content, these two tests are:
* Call settimeofday and verify the time was changed.
* Call settimeofday with invalid Args and verify that the call fails.
<<<test_start>>>
tag=settimeofday01 stime=1561358482
cmdline=
contacts=""
analysis=exit
<<<test_output>>>
settimeofday01 1 TFAIL : settimeofday01.
settimeofday01 2 TPASS : Test condition 2 successful
<<<execution_
initiation_
duration=0 termination_
cutime=0 cstime=0
<<<test_end>>>
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.18.0-1015-kvm x86_64
ApportVersion: 2.20.10-0ubuntu13.3
Architecture: amd64
Date: Mon Jun 24 06:41:26 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
tags: | added: linux-kvm |
tags: | added: bionic |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
Changed in linux-kvm (Ubuntu): | |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
Changed in ubuntu-kernel-tests: | |
assignee: | Kai-Heng Feng (kaihengfeng) → nobody |
tags: | added: gcp sru-20191021 |
It looks like if we run this test repeatedly, most of the time it will pass:
$ sudo ./settimeofday01 -i 1000 | grep FAIL | wc -l
10
$ sudo ./settimeofday01 -i 1000 | grep FAIL | wc -l
8
$ sudo ./settimeofday01 -i 1000 | grep FAIL | wc -l
10
This might be able to explain why sometimes we cannot see this failure in the test report.
Not sure what is the cause of this