From: Anthony PERARD <anthony.perard@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Anthony PERARD <anthony.perard@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [OSSTEST PATCH v14 21/24] make-flight: Prepare devstack jobs on "openstack*" branches only
Date: Fri, 28 Jul 2017 14:56:22 +0100 [thread overview]
Message-ID: <20170728135625.30263-22-anthony.perard@citrix.com> (raw)
In-Reply-To: <20170728135625.30263-1-anthony.perard@citrix.com>
This patch create new jobs *-devstack that will only be added to the
branches openstack*, which will be introduced in the next patch. So no
overall functional change.
Here is a list of jobs that a openstack* branch will have:
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
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
Notes:
This patch will be altered by patch "openstack tests: Don't run them on arm*"
to avoid testing on ARM for now, because there is not enough capacity.
Changes in V14:
- patch renamed from "Create a flight to test OpenStack with xen-unstable and libvirt"
- better patch description
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
--
Anthony PERARD
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-07-28 14:16 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 13:56 [OSSTEST PATCH v14 00/24] Have OpenStack tested on top of xen's master and libvirt's master Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 01/24] ts-openstack-deploy: Deploy OpenStack on a host with devstack Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 02/24] ts-openstack-tempest: Run Tempest to check OpenStack Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 03/24] ts-openstack-deploy: Set http proxy Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 04/24] TestSupport: provide target_https_mitm_proxy_cert_path Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 05/24] ts-openstack-deploy: set CURL_CA_BUNDLE Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 06/24] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 07/24] ts-openstack-deploy: Try to disable use of SYSTEMD Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 08/24] ts-kernel-build: Enable network related modules for Neutron Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 09/24] ts-openstack-deploy: Switch to Neutron for network Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 10/24] ts-openstack-deploy: Increase open fd limit for RabbitMQ Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 11/24] ts-openstack-deploy: Apply a Tempest patch Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 12/24] ts-openstack-deploy: Ignore libvirt-python version and use latest Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 13/24] ts-openstack-tempest: Fix tempest invocation Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 14/24] ts-openstack-tempest: Update list of skipped tests Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 15/24] ts-openstack-deploy: Move logs to /var/log/openstack Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 16/24] ts-logs-capture: Capture OpenStack logs Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 17/24] ts-openstack-deploy: Increase devstack timeout Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 18/24] TestSupport: Introduce target_cmd_stashed Anthony PERARD
2017-07-28 14:19 ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 19/24] TestSupport: Implement target_subunit_cmd a subunit stream parser into substeps Anthony PERARD
2017-07-28 14:21 ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 20/24] ts-openstack-tempest: Use target_subunit_cmd Anthony PERARD
2017-07-28 13:56 ` Anthony PERARD [this message]
2017-07-28 14:27 ` [OSSTEST PATCH v14 21/24] make-flight: Prepare devstack jobs on "openstack*" branches only Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 22/24] New branch openstack-ocata Anthony PERARD
2017-07-28 14:26 ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 23/24] make-flight: Increase dom0_mem for openstack flight Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 24/24] openstack tests: Don't run them on arm* Anthony PERARD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170728135625.30263-22-anthony.perard@citrix.com \
--to=anthony.perard@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).