Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 1 | # Copyright (c) 2012 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 = "Chrome OS Team" |
Simran Basi | ee9e860 | 2013-03-19 11:52:18 -0700 | [diff] [blame] | 6 | NAME = "perf_v2" |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 7 | PURPOSE = "Test basic, required functionality." |
Simran Basi | ee9e860 | 2013-03-19 11:52:18 -0700 | [diff] [blame] | 8 | CRITERIA = "All tests with SUITE=perf_v2 must pass." |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 9 | |
| 10 | TIME = "LONG" |
| 11 | TEST_CATEGORY = "General" |
| 12 | TEST_CLASS = "suite" |
| 13 | TEST_TYPE = "Server" |
| 14 | |
| 15 | DOC = """ |
| 16 | Telemetry performance test suite. |
| 17 | |
| 18 | @param build: The name of the image to test. |
| 19 | Ex: x86-mario-release/R17-1412.33.0-a1-b29 |
| 20 | @param board: The board to test on. Ex: x86-mario |
| 21 | @param pool: The pool of machines to utilize for scheduling. If pool=None |
| 22 | board is used. |
| 23 | @param check_hosts: require appropriate live hosts to exist in the lab. |
| 24 | @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. |
| 25 | """ |
| 26 | |
| 27 | import common |
Alex Miller | 2229c9c | 2013-08-27 15:20:39 -0700 | [diff] [blame] | 28 | from autotest_lib.server.cros import provision |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 29 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 30 | |
beeps | c2efbdc | 2013-04-19 12:41:58 -0700 | [diff] [blame] | 31 | |
| 32 | # Values specified in this bug template will override default values when |
| 33 | # filing bugs on tests that are a part of this suite. If left unspecified |
| 34 | # the bug filer will fallback to it's defaults. |
| 35 | _BUG_TEMPLATE = { |
beeps | 53eb31b | 2013-04-20 18:17:43 -0700 | [diff] [blame] | 36 | 'labels': ['Type-Bug', 'perf-infra'], |
beeps | c2efbdc | 2013-04-19 12:41:58 -0700 | [diff] [blame] | 37 | 'owner': '', |
| 38 | 'status': None, |
| 39 | 'summary': None, |
| 40 | 'title': None, |
| 41 | 'ccs': ['pthammaiah@chromium.org','scottz@chromium.org', |
| 42 | 'beeps@chromium.org'] |
| 43 | } |
| 44 | |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 45 | dynamic_suite.reimage_and_run( |
Simran Basi | ee9e860 | 2013-03-19 11:52:18 -0700 | [diff] [blame] | 46 | build=build, board=board, name='perf_v2', job=job, pool=pool, |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 47 | check_hosts=check_hosts, add_experimental=True, num=num, |
Simran Basi | 0751137 | 2013-11-26 11:22:52 -0800 | [diff] [blame] | 48 | file_bugs=False, priority=priority, timeout_mins=timeout_mins, |
Alex Miller | 2229c9c | 2013-08-27 15:20:39 -0700 | [diff] [blame] | 49 | bug_template=_BUG_TEMPLATE, devserver_url=devserver_url, |
Dan Shi | ed823eb | 2013-11-19 13:11:49 -0800 | [diff] [blame] | 50 | version_prefix=provision.CROS_VERSION_PREFIX, |
Fang Deng | 70a9ead | 2014-05-16 16:57:39 -0700 | [diff] [blame] | 51 | wait_for_results=wait_for_results, job_retry=job_retry) |