Update devserver urls with /archive in autotest(2)
[autotest] Remove archive from the devserver url patterns.
Devserver is removing static/archive so that everything is served
straight from the static directory. Cutting out calls in autotest to
match.
BUG=chromium:214373
TEST=Ran a suite with a reimage job on a DUT with the old
style job_repo_url.
Change-Id: Id3e2e0559c82a5424ef50406c7360ce28ca9a337
Reviewed-on: https://gerrit.chromium.org/gerrit/62918
Reviewed-by: Prashanth Balasubramanian <beeps@chromium.org>
Commit-Queue: Joy Chen <joychen@chromium.org>
Reviewed-by: Joy Chen <joychen@chromium.org>
Tested-by: Joy Chen <joychen@chromium.org>
diff --git a/client/common_lib/cros/autoupdater.py b/client/common_lib/cros/autoupdater.py
index 353605d..78eaaa1 100644
--- a/client/common_lib/cros/autoupdater.py
+++ b/client/common_lib/cros/autoupdater.py
@@ -253,14 +253,8 @@
@param clobber: If True, a clean stateful installation.
"""
logging.info('Updating stateful partition...')
- # For production devservers we create a static tree of payloads rooted
- # at archive.
- if not self.local_devserver:
- statefuldev_url = self.update_url.replace('update',
- 'static/archive')
- else:
- statefuldev_url = self.update_url.replace('update',
- 'static')
+ statefuldev_url = self.update_url.replace('update',
+ 'static')
# Attempt stateful partition update; this must succeed so that the newly
# installed host is testable after update.