Skip to contentSkip to conversation

Have OpenStack tested on top of xen's master and libvirt's master.

PATCH Superseded Anthony PERARD 2 participants 9 messages Nov 24, 2016 – Dec 12, 2016

v8 of 14 Superseded Latest is v14 →

lore
Share & tools
lore
#0 lore raw

v8 cover Have OpenStack tested on top of xen's master and libvirt's master.

Hi,

I have looked into getting OpenStack been tested on the latest Xen via osstest.

The ts-openstack-deploy script does prepare a bit more the host, clone devstack and other OpenStack trees, then run ./stack.sh, which is a bit like raisin and deploy OpenStack on the host. Once the machine is ready, the integration test suite from OpenStack, Tempest, is started by ts-openstack-tempest.

Thanks.

Changes in V8:
- few coding style fixes
- fix flight generation

Changes in V7:
- few changes detailed in patches

Changes in V6:
- rebased
- fix ts-openstack-deploy script to work with newer devstach and new debian.

Change in V5:
- on small change in patch 1, but I keeped the acked-by
- few changes in the way the flight is created (in the last patch)

Change in V4:
few changes listed in second and third patch, mostly cleanup.

Change in V3:
- Track Nova tree instead of devstack.
Nova is the service we care about from a Xen point of view. Also it is updated much more often than devstack.
- Cleanups, see change log in patches.

Changes in V2:
- no more Osstest::Toolstack::OpenStack.
- osstest now clone every single tree that devstack is going to need. And ./stack.sh should fail if one tree is missing.
- avoid build-*-xsm for an openstack flight
- rename ts-devstack to ts-openstack-devstack
- New test script ts-openstack-tempest
- Add CONFIG_CRYPTO_XTS=m to the kernel build.
- new possible runvar $dom0_mem to control dom0 memory
- several fix to have volume tests working.
- have OpenStack deploy from it's builddir instead of /opt/stack
- have 4GB for dom0 instead of relying on balloning.

Run of AP_FETCH_PLACEHOLDERS=y ./standalone-generate-dump-flight-runvars on master (5d88d6299618f6bce204d82579392a76028fb8cd) vs this patch series:

standalone-generate-dump-flight-runvars +112 -0
@@ -7742,6 +7742,118 @@
 linux-arm-xen              test-armhf-armhf-xl-rtds       xenbuildjob             build-armhf
 linux-arm-xen              test-armhf-armhf-xl-vhd        xenbuildjob             build-armhf
 linux-arm-xen              test-armhf-armhf-xl-xsm        xenbuildjob             build-armhf-xsm
+openstack-nova             build-amd64                   all_host_di_version     current
+openstack-nova             build-amd64-libvirt           all_host_di_version     current
+openstack-nova             build-amd64-pvops             all_host_di_version     current
+openstack-nova             build-amd64-xsm               all_host_di_version     current
+openstack-nova             test-amd64-amd64-devstack     all_host_di_version     current
+openstack-nova             test-amd64-amd64-devstack-xsm all_host_di_version     current
+openstack-nova             build-amd64                   all_host_suite          jessie
+openstack-nova             build-amd64-libvirt           all_host_suite          jessie
+openstack-nova             build-amd64-pvops             all_host_suite          jessie
+openstack-nova             build-amd64-xsm               all_host_suite          jessie
+openstack-nova             test-amd64-amd64-devstack     all_host_suite          jessie
+openstack-nova             test-amd64-amd64-devstack-xsm all_host_suite          jessie
+openstack-nova             test-amd64-amd64-devstack     all_hostflags           arch-amd64,arch-xen-amd64,suite-jessie,purpose-test
+openstack-nova             test-amd64-amd64-devstack-xsm all_hostflags           arch-amd64,arch-xen-amd64,suite-jessie,purpose-test
+openstack-nova             build-amd64                   arch                    amd64
+openstack-nova             build-amd64-libvirt           arch                    amd64
+openstack-nova             build-amd64-pvops             arch                    amd64
+openstack-nova             build-amd64-xsm               arch                    amd64
+openstack-nova             test-amd64-amd64-devstack     arch                    amd64
+openstack-nova             test-amd64-amd64-devstack-xsm arch                    amd64
+openstack-nova             build-amd64                   build_lvextend_max      50
+openstack-nova             build-amd64-libvirt           build_lvextend_max      50
+openstack-nova             build-amd64-pvops             build_lvextend_max      50
+openstack-nova             build-amd64-xsm               build_lvextend_max      50
+openstack-nova             build-amd64-libvirt           buildjob                build-amd64
+openstack-nova             test-amd64-amd64-devstack     buildjob                build-amd64
+openstack-nova             test-amd64-amd64-devstack-xsm buildjob                build-amd64-xsm
+openstack-nova             test-amd64-amd64-devstack     dom0_mem                4000
+openstack-nova             test-amd64-amd64-devstack-xsm dom0_mem                4000
+openstack-nova             build-amd64                   enable_ovmf             true
+openstack-nova             build-amd64-xsm               enable_ovmf             true
+openstack-nova             build-amd64                   enable_xend             false
+openstack-nova             build-amd64-xsm               enable_xend             false
+openstack-nova             build-amd64                   enable_xsm              false
+openstack-nova             build-amd64-xsm               enable_xsm              true
+openstack-nova             test-amd64-amd64-devstack     enable_xsm              false
+openstack-nova             test-amd64-amd64-devstack-xsm enable_xsm              true
+openstack-nova             build-amd64                   host_hostflags          share-build-jessie-amd64,arch-amd64,suite-jessie,purpose-build
+openstack-nova             build-amd64-libvirt           host_hostflags          share-build-jessie-amd64,arch-amd64,suite-jessie,purpose-build
+openstack-nova             build-amd64-pvops             host_hostflags          share-build-jessie-amd64,arch-amd64,suite-jessie,purpose-build
+openstack-nova             build-amd64-xsm               host_hostflags          share-build-jessie-amd64,arch-amd64,suite-jessie,purpose-build
+openstack-nova             build-amd64-pvops             kconfighow              xen-enable-xen-config
+openstack-nova             test-amd64-amd64-devstack     kernbuildjob            build-amd64-pvops
+openstack-nova             test-amd64-amd64-devstack-xsm kernbuildjob            build-amd64-pvops
+openstack-nova             test-amd64-amd64-devstack     kernkind                pvops
+openstack-nova             test-amd64-amd64-devstack-xsm kernkind                pvops
+openstack-nova             test-amd64-amd64-devstack     libvirtbuildjob         build-amd64-libvirt
+openstack-nova             test-amd64-amd64-devstack-xsm libvirtbuildjob         build-amd64-libvirt
+openstack-nova             test-amd64-amd64-devstack     revision_cinder
+openstack-nova             test-amd64-amd64-devstack-xsm revision_cinder
+openstack-nova             test-amd64-amd64-devstack     revision_devstack
+openstack-nova             test-amd64-amd64-devstack-xsm revision_devstack
+openstack-nova             test-amd64-amd64-devstack     revision_glance
+openstack-nova             test-amd64-amd64-devstack-xsm revision_glance
+openstack-nova             test-amd64-amd64-devstack     revision_keystone
+openstack-nova             test-amd64-amd64-devstack-xsm revision_keystone
+openstack-nova             build-amd64-libvirt           revision_libvirt        ap-fetch-version-baseline:libvirt
+openstack-nova             build-amd64-pvops             revision_linux          ap-fetch-version-baseline:linux
+openstack-nova             build-amd64-pvops             revision_linuxfirmware  ap-fetch-version-baseline:linuxfirmware
+openstack-nova             build-amd64                   revision_minios
+openstack-nova             build-amd64-xsm               revision_minios
+openstack-nova             test-amd64-amd64-devstack     revision_nova           ap-fetch-version:openstack-nova
+openstack-nova             test-amd64-amd64-devstack-xsm revision_nova           ap-fetch-version:openstack-nova
+openstack-nova             build-amd64                   revision_ovmf
+openstack-nova             build-amd64-xsm               revision_ovmf
+openstack-nova             build-amd64                   revision_qemu
+openstack-nova             build-amd64-xsm               revision_qemu
+openstack-nova             build-amd64                   revision_qemuu          ap-fetch-version-baseline:qemu-upstream-unstable
+openstack-nova             build-amd64-xsm               revision_qemuu          ap-fetch-version-baseline:qemu-upstream-unstable
+openstack-nova             test-amd64-amd64-devstack     revision_requirements
+openstack-nova             test-amd64-amd64-devstack-xsm revision_requirements
+openstack-nova             build-amd64                   revision_seabios
+openstack-nova             build-amd64-xsm               revision_seabios
+openstack-nova             test-amd64-amd64-devstack     revision_tempest
+openstack-nova             test-amd64-amd64-devstack-xsm revision_tempest
+openstack-nova             build-amd64                   revision_xen            ap-fetch-version-baseline:xen-unstable
+openstack-nova             build-amd64-xsm               revision_xen            ap-fetch-version-baseline:xen-unstable
+openstack-nova             test-amd64-amd64-devstack     toolstack               libvirt
+openstack-nova             test-amd64-amd64-devstack-xsm toolstack               libvirt
+openstack-nova             test-amd64-amd64-devstack     tree_cinder             git://git.openstack.org/openstack/cinder.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_cinder             git://git.openstack.org/openstack/cinder.git
+openstack-nova             test-amd64-amd64-devstack     tree_devstack           git://git.openstack.org/openstack-dev/devstack.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_devstack           git://git.openstack.org/openstack-dev/devstack.git
+openstack-nova             test-amd64-amd64-devstack     tree_glance             git://git.openstack.org/openstack/glance.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_glance             git://git.openstack.org/openstack/glance.git
+openstack-nova             test-amd64-amd64-devstack     tree_keystone           git://git.openstack.org/openstack/keystone.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_keystone           git://git.openstack.org/openstack/keystone.git
+openstack-nova             build-amd64-libvirt           tree_libvirt            git://xenbits.xen.org/libvirt.git
+openstack-nova             build-amd64-pvops             tree_linux              git://xenbits.xen.org/linux-pvops.git
+openstack-nova             build-amd64-pvops             tree_linuxfirmware      git://xenbits.xen.org/osstest/linux-firmware.git
+openstack-nova             build-amd64                   tree_minios
+openstack-nova             build-amd64-xsm               tree_minios
+openstack-nova             test-amd64-amd64-devstack     tree_nova               git://git.openstack.org/openstack/nova.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_nova               git://git.openstack.org/openstack/nova.git
+openstack-nova             build-amd64                   tree_ovmf
+openstack-nova             build-amd64-xsm               tree_ovmf
+openstack-nova             build-amd64                   tree_qemu               git://xenbits.xen.org/qemu-xen-traditional.git
+openstack-nova             build-amd64-xsm               tree_qemu               git://xenbits.xen.org/qemu-xen-traditional.git
+openstack-nova             build-amd64                   tree_qemuu              git://xenbits.xen.org/qemu-xen.git
+openstack-nova             build-amd64-xsm               tree_qemuu              git://xenbits.xen.org/qemu-xen.git
+openstack-nova             test-amd64-amd64-devstack     tree_requirements       git://git.openstack.org/openstack/requirements.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_requirements       git://git.openstack.org/openstack/requirements.git
+openstack-nova             build-amd64                   tree_seabios
+openstack-nova             build-amd64-xsm               tree_seabios
+openstack-nova             test-amd64-amd64-devstack     tree_tempest            git://git.openstack.org/openstack/tempest.git
+openstack-nova             test-amd64-amd64-devstack-xsm tree_tempest            git://git.openstack.org/openstack/tempest.git
+openstack-nova             build-amd64                   tree_xen                git://xenbits.xen.org/xen.git
+openstack-nova             build-amd64-libvirt           tree_xen                git://xenbits.xen.org/xen.git
+openstack-nova             build-amd64-xsm               tree_xen                git://xenbits.xen.org/xen.git
+openstack-nova             build-amd64-pvops             treevcs_linux           git
+openstack-nova             test-amd64-amd64-devstack     xenbuildjob             build-amd64
+openstack-nova             test-amd64-amd64-devstack-xsm xenbuildjob             build-amd64-xsm
 osstest                    build-amd64                                           all_host_di_version     current
 osstest                    build-amd64-libvirt                                   all_host_di_version     current
 osstest                    build-amd64-pvops                                     all_host_di_version     current

Anthony PERARD (3):
ts-openstack-deploy: Deploy OpenStack on a host with devstack
ts-openstack-tempest: Run Tempest to check OpenStack Create a flight to test OpenStack with xen-unstable and libvirt

 ap-common            |  18 +++++++
 ap-fetch-version     |   4 ++
 ap-fetch-version-old |   5 ++
 ap-print-url         |   3 ++
 ap-push              |   5 ++
 cr-daily-branch      |   8 +++
 cr-for-branches      |   2 +-
 cri-common           |   1 +
 make-flight          |  51 ++++++++++++++++++-
 sg-run-job           |   6 +++
 ts-openstack-deploy  | 137 +++++++++++++++++++++++++++++++++++++++++++++++++++
 ts-openstack-tempest |  64 ++++++++++++++++++++++++
 12 files changed, 302 insertions(+), 2 deletions(-)
 create mode 100755 ts-openstack-deploy
 create mode 100755 ts-openstack-tempest
Signature · 7 lines
Anthony PERARD


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

PATCH v8 1/3 ts-openstack-deploy: Deploy OpenStack on a host with devstack

This script installs any necessary packages and clones all of the OpenStack trees which are used by devstack to deploy OpenStack.

---
Changes in V8:
- fix job name in sg-run-job
- fix copyright year
- fix too long lines

