1*9c5db199SXin Li# Copyright (c) 2014 The Chromium OS Authors. All rights reserved. 2*9c5db199SXin Li# Use of this source code is governed by a BSD-style license that can be 3*9c5db199SXin Li# found in the LICENSE file. 4*9c5db199SXin Li 5*9c5db199SXin Li 6*9c5db199SXin Liclass Labels: 7*9c5db199SXin Li """ 8*9c5db199SXin Li Constants related to label names. 9*9c5db199SXin Li 10*9c5db199SXin Li @var BOARD_PREFIX The string with which board labels are prefixed. 11*9c5db199SXin Li @var MODEL_PREFIX The string with which model labels are prefixed. 12*9c5db199SXin Li @var POOL_PREFIX The stright with which pool labels are prefixed. 13*9c5db199SXin Li """ 14*9c5db199SXin Li BOARD_PREFIX = 'board:' 15*9c5db199SXin Li MODEL_PREFIX = 'model:' 16*9c5db199SXin Li POOL_PREFIX = 'pool:' 17*9c5db199SXin Li 18*9c5db199SXin Li 19*9c5db199SXin Liclass Pools: 20*9c5db199SXin Li """ 21*9c5db199SXin Li Well-known pool names used in automated inventory management. 22*9c5db199SXin Li 23*9c5db199SXin Li These are general purpose pools of DUTs that are considered 24*9c5db199SXin Li identical for purposes of testing. That is, a device in one of 25*9c5db199SXin Li these pools can be shifted to another pool at will for purposes 26*9c5db199SXin Li of supplying test demand. 27*9c5db199SXin Li 28*9c5db199SXin Li Devices in these pools are not allowed to have special-purpose 29*9c5db199SXin Li attachments, or to be part of in any kind of custom fixture. 30*9c5db199SXin Li Devices in these pools are also required to reside in areas 31*9c5db199SXin Li managed by the Platforms team (i.e. at the time of this writing, 32*9c5db199SXin Li only in "Atlantis" or "Destiny"). 33*9c5db199SXin Li 34*9c5db199SXin Li CRITICAL_POOLS - Pools that must be kept fully supplied in order 35*9c5db199SXin Li to guarantee timely completion of tests from builders. 36*9c5db199SXin Li SPARE_POOL - A low priority pool that is allowed to provide 37*9c5db199SXin Li spares to replace broken devices in the critical pools. 38*9c5db199SXin Li MANAGED_POOLS - The set of all the general purpose pools 39*9c5db199SXin Li monitored for health. 40*9c5db199SXin Li """ 41*9c5db199SXin Li CRITICAL_POOLS = ['bvt', 'cq', 'continuous', 'cts', 'arc-presubmit'] 42*9c5db199SXin Li SPARE_POOL = 'suites' 43*9c5db199SXin Li MANAGED_POOLS = CRITICAL_POOLS + [SPARE_POOL] 44*9c5db199SXin Li 45*9c5db199SXin Li 46*9c5db199SXin Liclass Builds: 47*9c5db199SXin Li """ 48*9c5db199SXin Li Constants related to build type. 49*9c5db199SXin Li 50*9c5db199SXin Li @var FIRMWARE_RW: The string indicating the given build is used to update 51*9c5db199SXin Li RW firmware. 52*9c5db199SXin Li @var CROS: The string indicating the given build is used to update ChromeOS. 53*9c5db199SXin Li """ 54*9c5db199SXin Li FIRMWARE_RW = 'firmware_rw' 55*9c5db199SXin Li FIRMWARE_RO = 'firmware_ro' 56*9c5db199SXin Li CROS = 'cros' 57*9c5db199SXin Li 58