lp:~raharper/curtin/trunk.fix-lp1615780

Created by Ryan Harper and last modified
Get this branch:
bzr branch lp:~raharper/curtin/trunk.fix-lp1615780
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

Owner:
Ryan Harper
Project:
curtin
Status:
Merged

Recent revisions

417. By Ryan Harper

curtin.apply_net should exit non-zero upon exception.

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_reconfigure

It 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
This branch contains Public information 
Everyone can see this information.

Subscribers