lp:~chad.smith/curtin/common-ci-test-case

Created by Chad Smith and last modified
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

Owner:
Chad Smith
Project:
curtin
Status:
Development

Recent revisions

522. By Chad Smith

s/CiTestCase/CurtinTestCase/

521. By Chad Smith

allow kwargs passed into CiTestCase.add_patch per review comments

520. By Chad Smith

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

519. By Chad Smith

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

drop functools partial as it is unneeded

517. By Chad Smith

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

516. By Chad Smith

add new CiTestCase class for curtin unittests

515. By Ryan Harper

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

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
CENTOS_APPLY_NETWORK_CONFIG respectively.

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

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:
lp:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers