Skip to contentSkip to conversation

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

PATCH Superseded Anthony PERARD 2 participants 8 messages Nov 20, 2015 – Dec 8, 2015

v4 of 14 Superseded Latest is v14 →

lore
Share & tools
lore
#0 lore raw

v4 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.

For the last patch that create a flight plan, I've tested only with ./standalone make-flight openstack and looked into the database to check that only the necessary build job and the only test job are there. (build-amd64{,-pvops,-libvirt} test-amd64-amd64-devstack)

Thanks.

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.

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            |  12 ++
 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          |  35 ++++++
 mfi-common           |   5 +
 sg-run-job           |   6 +
 ts-openstack-deploy  | 304 +++++++++++++++++++++++++++++++++++++++++++++++++++
 ts-openstack-tempest |  65 +++++++++++
 13 files changed, 454 insertions(+), 1 deletion(-)
 create mode 100755 ts-openstack-deploy
 create mode 100755 ts-openstack-tempest
Signature · 1 line
Anthony PERARD
#1 lore raw

PATCH v4 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.

---
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 | 304 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 309 insertions(+)
 create mode 100755 ts-openstack-deploy
sg-run-job +5 -0
index d748425..884574c 100755
@@ -407,6 +407,11 @@ proc run-job/test-rumpuserxen {} {
                  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 +304 -0

304 lines not on this page · raw message

Signature · 1 line
Anthony PERARD
#2 lore raw

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

In reply to Anthony PERARD

This script runs the OpenStack integration test suite, Tempest.

---
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 | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100755 ts-openstack-tempest
sg-run-job +1 -0
index 884574c..a7b4b81 100755
@@ -410,6 +410,7 @@ proc run-job/test-rumpuserxen {} {
 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 +65 -0

65 lines not on this page · raw message

Signature · 1 line
Anthony PERARD
#4 lore raw

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

In reply to Anthony PERARD

---
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            | 12 ++++++++++++
 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          | 35 +++++++++++++++++++++++++++++++++++
 mfi-common           |  5 +++++
 10 files changed, 79 insertions(+), 1 deletion(-)
ap-common +12 -0
index 19c7580..5ea0891 100644
@@ -55,6 +55,17 @@
 : ${PUSH_TREE_OVMF:=$XENBITS:/home/xen/git/osstest/ovmf.git}
 : ${BASE_TREE_OVMF:=git://xenbits.xen.org/osstest/ovmf.git}
 
+: ${GIT_OPENSTACK_ORG:=git://git.openstack.org}
+: ${TREE_OPENSTACK_CINDER:=$GIT_OPENSTACK_ORG/openstack/cinder.git}
+: ${TREE_OPENSTACK_DEVSTACK:=$GIT_OPENSTACK_ORG/openstack-dev/devstack.git}
+: ${TREE_OPENSTACK_GLANCE:=$GIT_OPENSTACK_ORG/openstack/glance.git}
+: ${TREE_OPENSTACK_KEYSTONE:=$GIT_OPENSTACK_ORG/openstack/keystone.git}
+: ${TREE_OPENSTACK_NOVA:=$GIT_OPENSTACK_ORG/openstack/nova.git}
+: ${TREE_OPENSTACK_REQUIREMENTS:=$GIT_OPENSTACK_ORG/openstack/requirements.git}
+: ${TREE_OPENSTACK_TEMPEST:=$GIT_OPENSTACK_ORG/openstack/tempest.git}
+: ${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 +93,7 @@ fi
 : ${LOCALREV_RUMPUSERXEN:=daily-cron.$branch}
 : ${LOCALREV_SEABIOS:=daily-cron.$branch}
 : ${LOCALREV_OVMF:=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 a7b658b..705ae04 100755
@@ -99,6 +99,10 @@ ovmf)
 	repo_tree_rev_fetch_git ovmf \
 		$TREE_OVMF_UPSTREAM master $LOCALREV_OVMF
 	;;
+openstack)
+	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 e2c6b3b..b2dfdcc 100755
@@ -33,6 +33,7 @@ check_ap_fetch_placeholders
 : ${BASE_LOCALREV_RUMPUSERXEN:=daily-cron.$branch.old}
 : ${BASE_LOCALREV_SEABIOS:=daily-cron.$branch.old}
 : ${BASE_LOCALREV_OVMF:=daily-cron.$branch.old}
+: ${BASE_LOCALREV_OPENSTACK_NOVA:=daily-cron.$branch.old}
 
 if info_linux_tree "$branch"; then
 	repo_tree_rev_fetch_git linux \
@@ -105,6 +106,10 @@ ovmf)
 	repo_tree_rev_fetch_git ovmf \
 		$BASE_TREE_OVMF xen-tested-master $BASE_LOCALREV_OVMF
 	;;
+openstack)
+	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 4088852..742e663 100755
@@ -64,6 +64,9 @@ ovmf)
 osstest)
 	echo none:;
 	;;
