From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: [OSSTEST PATCH 15/28] cr-daily-branch: Use mg-adjust-flight to have smoke tests reuse builds Date: Tue, 22 Sep 2015 16:12:40 +0100 Message-ID: <1442934764-8672-4-git-send-email-ian.jackson@eu.citrix.com> References: <1442934764-8672-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZePGB-0002HN-2p for xen-devel@lists.xenproject.org; Tue, 22 Sep 2015 15:13:35 +0000 In-Reply-To: <1442934764-8672-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org The smoke tests are for testing xen-unstable. We want to avoid building anything else. So arrange to reuse previous builds by calling mg-adjust-flight-makexrefs. We rebuild libvirt too. This is necessary because libvirt is built against xen.git, and uses ABI-unstable APIs, so we need a libvirt built against the right xen.git. This means, for the smoke tests, we need to build libvirt ourselves. Currently this build seems to take 416 sends (from host allocation, which we - perhaps naively - hope will be able to reuse the host from the just-finished build job). Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- v4: Keep build-amd64-libvirt too. v3: Add a comment about the --blessings=real v2: New patch --- cr-daily-branch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cr-daily-branch b/cr-daily-branch index 141bce5..dd9c30a 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -276,7 +276,19 @@ if [ "x$NEW_REVISION" = "x$OLD_REVISION" ]; then fi $DAILY_BRANCH_PREMAKE_HOOK + flight=`$makeflight $branch $xenbranch $OSSTEST_BLESSING "$@"` + +case $branch in +xen-unstable-smoke) + ./mg-adjust-flight-makexrefs -v $flight \ + '!build-amd64 !build-amd64-libvirt !build-armhf build-*' \ + --debug --branch=xen-unstable --blessings=real + # Even adhoc or play flights ought to reuse only real + # previous builds. + ;; +esac + $DAILY_BRANCH_POSTMAKE_HOOK heading=tmp/$flight.heading-info -- 1.7.10.4