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 1132806 - advertise active commit to libvirt
Summary: advertise active commit to libvirt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1130603
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-22 06:07 UTC by Jan Kurik
Modified: 2014-09-18 17:42 UTC (History)
22 users (show)

Fixed In Version: qemu-kvm-1.5.3-60.el7_0.7
Doc Type: Enhancement
Doc Text:
Clone Of: 1130603
Environment:
Last Closed: 2014-09-18 17:42:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
iotests results of qemu-kvm-1.5.3-60.el7_0.7 (76.16 KB, text/plain)
2014-09-05 02:27 UTC, huiqingding
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1262 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix and enhancement update 2014-09-18 21:42:26 UTC

Description Jan Kurik 2014-08-22 06:07:14 UTC
This bug has been copied from bug #1130603 and has been proposed
to be backported to 7.0 z-stream (EUS).

Comment 3 Miroslav Rezanina 2014-08-26 15:26:37 UTC
Fix included in qemu-kvm-1.5.3-60.el7_0.7

Comment 9 huiqingding 2014-09-05 01:53:17 UTC
I test qemu-iotests from qemu-kvm-rhev-1.5.3-60.el7_0.7.src.rpm, 6 test suites are failed (025 026 030 041 067 077), the detialed results are as following:

# ./check -qcow2
QEMU          -- /usr/libexec/qemu-kvm
QEMU_IMG      -- /usr/bin/qemu-img
QEMU_IO       -- /usr/bin/qemu-io 
IMGFMT        -- qcow2 (compat=1.1)
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 dhcp-9-152 3.10.0-123.8.1.el7.x86_64

001        
002        
003        
004        
005        
006         [not run] not suitable for this image format: qcow2
007        
008        
009        
010        
011        
012        
013        
014        
015        
016         [not run] not suitable for this image format: qcow2
017        
018        
019        
020        
021        
022        
023        
024        
025         - output mismatch (see 025.out.bad)
--- 025.out	2014-09-03 23:24:52.672134567 -0400
+++ 025.out.bad	2014-09-03 23:59:17.281125550 -0400
@@ -10,9 +10,9 @@
 No errors were found on the image.
 
 === Resizing image
-128 MiB
-384 MiB
-No errors were found on the image.
+qemu-io> 128 MiB
+qemu-io> qemu-io> 384 MiB
+qemu-io> No errors were found on the image.
 
 === Verifying image size after reopen
 384 MiB
026         - output mismatch (see 026.out.bad)
--- 026.out	2014-09-03 23:24:51.238101251 -0400
+++ 026.out.bad	2014-09-04 00:05:44.016118989 -0400
@@ -491,7 +491,7 @@
 Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
 
-10 leaked clusters were found on the image.
+11 leaked clusters were found on the image.
 This means waste of disk space, but no harm to data.
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
 
@@ -515,7 +515,7 @@
 Event: refblock_alloc.write_table; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
 
-10 leaked clusters were found on the image.
+11 leaked clusters were found on the image.
 This means waste of disk space, but no harm to data.
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
 
@@ -539,7 +539,7 @@
 Event: refblock_alloc.switch_table; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
 
-10 leaked clusters were found on the image.
+11 leaked clusters were found on the image.
 This means waste of disk space, but no harm to data.
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
 
027        
028        
029        
030         [failed, exit status 1] - output mismatch (see 030.out.bad)
--- 030.out	2013-08-27 11:05:28.000000000 -0400
+++ 030.out.bad	2014-09-04 00:06:08.649691879 -0400
@@ -1,5 +1,75 @@
-.............
+EEEEE........
+======================================================================
+ERROR: test_enospc (__main__.TestEIO)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./030", line 233, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_ignore (__main__.TestEIO)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./030", line 233, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_report (__main__.TestEIO)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./030", line 233, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_stop (__main__.TestEIO)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./030", line 233, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_enospc (__main__.TestENOSPC)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./030", line 369, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
 ----------------------------------------------------------------------
 Ran 13 tests
 
