From patchwork Thu May 15 10:30:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 30249 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 547B2202E6 for ; Thu, 15 May 2014 10:38:24 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id a108sf2058432qge.6 for ; Thu, 15 May 2014 03:38:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=1U2yWsnXanAav08uppzAOD0RM/ts+YE/A+dYB7sa5g8=; b=eQolN22KOSO8w42CHlGHjouBBSsSHXAeHjfeWzfTNq0Ft7YIhe8MAAcm2HGfXMOsms UXLemcLWV/8LNDQxnylLY7AMF679/CxzYE1gS/OOBYoAKaXq6V6eDJlS0xHPNWSCBLGW wRf0JaLT/YQ/D2K9sv/7FXKTR42IzTojBEhsaq7EixNJecSewHrSxG96bX3K3ybxu5nb zlpaUX3qRMAwpqRvEeYRTR3ABTNJUZwfg6jzu7XM/drGorxNHiNYaBwkPugXN8NLPfgr 9WQ7RKebOBa4PbSTm4aAY/RvpXg7n2+kz41DThj8uZlCfRSDuq4oft66IB8L4/0wdH8v U3tg== X-Gm-Message-State: ALoCoQk+r/ftDGR46xStAeSFEMqWfekXi71dbaWmXaGj6fpbjam4xjkUH5L/1e0EBMw2ycZqqVis X-Received: by 10.224.29.129 with SMTP id q1mr3876572qac.3.1400150304053; Thu, 15 May 2014 03:38:24 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.84 with SMTP id s78ls158159qgs.37.gmail; Thu, 15 May 2014 03:38:24 -0700 (PDT) X-Received: by 10.52.164.237 with SMTP id yt13mr6761918vdb.18.1400150303977; Thu, 15 May 2014 03:38:23 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id rm10si858366vcb.175.2014.05.15.03.38.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 15 May 2014 03:38:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.177 as permitted sender) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id db11so1012273veb.22 for ; Thu, 15 May 2014 03:38:23 -0700 (PDT) X-Received: by 10.221.7.71 with SMTP id on7mr7997235vcb.18.1400150303863; Thu, 15 May 2014 03:38:23 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp311352vcb; Thu, 15 May 2014 03:38:23 -0700 (PDT) X-Received: by 10.140.44.34 with SMTP id f31mr13253641qga.73.1400150303354; Thu, 15 May 2014 03:38:23 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id 2si2318558qah.67.2014.05.15.03.38.22 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 15 May 2014 03:38:23 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wkt2U-00036m-3o; Thu, 15 May 2014 10:37:26 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wkt2S-00036N-6Y for xen-devel@lists.xen.org; Thu, 15 May 2014 10:37:24 +0000 Received: from [85.158.143.35:44295] by server-2.bemta-4.messagelabs.com id A2/23-06539-3E894735; Thu, 15 May 2014 10:37:23 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-8.tower-21.messagelabs.com!1400149848!5105856!2 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2851 invoked from network); 15 May 2014 10:30:50 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-8.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 15 May 2014 10:30:50 -0000 X-IronPort-AV: E=Sophos; i="4.97,1058,1389744000"; d="scan'208"; a="130635090" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 15 May 2014 10:30:45 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Thu, 15 May 2014 06:30:44 -0400 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1Wksvz-0005kZ-K6; Thu, 15 May 2014 11:30:44 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Thu, 15 May 2014 11:30:43 +0100 From: Ian Campbell To: , Date: Thu, 15 May 2014 11:30:38 +0100 Message-ID: <1400149839-8489-5-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1400149787.4386.29.camel@kazak.uk.xensource.com> References: <1400149787.4386.29.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell Subject: [Xen-devel] [PATCH OSSTEST v3 5/6] standalone: allow making a baseline flight. X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: While there make the existing --lvextend argument actually work (by passing it to getopt) and document both. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- standalone | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/standalone b/standalone index 36f02ba..0f491c1 100755 --- a/standalone +++ b/standalone @@ -8,7 +8,7 @@ usage: standalone [operations] [options...] Operations: -* make-flight [cf] [BRANCH] +* make-flight [cf,lvextendmax,baseline] [BRANCH] Create a flight testing the named branch. @@ -36,6 +36,8 @@ Options: -h HOST, --host=HOST Test host -r, --reuse Do not wipe test host (default) -R, --noreuse, --noreinstall Wipe the test host (if job or test does so) +--lvextendmax=GB Limit the size of the build logical volume +--baseline Create a baseline flight instead of a tip flight --help This message @@ -55,7 +57,7 @@ if [ x$op = x--help ] ; then exit 0 fi -TEMP=$(getopt -o c:f:h:rR --long config:,flight:,host:,reuse,noreuse,reinstall,help -- "$@") +TEMP=$(getopt -o c:f:h:rR --long config:,flight:,host:,reuse,noreuse,reinstall,lvextendmax:,baseline,help -- "$@") eval set -- "$TEMP" @@ -64,6 +66,7 @@ flight="standalone" host= reuse=1 # Don't blow away machines by default lvextendmax=50 # Leave some LVM space free for running tests +nobaseline=y while true ; do case "$1" in @@ -73,6 +76,7 @@ while true ; do -r|--reuse) reuse=1; shift 1;; -R|--noreuse|--reinstall)reuse=0;shift 1;; --lvextendmax)lvextendmax=$2; shift 2;; + --baseline)nobaseline=n; shift 1;; --help) usage; exit 0;; --) shift ; break ;; *) echo "Internal error!" ; exit 1 ;; @@ -163,7 +167,7 @@ case $op in BUILD_LVEXTEND_MAX="$lvextendmax" \ OSSTEST_FLIGHT=$flight \ OSSTEST_CONFIG=$config \ - OSSTEST_NO_BASELINE=y \ + OSSTEST_NO_BASELINE=$nobaseline \ with_logging logs/$flight/make-flight.log ./cr-daily-branch $@ $branch ;;