Red Hat Bugzilla – Bug 1436280
sample images for qemu-iotests are missing in the SRPM
Last modified: 2018-03-21 23:22:44 EDT
Description of problem: qemu-iotests for vmdk and vhdx failures are due to missing test images. Those are present in the git repository, just not in the source RPM. Open this bug to track the issue of missing sample images. You can check the bug 1427176 for detail info. Version-Release number of selected component (if applicable): qemu-kvm-1.5.3-134.el7 kernel-3.10.0-619.el7 How reproducible: 100% Steps to Reproduce: 1.#brew download-build --rpm qemu-kvm-1.5.3-134.el7.src.rpm 2.#rpm -ivhf qemu-kvm-1.5.3-134.el7.src.rpm && rpmbuild -bp /root/rpmbuild/SPECS/qemu-kvm.spec --nodeps 3.#cd /root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests 4.#export QEMU_PROG=/usr/libexec/qemu-kvm 5.#./check -vhdx/-vmdk Actual results: vhdx: Failures: 064 070 vmdk: Failures: 059 Expected results: all passed Additional info:
There's patch adding sample images to srpm. You can check resulting srpm in: http://download.eng.bos.redhat.com/brewroot/work/tasks/8439/12888439/qemu-kvm-1.5.3-134.el7.src.rpm
After run the test with the build provided in comment 2, all the cases for qcow2/raw/vhdx/vmdk passed as below. qcow2: Passed all 69 tests raw: Passed all 20 tests vhdx: Passed all 17 tests vmdk: Passed all 26 tests
Fix included in qemu-kvm-1.5.3-136.el7
Verify the bugs with qemu-kvm-1.5.3-136.el7.x86_64, all the qemu-iotests cases for vhdx/vmdk passed. Set the bug as verified. vhdx: Passed all 17 tests vmdk: Passed all 26 tests
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://access.redhat.com/errata/RHSA-2017:1856