1AUTHOR = "Chromium OS Team" 2NAME = "platform_CryptohomeStress.surfing" 3PURPOSE = "Stress test the encrypted file system in Chromium OS." 4TIME = "LONG" 5TEST_CATEGORY = "Security" 6TEST_CLASS = "security" 7TEST_TYPE = "client" 8 9DOC = """ 10This is a stress test of the file system in Chromium OS. While performing the 11test, we will cycle through power states, and interrupt disk activity. 12""" 13 14# The time in seconds to run this stress for, passed to the individual tests. 15RUNTIME = 600 16 17def run_sleeper(): 18 job.run_test('power_SuspendStress', duration=RUNTIME, min_suspend=20) 19 20def run_fio(): 21 job.run_test('platform_CryptohomeFio', runtime=RUNTIME, 22 disk_configs=['crypto'], script='surfing') 23 24def run_cryptohomestress(): 25 job.run_test('platform_CryptohomeStress', runtime=RUNTIME) 26 27job.parallel([run_sleeper], [run_fio], [run_cryptohomestress]) 28