1 AUTHOR = "Chromium OS Team" 2 NAME = "platform_CryptohomeStress" 3 PURPOSE = "Stress test the encrypted file system in Chromium OS." 4 TIME = "LONG" 5 TEST_CATEGORY = "Security" 6 TEST_CLASS = "security" 7 TEST_TYPE = "client" 8 9 DOC = """ 10 This is a stress test of the file system in Chromium OS. While performing the 11 test, 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. 15 RUNTIME = 120 16 17 def run_sleeper(): 18 job.run_test('power_SuspendStress', duration=RUNTIME) 19 20 def run_fio(): 21 job.run_test('platform_CryptohomeFio', runtime=RUNTIME, 22 disk_configs=['crypto'], script='seq_write_verified') 23 24 def run_cryptohomestress(): 25 job.run_test('platform_CryptohomeStress', runtime=RUNTIME, 26 script='seq_write_verified') 27 28 job.parallel([run_sleeper], [run_fio], [run_cryptohomestress]) 29