yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
958e1b
From 25a620f2e952cdbc10b148f403013e07e0b7285f Mon Sep 17 00:00:00 2001
958e1b
Message-Id: <25a620f2e952cdbc10b148f403013e07e0b7285f.1418766606.git.jen@redhat.com>
958e1b
In-Reply-To: <6f81b4847eb68ebdf54a8f1a771e19d112d74152.1418766606.git.jen@redhat.com>
958e1b
References: <6f81b4847eb68ebdf54a8f1a771e19d112d74152.1418766606.git.jen@redhat.com>
958e1b
From: Fam Zheng <famz@redhat.com>
958e1b
Date: Thu, 4 Dec 2014 00:05:04 -0600
958e1b
Subject: [CHANGE 10/31] qemu-iotests: Don't run 005 on vmdk split formats
958e1b
To: rhvirt-patches@redhat.com,
958e1b
    jen@redhat.com
958e1b
958e1b
RH-Author: Fam Zheng <famz@redhat.com>
958e1b
Message-id: <1417651524-18041-11-git-send-email-famz@redhat.com>
958e1b
Patchwork-id: 62683
958e1b
O-Subject: [RHEL-7.1 qemu-kvm PATCH v5 10/30] qemu-iotests: Don't run 005 on vmdk split formats
958e1b
Bugzilla: 1002493
958e1b
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
958e1b
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
958e1b
RH-Acked-by: Max Reitz <mreitz@redhat.com>
958e1b
958e1b
There would be too many extents that VMDK driver can't open all of them:
958e1b
958e1b
 >  005 0s ... - output mismatch (see 005.out.bad)
958e1b
 >  --- 005.out     2013-12-24 09:27:27.608181030 +0800
958e1b
 >  +++ 005.out.bad 2014-02-13 10:00:15.282184557 +0800
958e1b
 >  @@ -4,10 +4,10 @@
958e1b
 >   Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=5368709120000
958e1b
 >
958e1b
 >   small read
958e1b
 >  -read 4096/4096 bytes at offset 1024
958e1b
 >  -4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
958e1b
 >  +qemu-io: can't open device /tmp/qemu-iotests/t.vmdk: Could not open '/tmp/qemu-iotests/t-s1016.vmdk': Too many open files
958e1b
 >  +no file open, try 'help open'
958e1b
 >
958e1b
 >   small write
958e1b
 >  -wrote 4096/4096 bytes at offset 8192
958e1b
 >  -4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
958e1b
 >  +qemu-io: can't open device /tmp/qemu-iotests/t.vmdk: Could not open '/tmp/qemu-iotests/t-s1016.vmdk': Too many open files
958e1b
 >  +no file open, try 'help open'
958e1b
 >   *** done
958e1b
958e1b
So disable the two subformats.
958e1b
958e1b
Signed-off-by: Fam Zheng <famz@redhat.com>
958e1b
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
958e1b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
958e1b
(cherry picked from commit 2aa4a86f59c7093e03d2ec18c5d5f08c957d1a78)
958e1b
Signed-off-by: Fam Zheng <famz@redhat.com>
958e1b
Signed-off-by: Jeff E. Nelson <jen@redhat.com>
958e1b
---
958e1b
 tests/qemu-iotests/005 | 2 ++
958e1b
 1 file changed, 2 insertions(+)
958e1b
958e1b
diff --git a/tests/qemu-iotests/005 b/tests/qemu-iotests/005
958e1b
index 9abcb84..ba1236d 100755
958e1b
--- a/tests/qemu-iotests/005
958e1b
+++ b/tests/qemu-iotests/005
958e1b
@@ -44,6 +44,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
958e1b
 _supported_fmt generic
958e1b
 _supported_proto generic
958e1b
 _supported_os Linux
958e1b
+_unsupported_imgopts "subformat=twoGbMaxExtentFlat" \
958e1b
+                     "subformat=twoGbMaxExtentSparse"
958e1b
 
958e1b
 # vpc is limited to 127GB, so we can't test it here
958e1b
 if [ "$IMGFMT" = "vpc" ]; then
958e1b
-- 
958e1b
2.1.0
958e1b