All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH OSSTEST v7 12/15] Add testing of non-LVM/phy disk backends.
Date: Mon, 6 Jul 2015 16:53:09 +0100	[thread overview]
Message-ID: <1436197989.25646.124.camel@citrix.com> (raw)
In-Reply-To: <21914.40166.659506.132067@mariner.uk.xensource.com>

On Mon, 2015-07-06 at 16:21 +0100, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST v7 12/15] Add testing of non-LVM/phy disk backends."):
> > xen-create-image makes this tricky to do since it is rather LVM
> > centric. Now that we have the ability to install from d-i it's
> > possible to arrange fairly easily that they use non-LVM disk backend
> > arrangements.
> > 
> > Here we add support to the test script and infra and create a bunch of
> > new jobs testing the cross product of {xl,libvirt} x {raw,qcow2,vhd}.
> 
> This looks pretty good.
> 
> I have just two minor questions:
> 
> > +sub prepareguest_part_diskimg ($$$) {
> > +    my ($ho, $gho, $disk_mb) = @_;
> > +
> > +    my $diskfmt = $gho->{Diskfmt};
> > +    # Allow an extra 10 megabytes for image format headers
> > +    my $disk_overhead = $diskfmt eq "lvm" ? 0 : 10;
> > +
> > +    logm("preparing guest disks in $diskfmt format");
> > +
> > +    target_cmd_root($ho, "umount $gho->{Lvdev} ||:");
> 
> Does this not sometimes produce an undefined variable warning ?

I don't think so, but I'll keep a look out next time I run a flight.

> > diff --git a/make-flight b/make-flight
> > index 8206508..0313696 100755
> > --- a/make-flight
> > +++ b/make-flight
> > @@ -383,6 +383,22 @@ do_pv_debian_tests () {
> >    for xsm in $xsms ; do
> >      do_pv_debian_test_one libvirt '' libvirt enable_xsm=$xsm
> >    done
> > +
> > +  for ts in xl libvirt ; do
> > +
> > +    for fmt in raw vhd qcow2 ; do
> > +
> > +      fmt_runvar="debian_diskfmt=$fmt"
> > +
> > +      do_pv_debian_test_one $ts-$fmt '-di' $ts  \
> > +          debian_arch=$dom0arch                 \
> > +          debian_suite=$guestsuite              \
> > +          debian_method=netboot                 \
> > +          debian_bootloader=pygrub              \
> > +          $fmt_runvar
> 
> Are some of these jobs not very similar to existing ones ?

They differ in the backing store used for the guest's disks, but
otherwise they are quite similar to the existing flight, except they are
installed with d-i not xen-create-image.

The use of d-i is simply because it was easier to reuse
ts-debian-di-install than to convince xen-create-image to using non-LVM,
rather than a particular desire to test d-i in this context.

Ian.

  reply	other threads:[~2015-07-06 15:53 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 13:44 [PATCH OSSTEST v7 00/16] add distro domU testing flight Ian Campbell
2015-05-27 13:45 ` [PATCH OSSTEST v7 01/15] TestSupport: Add helper to fetch a URL on a host Ian Campbell
2015-07-06 14:48   ` Ian Jackson
2015-07-06 15:03     ` Ian Campbell
2015-07-06 15:59       ` Ian Jackson
2015-07-06 16:24         ` Ian Campbell
2015-05-27 13:45 ` [PATCH OSSTEST v7 02/15] distros: add support for installing Debian PV guests via d-i, flight and jobs Ian Campbell
2015-07-06 14:51   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 03/15] distros: support booting Debian PV (d-i installed) guests with pvgrub Ian Campbell
2015-05-27 13:45 ` [PATCH OSSTEST v7 04/15] distros: Support pvgrub for Wheezy too Ian Campbell
2015-07-06 14:55   ` Ian Jackson
2015-07-06 15:06     ` Ian Campbell
2015-07-06 15:54       ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 05/15] distros: support PV guest install from Debian netinst media Ian Campbell
2015-07-06 15:01   ` Ian Jackson
2015-07-07  9:29     ` Ian Campbell
2015-05-27 13:45 ` [PATCH OSSTEST v7 06/15] Test pygrub and pvgrub on the regular flights Ian Campbell
2015-05-27 13:45 ` [PATCH OSSTEST v7 07/15] distros: add branch infrastructure Ian Campbell
2015-07-06 15:04   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 08/15] distros: Run one suite per day on a weekly basis Ian Campbell
2015-07-06 15:05   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 09/15] Debian: Handle lack of bootloader support in d-i on ARM Ian Campbell
2015-07-06 15:07   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 10/15] ts-debian-di-install: Refactor root_disk specification Ian Campbell
2015-07-06 15:07   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 11/15] make-flight: refactor PV debian tests Ian Campbell
2015-07-06 15:08   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 12/15] Add testing of non-LVM/phy disk backends Ian Campbell
2015-07-06 15:21   ` Ian Jackson
2015-07-06 15:53     ` Ian Campbell [this message]
2015-07-06 16:01       ` Ian Jackson
2015-07-06 16:26         ` Ian Campbell
2015-07-06 16:40           ` Ian Campbell
2015-05-27 13:45 ` [PATCH OSSTEST v7 13/15] mfi-common: Allow make-*flight to filter the set of build jobs to include Ian Campbell
2015-07-06 15:22   ` Ian Jackson
2015-07-07  9:40     ` Ian Campbell
2015-07-07 10:38       ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 14/15] make-distros-flight: don't bother building for XSM or libvirt Ian Campbell
2015-07-06 15:22   ` Ian Jackson
2015-05-27 13:45 ` [PATCH OSSTEST v7 15/15] make-distros-flight: Use ftp.debian.org directly Ian Campbell
2015-07-06 15:23   ` Ian Jackson
2015-07-07  9:47     ` 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=1436197989.25646.124.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.