From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJfYU-00058m-Ly for qemu-devel@nongnu.org; Tue, 19 Aug 2014 05:18:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJfYQ-0001gr-2g for qemu-devel@nongnu.org; Tue, 19 Aug 2014 05:18:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJfYP-0001gh-QZ for qemu-devel@nongnu.org; Tue, 19 Aug 2014 05:18:10 -0400 Date: Tue, 19 Aug 2014 10:18:03 +0100 From: Stefan Hajnoczi Message-ID: <20140819091803.GA25538@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH V2 0/2] runner: Control test duration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Maria Kustova Cc: kwolf@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, Maria Kustova --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 19, 2014 at 12:02:33AM +0400, Maria Kustova wrote: > The first patch adds the '--duration SECONDS' argument. After the specifi= ed > duration the runner allows to end the current test and then exits. >=20 > The second patch adds forced termination of a program under test, if the = test > execution takes more than 10 minutes to indicate program freezes. >=20 > If a program under test hangs, then the specified test duration can be ov= errun > up to 10 minutes. >=20 > The patch series is based on https://github.com/stefanha/qemu/commits/blo= ck, > commit 07a45925fa88376f8583a333e74f7eeb0f455685 >=20 > v1 -> v2: > * Trivial fixes based on the review of Fam Zheng > * Increased time-out (in some cases 5 minutes interval returned false > negatives) >=20 > Maria Kustova (2): > runner: Add an argument for test duration > runner: Kill a program under test by time-out >=20 > tests/image-fuzzer/runner.py | 50 +++++++++++++++++++++++++++++++++++++-= ------ > 1 file changed, 42 insertions(+), 8 deletions(-) Reviewed-by: Stefan Hajnoczi --envbJBWh7q8WU6mo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT8xZLAAoJEJykq7OBq3PIrJIH/3mQDrJScSkO2W2aU1xpsixm YOLXBoh5bXDe7mTbzhdziELe7enU0nsVY45BP6IbaLXLmLMcpxjIN1Z93NrkrsDd Kh0l0pSs3H8sM/a3oZMv3LAKQK+gZvIyqymPqJb4bZL9ZRgNaoeLRNVXU3YtS7OP vIbShYMZ5TMQnBErKqcqmWN5ckSAcw0rOYNyzG2XE1D4dTcnEEMHJ1ExSHRW5MgT 7DiVD7bODQmwSL2aV2Lz7+gzLk1iOS0ln45JU2C0uL227atVASJjvOiOrx9hQAjs 2xkKBhMyfYXLF6wVGybSkwmu6M02XQfwN8+YCzoJYwmlFKrlvxguqSPa+lineHc= =g6bA -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo--