getrandom02 in ubuntu_ltp_syscalls failed with X-kvm

Bug #1797327 reported by Po-Hsu Lin on 2018-10-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Po-Hsu Lin
linux-kvm (Ubuntu)
Undecided
Unassigned

Bug Description

This test will time out with X-KVM kernel on a KVM node.

<<<test_start>>>
tag=getrandom02 stime=1539245024
cmdline="getrandom02"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1072: INFO: Timeout per run is 0h 05m 00s
getrandom02.c:72: PASS: getrandom returned 256
getrandom02.c:72: PASS: getrandom returned 6
getrandom02.c:72: PASS: getrandom returned 256
Test timeouted, sending SIGKILL!
tst_test.c:1112: INFO: If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
tst_test.c:1113: BROK: Test killed! (timeout?)

Summary:
passed 3
failed 0
skipped 0
warnings 0

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-1036-kvm 4.4.0-1036.42
ProcVersionSignature: User Name 4.4.0-1036.42-kvm 4.4.155
Uname: Linux 4.4.0-1036-kvm x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Thu Oct 11 08:05:56 2018
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

Po-Hsu Lin (cypressyew) wrote :
Colin Ian King (colin-king) wrote :

I suspect that the entropy pool ran out of bits

Po-Hsu Lin (cypressyew) wrote :

Found on C-AWS ARM64 (AMD64 is fine) as well, need to check if it can work with LTP_TIMEOUT_MUL > 1

And the next question is how to determine when to use that parameter.

Po-Hsu Lin (cypressyew) wrote :

LTP_TIMEOUT_MUL=2 to set timeout to 10min for a test works for this test.
Testing patches now.

Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Po-Hsu Lin (cypressyew) wrote :

Need LTP_TIMEOUT_MUL=3 for KVM nodes. Will push the patch.

Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: In Progress → Fix Released
Changed in linux-kvm (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers