Created by Chad Smith on 2017-08-02 and last modified on 2017-08-03
Get this branch:
bzr branch lp:~chad.smith/curtin/common-ci-test-case
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Chad Smith

Recent revisions

522. By Chad Smith on 2017-08-03


521. By Chad Smith on 2017-08-03

allow kwargs passed into CiTestCase.add_patch per review comments

520. By Chad Smith on 2017-08-03

add missing super...setUp calls to classes which have overridden the unittest.setUp method

519. By Chad Smith on 2017-08-03

move add_patch up into CiTestCase, drop all add_patch definitions in subclasses. Convert any locally defined mock start/stop definitions to use add_patch

518. By Chad Smith on 2017-08-03

drop functools partial as it is unneeded

517. By Chad Smith on 2017-08-02

get rid of any per-test mkdtemp usage throughout unit tests. Make sure all curtin unit tests subclass from CiTestCase

516. By Chad Smith on 2017-08-02

add new CiTestCase class for curtin unittests

515. By Ryan Harper on 2017-08-02

Disable yum plugins when installing packages, update ca-certs for https

The default yum configured plugins includes the 'fastmirrors' plugin which
produces inconsistent results resulting in broken installs. Update the
ca-certificates package to prevent https mirror download failures. Add
some retries to the yum install commands to handle transient failures.

514. By Scott Moser on 2017-08-01

Rename centos_network_curthooks -> centos_apply_network_config.

Rename centos_network_curthooks and its upper-cased feature
CENTOS_NETWORK_CURTHOOKS to centos_apply_network_config and

Also drop the handling of 'cloudconfig' entries from that function.
Handling of cloudconfig is up to the curthooks, and that is being
added to maas-images built-in curthooks.

The name centos_apply_network_config is left in curtin.cmd.curthooks.
We add a unittest to ensures that entry point is never lost.

Also add unit test to ensure 'write_files' is available from futil.

513. By Scott Moser on 2017-07-31

tests: in centos_defaults use write_files for grub serial.

This changes centos defaults to pass a file into the target
with write_files and then use that program in late_commands to
modify grub1 and grub2 config files so that we get console
output to the serial console.

Instead of running grub2-mkconfig it just updates both
the defaults file and the rendered /boot/grub2/grub.cfg.

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.