From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6543937367387930624 X-Received: by 2002:a19:9b09:: with SMTP id d9-v6mr82224lfe.20.1523875909286; Mon, 16 Apr 2018 03:51:49 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:d958:: with SMTP id q85-v6ls1266552lfg.3.gmail; Mon, 16 Apr 2018 03:51:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx49eU4HRe3tH2FqjarislVULHzIp7Uc1amYidiQyPk84/26Yp3Epuo4Xgm01yBgEL4Q9vInS X-Received: by 2002:a19:ef0e:: with SMTP id n14-v6mr464868lfh.30.1523875908943; Mon, 16 Apr 2018 03:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523875908; cv=none; d=google.com; s=arc-20160816; b=t7JSDsy5WhqZ5ThTcCc0txs72f5U+yVw5dFYrKbnE1ysi/wPdfhaM4NVnyhcI826GL r5JVSSXOI8MNZXJv4bcoupw8diir54N1reyy3gHR9czTMVDdTh7AqmW14GoYArcOM9oA 7aLrhPN9p7SWuM4ylbBuLNmnQAlbOd4eGGeOGjnDlEB7LK44rhjzGcrb9D7P23wXKldG ViPsxtteFKD8hhcFNwSiHHRGycfCWiZqAKZ9ecsQEyIYv5ILBda3bWmfgQId3oM657fh ARcB2Dlg2uj1t5k/jlvIzQNN9opE5y1yYmfnztpGBGz6kqxqrpPHsfJYR5WGhxmny+rJ 6/hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:content-description :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=yNDwD8e1fNX9PDVmmvTR8Y+vksdTVAz8+nkY7+4zg0E=; b=hM3IuUNdfRBpETzK/BYC1p1MWvPw3XkjvThkLxqrXlJYjl6gPtMjIA3n+Z2ZsVNdPq 6vEs70st/aLD3ulw816D2499tgb6PlWEHxKl4XknqhqKicRmGlxAVhmxWdsQD8yu4wUL IJXuL27V00ysEn/Htu8a5JiooVBIWK0yHY/JBWa0YPY1jP5sqE84ax/LyF63WMi5BasF RI5bkiV85DyNkc4CtWTwouz3Slh3twH8UWIQZtjmjFQlmvBoZdoswXwT9W2s1BbN03hT SHDNijyYNZNEih602Owu4u86HyadUj+W6HXKAHQ9JIWOpA1HoZLv/eRhAhdoxRHBIczn kCOQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id p138-v6si601171lfd.0.2018.04.16.03.51.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 03:51:48 -0700 (PDT) Received-SPF: pass (google.com: domain of andreas.reichel.ext@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 andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w3GApmeY011543 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 16 Apr 2018 12:51:48 +0200 Received: from iiotirae (golem.ppmd.siemens.net [139.25.69.245]) by mail2.sbs.de (8.15.2/8.15.2) with SMTP id w3GAplAL010021; Mon, 16 Apr 2018 12:51:47 +0200 Date: Mon, 16 Apr 2018 12:47:57 +0200 From: Andreas Reichel To: Henning Schild Cc: isar-users@googlegroups.com, Cedric Hombourger Subject: Re: [PATCH v2 17/17] scripts/vm_smoke_test: double the timeout we wait for qemus Message-ID: <20180416104757.GF8866@iiotirae> References: <2e63449742758a0b2345b8c223288ec4d6195c98.1523628814.git.henning.schild@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: message Content-Disposition: inline In-Reply-To: <2e63449742758a0b2345b8c223288ec4d6195c98.1523628814.git.henning.schild@siemens.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-TUID: uX0FFXxWzMbn 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? > kill `cat $PID_FILE` > > # Check login prompt > -- > 2.16.1 > -- Andreas Reichel Dipl.-Phys. (Univ.) Software Consultant Andreas.Reichel@tngtech.com, +49-174-3180074 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082