Merge remote branch 'cros/upstream' into autotest-rebase
Merged to upstream trunk@5066, from trunk@4749.
There is no way I could enlist each individual CL from the upstream here since it will blow up the changelist description field.
BUG=
TEST=
Had patched this CL into a fresh cut client to avoid any side effect.
run_remote_test bvt from both emerged location and third_party/autotest/file.
Both test passed!
We should also keep any eye on this to see how it gets propagated into cautotest server.
TBR=dalecurtis
Change-Id: I72f2bc7a9de530178484aea1bfb5ace68bcad029
diff --git a/server/control_segments/cleanup b/server/control_segments/cleanup
index 1a201bd..6ac6788 100644
--- a/server/control_segments/cleanup
+++ b/server/control_segments/cleanup
@@ -1,8 +1,5 @@
def cleanup(machine):
- hostname, user, passwd, port = parse_machine(machine, ssh_user,
- ssh_port, ssh_pass)
- host = hosts.create_host(hostname, user=user, port=port, initialize=False,
- password=passwd, auto_monitor=False)
+ host = hosts.create_host(machine, initialize=False, auto_monitor=False)
host.cleanup()