• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
8ATTRIBUTES = "suite:bvt-perbuild"
9
10DOC = """
11This is a stress test of the file system in Chromium OS. While performing the
12test, 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.
16RUNTIME = 120
17
18def run_sleeper():
19    job.run_test('power_SuspendStress', duration=RUNTIME, min_suspend=20,
20                 init_delay=20)
21
22def run_fio():
23    job.run_test('platform_CryptohomeFio', runtime=RUNTIME,
24                 disk_configs=['crypto'], script='seq_write_verified')
25
26def run_cryptohomestress():
27    job.run_test('platform_CryptohomeStress', runtime=RUNTIME,
28                 script='seq_write_verified')
29
30job.parallel([run_sleeper], [run_fio], [run_cryptohomestress])
31