-OK
+FAILED (errors=5)
031        
032        
033        
034        
035        
036        
037        
038        
039        
040        
041         [failed, exit status 1] - output mismatch (see 041.out.bad)
--- 041.out	2014-09-03 23:24:53.008142373 -0400
+++ 041.out.bad	2014-09-04 00:07:40.562829413 -0400
@@ -1,5 +1,97 @@
-...........................................
+.....EEEE...............................FFF
+======================================================================
+ERROR: test_ignore_read (__main__.TestReadErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 443, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_large_cluster (__main__.TestReadErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 443, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_report_read (__main__.TestReadErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 443, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+ERROR: test_stop_read (__main__.TestReadErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 443, in setUp
+    self.vm.launch()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 106, in launch
+    self._qmp.accept()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 100, in accept
+    return self.__negotiate_capabilities()
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/../../QMP/qmp.py", line 54, in __negotiate_capabilities
+    raise QMPConnectError
+QMPConnectError
+
+======================================================================
+FAIL: test_ignore_write (__main__.TestWriteErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 636, in test_ignore_write
+    self.assert_qmp(result, 'return', {})
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 174, in assert_qmp
+    result = self.dictpath(d, path)
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 153, in dictpath
+    self.fail('failed path traversal for "%s" in "%s"' % (path, str(d)))
+AssertionError: failed path traversal for "return" in "{u'error': {u'class': u'GenericError', u'desc': u"Driver 'blkdebug' is not whitelisted"}}"
+
+======================================================================
+FAIL: test_report_write (__main__.TestWriteErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 607, in test_report_write
+    self.assert_qmp(result, 'return', {})
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 174, in assert_qmp
+    result = self.dictpath(d, path)
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 153, in dictpath
+    self.fail('failed path traversal for "%s" in "%s"' % (path, str(d)))
+AssertionError: failed path traversal for "return" in "{u'error': {u'class': u'GenericError', u'desc': u"Driver 'blkdebug' is not whitelisted"}}"
+
+======================================================================
+FAIL: test_stop_write (__main__.TestWriteErrors)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./041", line 653, in test_stop_write
+    self.assert_qmp(result, 'return', {})
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 174, in assert_qmp
+    result = self.dictpath(d, path)
+  File "/root/rpmbuild/BUILD/qemu-1.5.3/tests/qemu-iotests/iotests.py", line 153, in dictpath
+    self.fail('failed path traversal for "%s" in "%s"' % (path, str(d)))
+AssertionError: failed path traversal for "return" in "{u'error': {u'class': u'GenericError', u'desc': u"Driver 'blkdebug' is not whitelisted"}}"
+
 ----------------------------------------------------------------------
 Ran 43 tests
 
-OK
+FAILED (failures=3, errors=4)
042        
043        
044        
045         [not run] not suitable for this image format: qcow2
046        
047        
048        
049        
050        
051        
052        
053        
054        
059         [not run] not suitable for this image format: qcow2
060        
061        
062        
063        
064         [not run] not suitable for this image format: qcow2
065        
066        
067         - output mismatch (see 067.out.bad)
--- 067.out	2014-09-03 23:24:51.748113100 -0400
+++ 067.out.bad	2014-09-04 00:08:34.280078687 -0400
@@ -6,7 +6,7 @@
 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk -device virtio-blk-pci,drive=disk,id=virtio0
 QMP_VERSION
 {"return": {}}
-{"return": [{"io-status": "ok", "device": "disk", "locked": false, "removable": false, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 139264, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "type": "unknown"}, {"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}]}
+{"return": [{"io-status": "ok", "device": "disk", "locked": false, "removable": false, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "type": "unknown"}, {"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}]}
 {"return": {}}
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "DEVICE_DELETED", "data": {"path": "/machine/peripheral/virtio0/virtio-backend"}}
@@ -24,7 +24,7 @@
 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,if=none,id=disk
 QMP_VERSION
 {"return": {}}
-{"return": [{"device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 139264, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}, {"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}]}
+{"return": [{"device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}, {"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}]}
 {"return": {}}
 {"return": {}}
 {"return": {}}
@@ -44,7 +44,7 @@
 QMP_VERSION
 {"return": {}}
 {"return": "OK\r\n"}
-{"return": [{"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 139264, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}]}
+{"return": [{"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}]}
 {"return": {}}
 {"return": {}}
 {"return": {}}
@@ -64,14 +64,14 @@
 QMP_VERSION
 {"return": {}}
 {"return": {}}
-{"return": [{"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 139264, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}]}
+{"return": [{"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}]}
 {"return": {}}
 {"return": {}}
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "DEVICE_DELETED", "data": {"path": "/machine/peripheral/virtio0/virtio-backend"}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "DEVICE_DELETED", "data": {"device": "virtio0", "path": "/machine/peripheral/virtio0"}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "RESET"}
-{"return": [{"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"io-status": "ok", "device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 139264, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}]}
+{"return": [{"io-status": "ok", "device": "ide1-cd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "floppy0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"device": "sd0", "locked": false, "removable": true, "tray_open": false, "type": "unknown"}, {"io-status": "ok", "device": "disk", "locked": false, "removable": true, "inserted": {"iops_rd": 0, "image": {"virtual-size": 134217728, "filename": "TEST_DIR/t.qcow2", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "lazy-refcounts": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "encrypted": false, "bps": 0, "bps_rd": 0, "file": "TEST_DIR/t.qcow2", "encryption_key_missing": false}, "tray_open": false, "type": "unknown"}]}
 {"return": {}}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN"}
 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "DEVICE_TRAY_MOVED", "data": {"device": "ide1-cd0", "tray-open": true}}
068        
070         [not run] not suitable for this image format: qcow2
075         [not run] not suitable for this image format: qcow2
076         [not run] not suitable for this image format: qcow2
077         - output mismatch (see 077.out.bad)
--- 077.out	2014-09-03 23:24:52.679134729 -0400
+++ 077.out.bad	2014-09-04 00:08:39.817207462 -0400
@@ -42,9 +42,9 @@
 wrote XXX/XXX bytes at offset XXX
 XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 blkdebug: Resuming request 'A'
+blkdebug: Resuming request 'B'
 wrote XXX/XXX bytes at offset XXX
 XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-blkdebug: Resuming request 'B'
 wrote XXX/XXX bytes at offset XXX
 XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 wrote XXX/XXX bytes at offset XXX
@@ -80,9 +80,9 @@
 XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 blkdebug: Resuming request 'A'
 blkdebug: Resuming request 'C'
+blkdebug: Resuming request 'B'
 wrote XXX/XXX bytes at offset XXX
 XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-blkdebug: Resuming request 'B'
 wrote XXX/XXX bytes at offset XXX
 XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 blkdebug: Resuming request 'A'
078         [not run] not suitable for this image format: qcow2
079        
080        
082        
084         [not run] not suitable for this image format: qcow2
086        
088         [not run] not suitable for this image format: qcow2
092         [not run] not suitable for this image format: qcow2
Not run: 006 016 045 059 064 070 075 076 078 084 088 092
Failures: 025 026 030 041 067 077
Failed 6 of 64 tests

Comment 10 huiqingding 2014-09-05 02:12:59 UTC
I test qemu-iotests for qemu-kvm-rhev-1.5.3-60.el7_0.2 and qemu-iotests is from qemu-kvm-rhev-1.5.3-60.el7_0.2.src.rpm. The results are same as commnet 9:  6 test suites are failed (025 026 030 041 067 077).

Basesd on the above results, there is no regression.

Comment 11 huiqingding 2014-09-05 02:20:35 UTC
I test qemu-iotests for qemu-kvm-1.5.3-60.el7_0.7 and qemu-iotests is from qemu-kvm-1.5.3-60.el7_0.7.src.rpm. 7 test suites are failed (025 026 030 040 041 067 077).


I also test qemu-iotests for qemu-kvm-1.5.3-60.el7_0.2 and qemu-iotests is from qemu-kvm-1.5.3-60.el7_0.2.src.rpm. 8 test suites are failed (025 026 030 040 041 066 067 077).

Based on the above results, there is no regression.

I will add the qemu-iotests result for qemu-kvm-1.5.3-60.el7_0.7 as the attchment file.

Comment 12 huiqingding 2014-09-05 02:27:29 UTC
Created attachment 934657 [details]
iotests results of qemu-kvm-1.5.3-60.el7_0.7

Comment 13 huiqingding 2014-09-05 02:44:25 UTC
Compared the results for qemu-kvm-1.5.3-60.el7_0.7 and qemu-kvm-rhev-1.5.3-60.el7_0.7, only 040 is different. 040 is passed for qemu-kvm-rhev and is failed for qemu-kvm.

025 026 030 041 067 077 are all failed for both.

Comment 14 Fam Zheng 2014-09-05 02:49:59 UTC
Thanks for the update. The qemu-kvm-rhev results show that the added tests in case 041 are run, and passed.

The failures are because of

1) the lack of blkdebug in RHEL/RHEV, which is required to run the test case.

2) Slight differences of actual-sizes in query-block output. 

3) Order mismatch in the interleaved output of asynchronous "aio_write" and "resume" command in qemu-io.

None of them are related to the change of this BZ, and not regression either.

qemu-kvm results doesn't have more information because more commands are disabled so there are more errors. That is expected too.

So the qemu-iotests results look fine to me.

If testing of block-commit and drive-mirror passes on qemu-kvm-rhev too, I think we can verify this bug.

Fam

Comment 18 errata-xmlrpc 2014-09-18 17:42:37 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.

http://rhn.redhat.com/errata/RHBA-2014-1262.html


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