Changes in V7:
- reindent
- fix style
- remove many workaround, there are not needed anymore.
- create bug report upstream

Changes in V6:
- rebased
- fix issues due to new debian and newer devstack:
- add missing libvirt group
- switch back to old nova-network instead of neutron
- have devstack use 'service' instead of 'systemctl' to restart services

Only change in V5:
- edit stackrc from devstack file to change the hardcoded path DEST

No change in V4:
- acked

Change in V3:
- Use host as argument to run the job.
- Use selectjob() and get rid of the unused $gho.
- Use target_jobdir() instead of builddirsprops().
- Remove GIT_BASE from devstack config.
- Rename the script to ts-openstack-deploy (from ts-openstack-devstack).

---
 sg-run-job          |   5 ++
 ts-openstack-deploy | 137 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 142 insertions(+)
 create mode 100755 ts-openstack-deploy
sg-run-job +5 -0
index 9c3e0ce..0d65c8a 100755
@@ -474,6 +474,11 @@ proc run-job/test-rumprun {} {
                  ts-guest-destroy-hard        host   $g   +
 }
 
+proc need-hosts/test-devstack {} { return host }
+proc run-job/test-devstack {} {
+    run-ts . = ts-openstack-deploy + host
+}
+
 if {[file exists sg-run-job-adhoc]} {
     source sg-run-job-adhoc
 }
ts-openstack-deploy new file +137 -0

137 lines not on this page · raw message

Signature · 7 lines
Anthony PERARD


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v8 1/3
#2 lore raw

Re: [OSSTEST PATCH v8 1/3] ts-openstack-deploy: Deploy OpenStack on a host with devstack

Anthony PERARD writes ("[OSSTEST PATCH v8 1/3] ts-openstack-deploy: Deploy OpenStack on a host with devstack"):

Quoted 4 lines

This script installs any necessary packages and clones all of the OpenStack trees which are used by devstack to deploy OpenStack.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw

PATCH v8 2/3 ts-openstack-tempest: Run Tempest to check OpenStack

In reply to Anthony PERARD

This script runs the OpenStack integration test suite, Tempest.

---
Changes in V8:
- fix copyright year
- fix job name in sg-run-job
- fix too long lines

Changes in V7:
- reindent
- acked

No change in V5

Change in V4:
- use \Q\E for tests names
- write the full name of the tests to skip
- use push @ignored_test then join()
- use variables to store common prefix
- rewrite comments

Change in V3:
- Use host as argument of the script.
- Use selecthost() and get rid of $gho.
- Use target_jobdir() instead of builddirsprops().
- Put the ignored Tempest tests into a var and try to explain why there are skip.

---
 sg-run-job           |  1 +
 ts-openstack-tempest | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
 create mode 100755 ts-openstack-tempest
