From: Anthony PERARD Subject: Re: [PATCH OSSTEST v4 3/3] Create a flight to test OpenStack with xen-unstable and libvirt Date: Tue, 8 Dec 2015 14:54:06 +0000 Message-ID: <20151208145406.GG1788@perard.uk.xensource.com> References: <1448031319-3444-1-git-send-email-anthony.perard@citrix.com> <1448031319-3444-4-git-send-email-anthony.perard@citrix.com> <1449570229.16124.24.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1449570229.16124.24.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 Campbell Cc: Ian Jackson , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Dec 08, 2015 at 10:23:49AM +0000, Ian Campbell wrote: > 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. > I wonder if the flight ought to be called openstack-nova, to leave open t= he > possibility of other openstack-$foo flights in the future? Yeah, that probably good to do. > > Signed-off-by: Anthony PERARD > > = > > --- > > Change in V4: > > - also skip build-*-oldkern in make flight > = > Those should already be caught by cr-daily-branch > setting=A0REVISION_LINUX_OLD=3Ddisable 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 Ya= kk > I think) > = > > - fix select_xenbranch > > - set revision_*=3D$REVISION_OPENSTACK_* in make-flight > > =A0 (was revision_*=3Dmaster before) > > =A0 only REVISION_OPENSTACK_NOVA is set, the others are unset. > > =A0 empty revision_* runvar would clone the default branch, which should > > =A0 be master for every openstack repos > = > The sort of info in this last bullet would be useful in the commit messag= e, > I think. Yes, I should add that to the commit, to at least let know the intention of the author. > > diff --git a/make-flight b/make-flight > > index 8523995..5a4fc0c 100755 > > --- a/make-flight > > +++ b/make-flight > > @@ -54,6 +54,12 @@ job_create_build_filter_callback () { > > =A0=A0=A0=A0=A0=A0=A0=A0=A0*) return 1 ;; > > =A0=A0=A0=A0=A0=A0=A0esac > > =A0=A0=A0=A0=A0;; > > +=A0=A0=A0=A0openstack) > > +=A0=A0=A0=A0=A0=A0case "$job" in > > +=A0=A0=A0=A0=A0=A0=A0=A0*-xsm) return 1;; > = > I wonder, would a=A0test-$xenarch$kern-$dom0arch-devstack-xsm be a useful > think to have though? Probably, that would test xsm with a different scenario. > > +=A0=A0=A0=A0=A0=A0=A0=A0*-oldkern) return 1;; > = > See above. Ok, I guest I can remove this. > > diff --git a/mfi-common b/mfi-common > > index 5fbe195..f11302b 100644 > > --- a/mfi-common > > +++ b/mfi-common > > @@ -59,6 +59,7 @@ xenbranch_xsm_variants () { > > =A0=A0=A0=A0=A0xen-4.3-testing) echo "false";; > > =A0=A0=A0=A0=A0xen-4.4-testing) echo "false";; > > =A0=A0=A0=A0=A0xen-4.5-testing) echo "false";; > > +=A0=A0=A0=A0openstack)=A0=A0=A0=A0=A0=A0=A0echo "false";; > > =A0=A0=A0=A0=A0*) echo "false true"; > > =A0=A0=A0=A0=A0esac > > =A0} > > @@ -102,6 +103,7 @@ create_build_jobs () { > > =A0=A0=A0=A0=A0=A0=A0rumpuserxen) continue;; > > =A0=A0=A0=A0=A0=A0=A0seabios) continue;; > > =A0=A0=A0=A0=A0=A0=A0ovmf) continue;; > > +=A0=A0=A0=A0=A0=A0openstack) continue;; > > =A0=A0=A0=A0=A0=A0=A0esac > > =A0=A0=A0=A0=A0=A0=A0case "$xenbranch" in > > =A0=A0=A0=A0=A0=A0=A0xen-3.*-testing) continue;; > > @@ -127,6 +129,9 @@ create_build_jobs () { > > =A0=A0=A0=A0=A0=A0=A0" > > =A0=A0=A0=A0=A0=A0=A0;; > > =A0=A0=A0=A0=A0esac > > +=A0=A0=A0=A0if [ "$arch" =3D i386 ] && [ "$branch" =3D openstack ]; th= en > > +=A0=A0=A0=A0=A0=A0continue > = > 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, -- = Anthony PERARD