From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6543937367387930624 X-Received: by 10.223.134.23 with SMTP id 23mr572550wrv.11.1523879116923; Mon, 16 Apr 2018 04:45:16 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.125.198 with SMTP id y189ls1720322wmc.3.canary-gmail; Mon, 16 Apr 2018 04:45:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/8wJE55T+VfaE9vnqb1ZrKDsqnpRukaajqR2PsLC/T89oJ1yqYqbL6QAOkX/UkafTbMW0Z X-Received: by 10.28.12.18 with SMTP id 18mr718246wmm.17.1523879116499; Mon, 16 Apr 2018 04:45:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523879116; cv=none; d=google.com; s=arc-20160816; b=S89+gcl6sVKEbQ4WASnXY7fDR7/qcelooYm2fXbLofRn/aR8jRQ3ogout59yZRIiL/ kRTWLExIqQtKMPY91beS4diIke6pciUFwCsStkt41IX/Yi0a+Exk8Nk/0vxoJT1cecLZ qTXBEmGi2EOo/m9wKURgL5gGdet38q0Xl+MFKB0+3cMAbJby/jNgKB/q1XDCDbipIC6v BOuDSNd64RXzWzv0gaO2gWq/nQIf3x4iDF6V+lOg2vghRUQv1LChplnQ8o/1plyB/pJM n+iLStw8eSv6AlyxYz/08kvNVIQU9scNPXu9gXKTNReIKZOwKi4e6hG/183miQXVXQOx RM0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=ZxJahGkN7zgP0L29ZSVXkIW4aL3oueEffc7jzHbWCSE=; b=h8N+upAwREsxQimI9o//2TNic/0D1cpNxczHNn0/x3hnxwADApzKjKk9TX7TPAEYVX 6jsuVk64CR55nKWW2MkfGNligV1NSbQcK3UkQ0INhcA9tlLmpCa3f0jYBl0l5kx6tmqf qHkdA6T7tAQdIPt7g3UVFSYMYXP3hAmySTqxw6oVbk78NhDhsROZmmsPW2wyazEQXJcq dBYphQ4t+fdrEzlYWoKY2xrAPd8+OxDWvg7U0ub0telW/t9aj0dwVRV1Q42xd4FNJVnD IAUo9iHuQ/Ty44zaTRNtqPkBG3Evzy7ohvVbQ7jp9SjpaXhmcO35XCpT8aEUFXpfAA8f d8tQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id t10si317589wmh.0.2018.04.16.04.45.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 04:45:16 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w3GBjGkQ031363 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Apr 2018 13:45:16 +0200 Received: from mmd1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w3GBjFMV015748; Mon, 16 Apr 2018 13:45:15 +0200 Date: Mon, 16 Apr 2018 13:45:15 +0200 From: Henning Schild To: Andreas Reichel Cc: , Cedric Hombourger Subject: Re: [PATCH v2 17/17] scripts/vm_smoke_test: double the timeout we wait for qemus Message-ID: <20180416134515.5dc5c2e2@mmd1pvb1c.ad001.siemens.net> In-Reply-To: <20180416104757.GF8866@iiotirae> References: <2e63449742758a0b2345b8c223288ec4d6195c98.1523628814.git.henning.schild@siemens.com> <20180416104757.GF8866@iiotirae> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: uL/cp3+JOw0w Am Mon, 16 Apr 2018 12:47:57 +0200 schrieb Andreas Reichel : > On Fri, Apr 13, 2018 at 04:19:06PM +0200, Henning Schild wrote: > > If the CI server is busy or our image boots slowly we might kill > > qemu too early. Wait a little longer, will not make CI much slower. > > > > Signed-off-by: Henning Schild > > --- > > scripts/vm_smoke_test | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/scripts/vm_smoke_test b/scripts/vm_smoke_test > > index fde0e05..274ec1d 100755 > > --- a/scripts/vm_smoke_test > > +++ b/scripts/vm_smoke_test > > @@ -51,7 +51,7 @@ run_test () { > > > > # Start QEMU with Isar image > > start_vm -a $ARCH -d $DISTRO -o $CONSOLE_OUTPUT -p $PID_FILE > > > /dev/null 2>&1 & > > - sleep 30 > > + sleep 60 > Just an idea without knowing what start_vm actually is: Why not > working with the console output and wait for a login prompt? That is exactly what it is doing. But at some point you will have to decide that the image does not boot and that prompt will never come. And that is this sleep. Henning > > kill `cat $PID_FILE` > > > > # Check login prompt > > -- > > 2.16.1 > > >