sg-run-job +1 -0
index 0d65c8a..13011c0 100755
@@ -477,6 +477,7 @@ proc run-job/test-rumprun {} {
 proc need-hosts/test-devstack {} { return host }
 proc run-job/test-devstack {} {
     run-ts . = ts-openstack-deploy + host
+    run-ts . = ts-openstack-tempest + host
 }
 
 if {[file exists sg-run-job-adhoc]} {
ts-openstack-tempest new file +64 -0

64 lines not on this page · raw message

Signature · 7 lines
Anthony PERARD


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#4 lore raw

PATCH v8 3/3 Create a flight to test OpenStack with xen-unstable and libvirt

In reply to Anthony PERARD

This patch should create a flight "openstack-nova", with those jobs:
build-amd64
build-amd64-xsm
build-amd64-pvops
build-amd64-libvirt
test-amd64-amd64-devstack
test-amd64-amd64-devstack-xsm

About the runvars revision_* of test-*-*-devstack:
only REVISION_OPENSTACK_NOVA is set, the others are unset. Empty revision_* runvar would clone the default branch, which should be master for every openstack repos.

---
Changes in V8:
- fix shell style
- fix arch_branch_filter_callback
(linux-arm-xen was not properly filtered anymore for i386)

Changes in V7:
- metaprograming
- reindent

Change in V6:
- rebased

Change in V5:
- rename flight openstack to openstack-nova
- add -xsm variant of the test
- run test-devstack only on openstack-nova flight

Change in V4:
- also skip build-*-oldkern in make flight
- fix select_xenbranch
- set revision_*=$REVISION_OPENSTACK_* in make-flight
(was revision_*=master before)
only REVISION_OPENSTACK_NOVA is set, the others are unset. empty revision_* runvar would clone the default branch, which should be master for every openstack repos

Change in V3:
- Switch to "track" Nova tree instead of devstack. Nova is the service we care about from a Xen point of view. Also it is updated much more often than devstack.
- Use TREE_OPENSTACK_ as prefix for all trees variables.
- Change the filter, keep only *-devstack jobs.
- Add stuff into ./ap-push
- Add stuff into ./cr-daily-branch.
- Add 'openstack' into ./cr-for-branches.

---
 ap-common            | 18 ++++++++++++++++++
 ap-fetch-version     |  4 ++++
 ap-fetch-version-old |  5 +++++
 ap-print-url         |  3 +++
 ap-push              |  5 +++++
 cr-daily-branch      |  8 ++++++++
 cr-for-branches      |  2 +-
 cri-common           |  1 +
 make-flight          | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 9 files changed, 95 insertions(+), 2 deletions(-)
ap-common +18 -0
index cbb815c..7e84f15 100644
@@ -54,6 +54,23 @@
 : ${PUSH_TREE_OVMF:=$XENBITS:/home/xen/git/osstest/ovmf.git}
 : ${BASE_TREE_OVMF:=git://xenbits.xen.org/osstest/ovmf.git}
 
+define_openstack_trees() {
+    local openstack_trees=(cinder glance keystone nova requirements tempest)
+    local tree
+    local url
+
+    : ${GIT_OPENSTACK_ORG:=git://git.openstack.org}
+    : ${TREE_OPENSTACK_DEVSTACK:=$GIT_OPENSTACK_ORG/openstack-dev/devstack.git}
+    for tree in "${openstack_trees[@]}"; do
+        url=$GIT_OPENSTACK_ORG/openstack/$tree.git
+        eval ": \${TREE_OPENSTACK_${tree^^}:=$url}"
+    done
+}
+
+define_openstack_trees
+: ${PUSH_TREE_OPENSTACK_NOVA:=$XENBITS:/home/xen/git/osstest/openstack-nova.git}
+: ${BASE_TREE_OPENSTACK_NOVA:=git://xenbits.xen.org/osstest/openstack-nova.git}
+
 : ${TREE_LINUXFIRMWARE:=git://xenbits.xen.org/osstest/linux-firmware.git}
 : ${PUSH_TREE_LINUXFIRMWARE:=$XENBITS:/home/osstest/ext/linux-firmware.git}
 : ${UPSTREAM_TREE_LINUXFIRMWARE:=$GIT_KERNEL_ORG/pub/scm/linux/kernel/git/firmware/linux-firmware.git}
@@ -82,6 +99,7 @@ fi
 : ${LOCALREV_SEABIOS:=daily-cron.$branch}
 : ${LOCALREV_OVMF:=daily-cron.$branch}
 : ${LOCALREV_XTF:=daily-cron.$branch}
+: ${LOCALREV_OPENSTACK_NOVA:=daily-cron.$branch}
 
 : ${TREEBASE_LINUX_XCP:=http://hg.uk.xensource.com/carbon/trunk/linux-2.6.27}
 
ap-fetch-version +4 -0
index a107c93..a714ee2 100755
@@ -106,6 +106,10 @@ ovmf)
 	repo_tree_rev_fetch_git ovmf \
 		$TREE_OVMF_UPSTREAM master $LOCALREV_OVMF
 	;;
+openstack-nova)
+	repo_tree_rev_fetch_git openstack-nova \
+		$TREE_OPENSTACK_NOVA master $LOCALREV_OPENSTACK_NOVA
+	;;
 osstest)
         if [ "x$OSSTEST_USE_HEAD" = "xy" ] ; then
 	    git update-ref -m "Arranging to test HEAD" \
ap-fetch-version-old +5 -0
index 3cbc176..6dddbb7 100755
@@ -35,6 +35,7 @@ check_ap_fetch_placeholders
 : ${BASE_LOCALREV_XTF:=daily-cron.$branch.old}
 : ${BASE_LOCALREV_OVMF:=daily-cron.$branch.old}
 : ${BASE_TAG_LIBVIRT:=xen-tested-master}
+: ${BASE_LOCALREV_OPENSTACK_NOVA:=daily-cron.$branch.old}
 
 if info_linux_tree "$branch"; then
 	repo_tree_rev_fetch_git linux \
@@ -114,6 +115,10 @@ ovmf)
 	repo_tree_rev_fetch_git ovmf \
 		$BASE_TREE_OVMF xen-tested-master $BASE_LOCALREV_OVMF
 	;;
+openstack-nova)
+	repo_tree_rev_fetch_git openstack-nova \
+		$BASE_TREE_OPENSTACK_NOVA xen-tested-master $BASE_LOCALREV_OPENSTACK_NOVA
+	;;
 osstest)
 	if [ "x$OSSTEST_USE_HEAD" != "xy" ] ; then
 	    git fetch -f $HOME/testing.git production:ap-fetch
ap-print-url +3 -0
index 93c14b3..6f4e6b1 100755
@@ -67,6 +67,9 @@ ovmf)
 osstest)
 	echo none:;
 	;;
