https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2015-02-05T20:47:04ZCeph rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=475302015-02-05T20:47:04ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/47530/diff?detail_id=47115">diff</a>)</li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=475312015-02-05T20:47:59ZLoïc Dacharyloic@dachary.org
<ul></ul><p>The tests are from a given commit in the qemu git repository, this is stable.<br /><pre>
git checkout 2528043f1f299e0e88cb026f1ca7c40bbb4e1f80
</pre></p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=475322015-02-05T20:55:32ZLoïc Dacharyloic@dachary.org
<ul></ul><p>qa/workunits/rbd/qemu-iotests.sh checkout 2528043f1f299e0e88cb026f1ca7c40bbb4e1f80 but uses the qemu binary that is found on the machine running the test, which is bound to lead to some variance.</p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=475342015-02-05T21:12:37ZLoïc Dacharyloic@dachary.org
<ul></ul><pre>
$ git log --patch 2528043f1f299e0e88cb026f1ca7c40bbb4e1f80..master -- tests/qemu-iotests/077
commit 8f9e835fd2e687d2bfe936819c3494af4343614d
Author: Kevin Wolf <kwolf@redhat.com>
Date: Thu Nov 20 16:27:07 2014 +0100
qemu-iotests: Use qemu-io -f $IMGFMT
This patch changes $QEMU_IO so that all tests by default pass a format
argument to qemu-io.
There are a few cases where -f $IMGFMT is not wanted because it selects
the wrong driver or json: filenames including a driver are used. They
are changed to use $QEMU_IO_PROG, which doesn't include any options.
Tests 071 and 081 have output changes because now the actual request
fails instead of reading the 2k probing buffer.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1416497234-29880-3-git-send-email-kwolf@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
diff --git a/tests/qemu-iotests/077 b/tests/qemu-iotests/077
index 4dd1bdd..42a9085 100755
--- a/tests/qemu-iotests/077
+++ b/tests/qemu-iotests/077
@@ -52,7 +52,7 @@ echo "== Some concurrent requests involving RMW =="
function test_io()
{
-echo "open -o file.align=4k blkdebug::$TEST_IMG"
+echo "open -o driver=$IMGFMT,file.align=4k blkdebug::$TEST_IMG"
# A simple RMW request
cat <<EOF
aio_write -P 10 0x200 0x200
</pre> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=475402015-02-05T22:22:16ZLoïc Dacharyloic@dachary.org
<ul></ul><pre>
ubuntu@plana62:~$ /usr/bin/qemu-system-x86_64 --version
QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.10), Copyright (c) 2003-2008 Fabrice Bellard
</pre> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=475682015-02-06T18:37:55ZJason Dillamandillaman@redhat.com
<ul></ul><p>I wasn't able to reproduce this on my Trusty VM. I appear to have the same qemu installed as plana62:</p>
<pre>
jdillaman@ubuntu:~/ceph/src$ dpkg --list | grep qemu-
ii qemu-keymaps 2.0.0+dfsg-2ubuntu1.10 all QEMU keyboard maps
ii qemu-system-common 2.0.0+dfsg-2ubuntu1.10 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-x86 2.0.0+dfsg-2ubuntu1.10 amd64 QEMU full system emulation binaries (x86)
ii qemu-utils 2.0.0+dfsg-2ubuntu1.10 amd64 QEMU utilities
</pre> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=476112015-02-09T10:02:45ZLoïc Dacharyloic@dachary.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Can't reproduce</i></li></ul><p>Another run of the same test completed successfully <a class="external" href="http://pulpito.ceph.com/loic-2015-02-05_21:41:04-rbd-dumpling-backports---basic-multi/">http://pulpito.ceph.com/loic-2015-02-05_21:41:04-rbd-dumpling-backports---basic-multi/</a></p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=660682016-02-18T05:55:32ZLoïc Dacharyloic@dachary.org
<ul></ul><p><a class="external" href="http://pulpito.ceph.com/loic-2016-02-16_22:05:19-rbd-hammer-backports---basic-multi/12638/">http://pulpito.ceph.com/loic-2016-02-16_22:05:19-rbd-hammer-backports---basic-multi/12638/</a></p>
<pre>
2016-02-17T00:26:00.636 INFO:tasks.workunit.client.0.smithi007.stdout:077 - output mismatch (see 077.out.bad)
2016-02-17T00:26:00.637 INFO:tasks.workunit.client.0.smithi007.stdout:--- /home/ubuntu/cephtest/mnt.0/client.0/tmp/qemu/tests/qemu-iotests/077.out 2016-02-17 08:22:00.396233597 +0000
2016-02-17T00:26:00.637 INFO:tasks.workunit.client.0.smithi007.stdout:+++ 077.out.bad 2016-02-17 08:26:00.491171157 +0000
2016-02-17T00:26:00.638 INFO:tasks.workunit.client.0.smithi007.stdout:@@ -50,9 +50,9 @@
2016-02-17T00:26:00.638 INFO:tasks.workunit.client.0.smithi007.stdout: wrote XXX/XXX bytes at offset XXX
2016-02-17T00:26:00.638 INFO:tasks.workunit.client.0.smithi007.stdout: XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2016-02-17T00:26:00.639 INFO:tasks.workunit.client.0.smithi007.stdout: blkdebug: Resuming request 'B'
2016-02-17T00:26:00.639 INFO:tasks.workunit.client.0.smithi007.stdout:+blkdebug: Resuming request 'A'
2016-02-17T00:26:00.639 INFO:tasks.workunit.client.0.smithi007.stdout: wrote XXX/XXX bytes at offset XXX
2016-02-17T00:26:00.639 INFO:tasks.workunit.client.0.smithi007.stdout: XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2016-02-17T00:26:00.640 INFO:tasks.workunit.client.0.smithi007.stdout:-blkdebug: Resuming request 'A'
2016-02-17T00:26:00.641 INFO:tasks.workunit.client.0.smithi007.stdout: wrote XXX/XXX bytes at offset XXX
2016-02-17T00:26:00.641 INFO:tasks.workunit.client.0.smithi007.stdout: XXX bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
2016-02-17T00:26:00.641 INFO:tasks.workunit.client.0.smithi007.stdout: wrote XXX/XXX bytes at offset XXX
2016-02-17T00:26:00.670 INFO:tasks.workunit.client.0.smithi007.stdout:Failures: 077
2016-02-17T00:26:00.670 INFO:tasks.workunit.client.0.smithi007.stdout:Failed 1 of 14 tests
2016-02-17T00:26:00.676 INFO:tasks.workunit:Stopping ['rbd/qemu-iotests.sh'] on client.0...
</pre> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=727592016-06-15T14:20:55ZNathan Cutlerncutler@suse.cz
<ul></ul><p>This resurfaced in an rbd run during integration testing of the hammer 0.94.8 release:</p>
<p><a class="external" href="http://pulpito.ceph.com/smithfarm-2016-06-02_00:35:31-rbd-hammer-backports---basic-smithi/229818/">http://pulpito.ceph.com/smithfarm-2016-06-02_00:35:31-rbd-hammer-backports---basic-smithi/229818/</a></p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=816352016-11-20T22:57:03ZNathan Cutlerncutler@suse.cz
<ul></ul><p>And again in 0.94.10 integration testing: <a class="external" href="http://pulpito.front.sepia.ceph.com/smithfarm-2016-11-18_10:01:33-rbd-hammer-backports---basic-smithi/558644/">http://pulpito.front.sepia.ceph.com/smithfarm-2016-11-18_10:01:33-rbd-hammer-backports---basic-smithi/558644/</a></p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=816362016-11-20T23:30:55ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Subject</strong> changed from <i>dumpling: qemu/tests/qemu-iotests/077 fails</i> to <i>hammer: qemu/tests/qemu-iotests/077 fails</i></li><li><strong>Status</strong> changed from <i>Can't reproduce</i> to <i>New</i></li><li><strong>Assignee</strong> set to <i>Jason Dillaman</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>Based on the above, this bug has been around since dumpling (?) but, at least in the 0.94.10 integration testing branch, it appears to be somewhat reproducible. Jason, could you help debug? See <a class="external" href="http://tracker.ceph.com/issues/17151#note-12">http://tracker.ceph.com/issues/17151#note-12</a></p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=816432016-11-21T10:14:44ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Subject</strong> changed from <i>hammer: qemu/tests/qemu-iotests/077 fails</i> to <i>dumpling, hammer: qemu/tests/qemu-iotests/077 fails</i></li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=817002016-11-21T16:28:02ZSamuel Justsjust@redhat.com
<ul><li><strong>Subject</strong> changed from <i>dumpling, hammer: qemu/tests/qemu-iotests/077 fails</i> to <i>dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 fails</i></li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=817052016-11-21T16:31:55ZSamuel Justsjust@redhat.com
<ul><li><strong>Project</strong> changed from <i>Ceph</i> to <i>rbd</i></li><li><strong>Category</strong> deleted (<del><i>qemu</i></del>)</li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=826662016-12-07T14:18:50ZJason Dillamandillaman@redhat.com
<ul><li><strong>Priority</strong> changed from <i>High</i> to <i>Normal</i></li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=826702016-12-07T15:02:14ZJason Dillamandillaman@redhat.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Backport</strong> set to <i>jewel, hammer</i></li></ul><p><strong>PR</strong>: <a class="external" href="https://github.com/ceph/ceph/pull/12366">https://github.com/ceph/ceph/pull/12366</a></p> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=828752016-12-09T20:07:57ZMykola Golubmgolub@suse.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Pending Backport</i></li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=828782016-12-09T21:11:44ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/18221">Backport #18221</a>: jewel: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 fails</i> added</li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=828802016-12-09T21:11:49ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/18222">Backport #18222</a>: hammer: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 fails</i> added</li></ul> rbd - Bug #10773: dumpling, hammer, jewel: qemu/tests/qemu-iotests/077 failshttps://tracker.ceph.com/issues/10773?journal_id=849892017-01-27T20:16:52ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul>