~raharper/curtin/trunk.vmtest_add_huge_disk_tests

« back to all changes in this revision

Viewing changes to tests/vmtests/__init__.py

  • Committer: Josh Powers
  • Date: 2017-04-19 21:55:44 UTC
  • mfrom: (475.2.5 vmtest_dumpfiles)
  • Revision ID: josh.powers@canonical.com-20170419215544-aphaug8r3d7zrxv9
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
818
818
                    logger.warn("Booting after install not produce"
819
819
                                " a console log.")
820
820
 
 
821
        # capture curtin install log and webhook timings
 
822
        util.subp(["tools/curtin-log-print", "--dumpfiles", cls.td.logs,
 
823
                   cls.reporting_log], capture=True)
 
824
 
821
825
        # mount output disk
822
826
        try:
823
827
            cls.td.collect_output()