From patchwork Mon Apr 28 10:41:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 29204 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 52B0E202FE for ; Mon, 28 Apr 2014 10:42:59 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf40585764iec.4 for ; Mon, 28 Apr 2014 03:42:58 -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=iyh6dg5AlpGwhMx7WvvrG8Zz7tlNqFWHMmdGSSqUCBg=; b=KZ32cb6ySjONrGZm4A5fhGG02FLf65kyE0GZbGi1BwAO9UOEKVLjWp5QiM0Cxqw9Di Cznyx34BvOSbXrOTtfV3HQXetbYu9TJO4RRd1NrqUC3VMPQxMVwC22NouA1ZwIkqOWOQ kSKewpmREXD0qOscrZm/vx2ZZzEeIyRVuGIt4e2VCvd6GpNrR1orTK9R3xfe3o7fvhBI G15TXDzP8O2jPCQVLP5qgnUmGbsdwcIZ19CknspoWXdGNSdYo6IVzfHtjDZ1iL2KC/+Z eANIk+is8pM6eDNA/nK5dNAZavIT37DvIjLYymRBsrbMT08XbnNAReCiSwbW/6XqJK/6 wJRg== X-Gm-Message-State: ALoCoQmuGCLsIkktIctP2d9pL2ai/J0H/WcZ0ksjB5cgS5UWneib8XRXAFWZzRjj7ZWx7gMhiDoU X-Received: by 10.182.230.132 with SMTP id sy4mr2404325obc.48.1398681778658; Mon, 28 Apr 2014 03:42:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.104.78 with SMTP id z72ls2073929qge.37.gmail; Mon, 28 Apr 2014 03:42:58 -0700 (PDT) X-Received: by 10.221.58.144 with SMTP id wk16mr23312992vcb.23.1398681778545; Mon, 28 Apr 2014 03:42:58 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id u1si3519164vcs.194.2014.04.28.03.42.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 03:42:58 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ik5so3485025vcb.4 for ; Mon, 28 Apr 2014 03:42:58 -0700 (PDT) X-Received: by 10.58.31.136 with SMTP id a8mr23981472vei.20.1398681778384; Mon, 28 Apr 2014 03:42:58 -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 ib8csp107061vcb; Mon, 28 Apr 2014 03:42:58 -0700 (PDT) X-Received: by 10.58.211.69 with SMTP id na5mr925435vec.30.1398681777730; Mon, 28 Apr 2014 03:42:57 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id uq15si3524133veb.140.2014.04.28.03.42.57 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Apr 2014 03:42:57 -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 1Wej0Y-00085D-Gr; Mon, 28 Apr 2014 10:41:58 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wej0T-0007yb-Jk for xen-devel@lists.xen.org; Mon, 28 Apr 2014 10:41:53 +0000 Received: from [85.158.139.211:39042] by server-10.bemta-5.messagelabs.com id 8B/4C-27081-0703E535; Mon, 28 Apr 2014 10:41:52 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-15.tower-206.messagelabs.com!1398681700!979240!5 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 24936 invoked from network); 28 Apr 2014 10:41:51 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-15.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 28 Apr 2014 10:41:51 -0000 X-IronPort-AV: E=Sophos;i="4.97,943,1389744000"; d="scan'208";a="125320505" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 28 Apr 2014 10:41:51 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Mon, 28 Apr 2014 06:41:51 -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 1Wej0P-0007a5-S5; Mon, 28 Apr 2014 11:41:50 +0100 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Mon, 28 Apr 2014 11:41:49 +0100 From: Ian Campbell To: Date: Mon, 28 Apr 2014 11:41:35 +0100 Message-ID: <1398681696-2773-14-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1398681672.29700.55.camel@kazak.uk.xensource.com> References: <1398681672.29700.55.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 14/15] distros: add branch infrastructure 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=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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: Since the distro nightlies are not version controlled we cannot use the usual mechanisms for detecting regressions. Instead compare each run against its predecessor, determined using sg-check-tested. XXX needs testing in production environment. Signed-off-by: Ian Campbell --- ap-fetch-version | 4 ++++ ap-fetch-version-old | 3 +++ ap-print-url | 3 +++ cr-daily-branch | 11 ++++++++++- cri-common | 1 + 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ap-fetch-version b/ap-fetch-version index 7cc2d98..17ab7c8 100755 --- a/ap-fetch-version +++ b/ap-fetch-version @@ -77,6 +77,10 @@ gnulib-libvirt) repo_tree_rev_fetch_git gnulib-libvirt \ $TREE_GNULIB_LIBVIRT master $LOCALREV_GNULIB_LIBVIRT ;; +distros) + # None, this is just a regular test. + echo latest + ;; osstest) if [ "x$OSSTEST_USE_HEAD" != "xy" ] ; then git fetch $HOME/testing.git pretest:ap-fetch >&2 diff --git a/ap-fetch-version-old b/ap-fetch-version-old index 3879e09..621641e 100755 --- a/ap-fetch-version-old +++ b/ap-fetch-version-old @@ -82,6 +82,9 @@ gnulib-libvirt) # No push gate, same as ap-fetch-version ./ap-fetch-version $branch ;; +distros) + echo "lastflight" # compare with previous flight + ;; osstest) if [ "x$OSSTEST_USE_HEAD" != "xy" ] ; then git fetch -f $HOME/testing.git incoming:ap-fetch diff --git a/ap-print-url b/ap-print-url index b1af0b9..9084635 100755 --- a/ap-print-url +++ b/ap-print-url @@ -52,6 +52,9 @@ libvirt) gnulib-libvirt) echo $TREE_GNULIB_LIBVIRT ;; +distros) + echo none:; + ;; osstest) echo none:; ;; diff --git a/cr-daily-branch b/cr-daily-branch index 0cafe39..663870d 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -187,6 +187,11 @@ if [ "x$OLD_REVISION" = xdetermine-late ]; then OLD_REVISION="`./ap-fetch-version-baseline-late $branch $NEW_REVISION`" fi +case $branch in +distros) makeflight=./make-distros-flight ;; +*) makeflight=./make-flight ;; +esac + if [ "x$NEW_REVISION" = "x$OLD_REVISION" ]; then wantpush=false for checkbranch in x $BRANCHES_ALWAYS; do @@ -201,7 +206,7 @@ if [ "x$NEW_REVISION" = "x$OLD_REVISION" ]; then fi $DAILY_BRANCH_PREMAKE_HOOK -flight=`./make-flight $branch $xenbranch $OSSTEST_BLESSING "$@"` +flight=`$makeflight $branch $xenbranch $OSSTEST_BLESSING "$@"` $DAILY_BRANCH_POSTMAKE_HOOK heading=tmp/$flight.heading-info @@ -221,6 +226,10 @@ fi revlog=tmp/$flight.revision-log case "$NEW_REVISION/$OLD_REVISION" in +/lastflight) + sgr_args+=" --machine-readable-output=$mrof" + sgr_args+=" --that-flight=`check_tested`" + ;; */*[^0-9a-f]* | *[^0-9a-f]*/*) echo >&2 "NO SGR COMPARISON badchar $NEW_REVISION/$OLD_REVISION" ;; diff --git a/cri-common b/cri-common index f472927..c02ad06 100644 --- a/cri-common +++ b/cri-common @@ -43,6 +43,7 @@ select_xenbranch () { linux-*) tree=linux; xenbranch=xen-unstable ;; linuxfirmware) tree=linuxfirmware; xenbranch=xen-unstable ;; libvirt) tree=libvirt; xenbranch=xen-unstable ;; + distros) tree=distros; xenbranch=xen-unstable ;; osstest) tree=osstest; xenbranch=xen-unstable ;; esac if [ "x$tree" = xlinux ]; then