+openstack)
+	echo $TREE_OPENSTACK_NOVA
+	;;
 *)
 	echo >&2 "branch $branch ?"
 	exit 1
ap-push +5 -0
index 8def652..86c97e9 100755
@@ -40,6 +40,7 @@ TREE_LIBVIRT=$PUSH_TREE_LIBVIRT
 TREE_RUMPUSERXEN=$PUSH_TREE_RUMPUSERXEN
 TREE_SEABIOS=$PUSH_TREE_SEABIOS
 TREE_OVMF=$PUSH_TREE_OVMF
+TREE_OPENSTACK_NOVA=$PUSH_TREE_OPENSTACK_NOVA
 
 if info_linux_tree "$branch"; then
 	cd $repos/linux
@@ -120,6 +121,10 @@ ovmf)
 	cd $repos/ovmf
 	git push $TREE_OVMF $revision:refs/heads/xen-tested-master
 	;;
+openstack)
+	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 364238c..85260f5 100755
@@ -197,6 +197,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 OPENSTACK_NOVA
+        export REVISION_OPENSTACK_NOVA
+fi
 
 if [ "x$branch" != "xxen-unstable" ]; then
         export REVISION_LINUX_OLD=disable
@@ -246,6 +250,10 @@ ovmf)
 	realtree=ovmf
 	NEW_REVISION=$REVISION_OVMF
 	;;
+openstack)
+	realtree=openstack-nova
+	NEW_REVISION=$REVISION_OPENSTACK_NOVA
+	;;
 *)
 	NEW_REVISION=''
 	wantpush=false
cr-for-branches +1 -1
index 757045d..2fbfe72 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-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 linux-4.1 linux-3.18 linux-3.16 linux-3.14 linux-3.10 linux-3.4 linux-arm-xen seabios ovmf ${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-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 linux-4.1 linux-3.18 linux-3.16 linux-3.14 linux-3.10 linux-3.4 linux-arm-xen seabios ovmf openstack ${EXTRA_BRANCHES}}
 export BRANCHES
 
 fetchwlem=$wlem
cri-common +1 -0
index 6dfe8df..21f34cc 100644
@@ -79,6 +79,7 @@ select_xenbranch () {
 	ovmf)			tree=ovmf;	xenbranch=xen-unstable ;;
 	distros-*)		tree=none;	xenbranch=xen-unstable ;;
 	osstest)		tree=osstest;	xenbranch=xen-unstable ;;
+	openstack)	   tree=openstack-nova;	xenbranch=xen-unstable ;;
 	esac
 	if [ "x$tree" = xlinux ]; then
 		linuxbranch=$branch
make-flight +35 -0
index 8523995..5a4fc0c 100755
@@ -54,6 +54,12 @@ job_create_build_filter_callback () {
         *)			return 1 ;;
       esac
     ;;
+    openstack)
+      case "$job" in
+        *-xsm) return 1;;
+        *-oldkern) return 1;;
+      esac
+    ;;
   esac
   return 0
 }
@@ -129,6 +135,16 @@ job_create_test_filter_callback () {
         *) return 1;;
       esac
       ;;
+    openstack)
+      case "$job" in
+        *-devstack) ;;
+        *) return 1;;
+      esac
+      case $dom0arch in
+          amd64) ;;
+          *) return 1;;
+      esac
+      ;;
     *)
       case "$job" in
         *-qemuu-*)
@@ -672,6 +688,25 @@ test_matrix_do_one () {
 
   do_pygrub_tests
   do_pvgrub_tests
+
+  job_create_test test-$xenarch$kern-$dom0arch-devstack \
+    test-devstack libvirt $xenarch $dom0arch \
+    tree_cinder=$TREE_OPENSTACK_CINDER \
+    tree_devstack=$TREE_OPENSTACK_DEVSTACK \
+    tree_glance=$TREE_OPENSTACK_GLANCE \
+    tree_keystone=$TREE_OPENSTACK_KEYSTONE \
+    tree_nova=$TREE_OPENSTACK_NOVA \
+    tree_requirements=$TREE_OPENSTACK_REQUIREMENTS \
+    tree_tempest=$TREE_OPENSTACK_TEMPEST \
+    revision_nova=$REVISION_OPENSTACK_NOVA \
+    revision_cinder=$REVISION_OPENSTACK_CINDER \
+    revision_devstack=$REVISION_OPENSTACK_DEVSTACK \
+    revision_glance=$REVISION_OPENSTACK_GLANCE \
+    revision_keystone=$REVISION_OPENSTACK_KEYSTONE \
+    revision_requirements=$REVISION_OPENSTACK_REQUIREMENTS \
+    revision_tempest=$REVISION_OPENSTACK_TEMPEST \
+    dom0_mem=4000 \
+    all_hostflags=$most_hostflags
 }
 
 test_matrix_iterate
