1 # Copyright (c) 2016 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 AUTHOR = "chromeos-power" 6 NAME = "power_SuspendStress.bareDailySuspendToIdle" 7 ATTRIBUTES = "suite:power_daily" 8 PURPOSE = "Run repeated iterations of suspend/resume to find rare errors." 9 TIME = "MEDIUM" 10 TEST_CATEGORY = "Functional" 11 TEST_CLASS = "power" 12 TEST_TYPE = "client" 13 14 DOC = """ 15 Runs 250 iterations (~30mins) of bare suspend/resume cycles without additional 16 workload. Forced to suspend to idle(S0ix). Follows this by a few short checks 17 to make sure the system is still in a good state (work in progress, feel free 18 to add some more). 19 """ 20 21 job.run_test('power_SuspendStress', duration=None, iterations=250, tag='bare', 22 suspend_state='freeze') 23 24 job.run_test('hardware_EC', tag='power_SuspendStress') 25 job.run_test('login_LoginSuccess', tag='power_SuspendStress') 26 job.run_test('hardware_TPMCheck', tag='power_SuspendStress') 27 job.run_test('audio_Aplay', tag='power_SuspendStress') 28