Turn off forced updates. Modify perf to always update.
To increase lab efficiency we only want to trigger an update if we're
not already running the version we want to test.
However, some tests (boot perf) need to always start with a fresh
install.
BUG=none
TEST=Ran run_remote_tests --update_url w/ Old->New, New->New.
Change-Id: Ie5e1eee89f3c603938e24d6743d93f7cbdcbc544
Reviewed-on: http://gerrit.chromium.org/gerrit/943
Reviewed-by: Eric Li <ericli@google.com>
Tested-by: Eric Li <ericli@google.com>
Tested-by: Eric Li (do not use)
Reviewed-by: Eric Li (do not use)
diff --git a/client/common_lib/cros/autoupdater.py b/client/common_lib/cros/autoupdater.py
index f94c41b..9e4b32d 100644
--- a/client/common_lib/cros/autoupdater.py
+++ b/client/common_lib/cros/autoupdater.py
@@ -167,6 +167,10 @@
logging.info('System is already up to date. Skipping update.')
return False
+ logging.info(
+ 'Updating from version %s to %s.', booted_version,
+ self.update_version)
+
# Check that Dev Server is accepting connections (from autoserv's host).
# If we can't talk to it, the machine host probably can't either.
auserver_host = urlparse.urlparse(self.update_url)[1]