lp:~raharper/curtin/trunk.zesty-btrfs
- Get this branch:
- bzr branch lp:~raharper/curtin/trunk.zesty-btrfs
Branch merges
- Scott Moser (community): Approve
- Joshua Powers (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 125 lines (+14/-23)2 files modifiedtests/vmtests/test_basic.py (+14/-22)
tests/vmtests/test_nvme.py (+0/-1)
Branch information
Recent revisions
- 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
vmtest.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" \
./tools/jenkins- runner - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~curtin-dev/curtin/trunk