add dummy servo info
Change-Id: I84aae4ac0b4c35826b8925d0273cb3961e68e6c8
Bug: chromium:1001153
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/1788175
Reviewed-by: Gregory Nisbet <gregorynisbet@google.com>
Commit-Queue: Gregory Nisbet <gregorynisbet@google.com>
Tested-by: Gregory Nisbet <gregorynisbet@google.com>
Auto-Submit: Gregory Nisbet <gregorynisbet@google.com>
diff --git a/cli/host.py b/cli/host.py
index c3a789f..ce26585 100644
--- a/cli/host.py
+++ b/cli/host.py
@@ -435,6 +435,12 @@
MIGRATED_HOST_SUFFIX
)
+ # TODO(gregorynisbet): clean up servo information
+ if "servo_host" not in attributes:
+ attributes["servo_host"] = "dummy_host"
+ if "servo_port" not in attributes:
+ attributes["servo_port"] = "dummy_port"
+
labels = self._cleanup_labels(labels)
attrs = [{"key": k, "value": v} for k, v in attributes.iteritems()]
out_labels = process_labels(labels, platform=stats_map["platform"])