• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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.
36
37@param build: The name of the image to test.
38              Ex: veyron_minnie-release/R60-9575.0.0
39@param board: The board to test on. Ex: veyron_minnie
40@param pool: The pool of machines to utilize for scheduling.
41"""
42
43import common
44from autotest_lib.server.cros import provision
45from autotest_lib.server.cros.dynamic_suite import dynamic_suite
46
47
48# Values specified in this bug template will override default values when
49# filing bugs on tests that are a part of this suite. If left unspecified
50# the bug filer will fallback to its defaults.
51_BUG_TEMPLATE = {
52    'labels': ['bvt'],
53    'owner': '',
54    'status': None,
55    'summary': None,
56    'title': None,
57}
58
59args_dict['max_runtime_mins'] = 60
60args_dict['name'] = 'bvt-arc'
61args_dict['job'] = job
62args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
63args_dict['bug_template'] = _BUG_TEMPLATE
64
65dynamic_suite.reimage_and_run(**args_dict)
66