lp:~smoser/curtin/trunk.vmtest-cleanup

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/curtin/trunk.vmtest-cleanup
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
curtin
Status:
Merged

Recent revisions

495. By Scott Moser

fix some tests that did not collect fstab or ls_dname

494. By Scott Moser

change collect_path to be a class method, so it can be used from class-methods.

493. By Scott Moser

merge from trunk

492. By Scott Moser

add a message

491. By Scott Moser

fix assertEqual.. should be expected, actual

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

Subscribers