[PATCH] Add a basic test for ostree-based installs.

Brian C. Lane bcl at redhat.com
Wed Jul 9 00:26:52 UTC 2014


On Tue, Jul 08, 2014 at 09:32:00AM -0400, Chris Lumens wrote:
> > 1) if I understand it correctly, the $status is set in the way that the
> > last livemedia-creator run wins it. Shouldn't the value be combined from
> > all the test runs or shouldn't the test just fail with the first
> > lviemedia-creator fail?
> 
> If one fails, the whole test case fails.  However, there's value in
> running all of them because they are independent events and it's useful
> to know whether just one has a problem or what.
> 
> > 2) would it make sense to use xargs and run multiple livemedia-creators
> > in parallel?
> 
> Yeah maybe, though I think the resource management (RAM and vcpus) is
> going to get tough.  Also, I don't know if lmc can handle being run
> multiple times.

lmc should work fine with multiple instances, it creates unique tempdirs
so it shouldn't stomp on itself. Except for the log files (which I just
realized) but passing a unique --logfile path should overcome that. Pass
it the /path/name.log of the primary logfile and the others will be
written alongside it.

virt-install access to the iso from multiple VMs may be a problem, I've
run into it complaining that the iso is in use by another VM when I've
tried running lmc while a normal virt-install is also running. There
should be a way around that since access is read only.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list