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