From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNdOG-0001Te-Ad for qemu-devel@nongnu.org; Sun, 22 Sep 2013 02:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNdO7-0002Vu-Cs for qemu-devel@nongnu.org; Sun, 22 Sep 2013 02:43:32 -0400 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:52721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNdO6-0002Vh-OH for qemu-devel@nongnu.org; Sun, 22 Sep 2013 02:43:23 -0400 Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 22 Sep 2013 12:13:16 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id A3AC6394004D for ; Sun, 22 Sep 2013 12:12:58 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r8M6h7e046596148 for ; Sun, 22 Sep 2013 12:13:11 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r8M6h8Dk015619 for ; Sun, 22 Sep 2013 12:13:08 +0530 Message-ID: <523E917B.1020301@linux.vnet.ibm.com> Date: Sun, 22 Sep 2013 14:43:07 +0800 From: Wenchao Xia MIME-Version: 1.0 References: <1378437874-28103-1-git-send-email-xiawenc@linux.vnet.ibm.com> <20130909115720.GB20215@stefanha-thinkpad.redhat.com> <20130920151147.GA12597@stefanha-thinkpad.redhat.com> In-Reply-To: <20130920151147.GA12597@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V4 0/3] qemu-iotests: add test for fd passing via SCM rights List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: kwolf@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com, lcapitulino@redhat.com On 09/20/2013 11:11 PM, Stefan Hajnoczi wrote: > 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? Sorry for late response, I was on vacation before. Will sent a patch later. > 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'. >