mfi-common +5 -0
index 5fbe195..f11302b 100644
@@ -59,6 +59,7 @@ xenbranch_xsm_variants () {
     xen-4.3-testing) echo "false";;
     xen-4.4-testing) echo "false";;
     xen-4.5-testing) echo "false";;
+    openstack)       echo "false";;
     *) echo "false true";
     esac
 }
@@ -102,6 +103,7 @@ create_build_jobs () {
       rumpuserxen) continue;;
       seabios) continue;;
       ovmf) continue;;
+      openstack) continue;;
       esac
       case "$xenbranch" in
       xen-3.*-testing) continue;;
@@ -127,6 +129,9 @@ create_build_jobs () {
       "
       ;;
     esac
+    if [ "$arch" = i386 ] && [ "$branch" = openstack ]; then
+      continue
+    fi
 
     case "$arch" in
     *)     suite=$defsuite;;
Signature · 1 line
Anthony PERARD
#5 lore raw

Re: [PATCH OSSTEST v4 3/3] Create a flight to test OpenStack with xen-unstable and libvirt

In reply to Anthony PERARD

On Fri, 2015-11-20 at 14:55 +0000, Anthony PERARD wrote:

I think this will also add a devstack job to most other flights? That's a good thing, I think.

I wonder if the flight ought to be called openstack-nova, to leave open the possibility of other openstack-$foo flights in the future?

Quoted 5 lines

---
Change in V4:
- also skip build-*-oldkern in make flight

Those should already be caught by cr-daily-branch
setting REVISION_LINUX_OLD=disable for all but the xen-unstable flight (arguably that default ought to be inverted, such that make-flight by default doesn't make such flights unless asked to, but that's not your Yakk I think)

Quoted 6 lines

- 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

The sort of info in this last bullet would be useful in the commit message, I think.

Quoted 11 lines
make-flight +0 -0
index 8523995..5a4fc0c 100755
@@ -54,6 +54,12 @@ job_create_build_filter_callback () {
          *)			return 1 ;;

       esac
     ;;
+    openstack)
+      case "$job" in
+        *-xsm) return 1;;

I wonder, would a test-$xenarch$kern-$dom0arch-devstack-xsm be a useful think to have though?

Quoted 1 line

+        *-oldkern) return 1;;

See above.

Quoted 21 lines
mfi-common +1 -0
index 5fbe195..f11302b 100644
@@ -59,6 +59,7 @@ xenbranch_xsm_variants () {
      xen-4.3-testing) echo "false";;
      xen-4.4-testing) echo "false";;
      xen-4.5-testing) echo "false";;
+    openstack)       echo "false";;
      *) echo "false true";

     esac
 }

mfi-common +1 -0
@@ -102,6 +103,7 @@ create_build_jobs () {
        rumpuserxen) continue;;
        seabios) continue;;
        ovmf) continue;;
+      openstack) continue;;

       esac
       case "$xenbranch" in
       xen-3.*-testing) continue;;

mfi-common +0 -0
@@ -127,6 +129,9 @@ create_build_jobs () {
Quoted 5 lines

       "
       ;;
     esac
+    if [ "$arch" = i386 ] && [ "$branch" = openstack ]; then +      continue

This accepts ARM, but I think you filter the test cases for that? The filtering of build vs. test jobs in make-flight/mfi-common is a bit of a mess, recently e21625f79d33 "make-flight: move in-lined branch vs arch filtering into callbacks" make it a bit less bad, which might be useful to you here?

Quoted 4 lines

+    fi

     case "$arch" in
     *)     suite=$defsuite;;

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

#6 lore raw

Re: [PATCH OSSTEST v4 3/3] Create a flight to test OpenStack with xen-unstable and libvirt

Quoted 4 lines · Ian Campbell

On Fri, 2015-11-20 at 14:55 +0000, Anthony PERARD wrote:

I think this will also add a devstack job to most other flights? That's a good thing, I think.

That was not my intention. It's true that the more test, the better, but on the other hands it takes about 1h to deploy+test openstack, after installing the host.

Quoted 2 lines

I wonder if the flight ought to be called openstack-nova, to leave open the possibility of other openstack-$foo flights in the future?

Yeah, that probably good to do.

Quoted 19 lines
Quoted 5 lines

---
Change in V4:
- also skip build-*-oldkern in make flight

Those should already be caught by cr-daily-branch
setting REVISION_LINUX_OLD=disable for all but the xen-unstable flight (arguably that default ought to be inverted, such that make-flight by default doesn't make such flights unless asked to, but that's not your Yakk I think)

Quoted 6 lines

- 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

Quoted 2 lines

The sort of info in this last bullet would be useful in the commit message, I think.

Yes, I should add that to the commit, to at least let know the intention of the author.

Quoted 6 lines
Quoted 6 lines
make-flight +0 -0
index 8523995..5a4fc0c 100755
@@ -54,6 +54,12 @@ job_create_build_filter_callback () {
          *)			return 1 ;;
Quoted 8 lines
Quoted 5 lines

       esac
     ;;
+    openstack)
+      case "$job" in
+        *-xsm) return 1;;

I wonder, would a test-$xenarch$kern-$dom0arch-devstack-xsm be a useful think to have though?

Probably, that would test xsm with a different scenario.

Quoted 3 lines
Quoted 1 line

+        *-oldkern) return 1;;

See above.

Ok, I guest I can remove this.

Quoted 24 lines
Quoted 24 lines
mfi-common +1 -0
index 5fbe195..f11302b 100644
@@ -59,6 +59,7 @@ xenbranch_xsm_variants () {
      xen-4.3-testing) echo "false";;
      xen-4.4-testing) echo "false";;
      xen-4.5-testing) echo "false";;
+    openstack)       echo "false";;
      *) echo "false true";

     esac
 }

mfi-common +1 -0
@@ -102,6 +103,7 @@ create_build_jobs () {
        rumpuserxen) continue;;
        seabios) continue;;
        ovmf) continue;;
+      openstack) continue;;

       esac
       case "$xenbranch" in
       xen-3.*-testing) continue;;

mfi-common +0 -0
@@ -127,6 +129,9 @@ create_build_jobs () {

       "
       ;;
     esac

Quoted 8 lines
Quoted 2 lines

+    if [ "$arch" = i386 ] && [ "$branch" = openstack ]; then +      continue

This accepts ARM, but I think you filter the test cases for that? The filtering of build vs. test jobs in make-flight/mfi-common is a bit of a mess, recently e21625f79d33 "make-flight: move in-lined branch vs arch filtering into callbacks" make it a bit less bad, which might be useful to you here?

Yes, ARM should be filter elsewere. I'll give a look at this commit.

Thanks,

Signature · 1 line
Anthony PERARD
#7 lore raw

Re: [PATCH OSSTEST v4 3/3] Create a flight to test OpenStack with xen-unstable and libvirt

Quoted 10 lines · Anthony PERARD
Quoted 5 lines · Ian Campbell

On Fri, 2015-11-20 at 14:55 +0000, Anthony PERARD wrote:

I think this will also add a devstack job to most other flights? That's a
good thing, I think.

That was not my intention. It's true that the more test, the better, but on the other hands it takes about 1h to deploy+test openstack, after installing the host.

1h isn't outsides the realms of reasonableness, but I'll let Ian comment on available colo test bandwidth.

Quoted 15 lines
make-flight +0 -0
Quoted 5 lines
Quoted 5 lines

index 8523995..5a4fc0c 100755

make-flight +0 -0
@@ -54,6 +54,12 @@ job_create_build_filter_callback () {
          *)			return 1 ;;
Quoted 8 lines
Quoted 5 lines

       esac
     ;;
+    openstack)
+      case "$job" in
+        *-xsm) return 1;;

I wonder, would a test-$xenarch$kern-$dom0arch-devstack-xsm be a useful think to have though?

Quoted 1 line

Probably, that would test xsm with a different scenario.

Indeed.

In fact I wonder if we should have a general policy of defaulting to testing with XSM turned on. After all I would expect that to find strictly more bugs than running without.

[...]

Quoted 1 line

Yes, ARM should be filter elsewere. I'll give a look at this commit.

For both this and the question of whether the devstack is being added to the other flights or not I would recommend running "standalone-generate-dump-flight-runvars > before" and "s-g-d-f-r > after" with and without your change and examining the diff.

I usually run it with eatmydata for minimum runtimes, although that has a small chance in theory of corrupting standalone.db.

Ian.

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