Home
last modified time | relevance | path

Searched refs:update_url (Results 1 – 9 of 9) sorted by relevance

/external/autotest/client/common_lib/cros/
Dautoupdater.py47 def url_to_version(update_url): argument
58 urlparse.urlparse(update_url).path).split('/')[-1].strip()
61 def url_to_image_name(update_url): argument
72 return '/'.join(urlparse.urlparse(update_url).path.split('/')[-2:])
75 def _get_devserver_build_from_update_url(update_url): argument
94 parts = re.search(re_pattern, update_url)
96 raise ValueError('%s is not an update url' % update_url)
100 def list_image_dir_contents(update_url): argument
105 if not update_url:
108 error_msg = 'Cannot check contents of devserver, update url %s' % update_url
[all …]
Dautoupdater_unittest.py20 update_url = ('http://172.22.50.205:8082/update/lumpy-release/'
23 self.assertEqual(autoupdater.url_to_image_name(update_url),
37 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-paladin/'
40 update_url, host=self.mox.CreateMockAnything())
88 update_url = ('http://172.22.50.205:8082/update/trybot-lumpy-release/'
91 update_url, host=self.mox.CreateMockAnything())
139 update_url = ('http://172.22.50.205:8082/update/lumpy-release/'
142 update_url, host=self.mox.CreateMockAnything())
190 update_url = ('http://172.22.50.205:8082/update/lumpy-paladin/'
193 update_url, host=self.mox.CreateMockAnything())
[all …]
/external/autotest/server/hosts/
Dsonic_host.py240 def _setup_for_recovery(self, update_url): argument
253 site_utils.remote_wget(update_url, self.OTA_LOCATION, ssh_cmd)
269 def machine_install(self, update_url): argument
277 self._setup_for_recovery(update_url)
289 (self.hostname, update_url()))
Dcros_host.py545 def _try_stateful_update(self, update_url, force_update, updater): argument
567 image_name = autoupdater.url_to_image_name(update_url)
702 def machine_install(self, update_url=None, force_update=False, argument
736 update_url, devserver = self._stage_image_for_update()
739 if not update_url and not self._parser.options.image:
743 if not update_url and self._parser.options.image:
750 update_url, devserver = self._stage_image_for_update(
753 update_url = requested_build
755 logging.debug('Update URL is %s', update_url)
766 update_url, host=self, local_devserver=local_devserver)
[all …]
Dservo_host.py441 updater = autoupdater.ChromiumOSUpdater(update_url=url, host=self)
/external/autotest/client/common_lib/
Dsite_utils.py435 def version_match(build_version, release_version, update_url=''): argument
498 re.match(r'.*trybot-.+-(paladin|pre-cq|test-ap)', update_url))
507 re.match(r'.+-pgo-generate', update_url))
/external/autotest/server/site_tests/provision_AutoUpdate/
Dprovision_AutoUpdate.py135 update_url=url,
/external/autotest/server/site_tests/network_WiFi_UpdateRouter/
Dnetwork_WiFi_UpdateRouter.py108 router_host.machine_install(force_update=True, update_url=url)
/external/autotest/server/cros/clique_lib/
Dclique_dut_updater.py150 dut_host.machine_install(force_update=True, update_url=url,