From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnSb7-00010O-Ha for qemu-devel@nongnu.org; Fri, 23 Sep 2016 11:41:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnSb3-0000Yz-BR for qemu-devel@nongnu.org; Fri, 23 Sep 2016 11:41:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnSb3-0000Yq-5F for qemu-devel@nongnu.org; Fri, 23 Sep 2016 11:41:05 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8C2299E63C for ; Fri, 23 Sep 2016 15:41:04 +0000 (UTC) Date: Fri, 23 Sep 2016 18:41:03 +0300 From: "Michael S. Tsirkin" Message-ID: <20160923184040-mutt-send-email-mst@kernel.org> References: <20160923153612.GU3233@thinpad.lan.raisama.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160923153612.GU3233@thinpad.lan.raisama.net> Subject: Re: [Qemu-devel] vhost-user-test failure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, maxime.coquelin@redhat.com On Fri, Sep 23, 2016 at 12:36:12PM -0300, Eduardo Habkost wrote: > Hi, > > I hit a weird vhost-user-test failure on travis-ci recently, on a > branch where I didn't touch any vhost-related code. From a quick > look at the code, it looks like the vhost-user code is unhappy to > see a disconnected socket. > > I wasn't able to reproduce it. It seems to be a hard to reproduce > race between vhost-user code and socket reconnection. > > The failure can be seen at: > > https://travis-ci.org/ehabkost/qemu-hacks/jobs/162077239 Maxime looked at something similiar. Any idea? > Error output: > > ** > ERROR:tests/vhost-user-test.c:715:test_reconnect: child process (/i386/vhost-user/reconnect/subprocess [23792]) failed unexpectedly > qemu-system-i386: Failed to set msg fds. > qemu-system-i386: vhost VQ 0 ring restore failed: -1: Resource temporarily unavailable (11) > qemu-system-i386: Failed to set msg fds. > qemu-system-i386: vhost VQ 1 ring restore failed: -1: Resource temporarily unavailable (11) > GTester: last random seed: R02S2892f6ad84bd5d03acd54cb75f444243 > make: *** [check-qtest-i386] Error 1 > > -- > Eduardo