blob: 67ced1185360b460072e073b3c481a67396f5073 [file] [log] [blame]
Richard Barnette462858e2017-05-24 17:32:04 -07001# Copyright 2017 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
5AUTHOR = "Chrome OS Team"
6NAME = "bvt-arc"
7PURPOSE = "Test basic functionality of ARC."
8
9TIME = "SHORT"
10TEST_CATEGORY = "General"
11TEST_CLASS = "suite"
12TEST_TYPE = "Server"
13
14DOC = """
15This is the portion of the Build Verification Test suite required
16for devices supporting ARC. Tests in this suite must pass in the
17CQ, and in the Chrome and Android PFQs. Test failures prevent code
18from being included in the tree or in canary builds:
19 * Failures in the canary turn the tree red, block lower priority
20 tests for the build, and generally mean that QA cannot further
21 evaluate the build's fitness for release.
22 * Chrome OS CLs must pass these tests in the Commit Queue prior to
23 being accepted into the tree.
24 * A new Chrome or Android build must pass these tests prior to the
25 build being included in a Chrome OS canary build.
26
27Requirements for a test to be in this suite:
28 1. The test should be SHORT or MEDIUM, and should not require any
29 specialized lab resources.
30 2. A test failure should indicate one or more of the following
31 impacts is possible:
32 * The failure may prevent discovery of other ARC bugs.
33 * The failure may block ordinary development tasks for ARC.
34 3. A test failure must reliably indicate a bug in the product, and
35 not a bug in the test.
Richard Barnettee19dd842018-03-19 12:14:28 -070036 4. The test must be hermetic. That is, the test should have no
37 dependencies on external network resources.
Richard Barnette462858e2017-05-24 17:32:04 -070038
39@param build: The name of the image to test.
40 Ex: veyron_minnie-release/R60-9575.0.0
41@param board: The board to test on. Ex: veyron_minnie
42@param pool: The pool of machines to utilize for scheduling.
43"""
44
45import common
Richard Barnette462858e2017-05-24 17:32:04 -070046from autotest_lib.server.cros.dynamic_suite import dynamic_suite
47
48
49# Values specified in this bug template will override default values when
50# filing bugs on tests that are a part of this suite. If left unspecified
51# the bug filer will fallback to its defaults.
52_BUG_TEMPLATE = {
53 'labels': ['bvt'],
54 'owner': '',
55 'status': None,
56 'summary': None,
57 'title': None,
58}
59
60args_dict['max_runtime_mins'] = 60
61args_dict['name'] = 'bvt-arc'
62args_dict['job'] = job
Richard Barnette462858e2017-05-24 17:32:04 -070063args_dict['bug_template'] = _BUG_TEMPLATE
64
65dynamic_suite.reimage_and_run(**args_dict)