lp:~smoser/curtin/trunk.vmtest-cleanup
- Get this branch:
- bzr branch lp:~smoser/curtin/trunk.vmtest-cleanup
Branch merges
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper (community): Approve
-
Diff: 308 lines (+73/-82)6 files modifiedtests/vmtests/__init__.py (+41/-33)
tests/vmtests/test_network.py (+23/-30)
tests/vmtests/test_network_bridging.py (+6/-12)
tests/vmtests/test_network_enisource.py (+1/-2)
tests/vmtests/test_network_mtu.py (+1/-4)
tests/vmtests/test_nvme.py (+1/-1)
Branch information
Recent revisions
- 490. By Scott Moser
-
tests: clean up usage of collect files
This adds a helper 'collect_path' to the vmtests base class, and then
uses it wherever appropriate. It also cleans up all code that
used read collect files to use load_collect_file.Lastly, it updates output_files_exist and output_
files_dont_ exist
to show which files do or do not exist. Previously all you'd see
in the log was an assertion that something was or was not true.
Now, you'll see a list of files that do or do not exist, and not
just the first. - 489. By Scott Moser
-
Copy curtin install log into target.
The install log was not correctly being copied into the target as a
regression merged in at revno 465.
Now, by default the target should get:
install log: /root/curtin-install. log
merged config: /root/curtin-install- cfg.yaml - 488. By Joshua Powers
-
vmtest: add in post-test log post-processing
Adds additional post-processing of logs using curtin-print-log to the
collected vmtest logs. Makes curting-print-log thread-safe and allows
it to accept an output directory. - 487. By Joshua Powers
-
vmtest: update source.list test
The change that was made to the builtin /etc/apt/
sources. list in the
cloud images for xenial was done so recently under bug LP: #1513529.
That was by design and required for consistency and this change updates
the curtin vmtest accordingly.LP: #1682516
- 486. By Scott Moser
-
add recursive flag to do_umount, add --umount to block-meta
This adds a 'recursive' argument to util.do_umount, and utilizes
it from install.py. The basic idea of do_umount with recursive
is to walk through /proc/mounts in reverse and unmount anything
mounted under the provided mountpoint (or the mountpoint itself).Also added here is use of that function from block-meta command.
We add a flag --umount to unmount filesystems at its end.
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