qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Cc: kwolf@redhat.com, lcapitulino@redhat.com, qemu-devel@nongnu.org,
	stefanha@redhat.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH V4 0/3] qemu-iotests: add test for fd passing via SCM rights
Date: Fri, 20 Sep 2013 17:11:47 +0200	[thread overview]
Message-ID: <20130920151147.GA12597@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20130909115720.GB20215@stefanha-thinkpad.redhat.com>

On Mon, Sep 09, 2013 at 01:57:20PM +0200, Stefan Hajnoczi wrote:
> On Fri, Sep 06, 2013 at 11:24:31AM +0800, Wenchao Xia wrote:
> >  tests/qemu-iotests/socket_scm_helper.c |  135 ++++++++++++++++++++++++++++++++

After a clean QEMU build ./check -raw fails now.  This can be resolved
by manually building the helper program but I think it should be part of
the main QEMU build process (make install simply won't copy the helper
program).

Wenchao: Can you send a patch to include the helper into the build
process?

045 1s ... [failed, exit status 1] - output mismatch (see 045.out.bad)
--- 045.out	2013-09-20 16:08:02.193074640 +0200
+++ 045.out.bad	2013-09-20 17:02:51.492683466 +0200
@@ -1,5 +1,49 @@
-...........
+......FF.FF
+======================================================================
+FAIL: test_add_fd (__main__.TestSCMFd)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./045", line 147, in test_add_fd
+    self._send_fd_by_SCM()
+  File "./045", line 144, in _send_fd_by_SCM
+    self.assertEqual(ret, 0, 'Failed to send fd with UNIX SCM')
+AssertionError: Failed to send fd with UNIX SCM
+
+======================================================================
+FAIL: test_closefd (__main__.TestSCMFd)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./045", line 164, in test_closefd
+    self._send_fd_by_SCM()
+  File "./045", line 144, in _send_fd_by_SCM
+    self.assertEqual(ret, 0, 'Failed to send fd with UNIX SCM')
+AssertionError: Failed to send fd with UNIX SCM
+
+======================================================================
+FAIL: test_getfd (__main__.TestSCMFd)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./045", line 152, in test_getfd
+    self._send_fd_by_SCM()
+  File "./045", line 144, in _send_fd_by_SCM
+    self.assertEqual(ret, 0, 'Failed to send fd with UNIX SCM')
+AssertionError: Failed to send fd with UNIX SCM
+
+======================================================================
+FAIL: test_getfd_invalid_fdname (__main__.TestSCMFd)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "./045", line 157, in test_getfd_invalid_fdname
+    self._send_fd_by_SCM()
+  File "./045", line 144, in _send_fd_by_SCM
+    self.assertEqual(ret, 0, 'Failed to send fd with UNIX SCM')
+AssertionError: Failed to send fd with UNIX SCM
+
 ----------------------------------------------------------------------
 Ran 11 tests
 
-OK
+FAILED (failures=4)
+Scm help program does not present, path 'socket_scm_helper'.
+Scm help program does not present, path 'socket_scm_helper'.
+Scm help program does not present, path 'socket_scm_helper'.
+Scm help program does not present, path 'socket_scm_helper'.

  parent reply	other threads:[~2013-09-20 15:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06  3:24 [Qemu-devel] [PATCH V4 0/3] qemu-iotests: add test for fd passing via SCM rights Wenchao Xia
2013-09-06  3:24 ` [Qemu-devel] [PATCH V4 1/3] qemu-iotests: add unix socket help program Wenchao Xia
2013-09-06  3:24 ` [Qemu-devel] [PATCH V4 2/3] qemu-iotests: add infrastructure of fd passing via SCM Wenchao Xia
2013-09-06  3:24 ` [Qemu-devel] [PATCH V4 3/3] qemu-iotests: add tests for runtime fd passing via SCM rights Wenchao Xia
2013-09-09 11:57 ` [Qemu-devel] [PATCH V4 0/3] qemu-iotests: add test for " Stefan Hajnoczi
2013-09-10 11:47   ` Kevin Wolf
2013-09-11  2:38     ` Wenchao Xia
2013-09-11  7:32       ` Kevin Wolf
2013-09-11  8:14         ` Wenchao Xia
2013-09-20 15:11   ` Stefan Hajnoczi [this message]
2013-09-22  6:43     ` Wenchao Xia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130920151147.GA12597@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=armbru@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=xiawenc@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).