From patchwork Tue Jul 25 11:57:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9861905 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 7C81A6038F for ; Tue, 25 Jul 2017 12:18:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73D7D27E71 for ; Tue, 25 Jul 2017 12:18:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 68D3C27F86; Tue, 25 Jul 2017 12:18:49 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED 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 1286627E71 for ; Tue, 25 Jul 2017 12:18:49 +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 1dZylR-0004vK-Jl; Tue, 25 Jul 2017 12:16:37 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZylP-0004sT-It for xen-devel@lists.xenproject.org; Tue, 25 Jul 2017 12:16:35 +0000 Received: from [85.158.143.35] by server-3.bemta-6.messagelabs.com id 54/61-03044-2A637795; Tue, 25 Jul 2017 12:16:34 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRWlGSWpSXmKPExsXitHSDve5Cs/J IgwtbbSy+b5nM5MDocfjDFZYAxijWzLyk/IoE1owdB44yFbSIVbw7so2pgXGWQBcjJ4eEgL/E kUlz2UFsNgEDiRXTrzJ2MXJwiAioSNzeawASZhaIkHhxYxUbiC0skCQxvfcJmM0ioCpxcE4vm M0rYC8x7cEVNoiR8hITe6cxgticQPGf+6+DjRcSsJPYvHMDlK0mcWPhMhaIXkGJkzOfsEDskp A4+OIF8wRG3llIUrOQpBYwMq1i1ChOLSpLLdI1tNBLKspMzyjJTczM0TU0MNPLTS0uTkxPzUl MKtZLzs/dxAgMHQYg2MF4c2PAIUZJDiYlUd5vuuWRQnxJ+SmVGYnFGfFFpTmpxYcYZTg4lCR4 n5sC5QSLUtNTK9Iyc4BBDJOW4OBREuE9ZwKU5i0uSMwtzkyHSJ1i1OV4NeH/NyYhlrz8vFQpc d55IDMEQIoySvPgRsAi6hKjrJQwLyPQUUI8BalFuZklqPKvGMU5GJWEeX1ApvBk5pXAbXoFdA QT0BFzZpSCHFGSiJCSamA0e5f4513TYuWEn77b2hc1HZv6+jHblrQ0rWTGsAeOZ9ujl6yok2P arNBbfuRbtv9CS5tf72wDDrCbf/y05pJxr5N/+2buKw85VRa5er56MM1Dwoy/PKYpZPrzXQXZ bw8u05wsYTZDYIOOhn3YrvcTwxZteX9owsYsT+1y0bdRqvEfH3r+dFBTYinOSDTUYi4qTgQAk 21aGaMCAAA= X-Env-Sender: prvs=372f2a2d8=anthony.perard@citrix.com X-Msg-Ref: server-7.tower-21.messagelabs.com!1500984981!74878560!6 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: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 28499 invoked from network); 25 Jul 2017 12:16:33 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-7.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 25 Jul 2017 12:16:33 -0000 X-IronPort-AV: E=Sophos;i="5.40,411,1496102400"; d="scan'208";a="441196238" From: Anthony PERARD To: Date: Tue, 25 Jul 2017 12:57:56 +0100 Message-ID: <20170725115759.21895-22-anthony.perard@citrix.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170725115759.21895-1-anthony.perard@citrix.com> References: <20170725115759.21895-1-anthony.perard@citrix.com> MIME-Version: 1.0 Cc: Anthony PERARD , Ian Jackson Subject: [Xen-devel] [OSSTEST PATCH v13 21/24] Create a flight to test OpenStack with xen-unstable and libvirt 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 This patch creates a flight "openstack*", with those jobs: build-amd64 build-amd64-libvirt build-amd64-pvops build-amd64-xsm build-arm64 build-arm64-libvirt build-arm64-pvops build-arm64-xsm build-armhf build-armhf-libvirt build-armhf-pvops build-armhf-xsm test-amd64-amd64-devstack test-amd64-amd64-devstack-xsm test-arm64-arm64-devstack test-arm64-arm64-devstack-xsm test-armhf-armhf-devstack test-armhf-armhf-devstack-xsm This would be a flight to test a stable release of OpenStack against Xen. Signed-off-by: Anthony PERARD --- Notes: Changes in V13: - split changes in ap-* and cr-* into a different patch - rename os_* to openstack_* - rename target_cmd_subunit to target_subunit_cmd make-flight | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/make-flight b/make-flight index db124fe..e03aacc 100755 --- a/make-flight +++ b/make-flight @@ -183,6 +183,16 @@ job_create_test_filter_callback () { *) return 1;; esac ;; + openstack*) + case "$job" in + *-devstack) ;; + *-devstack-xsm) ;; + *) return 1;; + esac + case $dom0arch in + i386) return 1 ;; + esac + ;; *) case "$job" in *-qemuu-*) @@ -216,7 +226,13 @@ arch_branch_filter_callback () { ovmf) return 1;; esac ;; - i386|amd64) + i386) + case "$branch" in + linux-arm-xen) return 1;; + openstack*) return 1;; + esac + ;; + amd64) case "$branch" in linux-arm-xen) return 1;; esac @@ -680,6 +696,33 @@ do_examine_one () { all_hostflags=$most_hostflags } +do_openstack_tests () { + local xsms=$(xenbranch_xsm_variants) + local openstack_trees=(cinder devstack glance keystone neutron nova + requirements tempest) + + case "$branch" in + openstack*) ;; + *) return ;; + esac + + local openstack_runvars="" + for tree in "${openstack_trees[@]}"; do + tree="openstack_$tree" + eval "openstack_runvars+=\" tree_$tree=\${TREE_${tree^^}}\"" + eval "openstack_runvars+=\" revision_$tree=\${REVISION_${tree^^}}\"" + done + + for xsm in $xsms ; do + job_create_test test-$xenarch$kern-$dom0arch-devstack \ + test-devstack libvirt $xenarch $dom0arch \ + $openstack_runvars \ + dom0_mem=4000 \ + enable_xsm=$xsm \ + all_hostflags=$most_hostflags + done +} + test_matrix_do_one () { do_pv_debian_tests @@ -700,6 +743,7 @@ test_matrix_do_one () { do_rtds_tests do_credit2_tests + do_openstack_tests do_examine_one