Home | History | Annotate | Download | only in hosts

Lines Matching refs:job_repo_url

385         """Looks up the job_repo_url for the host.
387 @returns job_repo_url from AFE or None if not found.
389 @raises KeyError if the host does not have a job_repo_url
392 if hosts and ds_constants.JOB_REPO_URL in hosts[0].attributes:
393 return hosts[0].attributes[ds_constants.JOB_REPO_URL]
399 job_repo_url."""
407 Updates the job_repo_url host attribute and asserts it's value.
409 @param devserver_url: The devserver to use in the job_repo_url.
410 @param image_name: The name of the image to use in the job_repo_url.
412 @raises AutoservError: If we failed to update the job_repo_url.
417 self._AFE.set_host_attribute(ds_constants.JOB_REPO_URL, repo_url,
420 raise error.AutoservError('Failed to update job_repo_url with %s, '
425 """Add cros_version labels and host attribute job_repo_url.
441 Make sure job_repo_url of this host is valid.
443 Eg: The job_repo_url "http://lmn.cd.ab.xyx:8080/static/\
447 unresponsive, update the job_repo_url of the host after staging it on
450 @param job_repo_url: A url pointing to the devserver where the autotest
456 @raises AutoservError: If we're unable to save the new job_repo_url as
459 @raises urllib2.URLError: If the devserver embedded in job_repo_url
462 job_repo_url = self.lookup_job_repo_url()
463 if not job_repo_url:
467 logging.info('Verifying job repo url %s', job_repo_url)
469 job_repo_url)
516 job_repo_url = self.lookup_job_repo_url()
517 if job_repo_url:
519 tools.get_devserver_build_from_package_url(job_repo_url))
713 Once a host enters machine_install its host attribute job_repo_url
757 # Remove cros-version and job_repo_url host attribute from host.