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 |
| 28 | from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| 29 | |
beeps | c2efbdc | 2013-04-19 12:41:58 -0700 | [diff] [blame] | 30 | |
| 31 | # Values specified in this bug template will override default values when |
| 32 | # filing bugs on tests that are a part of this suite. If left unspecified |
| 33 | # the bug filer will fallback to it's defaults. |
| 34 | _BUG_TEMPLATE = { |
beeps | 53eb31b | 2013-04-20 18:17:43 -0700 | [diff] [blame] | 35 | 'labels': ['Type-Bug', 'perf-infra'], |
beeps | c2efbdc | 2013-04-19 12:41:58 -0700 | [diff] [blame] | 36 | 'owner': '', |
| 37 | 'status': None, |
| 38 | 'summary': None, |
| 39 | 'title': None, |
| 40 | 'ccs': ['pthammaiah@chromium.org','scottz@chromium.org', |
| 41 | 'beeps@chromium.org'] |
| 42 | } |
| 43 | |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 44 | dynamic_suite.reimage_and_run( |
Simran Basi | ee9e860 | 2013-03-19 11:52:18 -0700 | [diff] [blame] | 45 | build=build, board=board, name='perf_v2', job=job, pool=pool, |
Simran Basi | 833814b | 2013-01-29 13:13:43 -0800 | [diff] [blame] | 46 | check_hosts=check_hosts, add_experimental=True, num=num, |
Scott Zawalski | b28fb33 | 2013-04-26 12:22:56 -0400 | [diff] [blame] | 47 | file_bugs=False, skip_reimage=dynamic_suite.skip_reimage(globals()), |
Dan Shi | 0d8fcfa | 2013-06-10 12:50:16 -0700 | [diff] [blame^] | 48 | bug_template=_BUG_TEMPLATE, devserver_url=devserver_url) |