+openstack-nova)
+	echo $TREE_OPENSTACK_NOVA
+	;;
 *)
 	echo >&2 "branch $branch ?"
 	exit 1
ap-push +5 -0
index a27ccc2..136d1b6 100755
@@ -41,6 +41,7 @@ TREE_RUMPRUN=$PUSH_TREE_RUMPRUN
 TREE_SEABIOS=$PUSH_TREE_SEABIOS
 TREE_OVMF=$PUSH_TREE_OVMF
 TREE_XTF=$PUSH_TREE_XTF
+TREE_OPENSTACK_NOVA=$PUSH_TREE_OPENSTACK_NOVA
 
 if info_linux_tree "$branch"; then
 	cd $repos/linux
@@ -129,6 +130,10 @@ ovmf)
 	cd $repos/ovmf
 	git push $TREE_OVMF $revision:refs/heads/xen-tested-master
 	;;
+openstack-nova)
+	cd $repos/openstack-nova
+	git push $TREE_OPENSTACK_NOVA $revision:refs/heads/xen-tested-master
+	;;
 osstest)
 	git push $HOME/testing.git $revision:production
 	if [ x"$TREEBRANCH_OSSTEST_UPSTREAM" != x ] ; then
cr-daily-branch +8 -0
index 158554d..45a2f69 100755
@@ -207,6 +207,10 @@ if [ "x$REVISION_LINUXFIRMWARE" = x ]; then
 	determine_version REVISION_LINUXFIRMWARE linuxfirmware LINUXFIRMWARE
         export REVISION_LINUXFIRMWARE
 fi
+if [ "x$REVISION_OPENSTACK_NOVA" = x ]; then
+        determine_version REVISION_OPENSTACK_NOVA openstack-nova OPENSTACK_NOVA
+        export REVISION_OPENSTACK_NOVA
+fi
 
 if [ "x$branch" != "xxen-unstable" ]; then
         export REVISION_LINUX_OLD=disable
@@ -260,6 +264,10 @@ ovmf)
 	realtree=ovmf
 	NEW_REVISION=$REVISION_OVMF
 	;;
+openstack-nova)
+	realtree=openstack-nova
+	NEW_REVISION=$REVISION_OPENSTACK_NOVA
+	;;
 *)
 	NEW_REVISION=''
 	wantpush=false
cr-for-branches +1 -1
index 5e8b1a4..ebe8986 100755
@@ -31,7 +31,7 @@ scriptoptions="$1"; shift
 LOGFILE=tmp/cr-for-branches.log
 export LOGFILE
 
-: ${BRANCHES:=osstest xen-4.0-testing xen-4.1-testing xen-4.2-testing xen-4.3-testing xen-4.4-testing xen-4.5-testing xen-4.6-testing xen-4.7-testing xen-unstable qemu-mainline qemu-upstream-unstable qemu-upstream-4.2-testing qemu-upstream-4.3-testing qemu-upstream-4.4-testing qemu-upstream-4.5-testing qemu-upstream-4.6-testing qemu-upstream-4.7-testing linux-4.1 linux-3.18 linux-3.16 linux-3.14 linux-3.10 linux-3.4 linux-arm-xen seabios ovmf xtf ${EXTRA_BRANCHES}}
+: ${BRANCHES:=osstest xen-4.0-testing xen-4.1-testing xen-4.2-testing xen-4.3-testing xen-4.4-testing xen-4.5-testing xen-4.6-testing xen-4.7-testing xen-unstable qemu-mainline qemu-upstream-unstable qemu-upstream-4.2-testing qemu-upstream-4.3-testing qemu-upstream-4.4-testing qemu-upstream-4.5-testing qemu-upstream-4.6-testing qemu-upstream-4.7-testing linux-4.1 linux-3.18 linux-3.16 linux-3.14 linux-3.10 linux-3.4 linux-arm-xen seabios ovmf xtf openstack-nova ${EXTRA_BRANCHES}}
 export BRANCHES
 
 fetchwlem=$wlem
cri-common +1 -0
index ac360de..f48dfa5 100644
@@ -82,6 +82,7 @@ select_xenbranch () {
 	ovmf)			tree=ovmf;	xenbranch=xen-unstable ;;
 	distros-*)		tree=none;	xenbranch=xen-unstable ;;
 	osstest)		tree=osstest;	xenbranch=xen-unstable ;;
