vmdk fails qemu-iotest 019
Hi Fam,
now that I had a VMDK patch in the queue for the first time since quite a while, I ran qemu-iotests for VMDK and I noticed that test case 019 fails. It doesn't seem to be a regression, even 0.14 and 0.13 fail it.
I think you're running qemu-iotests to check your VMDK patches, so I wonder if you have already looked into this?
Kevin
Yes I noticed the failure, but it's trivial mismatch between qemu-img create output. The old test case has "cluster_size=65536" but I find the latest qemu-img omits this info, as the diff:
-Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 cluster_size=65536 +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944
Is this your case too?
Quoted 11 lines · Kevin Wolf
Hi Fam,
now that I had a VMDK patch in the queue for the first time since quite a while, I ran qemu-iotests for VMDK and I noticed that test case 019 fails. It doesn't seem to be a regression, even 0.14 and 0.13 fail it.
I think you're running qemu-iotests to check your VMDK patches, so I wonder if you have already looked into this?
Kevin
Signature · 2 lines
Best regards! Fam Zheng
Am 08.06.2011 15:29, schrieb Fam Zheng:
Quoted 8 lines
Yes I noticed the failure, but it's trivial mismatch between
qemu-img createoutput. The old test case has "cluster_size=65536" but I find the latest qemu-img omits this info, as the diff:(quoted diff) +1
-1-Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 cluster_size=65536 +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944Is this your case too?
No, I get real errors, pattern mismatches:
[ Before this, there are some successful writes ]
Testing conversion with -B TEST_DIR/t.IMGFMT.base
Checking if backing clusters are allocated when they shouldn't
qemu-io> 0/128 sectors allocated at offset 1 MiB qemu-io> qemu-io> 0/128 sectors allocated at offset 4.001 GiB qemu-io> Reading
=== IO: pattern 42
qemu-io> Pattern verification failed at offset 0, 512 bytes read 512/512 bytes at offset 0
512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> Pattern verification failed at offset 1024, 512 bytes read 512/512 bytes at offset 1024
512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> Pattern verification failed at offset 2048, 512 bytes
[ More pattern verification errors follow ]
Oh, you're right, and I think there is a patch of mine related to the fail:
"[PATCH 02/12] VMDK: bugfix, align offset to cluster in get_whole_cluster"
Can you test if this fixes it?
Quoted 34 lines · Kevin Wolf
Am 08.06.2011 15:29, schrieb Fam Zheng:
Quoted 8 lines
Yes I noticed the failure, but it's trivial mismatch between
qemu-img createoutput. The old test case has "cluster_size=65536" but I find the latest qemu-img omits this info, as the diff:(quoted diff) +1
-1-Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 cluster_size=65536 +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944Is this your case too?
No, I get real errors, pattern mismatches:
[ Before this, there are some successful writes ]
Testing conversion with -B TEST_DIR/t.IMGFMT.base
Checking if backing clusters are allocated when they shouldn't
qemu-io> 0/128 sectors allocated at offset 1 MiB qemu-io> qemu-io> 0/128 sectors allocated at offset 4.001 GiB qemu-io> Reading
=== IO: pattern 42
qemu-io> Pattern verification failed at offset 0, 512 bytes read 512/512 bytes at offset 0
512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> Pattern verification failed at offset 1024, 512 bytes read 512/512 bytes at offset 1024
512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> Pattern verification failed at offset 2048, 512 bytes[ More pattern verification errors follow ]
Signature · 2 lines
Best regards! Fam Zheng
Am 08.06.2011 16:17, schrieb Fam Zheng:
Quoted 5 lines
Oh, you're right, and I think there is a patch of mine related to the fail:
"[PATCH 02/12] VMDK: bugfix, align offset to cluster in
get_whole_cluster"Can you test if this fixes it?
Thanks, this works for me.
However, I had to fix your patch manually, it was line wrapped. Please make sure to avoid this in future submissions (e.g. by using git send-email).
I certainly won't do it manually for all 12 patches, but you can wait with resending until the series has got some review. :-)
Kevin
Quoted 39 lines · Kevin Wolf
Quoted 34 lines
Am 08.06.2011 15:29, schrieb Fam Zheng:
Quoted 8 lines
Yes I noticed the failure, but it's trivial mismatch between
qemu-img createoutput. The old test case has "cluster_size=65536" but I find the latest qemu-img omits this info, as the diff:(quoted diff) +1
-1-Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944 cluster_size=65536 +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=6442450944Is this your case too?
No, I get real errors, pattern mismatches:
[ Before this, there are some successful writes ]
Testing conversion with -B TEST_DIR/t.IMGFMT.base
Checking if backing clusters are allocated when they shouldn't
qemu-io> 0/128 sectors allocated at offset 1 MiB qemu-io> qemu-io> 0/128 sectors allocated at offset 4.001 GiB qemu-io> Reading
=== IO: pattern 42
qemu-io> Pattern verification failed at offset 0, 512 bytes read 512/512 bytes at offset 0
512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> Pattern verification failed at offset 1024, 512 bytes read 512/512 bytes at offset 1024
512.000000 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) qemu-io> Pattern verification failed at offset 2048, 512 bytes[ More pattern verification errors follow ]
Quoted 5 lines · Kevin Wolf
Am 08.06.2011 16:17, schrieb Fam Zheng:
Quoted 4 lines
Oh, you're right, and I think there is a patch of mine related to the fail:
"[PATCH 02/12] VMDK: bugfix, align offset to cluster in
get_whole_cluster"
Quoted 7 lines
Quoted 1 line
Can you test if this fixes it?
Thanks, this works for me.
However, I had to fix your patch manually, it was line wrapped. Please make sure to avoid this in future submissions (e.g. by using git send-email).
The GMail web interface *always* wraps lines, there doesn't seem to be a way to disable that. If you send it through GMail's SMTP servers with git-send-email(1) you'll be fine.
Here is my .gitconfig:
[sendemail]
smtpserver = smtp.gmail.com
smtpserverport = 587
smtpencryption = tls
smtpuser = [email protected]
chainreplyto = false
Stefan