Am 10.11.2015 um 15:59 hat Stefan Hajnoczi geschrieben: > On Tue, Nov 10, 2015 at 2:09 PM, Kevin Wolf <kw...@redhat.com> wrote: > > From: Alberto Garcia <be...@igalia.com> > > > > Signed-off-by: Alberto Garcia <be...@igalia.com> > > Message-id: > > 57c3b0d4d0c73ddadd19e5bded9492c359cc4568.1446475331.git.be...@igalia.com > > Reviewed-by: Max Reitz <mre...@redhat.com> > > Signed-off-by: Max Reitz <mre...@redhat.com> > > --- > > tests/qemu-iotests/139 | 414 > > +++++++++++++++++++++++++++++++++++++++++++++ > > tests/qemu-iotests/139.out | 5 + > > tests/qemu-iotests/group | 1 + > > 3 files changed, 420 insertions(+) > > create mode 100644 tests/qemu-iotests/139 > > create mode 100644 tests/qemu-iotests/139.out > > I'm seeing the following failure: > > ./check -qcow2 139 > QEMU -- "./qemu" -nodefaults > QEMU_IMG -- "./qemu-img" > QEMU_IO -- "./qemu-io" -f qcow2 --cache writeback > QEMU_NBD -- "./qemu-nbd" > IMGFMT -- qcow2 (compat=1.1) > IMGPROTO -- file > PLATFORM -- Linux/x86_64 stefanha-x1 4.2.5-300.fc23.x86_64 > TEST_DIR -- /home/stefanha/qemu/tests/qemu-iotests/scratch > SOCKET_SCM_HELPER -- /home/stefanha/qemu/tests/qemu-iotests/socket_scm_helper > > 139 [failed, exit status 1] - output mismatch (see 139.out.bad) > --- /home/stefanha/qemu/tests/qemu-iotests/139.out 2015-11-10 > 14:24:03.728322694 +0000 > +++ 139.out.bad 2015-11-10 14:54:51.617899443 +0000 > @@ -1,5 +1,19 @@ > -............ > +........F... > +====================================================================== > +FAIL: testQuorum (__main__.TestBlockdevDel) > +---------------------------------------------------------------------- > +Traceback (most recent call last): > + File "139", line 403, in testQuorum > + self.addQuorum('quorum0', 'node0', 'node1') > + File "139", line 291, in addQuorum > + self.assert_qmp(result, 'return', {}) > + File "/home/stefanha/qemu/tests/qemu-iotests/iotests.py", line 314, > in assert_qmp > + result = self.dictpath(d, path) > + File "/home/stefanha/qemu/tests/qemu-iotests/iotests.py", line 293, > in dictpath > + self.fail('failed path traversal for "%s" in "%s"' % (path, str(d))) > +AssertionError: failed path traversal for "return" in "{u'error': > {u'class': u'GenericError', u'desc': u"Unknown driver 'quorum'"}}" > +
I guess we need a follow-up patch for -rc1 that simply skips the test case if quorum isn't available. Kevin