+	openstack-nova)	   tree=openstack-nova;	xenbranch=xen-unstable ;;
 	esac
 	if [ "x$tree" = xlinux ]; then
 		linuxbranch=$branch
make-flight +50 -1

77 lines not on this page · raw message

Signature · 7 lines
Anthony PERARD


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#6 lore raw
In reply to Anthony PERARD

Anthony PERARD writes ("[OSSTEST PATCH v8 0/3] Have OpenStack tested on top of xen's master and libvirt's master."):

Quoted 4 lines

I have looked into getting OpenStack been tested on the latest Xen via osstest.
Run of AP_FETCH_PLACEHOLDERS=y ./standalone-generate-dump-flight-runvars on master (5d88d6299618f6bce204d82579392a76028fb8cd) vs this patch series:

Thanks. I'm afraid that has prompted some nontrivial questions and comments:

The way you have done things, the test-amd64-amd64-devstack job will run on a Xen dom0 installed by osstest. Does this devstack test expect to be run in such a context ?

It's quite anomalous that your test-* job is doing all the cloning and building of things. This is not a huge problem; there are only a handful of places in osstest that have any "improper" knowledge of job names, and for their purposes I think this is probably a "test" rather than a "build". (In particular, ts-hosts-allocate-Executive has some different ideas about what would be a good host for a build.)

Most software, though, has a separate build and execute. Maybe tempest doesn't do that, in which case fine. (Sorry if I have asked this question before...)

+openstack-nova             test-amd64-amd64-devstack     all_host_suite          jessie
+openstack-nova             test-amd64-amd64-devstack     all_hostflags           arch-amd64,arch-xen-amd64,suite-jessie,purpose-test

This does not request a host capable of HVM. Is that right ? (In practice all our x86 hosts are capable of HVM so this may not matter.)

+openstack-nova             test-amd64-amd64-devstack     revision_cinder
+openstack-nova             test-amd64-amd64-devstack     revision_devstack
+openstack-nova             test-amd64-amd64-devstack     revision_glance
+openstack-nova             test-amd64-amd64-devstack     revision_keystone
+openstack-nova             test-amd64-amd64-devstack     revision_nova           ap-fetch-version:openstack-nova
+openstack-nova             test-amd64-amd64-devstack     revision_requirements
+openstack-nova             test-amd64-amd64-devstack     revision_tempest

These openstack components ought not to live in the global namespace. I would like you to prefix all of these runvars with `openstack'. So, revision_openstack_cinder etc. Cf revison_rumprun_something.

Thinking about it, I think you should probably do the same with the corresponding shell environment variables.

+openstack-nova             test-amd64-amd64-devstack     toolstack               libvirt
+openstack-nova             test-amd64-amd64-devstack     tree_cinder             git://git.openstack.org/openstack/cinder.git
+openstack-nova             test-amd64-amd64-devstack     tree_devstack           git://git.openstack.org/openstack-dev/devstack.git
+openstack-nova             test-amd64-amd64-devstack     tree_glance             git://git.openstack.org/openstack/glance.git
+openstack-nova             test-amd64-amd64-devstack     tree_keystone           git://git.openstack.org/openstack/keystone.git
+openstack-nova             test-amd64-amd64-devstack     tree_nova               git://git.openstack.org/openstack/nova.git
+openstack-nova             test-amd64-amd64-devstack     tree_requirements       git://git.openstack.org/openstack/requirements.git
+openstack-nova             test-amd64-amd64-devstack     tree_tempest            git://git.openstack.org/openstack/tempest.git

I notice that you have not created an openstack job in the other branches. Is that deliberate ?

Why no ARM jobs ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#7 lore raw
Quoted 6 lines · Ian Jackson

Anthony PERARD writes ("[OSSTEST PATCH v8 0/3] Have OpenStack tested on top of xen's master and libvirt's master."):

Quoted 4 lines

I have looked into getting OpenStack been tested on the latest Xen via osstest.
Run of AP_FETCH_PLACEHOLDERS=y ./standalone-generate-dump-flight-runvars on master (5d88d6299618f6bce204d82579392a76028fb8cd) vs this patch series:

Quoted 6 lines

Thanks. I'm afraid that has prompted some nontrivial questions and comments:

The way you have done things, the test-amd64-amd64-devstack job will run on a Xen dom0 installed by osstest. Does this devstack test expect to be run in such a context ?

In a Xen dom0? Yes.

Quoted 10 lines

It's quite anomalous that your test-* job is doing all the cloning and building of things. This is not a huge problem; there are only a handful of places in osstest that have any "improper" knowledge of job names, and for their purposes I think this is probably a "test" rather than a "build". (In particular, ts-hosts-allocate-Executive has some different ideas about what would be a good host for a build.)

Most software, though, has a separate build and execute. Maybe tempest doesn't do that, in which case fine. (Sorry if I have asked this question before...)

Well, OpenStack been all python, there is nothing to build. So devstack is mostly doing configuration and start services, I think.

Quoted 6 lines
standalone-generate-dump-flight-runvars +2 -0
+openstack-nova             test-amd64-amd64-devstack     all_host_suite          jessie
+openstack-nova             test-amd64-amd64-devstack     all_hostflags           arch-amd64,arch-xen-amd64,suite-jessie,purpose-test

This does not request a host capable of HVM. Is that right ? (In practice all our x86 hosts are capable of HVM so this may not matter.)

I think that fine for now, this flight is only going to start PV guests.

Quoted 8 lines
standalone-generate-dump-flight-runvars +7 -0
+openstack-nova             test-amd64-amd64-devstack     revision_cinder
+openstack-nova             test-amd64-amd64-devstack     revision_devstack
+openstack-nova             test-amd64-amd64-devstack     revision_glance
+openstack-nova             test-amd64-amd64-devstack     revision_keystone
+openstack-nova             test-amd64-amd64-devstack     revision_nova           ap-fetch-version:openstack-nova
+openstack-nova             test-amd64-amd64-devstack     revision_requirements
+openstack-nova             test-amd64-amd64-devstack     revision_tempest
Quoted 6 lines

These openstack components ought not to live in the global namespace. I would like you to prefix all of these runvars with `openstack'. So, revision_openstack_cinder etc. Cf revison_rumprun_something.

Thinking about it, I think you should probably do the same with the corresponding shell environment variables.

Will do.

Quoted 11 lines
standalone-generate-dump-flight-runvars +8 -0
+openstack-nova             test-amd64-amd64-devstack     toolstack               libvirt
+openstack-nova             test-amd64-amd64-devstack     tree_cinder             git://git.openstack.org/openstack/cinder.git
+openstack-nova             test-amd64-amd64-devstack     tree_devstack           git://git.openstack.org/openstack-dev/devstack.git
+openstack-nova             test-amd64-amd64-devstack     tree_glance             git://git.openstack.org/openstack/glance.git
+openstack-nova             test-amd64-amd64-devstack     tree_keystone           git://git.openstack.org/openstack/keystone.git
+openstack-nova             test-amd64-amd64-devstack     tree_nova               git://git.openstack.org/openstack/nova.git
+openstack-nova             test-amd64-amd64-devstack     tree_requirements       git://git.openstack.org/openstack/requirements.git
+openstack-nova             test-amd64-amd64-devstack     tree_tempest            git://git.openstack.org/openstack/tempest.git

I notice that you have not created an openstack job in the other branches. Is that deliberate ?

Yes.

Quoted 1 line

Why no ARM jobs ?

I don't know if it is going to work, probably not. There probably going to be missing packages (dependencies) and it maybe not going to be able to start a guest, if devstart does not get the right guest image.

Signature · 6 lines
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#8 lore raw

Anthony PERARD writes ("Re: [OSSTEST PATCH v8 0/3] Have OpenStack tested on top of xen's master and libvirt's master."):

Quoted 6 lines · Ian Jackson
Quoted 3 lines

The way you have done things, the test-amd64-amd64-devstack job will run on a Xen dom0 installed by osstest. Does this devstack test expect to be run in such a context ?

In a Xen dom0? Yes.

Right, OK, good.

Quoted 2 lines

Well, OpenStack been all python, there is nothing to build. So devstack is mostly doing configuration and start services, I think.

Ah. OK.

Quoted 8 lines
Quoted 6 lines

These openstack components ought not to live in the global namespace. I would like you to prefix all of these runvars with `openstack'. So, revision_openstack_cinder etc. Cf revison_rumprun_something.

Thinking about it, I think you should probably do the same with the corresponding shell environment variables.

Will do.

Thanks. Sorry for not noticing this sooner.

Quoted 4 lines
Quoted 2 lines

I notice that you have not created an openstack job in the other branches. Is that deliberate ?

Yes.

OK, fine.

Quoted 5 lines
Quoted 1 line

Why no ARM jobs ?

I don't know if it is going to work, probably not. There probably going to be missing packages (dependencies) and it maybe not going to be able to start a guest, if devstart does not get the right guest image.

I'm not sure these are good reasons not to try to support ARM.

A failing test, with a promise that the system would detect regressions if the test were made to pass, is a good incentive :-).

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel