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 1171576 - test case 064 and 070 of qemu-iotests fail for vhdx with qemu-kvm-1.5.3-83.el7
Summary: test case 064 and 070 of qemu-iotests fail for vhdx with qemu-kvm-1.5.3-83.el7
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
low
low
Target Milestone: rc
: ---
Assignee: Jeff Cody
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-08 06:38 UTC by Sibiao Luo
Modified: 2015-11-19 04:50 UTC (History)
14 users (show)

Fixed In Version: qemu-kvm-1.5.3-100.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 04:50:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2213 0 normal SHIPPED_LIVE qemu-kvm bug fix and enhancement update 2015-11-19 08:16:10 UTC

Comment 3 Miroslav Rezanina 2015-08-10 09:10:20 UTC
Fix included in qemu-kvm-1.5.3-100.el7

Comment 5 Qian Guo 2015-08-13 06:10:51 UTC
Reproduced with qemu-kvm-1.5.3-83.el7.x86_64

# git branch 
* (detached from qemu-kvm-1.5.3-83.el7)
  rhel7/master-1.5.3

Steps:
# export QEMU_PROG=/usr/libexec/qemu-kvm
# ./check -vhdx

result:
# ./check -vhdx
QEMU          -- /usr/libexec/qemu-kvm
QEMU_IMG      -- /usr/bin/qemu-img
QEMU_IO       -- /usr/bin/qemu-io 
IMGFMT        -- vhdx
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 dhcp-10-63 3.10.0-304.el7.x86_64

001 5s ...
002 5s ...
003 5s ...
004 1s ...
005 0s ...
006         [not run] not suitable for this image format: vhdx
007         [not run] not suitable for this image format: vhdx
008 5s ...
009 1s ...
010 0s ...
011 3s ...
012 0s ...
013         [not run] not suitable for this image format: vhdx
014         [not run] not suitable for this image format: vhdx
015         [not run] not suitable for this image format: vhdx
016         [not run] not suitable for this image format: vhdx
017         [not run] not suitable for this image format: vhdx
018         [not run] not suitable for this image format: vhdx
019         [not run] not suitable for this image format: vhdx
020         [not run] not suitable for this image format: vhdx
021 2s ...
022         [not run] not suitable for this image format: vhdx
023         [not run] not suitable for this image format: vhdx
024         [not run] not suitable for this image format: vhdx
025         [not run] not suitable for this image format: vhdx
026         [not run] not suitable for this image format: vhdx
027         [not run] not suitable for this image format: vhdx
028         [not run] not suitable for this image format: vhdx
029         [not run] not suitable for this image format: vhdx
030         [not run] not suitable for this image format: vhdx
031         [not run] not suitable for this image format: vhdx
032 1s ...
033 1s ...
034         [not run] not suitable for this image format: vhdx
035         [not run] not suitable for this image format: vhdx
036         [not run] not suitable for this image format: vhdx
037         [not run] not suitable for this image format: vhdx
038         [not run] not suitable for this image format: vhdx
039         [not run] not suitable for this image format: vhdx
040         [not run] not suitable for this image format: vhdx
041         [not run] not suitable for this image format: vhdx
042         [not run] not suitable for this image format: vhdx
043         [not run] not suitable for this image format: vhdx
044         [not run] not suitable for this image format: vhdx
045         [not run] not suitable for this image format: vhdx
046         [not run] not suitable for this image format: vhdx
047         [not run] not suitable for this image format: vhdx
048         [not run] not suitable for this image format: vhdx
049         [not run] not suitable for this image format: vhdx
050         [not run] not suitable for this image format: vhdx
051         [not run] not suitable for this image format: vhdx
052 2s ...
053         [not run] not suitable for this image format: vhdx
054         [not run] not suitable for this image format: vhdx
059         [not run] not suitable for this image format: vhdx
060         [not run] not suitable for this image format: vhdx
061         [not run] not suitable for this image format: vhdx
062         [not run] not suitable for this image format: vhdx
063         [not run] not suitable for this image format: vhdx
064         [failed, exit status 1] - output mismatch (see 064.out.bad)
--- 064.out	2015-08-13 12:28:12.327636543 +0800
+++ 064.out.bad	2015-08-13 13:48:37.932419691 +0800
@@ -1,28 +1,3 @@
 QA output created by 064
-
-=== Verify pattern 0xa5, 0 - 33MB ===
-read 34603008/34603008 bytes at offset 0
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-
-=== Verify pattern 0x96, 33M - 66M ===
-read 34603008/34603008 bytes at offset 34603008
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-
-=== Verify pattern 0x00, 66M - 1024M ===
-read 1004535808/1004535808 bytes at offset 69206016
-958 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-
-=== Verify pattern write, 0xc3 99M-157M ===
-wrote 60817408/60817408 bytes at offset 103809024
-58 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 34603008/34603008 bytes at offset 0
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 34603008/34603008 bytes at offset 34603008
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 34603008/34603008 bytes at offset 69206016
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 909115392/909115392 bytes at offset 164626432
-867 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 60817408/60817408 bytes at offset 103809024
-58 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-*** done
+bzcat: Can't open input file /opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2: No such file or directory.
+_use_sample_img error, cannot extract '/opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2'
065         [not run] not suitable for this image format: vhdx
066         [not run] not suitable for this image format: vhdx
067         [not run] not suitable for this image format: vhdx
068         [not run] not suitable for this image format: vhdx
070         [failed, exit status 1] - output mismatch (see 070.out.bad)
--- 070.out	2015-08-13 12:28:12.328636539 +0800
+++ 070.out.bad	2015-08-13 13:48:38.099419135 +0800
@@ -1,8 +1,3 @@
 QA output created by 070
-
-=== Verify open image read-only fails, due to dirty log ===
-Permission denied
-=== Verify open image replays log  ===
-read 18874368/18874368 bytes at offset 0
-18 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-*** done
+bzcat: Can't open input file /opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2: No such file or directory.
+_use_sample_img error, cannot extract '/opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2'
075         [not run] not suitable for this image format: vhdx
076         [not run] not suitable for this image format: vhdx


So this bug is reproduced.

Try to test with latest build, it still hit such issue:
# git branch -v
* (detached from qemu-kvm-1.5.3-100.el7) c5fd0a3 Update to qemu-kvm-1.5.3-100.el7
  rhel7/master-1.5.3                     c5fd0a3 Update to qemu-kvm-1.5.3-100.el7


# ./check --vhdx
QEMU          -- /usr/libexec/qemu-kvm
QEMU_IMG      -- /usr/bin/qemu-img
QEMU_IO       -- /usr/bin/qemu-io 
IMGFMT        -- raw
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 dhcp-10-63 3.10.0-304.el7.x86_64

Passed all 0 tests
[root@dhcp-10-63 qemu-iotests]# ./check -vhdx
QEMU          -- /usr/libexec/qemu-kvm
QEMU_IMG      -- /usr/bin/qemu-img
QEMU_IO       -- /usr/bin/qemu-io 
IMGFMT        -- vhdx
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 dhcp-10-63 3.10.0-304.el7.x86_64

001 4s ...
002 6s ...
003 5s ...
004 1s ...
005 0s ...
006         [not run] not suitable for this image format: vhdx
007         [not run] not suitable for this image format: vhdx
008 5s ...
009 1s ...
010 0s ...
011 2s ...
012 0s ...
013         [not run] not suitable for this image format: vhdx
014         [not run] not suitable for this image format: vhdx
015         [not run] not suitable for this image format: vhdx
016         [not run] not suitable for this image format: vhdx
017         [not run] not suitable for this image format: vhdx
018         [not run] not suitable for this image format: vhdx
019         [not run] not suitable for this image format: vhdx
020         [not run] not suitable for this image format: vhdx
021 2s ...
022         [not run] not suitable for this image format: vhdx
023         [not run] not suitable for this image format: vhdx
024         [not run] not suitable for this image format: vhdx
025         [not run] not suitable for this image format: vhdx
026         [not run] not suitable for this image format: vhdx
027         [not run] not suitable for this image format: vhdx
028         [not run] not suitable for this image format: vhdx
029         [not run] not suitable for this image format: vhdx
030         [not run] not suitable for this image format: vhdx
031         [not run] not suitable for this image format: vhdx
032 1s ...
033 1s ... - output mismatch (see 033.out.bad)
--- 033.out	2015-08-13 13:54:49.172183141 +0800
+++ 033.out.bad	2015-08-13 14:08:11.771509793 +0800
@@ -2,83 +2,77 @@
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
 
 == preparing image ==
-wrote 1024/1024 bytes at offset 512
-1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 1536/1536 bytes at offset 131072
-1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 131072/131072 bytes at offset 1024
-128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (1) ==
+Pattern verification failed at offset 512, 512 bytes
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 132096, 512 bytes
 read 512/512 bytes at offset 132096
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting zeroes ==
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (2) ==
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting unaligned zeroes ==
-wrote 4096/4096 bytes at offset 0
-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 512/512 bytes at offset 512
-512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (3) ==
+Pattern verification failed at offset 0, 512 bytes
 read 512/512 bytes at offset 0
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 1024, 3072 bytes
 read 3072/3072 bytes at offset 1024
 3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 
 == preparing image ==
-wrote 1024/1024 bytes at offset 512
-1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 1536/1536 bytes at offset 131072
-1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 131072/131072 bytes at offset 1024
-128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (1) ==
+Pattern verification failed at offset 512, 512 bytes
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 132096, 512 bytes
 read 512/512 bytes at offset 132096
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting zeroes ==
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (2) ==
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting unaligned zeroes ==
-wrote 4096/4096 bytes at offset 0
-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 512/512 bytes at offset 512
-512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (3) ==
+Pattern verification failed at offset 0, 512 bytes
 read 512/512 bytes at offset 0
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 1024, 3072 bytes
 read 3072/3072 bytes at offset 1024
 3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
034         [not run] not suitable for this image format: vhdx
035         [not run] not suitable for this image format: vhdx
036         [not run] not suitable for this image format: vhdx
037         [not run] not suitable for this image format: vhdx
038         [not run] not suitable for this image format: vhdx
039         [not run] not suitable for this image format: vhdx
040         [not run] not suitable for this image format: vhdx
041         [not run] not suitable for this image format: vhdx
042         [not run] not suitable for this image format: vhdx
043         [not run] not suitable for this image format: vhdx
044         [not run] not suitable for this image format: vhdx
045         [not run] not suitable for this image format: vhdx
046         [not run] not suitable for this image format: vhdx
047         [not run] not suitable for this image format: vhdx
048         [not run] not suitable for this image format: vhdx
049         [not run] not suitable for this image format: vhdx
050         [not run] not suitable for this image format: vhdx
051         [not run] not suitable for this image format: vhdx
052 3s ...
053         [not run] not suitable for this image format: vhdx
054         [not run] not suitable for this image format: vhdx
059         [not run] not suitable for this image format: vhdx
060         [not run] not suitable for this image format: vhdx
061         [not run] not suitable for this image format: vhdx
062         [not run] not suitable for this image format: vhdx
063         [not run] not suitable for this image format: vhdx
064         [failed, exit status 1] - output mismatch (see 064.out.bad)
--- 064.out	2015-08-13 13:54:49.178183121 +0800
+++ 064.out.bad	2015-08-13 14:08:14.873499461 +0800
@@ -1,28 +1,14 @@
 QA output created by 064
 
-=== Verify pattern 0xa5, 0 - 33MB ===
-read 34603008/34603008 bytes at offset 0
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+bzcat: Compressed file ends unexpectedly;
+	perhaps it is corrupted?  *Possible* reason follows.
+bzcat: Success
+	Input file = /opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2, output file = (stdout)
 
-=== Verify pattern 0x96, 33M - 66M ===
-read 34603008/34603008 bytes at offset 34603008
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+It is possible that the compressed file(s) have become corrupted.
+You can use the -tvv option to test integrity of such files.
 
