Chameleon: Add an extra label 'chameleon' to the hosts with chameleons

We splitted the label from 'chameleon' to something like 'chameleon:hdmi'
in order to duplicate the tests to multiple display connections. Each
individual test still has the DEPENDENCIES of 'chameleon', as a superset
of the all 'chameleon:xxx' labels.

When AFE matching the available hosts, an exact match is used, meaning
that hosts with 'chameleon:hdmi' but no 'chameleon' are unsatisfiable
the DEPENDENCIES. So we should keep an extra label 'chameleon' to fix
this issue.

BUG=chromium:394436, chromium:421998
TEST=manual, tested by following python code:
import common
from autotest_lib.server import hosts
hostname = 'HOSTNAME_OF_HOST_WITH_CHAMELEON'
host = hosts.create_host(hostname)
labels = host.get_labels()
print labels

Change-Id: Idab17ddc3bb8ac978d84f29335a790b6558dd962
Reviewed-on: https://chromium-review.googlesource.com/222473
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
1 file changed