Created by Ryan Harper and last modified
Get this branch:
bzr branch lp:~raharper/curtin/trunk.zesty-btrfs
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Ryan Harper

Recent revisions

470. By Ryan Harper

Drop btrfs collect from nvme test

469. By root <email address hidden>

vmtest: change how we obtain btrfs uuid

468. By Ryan Harper

vmtest: handle change in btrfs-progs when finding fs UUID.

467. By Scott Moser

pycodestyle: fix bare except in vmtests

The tox target tip-pycodestyle raises raises exception any time
you use a bare except.

This change here actually is much less forgiving, and will let an
exception raise if there is invalid json in the log file.

466. By Scott Moser

unittests: add subp coverage for retries, and rcs

This adds unit tests that verify correct behavior of subp with
   test_rcs_not_in_list_raise : subp(["sh", "-c", "exit 1"], rcs=[8])
   test_rcs_other_than_zero_work: subp(["sh", "-c", "exit 8"], rcs=[8])
   test_retry_none_does_not_retry: subp(["false"], retries=None)
   test_retry_does_retry: subp(["pass-on-try-2", retries=[1,0])

465. By Scott Moser

reporting: Add better descriptions and granularity of events

Add more human readable descriptions to the events and increase the number
of events we report to provide greater context in what's occurring during
a curtin install.

Add webhook reporting to all vmtests, including a unittest to catch if
curtin sends the install log to the webservice.

Refactor the in-tree webhook logger to be used as a module for use in

Add tools/curtin-log-print to pretty-print curtin install logs with custom
formatter and sorter.

464. By Scott Moser

tox: do not bother with pep8 from trusty in trusty-check

Following onto Josh's commit that removes style checking other than
the versions we have in trunk, there is no reason to run trusty
level pep8 any more in 'trusty-check'

463. By Joshua Powers

tests: add two scripts used for running vmtest with installed package.

Using vmtest to test a distro-installed curtin can be done by setting
CURTIN_VMTEST_CURTIN_EXE as described in doc/topics/integration-testing.rst.
This adds a helper for building a container with curtin in it,
and one for running 'curtin' inside that container.

vmtest can then use the curtin inside the container with:
 CURTIN_VMTEST_CURTIN_EXE="curtin-from-container container curtin" \

462. By Ryan Harper

Make add-apt-repository command retry

We see transient failures in overnight runs where add-apt-repository
fails to connect to the launchpad for network reasons. Handle this by
allowing our calls to be retried.

461. By Ryan Harper

Add tests for network bridging configuration

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.