-=== Verify pattern 0x00, 66M - 1024M ===
-read 1004535808/1004535808 bytes at offset 69206016
-958 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+You can use the `bzip2recover' program to attempt to recover
+data from undamaged sections of corrupted files.
 
-=== Verify pattern write, 0xc3 99M-157M ===
-wrote 60817408/60817408 bytes at offset 103809024
-58 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 34603008/34603008 bytes at offset 0
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 34603008/34603008 bytes at offset 34603008
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 34603008/34603008 bytes at offset 69206016
-33 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 909115392/909115392 bytes at offset 164626432
-867 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-read 60817408/60817408 bytes at offset 103809024
-58 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-*** done
+_use_sample_img error, cannot extract '/opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dynamic-1G.vhdx.bz2'
065         [not run] not suitable for this image format: vhdx
066         [not run] not suitable for this image format: vhdx
067         [not run] not suitable for this image format: vhdx
068         [not run] not suitable for this image format: vhdx
069         [not run] not suitable for this image format: vhdx
070         [failed, exit status 1] - output mismatch (see 070.out.bad)
--- 070.out	2015-08-13 13:54:49.179183118 +0800
+++ 070.out.bad	2015-08-13 14:08:15.068498811 +0800
@@ -1,8 +1,3 @@
 QA output created by 070
-
-=== Verify open image read-only fails, due to dirty log ===
-Operation not permitted
-=== Verify open image replays log  ===
-read 18874368/18874368 bytes at offset 0
-18 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-*** done
+bzcat: Can't open input file /opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2: No such file or directory.
+_use_sample_img error, cannot extract '/opt/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2'
075         [not run] not suitable for this image format: vhdx
076         [not run] not suitable for this image format: vhdx
077         [not run] not suitable for this image format: vhdx
078         [not run] not suitable for this image format: vhdx
079         [not run] not suitable for this image format: vhdx
080         [not run] not suitable for this image format: vhdx
082         [not run] not suitable for this image format: vhdx
084         [not run] not suitable for this image format: vhdx
086         [not run] not suitable for this image format: vhdx
087         [not run] not suitable for this image format: vhdx
088         [not run] not suitable for this image format: vhdx
092         [not run] not suitable for this image format: vhdx
105 1s ...
107         [not run] not suitable for this image format: vhdx
108         [not run] not suitable for this image format: vhdx
111         [not run] not suitable for this image format: vhdx
114         [not run] not suitable for this image format: vhdx
121         [not run] not suitable for this image format: vhdx
130         [not run] not suitable for this image format: vhdx
135         [not run] not suitable for this image format: vhdx
Not run: 006 007 013 014 015 016 017 018 019 020 022 023 024 025 026 027 028 029 030 031 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 053 054 059 060 061 062 063 065 066 067 068 069 075 076 077 078 079 080 082 084 086 087 088 092 107 108 111 114 121 130 135
Failures: 033 064 070
Failed 3 of 17 tests


So I think this bug is not fixed with qemu-kvm-100, re-assign it first.

Comment 6 Miroslav Rezanina 2015-08-19 16:20:06 UTC
Test image was incorrectly committed to git repository. This file is correct now. Can you retest with current content of branch. Version is not tagged so head of rhel7/master-1.5.3 should be used.

Comment 7 Qian Guo 2015-08-26 08:30:22 UTC
(In reply to Miroslav Rezanina from comment #6)
> Test image was incorrectly committed to git repository. This file is correct
> now. Can you retest with current content of branch. Version is not tagged so
> head of rhel7/master-1.5.3 should be used.

Hi, Miroslav

I just tested with followings:
# git branch -v
* rhel7/master-1.5.3 93b04cb Fix content for iotest-dynamic-1G.vhdx.bz2


# ./check -vhdx
QEMU          -- /usr/libexec/qemu-kvm
QEMU_IMG      -- /usr/bin/qemu-img
QEMU_IO       -- /usr/bin/qemu-io 
IMGFMT        -- vhdx
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 dhcp-10-63 3.10.0-304.el7.x86_64

001        
002        
003        
004        
005        
006         [not run] not suitable for this image format: vhdx
007         [not run] not suitable for this image format: vhdx
008        
009        
010        
011        
012        
013         [not run] not suitable for this image format: vhdx
014         [not run] not suitable for this image format: vhdx
015         [not run] not suitable for this image format: vhdx
016         [not run] not suitable for this image format: vhdx
017         [not run] not suitable for this image format: vhdx
018         [not run] not suitable for this image format: vhdx
019         [not run] not suitable for this image format: vhdx
020         [not run] not suitable for this image format: vhdx
021        
022         [not run] not suitable for this image format: vhdx
023         [not run] not suitable for this image format: vhdx
024         [not run] not suitable for this image format: vhdx
025         [not run] not suitable for this image format: vhdx
026         [not run] not suitable for this image format: vhdx
027         [not run] not suitable for this image format: vhdx
028         [not run] not suitable for this image format: vhdx
029         [not run] not suitable for this image format: vhdx
030         [not run] not suitable for this image format: vhdx
031         [not run] not suitable for this image format: vhdx
032        
033         - output mismatch (see 033.out.bad)
--- 033.out	2015-08-26 15:59:16.499318631 +0800
+++ 033.out.bad	2015-08-26 16:23:57.271437355 +0800
@@ -2,83 +2,77 @@
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
 
 == preparing image ==
-wrote 1024/1024 bytes at offset 512
-1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 1536/1536 bytes at offset 131072
-1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 131072/131072 bytes at offset 1024
-128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (1) ==
+Pattern verification failed at offset 512, 512 bytes
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 132096, 512 bytes
 read 512/512 bytes at offset 132096
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting zeroes ==
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (2) ==
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting unaligned zeroes ==
-wrote 4096/4096 bytes at offset 0
-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 512/512 bytes at offset 512
-512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (3) ==
+Pattern verification failed at offset 0, 512 bytes
 read 512/512 bytes at offset 0
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 1024, 3072 bytes
 read 3072/3072 bytes at offset 1024
 3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 
 == preparing image ==
-wrote 1024/1024 bytes at offset 512
-1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 1536/1536 bytes at offset 131072
-1.500 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 131072/131072 bytes at offset 1024
-128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (1) ==
+Pattern verification failed at offset 512, 512 bytes
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 132096, 512 bytes
 read 512/512 bytes at offset 132096
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting zeroes ==
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 65536/65536 bytes at offset 65536
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (2) ==
 read 131072/131072 bytes at offset 1024
 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
 == rewriting unaligned zeroes ==
-wrote 4096/4096 bytes at offset 0
-4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-wrote 512/512 bytes at offset 512
-512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Operation not supported
+write failed: Operation not supported
 
 == verifying patterns (3) ==
+Pattern verification failed at offset 0, 512 bytes
 read 512/512 bytes at offset 0
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 read 512/512 bytes at offset 512
 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+Pattern verification failed at offset 1024, 3072 bytes
 read 3072/3072 bytes at offset 1024
 3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 
034         [not run] not suitable for this image format: vhdx
035         [not run] not suitable for this image format: vhdx
036         [not run] not suitable for this image format: vhdx
037         [not run] not suitable for this image format: vhdx
038         [not run] not suitable for this image format: vhdx
039         [not run] not suitable for this image format: vhdx
040         [not run] not suitable for this image format: vhdx
041         [not run] not suitable for this image format: vhdx
042         [not run] not suitable for this image format: vhdx
043         [not run] not suitable for this image format: vhdx
044         [not run] not suitable for this image format: vhdx
045         [not run] not suitable for this image format: vhdx
046         [not run] not suitable for this image format: vhdx
047         [not run] not suitable for this image format: vhdx
048         [not run] not suitable for this image format: vhdx
049         [not run] not suitable for this image format: vhdx
050         [not run] not suitable for this image format: vhdx
051         [not run] not suitable for this image format: vhdx
052        
053         [not run] not suitable for this image format: vhdx
054         [not run] not suitable for this image format: vhdx
059         [not run] not suitable for this image format: vhdx
060         [not run] not suitable for this image format: vhdx
061         [not run] not suitable for this image format: vhdx
062         [not run] not suitable for this image format: vhdx
063         [not run] not suitable for this image format: vhdx
064        
065         [not run] not suitable for this image format: vhdx
066         [not run] not suitable for this image format: vhdx
067         [not run] not suitable for this image format: vhdx
068         [not run] not suitable for this image format: vhdx
069         [not run] not suitable for this image format: vhdx
070         [failed, exit status 1] - output mismatch (see 070.out.bad)
--- 070.out	2015-08-26 15:59:16.505318611 +0800
+++ 070.out.bad	2015-08-26 16:24:07.831402544 +0800
@@ -1,8 +1,3 @@
 QA output created by 070
-
-=== Verify open image read-only fails, due to dirty log ===
-Operation not permitted
-=== Verify open image replays log  ===
-read 18874368/18874368 bytes at offset 0
-18 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-*** done
+bzcat: Can't open input file /root/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2: No such file or directory.
+_use_sample_img error, cannot extract '/root/qemu-kvm/tests/qemu-iotests/sample_images/iotest-dirtylog-10G-4M.vhdx.bz2'
075         [not run] not suitable for this image format: vhdx
076         [not run] not suitable for this image format: vhdx
077         [not run] not suitable for this image format: vhdx
078         [not run] not suitable for this image format: vhdx
079         [not run] not suitable for this image format: vhdx
080         [not run] not suitable for this image format: vhdx
082         [not run] not suitable for this image format: vhdx
084         [not run] not suitable for this image format: vhdx
086         [not run] not suitable for this image format: vhdx
087         [not run] not suitable for this image format: vhdx
088         [not run] not suitable for this image format: vhdx
092         [not run] not suitable for this image format: vhdx
105        
107         [not run] not suitable for this image format: vhdx
108         [not run] not suitable for this image format: vhdx
111         [not run] not suitable for this image format: vhdx
114         [not run] not suitable for this image format: vhdx
121         [not run] not suitable for this image format: vhdx
130         [not run] not suitable for this image format: vhdx
135         [not run] not suitable for this image format: vhdx
Not run: 006 007 013 014 015 016 017 018 019 020 022 023 024 025 026 027 028 029 030 031 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 053 054 059 060 061 062 063 065 066 067 068 069 075 076 077 078 079 080 082 084 086 087 088 092 107 108 111 114 121 130 135
Failures: 033 070
Failed 2 of 17 tests



Seams still have 2 failures, if anything wrong I made, please feel free to fix me.

Thanks, 
Qian

Comment 8 Miroslav Rezanina 2015-08-26 14:50:02 UTC
Right, there were one more image missing in the tree. I'm sorry for incomplete fix. All missing files should be now in tree.

Comment 9 Qian Guo 2015-08-27 03:47:56 UTC
# git branch -v
* rhel7/master-1.5.3 fd55523 Add iotest-dirtylog-10G-4M.vhdx.bz2 file
# ./check -vhdx
QEMU          -- /usr/libexec/qemu-kvm
QEMU_IMG      -- /usr/bin/qemu-img
QEMU_IO       -- /usr/bin/qemu-io 
IMGFMT        -- vhdx
IMGPROTO      -- file
PLATFORM      -- Linux/x86_64 dhcp-10-63 3.10.0-304.el7.x86_64

....

Not run: 006 007 013 014 015 016 017 018 019 020 022 023 024 025 026 027 028 029 030 031 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 053 054 059 060 061 062 063 065 066 067 068 069 075 076 077 078 079 080 082 084 086 087 088 092 107 108 111 114 121 130 135
Failures: 033
Failed 1 of 17 tests


Hi, Miroslav

Still 033 failed.

Anyway, it is not related with "iotest-dirtylog-10G-4M.vhdx.bz2 and iotest-dynamic-1G.vhdx.bz2 image. not found".


The fail log like this:


# cat 033.out.bad 
QA output created by 033
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 

== preparing image ==
write failed: Operation not supported
write failed: Operation not supported
write failed: Operation not supported

== verifying patterns (1) ==
Pattern verification failed at offset 512, 512 bytes
read 512/512 bytes at offset 512
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
read 131072/131072 bytes at offset 1024
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Pattern verification failed at offset 132096, 512 bytes
read 512/512 bytes at offset 132096
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

== rewriting zeroes ==
write failed: Operation not supported
write failed: Operation not supported

== verifying patterns (2) ==
read 131072/131072 bytes at offset 1024
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

== rewriting unaligned zeroes ==
write failed: Operation not supported
write failed: Operation not supported

== verifying patterns (3) ==
Pattern verification failed at offset 0, 512 bytes
read 512/512 bytes at offset 0
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
read 512/512 bytes at offset 512
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Pattern verification failed at offset 1024, 3072 bytes
read 3072/3072 bytes at offset 1024
3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)


== preparing image ==
write failed: Operation not supported
write failed: Operation not supported
write failed: Operation not supported

== verifying patterns (1) ==
Pattern verification failed at offset 512, 512 bytes
read 512/512 bytes at offset 512
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
read 131072/131072 bytes at offset 1024
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Pattern verification failed at offset 132096, 512 bytes
read 512/512 bytes at offset 132096
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

== rewriting zeroes ==
write failed: Operation not supported
write failed: Operation not supported

== verifying patterns (2) ==
read 131072/131072 bytes at offset 1024
128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

== rewriting unaligned zeroes ==
write failed: Operation not supported
write failed: Operation not supported

== verifying patterns (3) ==
Pattern verification failed at offset 0, 512 bytes
read 512/512 bytes at offset 0
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
read 512/512 bytes at offset 512
512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Pattern verification failed at offset 1024, 3072 bytes
read 3072/3072 bytes at offset 1024
3 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

*** done


Please check, thanks.

Comment 12 juzhang 2015-09-11 01:34:00 UTC
According to comment9-comment11, set this issue as verified.

Comment 14 errata-xmlrpc 2015-11-19 04:50:47 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://rhn.redhat.com/errata/RHBA-2015-2213.html


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