From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH OSSTEST v2] Arrange to test migration from the previous Xen version
Date: Tue, 11 Aug 2015 12:30:07 +0100 [thread overview]
Message-ID: <1439292607.9747.222.camel@citrix.com> (raw)
In-Reply-To: <1438617682.31129.29.camel@citrix.com>
On Mon, 2015-08-03 at 17:01 +0100, Ian Campbell wrote:
> On Fri, 2015-07-24 at 17:28 +0100, Ian Campbell wrote:
> > @@ -191,6 +208,27 @@ create_build_jobs () {
> > revision_ovmf=$REVISION_OVMF
> > done
> >
> > + if [ x$want_prevxen = xy ] ; then
> > + if [ "x$REVISION_PREVXEN" = x ] ; then
> > + echo >&2 "prevxen ?"; exit 1
> > + fi
>
> This breaks things with standalone mode, or any make-flight which didn't
> come from cr-daily-branch.
>
> In such cases we don't have REVISION_XEN or TREE_XEN either, we just get
> the defaults.
>
> I think we need to do something like select_prevxenbranch but to pick a
> xen.git branch name rather than an osstest branch name.
>
> Or we quietly skip this test if REVISION_PREVXEN is not set.
>
> One to chew on I think.
At the moment I'm somewhat inclined towards omitting the build-$ARCH-prev
job in this case but still creating the associated test jobs.
In standalone mode this may still be useful (maybe your hosts are already
configured and you want to run an individual step).
In production mode the test jobs will then fail their ts-build-check step,
which correctly reflects what has happened.
I think this is the effect of the following incremental patch.
Ian.
diff --git a/mfi-common b/mfi-common
index 737db99..810e533 100644
--- a/mfi-common
+++ b/mfi-common
@@ -208,10 +208,7 @@ create_build_jobs () {
revision_ovmf=$REVISION_OVMF
done
- if [ x$want_prevxen = xy ] ; then
- if [ "x$REVISION_PREVXEN" = x ] ; then
- echo >&2 "prevxen ?"; exit 1
- fi
+ if [ x$want_prevxen = xy -a "x$REVISION_PREVXEN" != x ] ; then
# TODO could find latest pass on that branch and attempt to reuse.
#bfiprevxen=...
#
next prev parent reply other threads:[~2015-08-11 11:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 16:28 [PATCH OSSTEST v2] Arrange to test migration from the previous Xen version Ian Campbell
2015-07-24 16:29 ` Ian Jackson
2015-08-03 16:01 ` Ian Campbell
2015-08-11 11:30 ` Ian Campbell [this message]
2015-08-11 16:16 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439292607.9747.222.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.