Home | History | Annotate | Download | only in platform_CryptohomeStress
      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 ATTRIBUTES = "suite:bvt-perbuild"
      9 
     10 DOC = """
     11 This is a stress test of the file system in Chromium OS. While performing the
     12 test, we will cycle through power states, and interrupt disk activity.
     13 """
     14 
     15 # The time in seconds to run this stress for, passed to the individual tests.
     16 RUNTIME = 120
     17 
     18 def run_sleeper():
     19     job.run_test('power_SuspendStress', duration=RUNTIME, min_suspend=20)
     20 
     21 def run_fio():
     22     job.run_test('platform_CryptohomeFio', runtime=RUNTIME,
     23                  disk_configs=['crypto'], script='seq_write_verified')
     24 
     25 def run_cryptohomestress():
     26     job.run_test('platform_CryptohomeStress', runtime=RUNTIME,
     27                  script='seq_write_verified')
     28 
     29 job.parallel([run_sleeper], [run_fio], [run_cryptohomestress])
     30