Lines Matching +full:timeout +full:- +full:minutes
3 # Use of this source code is governed by a BSD-style license that can be
38 SUBNET_DUT_SEARCH_RE = (r'(?P<ip>192.168.231.1[0-1][0-9]) : '
39 'xmt\/rcv\/%loss = [0-9]+\/[0-9]+\/0%')
47 MOBLAB_SERVICES = ['moblab-scheduler-init',
48 'moblab-database-init',
49 'moblab-devserver-init',
50 'moblab-gsoffloader-init',
51 'moblab-gsoffloader_s-init']
86 @param timeout_min: The timeout minuties for AFE services.
102 # _repair_strategy, and now we're re-initializing it here.
110 def check_host(host, timeout=10): argument
115 @param timeout: The timeout for the run command.
125 'grep -q moblab /etc/lsb-release',
126 ignore_status=True, timeout=timeout)
158 command = "su - moblab -c '%s'" % command
168 @param timeout_min: Minutes to wait for the AFE to respond. Default is
169 5 minutes.
171 @raises urllib2.HTTPError if AFE does not respond within the timeout.
173 # Use moblabhost's own AFE object with a longer timeout to wait for the
174 # AFE to load. Also re-create the ssh tunnel for connections to moblab.
203 fping_result = self.run('fping -g 192.168.231.100 192.168.231.110 '
204 '-a -c 10 -p 30 -q', ignore_status=True)
219 cmd = ('ssh -o ConnectTimeout=30 -o ConnectionAttempts=30'
233 self.run('mkdir -p %s' % MOBLAB_AUTODIR)
241 @timeout_m: Timeout (in minuts) before giving up.
254 @param timeout_m: Timeout (in minutes) for how long to wait for services
264 # boot where container setup can take 5-10 minutes, depending on the
289 which case moblab is restarted but tunnel of afe is not re-connected.
347 self.run('mkdir -p %s' % base)
348 return self.run('mktemp -d -p %s' % base).stdout.strip()