[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 23/27] make-flight: Provide xen-unstable-smoke branch



This contains a very limited set of jobs:
    build-amd64
    build-armhf
    test-amd64-amd64-libvirt
    test-amd64-amd64-xl-qemuu-debianhvm-i386
    test-armhf-armhf-xl

The debianhvm job exists only in this flight, and is generated by
having branch_debianhvm_arch return i386 instead of amd64.

We override host allocator parameters to make this flight not care
about host stickiness: it just takes whatever comes to hand.

Deployment note: This requires images/debian-7.2.0-i386-CD-1.iso
which I have already downloaded to the Cambridge instance using jigdo.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 make-flight |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/make-flight b/make-flight
index 2246411..09f3304 100755
--- a/make-flight
+++ b/make-flight
@@ -46,6 +46,16 @@ job_create_build_filter_callback () {
   esac
   if [ "x$relevant_bfi" != x ]; then return 1; fi # reusing
 
+  case "$branch" in
+    xen-unstable-smoke)
+      case "$job" in
+        build-amd64) ;;
+        build-armhf) ;;
+        *)           return 1;;
+      esac
+    ;;
+  esac
+
   return 0
 }
 
@@ -62,6 +72,13 @@ case "$buildflight" in
   ;;
 esac
 
+case "$branch" in
+xen-unstable-smoke)
+       global_runvars+=" hostalloc_maxbonus_variation~=0 "
+       global_runvars+=" hostalloc_bonus_previousfail~=0 "
+        ;;
+esac
+
 create_build_jobs
 
 job_create_test_filter_callback () {
@@ -72,6 +89,14 @@ job_create_test_filter_callback () {
   local dom0arch=$1; shift
 
   case "$branch" in
+    xen-unstable-smoke)
+      case "$job" in
+        test-amd64-amd64-libvirt)                  return 0 ;;
+        test-armhf-armhf-xl)                       return 0 ;;
+        test-amd64-amd64-xl-qemuu-debianhvm-i386)  return 0 ;;
+        *)                                         return 1 ;;
+      esac
+      ;;
     qemu-upstream-4.2-testing)
       case " $* " in
         *" device_model_version=qemu-xen "*)
@@ -238,6 +263,7 @@ do_hvm_win7_x64_tests () {
 
 branch_debianhvm_arch () {
   case $branch in
+    xen-unstable-smoke) echo i386;;
     *) echo amd64;;
   esac
 }
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.