• Home
  • Raw
  • Download

Lines Matching +full:resolve +full:- +full:url

2 # Use of this source code is governed by a BSD-style license that can be
50 'grep -q labstation /etc/lsb-release',
132 lumpy-release/R29-4279.0.0/autotest/packages" claims to have the
133 autotest package for lumpy-release/R29-4279.0.0. If this isn't the case,
134 download and extract it. If the devserver embedded in the url is
138 @param job_repo_url: A url pointing to the devserver where the autotest
141 <job_id>-<user>/<hostname>, or <hostless> for a server job.
143 @raises DevServerException: If we could not resolve a devserver.
153 logging.warning('No job repo url set on host %s', self.hostname)
156 logging.info('Verifying job repo url %s', job_repo_url)
163 image_name, ds.url())
182 """Stage autotest server-side package on devserver.
186 @return: A url to the autotest server-side package.
189 fail to stage server-side package.
192 # in devserver.resolve call, so a devserver in non-restricted subnet
202 ds = dev_server.ImageServer.resolve(image_name, hostname)
210 # existing devserver. Otherwise, resolve a new one in
211 # non-restricted subnet.
215 ds = dev_server.ImageServer.resolve(image_name)
217 ds = dev_server.ImageServer.resolve(info.build, hostname)
221 'Failed to stage server-side package. The host has '
222 'no job_repo_url attribute or cros-version label.')
225 return '%s/static/%s/%s' % (ds.url(), image_name,
239 """Update cros-version label on labstation"""
258 servo, only files that has been touched within pre-set threshold of
263 cmd = 'find %s*%s -mmin -%s' % (self.TEMP_FILE_DIR,