diff mbox

[RFC,OSSTEST,v1,12/12] make-flight: Use older Debian for host and guest OS with older Xen

Message ID 1452263399-14094-12-git-send-email-ian.campbell@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Campbell Jan. 8, 2016, 2:29 p.m. UTC
Sometimes when updating osstest to use a newer version of Debian as a
baseline we find that the new compiler or other tools pickup latent
errors in older code bases for which the fixes are invasive or
otherwise inappropriate for a stable branch.

This is the case with Debian Jessie and Xen 4.3 and earlier, so
restrict those branches to keep using Wheezy.

This only applies to xen-X.Y-testing branches and
qemu-upstream-X.Y-testing branches since other branch all use
xen-unstable as their Xen.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
Runvar differences are of the form:
-xen-4.3-testing            build-amd64                               all_host_diversion           2015-09-18
-xen-4.3-testing            build-amd64                               all_host_suite               jessie
+xen-4.3-testing            build-amd64                               all_host_diversion           2015-09-07
+xen-4.3-testing            build-amd64                               all_host_suite               wheezy
 xen-4.3-testing            build-amd64                               arch                         amd64
-xen-4.3-testing            build-amd64                               host_hostflags               share-build-jessie-amd64,arch-amd64,suite-jessie,purpose-build
+xen-4.3-testing            build-amd64                               host_hostflags               share-build-wheezy-amd64,arch-amd64,suite-wheezy,purpose-build
---
 make-flight | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Ian Jackson Jan. 12, 2016, 3:22 p.m. UTC | #1
Ian Campbell writes ("[PATCH RFC OSSTEST v1 12/12] make-flight: Use older Debian for host and guest OS with older Xen"):
> Sometimes when updating osstest to use a newer version of Debian as a
> baseline we find that the new compiler or other tools pickup latent
> errors in older code bases for which the fixes are invasive or
> otherwise inappropriate for a stable branch.
> 
> This is the case with Debian Jessie and Xen 4.3 and earlier, so
> restrict those branches to keep using Wheezy.

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

Subject to anticipated change to the runvar name.

Ian.
diff mbox

Patch

diff --git a/make-flight b/make-flight
index 3b3950a..87070f2 100755
--- a/make-flight
+++ b/make-flight
@@ -40,6 +40,18 @@  xen-unstable-smoke)
         ;;
 esac
 
+# Older versions of Xen may not build with the current default.  Note
+# that branches older than 4.3 might need something even older than
+# Wheezy, but we have not done the archaeology to figure out what they
+# require.
+case "$xenbranch" in
+  xen-3.*-testing) suite="wheezy"; guestsuite="wheezy";;
+  xen-4.0-testing) suite="wheezy"; guestsuite="wheezy";;
+  xen-4.1-testing) suite="wheezy"; guestsuite="wheezy";;
+  xen-4.2-testing) suite="wheezy"; guestsuite="wheezy";;
+  xen-4.3-testing) suite="wheezy"; guestsuite="wheezy";;
+esac
+
 job_create_build_filter_callback () {
   local job=$1; shift
   case "$branch" in