OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:duts
(Results
1 - 8
of
8
) sorted by null
/external/toolchain-utils/crosperf/
machine_image_manager_unittest.py
48
duts
= []
50
duts
.append(MockDut(n))
51
return
duts
62
duts
= []
69
duts
.append(MockDut('m{}'.format(j)))
71
return labels,
duts
79
labels,
duts
= self.create_labels_and_duts_from_pattern(inp)
80
mim = MachineImageManager(labels,
duts
)
94
duts
= self.gen_duts_by_name('m1', 'm2', 'm3')
95
mim = MachineImageManager(labels,
duts
)
[
all
...]
machine_image_manager.py
4
"""MachineImageManager allocates images to
duts
."""
8
"""Management of allocating images to
duts
.
12
duts_ - list of
duts
, for each
duts
, we assume the following 2 properties
21
label_duts_ - for each label, we maintain a list of
duts
, onto which the
31
n_duts_ - number of
duts
.
62
If number of
duts
(nd) is equal to or more than that of labels (nl), we
136
def __init__(self, labels,
duts
):
138
self.duts_ =
duts
140
self.n_duts_ = len(
duts
)
[
all
...]
/external/autotest/contrib/
loadtest.py
11
# Find
DUTs
in suites pool to test with:
14
# Lock
DUTs
:
17
# Create config file with
DUTs
to test and builds to use.
21
"
duts
": [
37
# Unlock
DUTs
:
78
'"
duts
" and "versions", each a list.')
97
parser.add_argument('--
duts
', '-d', type=str, action='store',
98
help='Comma-separated list of
duts
to provision.')
104
help='Ping
DUTs
and blacklist unresponsive ones.')
246
def __init__(self, ds,
duts
, config, simultaneous=1, total=0
[
all
...]
/external/autotest/server/hosts/
testbed.py
40
"""This class represents a collection of connected teststations and
duts
."""
53
@param hostname: Hostname of the test station connected to the
duts
.
260
That way, all board_1
duts
will be installed with board_1_build, and
261
all board_2
duts
will be installed with board_2_build. Test can pick
262
any dut from board_1
duts
and same applies to board_2
duts
.
275
@raise InstallError: If not enough
duts
are available to install the
276
given images. Or there are more
duts
with the same board than
290
# serials grouped by the board of
duts
.
293
# Excluding
duts
already assigned to a build
[
all
...]
servo_host.py
335
"""Gather a list of
duts
that use this servo host.
339
@returns list of
duts
.
379
"""Checks if a synchronized reboot has been scheduled for these
duts
.
381
Grab all the host queue entries that aren't completed for the
duts
and
384
@param dut_list: List of
duts
to check on.
409
@param dut_list: List of
duts
that need to be locked.
460
logging.info('servo host has the following
duts
: %s', dut_list)
462
logging.info('servo host has multiple
duts
, scheduling '
[
all
...]
/external/autotest/server/
site_utils.py
52
# Wait at most 10 mins for
duts
to go idle.
817
def wait_for_idle_duts(
duts
, afe, max_wait=IDLE_DUT_WAIT_TIMEOUT):
820
@param
duts
: List of
duts
to check for idle state.
822
@param max_wait: Max wait time in seconds to wait for
duts
to be idle.
829
active_dut_list =
duts
[:]
839
# Get the status for the
duts
and see if they're in the idle state.
844
# Take out idle
duts
so we don't needlessly check them
849
logging.info('still waiting for following
duts
to go idle: %s',
855
def lock_duts_and_wait(
duts
, afe, lock_msg='default lock message'
[
all
...]
/external/autotest/client/cros/cellular/
labconfig.py
84
"""Returns the DUT record for machine from cell["
duts
"]
90
matches the IP address in the cell
duts
configuration. We'll
122
for dut in self.cell["
duts
"]:
129
dut['name'], self.options.cell, self.cell['
duts
']))
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DataPathTest.py
[
all
...]
Completed in 492 milliseconds