Red Hat Bugzilla – Bug 1270341
qemu-kvm build failure race condition in tests/ide-test
Last modified: 2015-11-24 18:07:12 EST
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):
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"
3. make check
RPM build process fails due to test failure.
RPM build process reliably succeeds.
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.
Fix included in qemu-kvm-1.5.3-105.el7
According to comment11, set this issue as verified.
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.