lp:~raharper/curtin/trunk.fix-lp1615780
- Get this branch:
- bzr branch lp:~raharper/curtin/trunk.fix-lp1615780
Branch merges
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedcurtin/commands/apply_net.py (+1/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 416. By Scott Moser
-
Fix the unittests for test_apt_source.
The tests were written to use 'assert_called', which is only available
in mock versions 2.0. Because of this, the failure would only occur
in releases less than yakkety and not in 'tox'. - 415. By Scott Moser
-
get CURTIN_
VMTEST_ PARALLEL shown correctly in jenkins-runner output CURTIN_
VMTEST_ PARALLEL was not getting shown correctly unless it
was set in the environment. This will display it to the effective
value of the environment or --parallel flag.Also, change some quoting that vim highlighting didn't like.
- 414. By Scott Moser
-
fix vmtest check_file_
strippedline to strip lines before comparing My addition of load_collect_file and making check_file_
strippedline use it
caused errors. This actually strips the lines now before the comparison. - 413. By Scott Moser
-
fix whitespace damage in tests/vmtests/
__init_ _.py revno 412 introduced some whitespace damage.
- 412. By Scott Moser
-
fix dpkg-reconfigure when debconf_selections was provided.
When debconf selections were provided dpkg-reconfigure was
not being called correctly.This re-works apply_debconf_
selections to be more testable
and adds tests it and new functions that were split out:
debconf_set_selections
dpkg_reconfigureIt also changes a vmtest to excercise this path.
- 411. By Scott Moser
-
fix apt tests on non-intel arch
The apt config tests were failing
a.) on non-amd64 arch because util.get_architecture( ) wasnt correctly
mocked.
b.) arbitrarily based on test order.
the change curtin/commands/ apt_config. py is made because
the test was modifying the return value and inadvertantly modifying
the persistent (across test) files.there are a few other test improvements here, mostly in line formating.
- 410. By Scott Moser
-
Add apt features to curtin.
This allows user more control over what sources are configured in
curtin installation. Examples are various apt configurations, proxies,
mirrors, ppa's, sources.list content and pgp keys trusted by apt.See examples/
apt-source. yaml for examples and explanation of the individual
capabilities.Along the actual features a huge list of related unit- and vm-tests is added.
- 409. By Ryan Harper
-
vmtest: easier use of parallel and controlling timeouts
This adds and documents the following environment variables:
* CURTIN_
VMTEST_ BOOT_TIMEOUT: default 300
timeout before giving up on the boot of the installed system.* CURTIN_
VMTEST_ INSTALL_ TIMEOUT: default 3000
timeout before giving up on installation.* CURTIN_
VMTEST_ PARALLEL: default ''
only supported through ./tools/jenkins- runner .
-1 : then run one per core.
0 or '': then run with no parallel
>0 : run with N processes
this modifies the invocation of nosetets to add '--processes' and
other necessary nose arguments (--process-timeout) - 408. By Ryan Harper
-
mkfs.vfat: add force flag for formating whole disks
For mkfs.vfat commands, add the flag -I to force the command to work
if told to format a whole disk instead of just a partition.
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