From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gW7YL-0000My-L9 for qemu-devel@nongnu.org; Sun, 09 Dec 2018 17:27:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gW7YG-0008NR-2L for qemu-devel@nongnu.org; Sun, 09 Dec 2018 17:27:57 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53207) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gW7YB-0008LG-0J for qemu-devel@nongnu.org; Sun, 09 Dec 2018 17:27:48 -0500 Date: Sun, 9 Dec 2018 17:27:38 -0500 From: "Emilio G. Cota" Message-ID: <20181209222738.GA9292@flamenco> References: <20181207204107.GH7395@habkost.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181207204107.GH7395@habkost.net> Subject: Re: [Qemu-devel] Help needed: test-qht-par hangs on Travis List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org On Fri, Dec 07, 2018 at 18:41:07 -0200, Eduardo Habkost wrote: > I've noticed QEMU Travis builds are failing recently, and they > seem to happen only on the --enable-gprof jobs. I have enabled > V=1 and noticed that the jobs are hanging inside test-qht-par. > > Example here (look for "/qht/parallel/2threads-0%updates-1s"): > > https://travis-ci.org/ehabkost/qemu-hacks/jobs/465081311 > > Does anybody have any idea why? So if I read that output correctly, it seems that the second test in qht-par never completes. Enabling gprof and gcov (as in that build) should just lower the throughput of the benchmark (test-qht-par invokes qht-bench), but the duration should be the same (1 second per test, so no need to wait for 10 minutes). Can you try re-running the test, after applying the appended patch? (It disables the "resize" thread.) Also, does it reliably hang on Travis, or are these hangs intermittent? Thanks, Emilio --- diff --git a/tests/test-qht-par.c b/tests/test-qht-par.c index d8a83caf5c..83ac92e430 100644 --- a/tests/test-qht-par.c +++ b/tests/test-qht-par.c @@ -6,7 +6,7 @@ */ #include "qemu/osdep.h" -#define TEST_QHT_STRING "tests/qht-bench 1>/dev/null 2>&1 -R -S0.1 -D10000 -N1 " +#define TEST_QHT_STRING "tests/qht-bench 1>/dev/null 2>&1 -R " static void test_qht(int n_threads, int update_rate, int duration) {