From patchwork Fri Oct 7 16:34:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 9366859 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ABDFB60752 for ; Fri, 7 Oct 2016 16:38:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9BF4929777 for ; Fri, 7 Oct 2016 16:38:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90C302977D; Fri, 7 Oct 2016 16:38:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 53E7C29777 for ; Fri, 7 Oct 2016 16:38:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsY7o-0000gE-Uy; Fri, 07 Oct 2016 16:35:56 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsY7n-0000fI-L0 for xen-devel@lists.xenproject.org; Fri, 07 Oct 2016 16:35:55 +0000 Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id 10/8A-12967-AEEC7F75; Fri, 07 Oct 2016 16:35:54 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeJIrShJLcpLzFFi42JxWrrBXvf5ue/ hBh2/uCy+b5nM5MDocfjDFZYAxijWzLyk/IoE1owv/WdYCno5K2Y8a2NsYPzN1sXIySEh4C/x 7Pt7MJtNQFeiactfIJuDQ0RAReL2XgMQk1kgVGLHC0sQU1ggRKLpgQBIMQtQwbPd55hBbF4BT 4lbH+eyQgyUkzh//CdYnFPAS+JX23QWEFsIqObLki/sIGOEBNQk5q6Ph2gVlDg58wlYCbOAhM TBFy+YIcZwS9w+PZV5AiPfLCRls5CULWBkWsWoUZxaVJZapGtkopdUlJmeUZKbmJmja2hgrJe bWlycmJ6ak5hUrJecn7uJERhM9QwMjDsYXx33O8QoycGkJMr7svJ7uBBfUn5KZUZicUZ8UWlO avEhRhkODiUJXs+zQDnBotT01Iq0zBxgWMOkJTh4lER4E0DSvMUFibnFmekQqVOMilLivH4gC QGQREZpHlwbLJYuMcpKCfMyMjAwCPEUpBblZpagyr9iFOdgVBLm3Q4yhSczrwRu+iugxUxAi/ OXfgFZXJKIkJJqYFzzzf9ixBFh1s9XVyz1dNh87YBT6Jb9xiYPXib9kf9clnhRpEprJsNSplW /T792bD3S7FZXeS2xcOGMw58E9Z8VPEk0tTD2fLFy4islyct/ly9zXHdliVWMW3f2VOkk8X8n 1y1Tipd+fknoakKl1X8brf4t7NqVJ3NnrZPaNMv3VDTPt6u/JtoqsRRnJBpqMRcVJwIAiaem1 KACAAA= X-Env-Sender: prvs=081af608b=Ian.Jackson@citrix.com X-Msg-Ref: server-4.tower-31.messagelabs.com!1475858130!9669361!5 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.84; banners=-,-,- X-VirusChecked: Checked Received: (qmail 56154 invoked from network); 7 Oct 2016 16:35:50 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-4.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 7 Oct 2016 16:35:50 -0000 X-IronPort-AV: E=Sophos;i="5.31,456,1473120000"; d="scan'208";a="391320981" From: Ian Jackson To: Date: Fri, 7 Oct 2016 17:34:47 +0100 Message-ID: <1475858096-16123-8-git-send-email-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1475858096-16123-1-git-send-email-ian.jackson@eu.citrix.com> References: <1475858096-16123-1-git-send-email-ian.jackson@eu.citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH 07/16] rump kernels: ts-rumprun-bake: Do not tolerate errors X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP If we skip due to missing the input pieces, make the warning noiser. If we think we have all the input pieces, bomb out if they don't seem to contain the right bits, or if rumpbake fails. Signed-off-by: Ian Jackson --- ts-rumprun-bake | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ts-rumprun-bake b/ts-rumprun-bake index d79d6f8..31ce259 100755 --- a/ts-rumprun-bake +++ b/ts-rumprun-bake @@ -61,15 +61,14 @@ sub bakeimage ($$) { ($ho, "rumpbake-n-$name", $execpart, $buildjob || $job); }; if ($@) { - warn "skipping: $@"; + logm "*** WARNING: skipping $name: $@"; return; } my $execfile = $execdist.$execpath; target_cmd_build($ho, 1000, $imagesdir, <=2; my $name = shift @ARGV; my $rumpexec = shift @ARGV; - eval { - bakeimage($name,$rumpexec); - }; + + bakeimage($name,$rumpexec); } stash();