Bug 1270341

Summary: qemu-kvm build failure race condition in tests/ide-test
Product: Red Hat Enterprise Linux 7 Reporter: John Snow <jsnow>
Component: qemu-kvmAssignee: John Snow <jsnow>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: ajax, areis, chayang, hhuang, huding, jblazek, jen, jsnow, juzhang, knoel, lmiksik, rbalakri, virt-maint, xfu
Target Milestone: rcKeywords: TestBlocker, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-105.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1272523 1273098 (view as bug list) Environment:
Last Closed: 2015-11-19 05:12:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1272523, 1273098, 1285124    

Description John Snow 2015-10-09 17:10:26 UTC
Description of problem:

The tests/ide-test qtest has a flush_test that races during the qemu-kvm build process. It may fail on sufficiently fast hardware.

Version-Release number of selected component (if applicable):

qemu-kvm-1.5.3-104+

How reproducible:

Depends on your hardware. If it is sufficiently fast, it can be close to 100%.

Steps to Reproduce:
1. Attempt to build RPM
2. Build process fails while running make check

Or, if you build the source manually from the exploded tree:
1. configure --target-list="x86_64-softmmu"
2. make
3. make check

Actual results:

RPM build process fails due to test failure.

Expected results:

RPM build process reliably succeeds.

Additional info:

The flush test relies on the "qemu-io" HMP command to pause execution of the flush command in order to perform the test reliably without races. The qemu-io HMP command was not introduced until upstream qemu 1.6.0, so the test as it exists downstream races, leading to occasional failures.

Comment 9 Jeff Nelson 2015-10-16 21:46:30 UTC
Fix included in qemu-kvm-1.5.3-105.el7

Comment 15 juzhang 2015-10-20 04:34:42 UTC
According to comment11, set this issue as verified.

Comment 17 errata-xmlrpc 2015-11-19 05:12:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2213.html