Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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