xref: /aosp_15_r20/external/autotest/server/hosts/cros_constants.py (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2020 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Device is not fixable due issues with hardware and has to be replaced
6DEVICE_STATE_NEEDS_REPLACEMENT = 'needs_replacement'
7# Device required manual attention to be fixed
8DEVICE_STATE_NEEDS_MANUAL_REPAIR = 'needs_manual_repair'
9# Device required re-deployment to be fixed
10DEVICE_STATE_NEEDS_DEPLOY = 'needs_deploy'
11
12# Timeout for verifiers.
13SHORT_VERIFY_TIMEOUT_SEC = 60
14VERIFY_TIMEOUT_SEC = 60 * 5
15LONG_VERIFY_TIMEOUT_SEC = 60 * 20
16
17# Timeout for repair actions.
18SHORT_REPAIR_TIMEOUT_SEC = 60
19REPAIR_TIMEOUT_SEC = 60 * 10
20LONG_REPAIR_TIMEOUT_SEC = 60 * 30
21
22# Minimum battery level for the good DUT.
23MIN_BATTERY_LEVEL = 80.0
24