[moblab] create check for lxc base container
Mobmonitor check that attempts to clone and start a new image
off of the base container. If it's unable to do this, tests
that rely on the base container will also likely not be able
to. Give the ability to repair the base container on a failed
mobmonitor check by forced redownloading it.
Refactored config reading that is duplicated in several places
into a util/config module.
BUG=chromium:837463
TEST=base_container_check_unittest.py cloud_storage_speedtest_unittest.py
config_unittest.py
Change-Id: I4c2b2b453b24a8d1a0372f9b9613c44e962597f9
Reviewed-on: https://chromium-review.googlesource.com/1062800
Commit-Ready: Matt Mallett <mattmallett@chromium.org>
Tested-by: Matt Mallett <mattmallett@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
16 files changed