Bug 1436280

Summary: sample images for qemu-iotests are missing in the SRPM
Product: Red Hat Enterprise Linux 7 Reporter: Ping Li <pingl>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED ERRATA QA Contact: Ping Li <pingl>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: aliang, chayang, coli, hachen, hreitz, jcody, juzhang, knoel, kwolf, michen, mrezanin, ngu, pingl, rbalakri, shuang, virt-maint, xuhan, xuwei
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-136.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 17:49:19 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:

Description Ping Li 2017-03-27 14:40:59 UTC
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:

Comment 2 Miroslav Rezanina 2017-03-29 10:18:04 UTC
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

Comment 3 Ping Li 2017-03-31 03:39:41 UTC
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

Comment 4 Miroslav Rezanina 2017-04-18 07:17:45 UTC
Fix included in qemu-kvm-1.5.3-136.el7

Comment 6 Ping Li 2017-04-18 16:08:21 UTC
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

Comment 7 errata-xmlrpc 2017-08-01 17:49:19 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://access.redhat.com/errata/RHSA-2017:1856