“Keith | 385b849 | 2015-04-30 12:20:59 -0700 | [diff] [blame] | 1 | # Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | AUTHOR = "rohitbm@chromium.org, chromeos-performance@google.com" |
| 6 | NAME = "crosbolt_perf_nightly" |
| 7 | PURPOSE = "Performance tests" |
“Keith | 385b849 | 2015-04-30 12:20:59 -0700 | [diff] [blame] | 8 | |
| 9 | TIME = "LONG" |
| 10 | TEST_CATEGORY = "General" |
| 11 | TEST_CLASS = "suite" |
| 12 | TEST_TYPE = "Server" |
| 13 | |
| 14 | DOC = """ |
| 15 | ChromeOS performance tests including telemetry tests. |
| 16 | |
Mao Huang | 472a15f | 2017-09-28 16:59:30 +0800 | [diff] [blame] | 17 | If a test takes too long, consider putting it in the crosbolt_perf_weekly |
| 18 | suite. |
| 19 | |
“Keith | 385b849 | 2015-04-30 12:20:59 -0700 | [diff] [blame] | 20 | @param build: The name of the image to test. |
Mao Huang | 472a15f | 2017-09-28 16:59:30 +0800 | [diff] [blame] | 21 | E.g. x86-mario-release/R17-1412.33.0-a1-b29 |
| 22 | @param board: The board to test on. E.g. x86-mario |
“Keith | 385b849 | 2015-04-30 12:20:59 -0700 | [diff] [blame] | 23 | @param pool: The pool of machines to utilize for scheduling. If pool=None |
| 24 | board is used. |
| 25 | @param check_hosts: require appropriate live hosts to exist in the lab. |
| 26 | @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. |
| 27 | """ |
| 28 | |
| 29 | import common |
“Keith | 385b849 | 2015-04-30 12:20:59 -0700 | [diff] [blame] | 30 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 31 | |
| 32 | |
| 33 | # Values specified in this bug template will override default values when |
| 34 | # filing bugs on tests that are a part of this suite. If left unspecified |
| 35 | # the bug filer will fallback to its defaults. |
| 36 | _BUG_TEMPLATE = { |
| 37 | 'labels': ['Type-Bug', 'Cros-Perf-Test'], |
| 38 | 'owner': 'rohitbm@chromium.org', |
Dan Shi | efd85d6 | 2017-03-07 15:01:26 -0800 | [diff] [blame] | 39 | 'cc': ['lafeenstra@chromium.org'] |
“Keith | 385b849 | 2015-04-30 12:20:59 -0700 | [diff] [blame] | 40 | } |
| 41 | |
Ilja H. Friedel | 183d35c | 2019-07-22 17:42:45 -0700 | [diff] [blame] | 42 | args_dict['max_runtime_mins'] = 1440 |
| 43 | args_dict['timeout_mins'] = 2880 |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 44 | args_dict['name'] = 'crosbolt_perf_nightly' |
| 45 | args_dict['job'] = job |
| 46 | args_dict['add_experimental'] = True |
Shuqian Zhao | 24785cc | 2015-06-01 16:32:18 -0700 | [diff] [blame] | 47 | args_dict['bug_template'] = _BUG_TEMPLATE |
| 48 | |
| 49 | dynamic_suite.reimage_and_run(**args_dict) |