lp:~chad.smith/curtin/common-ci-test-case
- Get this branch:
- bzr branch lp:~chad.smith/curtin/common-ci-test-case
Branch merges
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 1483 lines (+247/-347)24 files modifiedtests/unittests/helpers.py (+36/-0)
tests/unittests/test_apt_custom_sources_list.py (+3/-6)
tests/unittests/test_apt_source.py (+4/-7)
tests/unittests/test_basic.py (+4/-4)
tests/unittests/test_block.py (+20/-36)
tests/unittests/test_block_iscsi.py (+6/-18)
tests/unittests/test_block_lvm.py (+2/-2)
tests/unittests/test_block_mdadm.py (+10/-22)
tests/unittests/test_block_mkfs.py (+2/-2)
tests/unittests/test_clear_holders.py (+5/-5)
tests/unittests/test_commands_apply_net.py (+8/-20)
tests/unittests/test_commands_block_meta.py (+6/-19)
tests/unittests/test_commands_install.py (+4/-4)
tests/unittests/test_config.py (+6/-6)
tests/unittests/test_curthooks.py (+21/-46)
tests/unittests/test_feature.py (+2/-2)
tests/unittests/test_gpg.py (+4/-4)
tests/unittests/test_make_dname.py (+4/-4)
tests/unittests/test_net.py (+8/-14)
tests/unittests/test_partitioning.py (+4/-3)
tests/unittests/test_public.py (+4/-4)
tests/unittests/test_reporter.py (+29/-38)
tests/unittests/test_util.py (+48/-62)
tests/unittests/test_version.py (+7/-19)
Branch information
Recent revisions
- 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
- 517. By Chad Smith
-
get rid of any per-test mkdtemp usage throughout unit tests. Make sure all curtin unit tests subclass from CiTestCase
- 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