xref: /aosp_15_r20/external/autotest/server/hosts/cros_constants.py (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1*9c5db199SXin Li# Copyright (c) 2020 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# Device is not fixable due issues with hardware and has to be replaced
6*9c5db199SXin LiDEVICE_STATE_NEEDS_REPLACEMENT = 'needs_replacement'
7*9c5db199SXin Li# Device required manual attention to be fixed
8*9c5db199SXin LiDEVICE_STATE_NEEDS_MANUAL_REPAIR = 'needs_manual_repair'
9*9c5db199SXin Li# Device required re-deployment to be fixed
10*9c5db199SXin LiDEVICE_STATE_NEEDS_DEPLOY = 'needs_deploy'
11*9c5db199SXin Li
12*9c5db199SXin Li# Timeout for verifiers.
13*9c5db199SXin LiSHORT_VERIFY_TIMEOUT_SEC = 60
14*9c5db199SXin LiVERIFY_TIMEOUT_SEC = 60 * 5
15*9c5db199SXin LiLONG_VERIFY_TIMEOUT_SEC = 60 * 20
16*9c5db199SXin Li
17*9c5db199SXin Li# Timeout for repair actions.
18*9c5db199SXin LiSHORT_REPAIR_TIMEOUT_SEC = 60
19*9c5db199SXin LiREPAIR_TIMEOUT_SEC = 60 * 10
20*9c5db199SXin LiLONG_REPAIR_TIMEOUT_SEC = 60 * 30
21*9c5db199SXin Li
22*9c5db199SXin Li# Minimum battery level for the good DUT.
23*9c5db199SXin LiMIN_BATTERY_LEVEL = 80.0
24