← Back to team overview

canonical-ci-engineering team mailing list archive

Re: maguros stuck for upstream merger

 

On 06.11.2013 09:37, Vincent Ladeuil wrote:
Michał Sawicz <michal.sawicz@xxxxxxxxxxxxx> writes:

     > On 05.11.2013 23:47, Francis Ginther wrote:
     >> Once we have MP testing via click packages working, we should be able
     >> to get back to a clean environment without flashing (although I'm not
     >> fully confident this will actually work). We will still need to flash
     >> for some projects which are not delivered via click.

     > One thing I've been doing recently is, instead of flashing, executing

     > $ system-image-cli --build 0 --verbose

     > as root on the device. This results in downloading the latest full image and
     > upgrading through the image-based upgrade system.

*upgrading* is key here.

What we need is the ability to restore an arbitrary image so that
includes *downgrading* as well. Is there a way to use system-image for
that ? Does it need to be modified ?

https://bugs.launchpad.net/ubuntu-system-image/+bug/1244208

I.e.: is there a way to "upgrade" to an arbitrary image to get a phone
in a pristine state as far as tests are concerned ?

That's what system-image-cli --build 0 will do, for all intentes and purposes.

https://bugs.launchpad.net/ubuntu-system-image/+bug/1192577 is related to this.

If ~phablet requires a different approach that's fine too, it's probably
easier to reset a user home directory than the system itself and can be
handled separately.

If tests don't clean up after themselves, we should probably fix that anyway?

Cheers,
--
Michał (Saviq) Sawicz <michal.sawicz@xxxxxxxxxxxxx>
Canonical Services Ltd.


References