xref: /aosp_15_r20/external/autotest/client/site_tests/hardware_StorageWearoutDetect/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright (c) 2014 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
5NAME = 'hardware_StorageWearoutDetect'
6AUTHOR = 'puthik'
7PURPOSE = 'Detect wear out status of storage device'
8TIME = 'FAST'
9TEST_CLASS = 'hardware'
10TEST_TYPE = 'client'
11PY_VERSION = 3
12# This test measures the hardware health of individual DUTs. If it fails the DUT
13# needs to be replaced. This test should not run in bvt-cq which will cause
14# flakes due to random machine allocation when a DUT nears end of life (and slow
15# bug filing/DUT replacement in lab).
16ATTRIBUTES = "suite:bvt-perbuild"
17JOB_RETRIES = 2
18PY_VERSION = 3
19
20DOC = """
21This test check wear out status for storage device available in SMART for SSD
22and in ext_csd for eMMC version 5.0 or later. For previous version of eMMC,
23it will be treat as data not available. The test will be failed if there is
24SMART value is failing or eMMC wear out is in 90-100% band or higher.
25"""
26
27job.run_test('hardware_StorageWearoutDetect')
28