[autotest] Fix sysmon stopping
Remove sysmon from service_names so the stability check doesn't fail.
BUG=chromium:657194
TEST=None
Change-Id: Ic33a7e0d1d2337a78422c87fe616a5368bc416d6
Reviewed-on: https://chromium-review.googlesource.com/399894
Reviewed-by: Richard Barnette <jrbarnette@google.com>
Tested-by: Richard Barnette <jrbarnette@google.com>
diff --git a/site_utils/deploy_server_local.py b/site_utils/deploy_server_local.py
index c06362f..ce28126 100755
--- a/site_utils/deploy_server_local.py
+++ b/site_utils/deploy_server_local.py
@@ -42,7 +42,9 @@
COMMANDS_TO_REPOS_DICT = {'afe': 'frontend/',
'tko': 'tko/'}
# Services present on all hosts.
-UNIVERSAL_SERVICES = ['sysmon']
+# TODO(ayatane): Temporarily stop starting sysmon
+# UNIVERSAL_SERVICES = ['sysmon']
+UNIVERSAL_SERVICES = []
AFE = frontend_wrappers.RetryingAFE(
server=server_utils.get_global_afe_hostname(), timeout_min=5,
@@ -284,11 +286,6 @@
# Restart each, and record the status (including pid).
for name in service_names:
- # TODO(ayatane): temporary hack for crbug.com/657194
- if name == 'sysmon':
- cmd = ['sudo', 'service', 'sysmon', 'stop']
- subprocess.check_call(cmd)
- continue
restart_service(name)
service_statuses[name] = service_status(name)