With virtual machines on the lab network, we can run multiple instances of
Chaos tests in parallel.

The primary change is passing along the hostname of a locked VM instance, such
that we can establish driver connection within this instance and run
Chromedriver to configure APs. This requires the VM to remain on throughout the
run - otherwise Chromedriver may fail to establish connection.

This required a change to each VMs' search domain name, hence the gutted .cros
from chaos_dynamic_ap_list.conf.

Similar to how we handle packet capture devices, we lock and unlock VM
instances in chaos_runner.py.

BUG=None
TEST=Ran ChaosConnectDisconnect.debug and ChaosConnectDisconnect.open

Change-Id: Ia7084888c5cafaad51f66ab331770731a36a609b
Reviewed-on: https://chromium-review.googlesource.com/275144
Reviewed-by: Kris Rambish <krisr@chromium.org>
Tested-by: Tien Chang <tienchang@chromium.org>
Commit-Queue: Tien Chang <tienchang@chromium.org>
Trybot-Ready: Tien Chang <tienchang@chromium.org>
8 files changed