From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH RFC OSSTEST v1 12/12] make-flight: Use older Debian for host and guest OS with older Xen Date: Fri, 8 Jan 2016 14:29:59 +0000 Message-ID: <1452263399-14094-12-git-send-email-ian.campbell@citrix.com> References: <1452263368.29416.39.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1452263368.29416.39.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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(+) 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 -- 2.6.1