vmx_nm_test in ubuntu_kvm_unit_tests interrupted on X-oracle-4.15 / B-oracle-4.15 / X-KVM / B-KVM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
High
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
New
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Thadeu Lima de Souza Cascardo |
Bug Description
[Impact]
When running kvm-unit-tests under a guest, it will be paused, requiring a
reset. When running the same test on a host (vmx_nm_test), it will fail.
[Test case]
Grab kvm-unit-tests, build it and run:
TESTNAME=vmx TIMEOUT=90s ACCEL= ./x86/run x86/vmx.flat -smp 1 -cpu host,+vmx -append "vmx_nm_test"
If done inside a guest, when the host runs the bionic 4.15 kernel, the guest
will pause.
[Potential regressions]
Nested KVM could stop working. Floating point could stop working on KVM
guests, though the code that relied on this was already removed from
Bionic.
-------
This issue was first spotted on Mar.16 [1]
The ubuntu_
Running '/home/
BUILD_
timeout -k 1s --foreground 30 /usr/bin/
enabling apic
paging enabled
cr0 = 80010011
cr3 = 477000
cr4 = 20
Test suite: vmx_nm_test
client_loop: send disconnect: Broken pipe
(node disconnected here)
Before the test started, this can be found in syslog:
Apr 13 06:26:25 selfprovisioned
After that, noting was printed and node disconnected.
If you try to run this case manually, it will stop at:
# ./vmx_nm_test
BUILD_HEAD=4671e4ba
ready!!!
timeout -k 1s --foreground 30 /usr/bin/
enabling ap
(stopped here, even the "enabling apic" string was not printed)
It looks like this is a new test case added since the cycle of 4.15.0-
[1] https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1031-oracle x86_64
ApportVersion: 2.20.1-0ubuntu2.21
Architecture: amd64
Date: Mon Apr 13 05:18:03 2020
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-oracle
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
description: | updated |
tags: | added: 4.15 sru-20200406 ubuntu-kvm-unit-tests |
description: | updated |
description: | updated |
tags: | added: sru-20200518 |
Changed in ubuntu-kernel-tests: | |
importance: | Undecided → High |
tags: | added: sru-20200831 |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in linux (Ubuntu): | |
status: | New → Invalid |
description: | updated |
no longer affects: | linux-signed-oracle (Ubuntu Bionic) |
no longer affects: | linux-signed-oracle (Ubuntu) |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
tags: | added: kvm sru-20210412 |
On Oracle Bionic 4.15.0-1038.42, it has finished (but failed with bug 1872419) on VM.Standard2.1