Patchwork qemu-iotests: Update expected results after qemu-img changes

login
register
mail settings
Submitter Kevin Wolf
Date Oct. 15, 2010, 4:11 p.m.
Message ID <1287159110-14914-1-git-send-email-kwolf@redhat.com>
Download mbox | patch
Permalink /patch/67980/
State New
Headers show

Comments

Kevin Wolf - Oct. 15, 2010, 4:11 p.m.
The error message for leaked clusters has changed. qemu-iotests needs to be
updated to pass 026 again.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 026.out |  120 +++++++++++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 90 insertions(+), 30 deletions(-)
Christoph Hellwig - Oct. 15, 2010, 9:12 p.m.
On Fri, Oct 15, 2010 at 06:11:50PM +0200, Kevin Wolf wrote:
> The error message for leaked clusters has changed. qemu-iotests needs to be
> updated to pass 026 again.

Thanks, applied!

Patch

diff --git a/026.out b/026.out
index da611e5..b503cf2 100644
--- a/026.out
+++ b/026.out
@@ -5,42 +5,58 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 
 Event: l1_update; errno: 5; imm: off; once: on; write 
 write failed: Input/output error
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 5; imm: off; once: on; write -b
 write failed: Input/output error
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 5; imm: off; once: off; write 
 write failed: Input/output error
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 5; imm: off; once: off; write -b
 write failed: Input/output error
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 28; imm: off; once: on; write 
 write failed: No space left on device
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 28; imm: off; once: on; write -b
 write failed: No space left on device
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l1_update; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l2_load; errno: 5; imm: off; once: on; write 
@@ -109,42 +125,58 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 
 Event: l2_update; errno: 5; imm: off; once: on; write 
 write failed: Input/output error
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 5; imm: off; once: on; write -b
 write failed: Input/output error
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 5; imm: off; once: off; write 
 write failed: Input/output error
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 5; imm: off; once: off; write -b
 write failed: Input/output error
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 28; imm: off; once: on; write 
 write failed: No space left on device
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 28; imm: off; once: on; write -b
 write failed: No space left on device
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_update; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-128 errors were found on the image.
+
+128 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 cluster_size=1024 
 
 Event: l2_alloc.write; errno: 5; imm: off; once: on; write 
@@ -154,7 +186,9 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 
 Event: l2_alloc.write; errno: 5; imm: off; once: on; write -b
 write failed: Input/output error
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l2_alloc.write; errno: 5; imm: off; once: off; write 
@@ -164,7 +198,9 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 
 Event: l2_alloc.write; errno: 5; imm: off; once: off; write -b
 write failed: Input/output error
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l2_alloc.write; errno: 28; imm: off; once: on; write 
@@ -174,7 +210,9 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 
 Event: l2_alloc.write; errno: 28; imm: off; once: on; write -b
 write failed: No space left on device
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: l2_alloc.write; errno: 28; imm: off; once: off; write 
@@ -184,7 +222,9 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 
 Event: l2_alloc.write; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-1 errors were found on the image.
+
+1 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 cluster_size=1024 
 
 Event: write_aio; errno: 5; imm: off; once: on; write 
@@ -402,12 +442,16 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=512
 
 Event: refblock_alloc.hookup; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
-55 errors were found on the image.
+
+55 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 cluster_size=512 
 
 Event: refblock_alloc.hookup; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-251 errors were found on the image.
+
+251 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 cluster_size=512 
 
 Event: refblock_alloc.write; errno: 28; imm: off; once: on; write 
@@ -442,12 +486,16 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=512
 
 Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
-10 errors were found on the image.
+
+10 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 cluster_size=512 
 
 Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-23 errors were found on the image.
+
+23 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 cluster_size=512 
 
 Event: refblock_alloc.write_table; errno: 28; imm: off; once: on; write 
@@ -462,12 +510,16 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=512
 
 Event: refblock_alloc.write_table; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
-10 errors were found on the image.
+
+10 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 cluster_size=512 
 
 Event: refblock_alloc.write_table; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-23 errors were found on the image.
+
+23 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 cluster_size=512 
 
 Event: refblock_alloc.switch_table; errno: 28; imm: off; once: on; write 
@@ -482,12 +534,16 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=512
 
 Event: refblock_alloc.switch_table; errno: 28; imm: off; once: off; write 
 write failed: No space left on device
-10 errors were found on the image.
+
+10 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 cluster_size=512 
 
 Event: refblock_alloc.switch_table; errno: 28; imm: off; once: off; write -b
 write failed: No space left on device
-23 errors were found on the image.
+
+23 leaked clusters were found on the image.
+This means waste of disk space, but no harm to data.
 
 === L1 growth tests ===
 
@@ -543,7 +599,9 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 Event: l1_grow.activate_table; errno: 5; imm: off; once: off
 qcow2_free_clusters failed: Input/output error
 write failed: Input/output error
-96 errors were found on the image.
+
+96 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 cluster_size=1024 
 
 Event: l1_grow.activate_table; errno: 28; imm: off; once: on
@@ -554,5 +612,7 @@  Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 cluster_size=1024
 Event: l1_grow.activate_table; errno: 28; imm: off; once: off
 qcow2_free_clusters failed: No space left on device
 write failed: No space left on device
-96 errors were found on the image.
+
+96 leaked clusters were found on the image.
+This means waste of disk space, but no harm to data.
 *** done