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 997263 - qemu-iotests failed with qcow2
Summary: qemu-iotests failed with qcow2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-15 06:16 UTC by ShupingCui
Modified: 2013-09-24 13:55 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-18 09:34:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tests-log (24.58 KB, text/plain)
2013-08-16 04:50 UTC, ShupingCui
no flags Details

Description ShupingCui 2013-08-15 06:16:00 UTC
Description of problem:
qemu-iotests failed with qcow2 format, tests(026) failed

Version-Release number of selected component (if applicable):
Host:
# uname -r
2.6.32-358.18.1.el6.x86_64
# rpm -qa | grep qemu-kvm
qemu-kvm-rhev-0.12.1.2-2.355.el6_4.7.x86_64
qemu-kvm-rhev-tools-0.12.1.2-2.355.el6_4.7.x86_64
qemu-kvm-rhev-debuginfo-0.12.1.2-2.355.el6_4.7.x86_64


How reproducible:
100%

Steps to Reproduce:
1. clone qemu-iotests code from http://www.kernel.org/pub/scm/linux/kernel/git/hch/qemu-iotests.git
2. cd qemu-iotests and execute test of qcow2
#./check -qcow2
  
Actual results:
Failures: 026

Expected results:
All the tests pass


Additional info:

Comment 5 Suqin Huang 2013-08-16 04:42:29 UTC
What's the error,
Can you provide the detail error info.

Comment 6 ShupingCui 2013-08-16 04:50:04 UTC
Created attachment 787145 [details]
tests-log

pls check the detail log

Comment 9 Kevin Wolf 2013-09-18 09:34:17 UTC
(In reply to ShupingCui from comment #0)
> Steps to Reproduce:
> 1. clone qemu-iotests code from
> http://www.kernel.org/pub/scm/linux/kernel/git/hch/qemu-iotests.git
> 2. cd qemu-iotests and execute test of qcow2
> #./check -qcow2

This is an outdated repository. The current qemu-iotests version can be found
in upstream qemu.git in the directory tests/qemu-iotests/.

Note, however, that these tests are against current upstream versions of qemu,
so a failure of test cases can just mean that the (correct) output differs
between RHEL 6 and upstream, or that RHEL 6 simply doesn't have features that
are tested. So running qemu-iotests against different versions always means
that some failures are expected and the kind of failure needs to be checked.

026 failing with the old hch qemu-iotests repository is expected, the output
has changed.

Comment 10 Qunfang Zhang 2013-09-18 09:44:10 UTC
Hi, Shuping

Could you check the correct qemu-iotests in upstream qemu.git to see if the issue still exists? Thanks.

Comment 11 Xu Tian 2013-09-24 08:18:26 UTC
(In reply to Qunfang Zhang from comment #10)
> Hi, Shuping
> 
> Could you check the correct qemu-iotests in upstream qemu.git to see if the
> issue still exists? Thanks.

Hi Qunfang Zhang,

Compare with upstream qemu-kvm with internal qemu-kvm, there has different options and stand output, so if we run upstream qemu-iotests on rhel6 host, 026 will always failed;

Hi Kevin,

can we make qemu-iotest compatible qemu-kvm in rhel6/rhel7?

Thanks,
Xu

Comment 12 Kevin Wolf 2013-09-24 13:55:23 UTC
The RHEL 7 git repository [1] has it's own qemu-iotests copy in-tree. We'll try to
keep this in sync with the actual RHEL 7 code. For RHEL 6 it's too late to get
this easily, so we're not planning to do this.

[1] git://git.app.eng.bos.redhat.com/virt/rhel7/qemu-kvm.git master-1.5.3


Note You need to log in before you can comment on or make changes to this bug.