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' 11# This test measures the hardware health of individual DUTs. If it fails the DUT 12# needs to be replaced. This test should not run in bvt-cq which will cause 13# flakes due to random machine allocation when a DUT nears end of life (and slow 14# bug filing/DUT replacement in lab). 15ATTRIBUTES = "suite:bvt-perbuild" 16JOB_RETRIES = 2 17 18DOC = """ 19This test check wear out status for storage device available in SMART for SSD 20and in ext_csd for eMMC version 5.0 or later. For previous version of eMMC, 21it will be treat as data not available. The test will be failed if there is 22SMART value is failing or eMMC wear out is in 90-100% band or higher. 23""" 24 25job.run_test('hardware_StorageWearoutDetect') 26