blob: a13c0a5781f1fb6b3ca157a4900783525871dbc0 [file] [log] [blame]
Krishna Gavinid3f0f712016-09-30 12:14:43 -07001# Copyright (c) 2016 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 = "Krishna Gavini <krishnargv@chromium.org>"
6NAME = "longevity_two"
7PURPOSE = "Suite for automated longevity tests."
8
9TIME = "LONG"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "suite"
12TEST_TYPE = "server"
13
14DOC = """
15This suite runs the set of kiosk longevity tests on various devices in the lab.
16"""
17
18import common
19from autotest_lib.server.cros import provision
20from autotest_lib.server.cros.dynamic_suite import dynamic_suite
21
22# Values specified in this bug template will override default values when
23# filing bugs on tests that are a part of this suite. If left unspecified
24# the bug filer will fallback to it's defaults.
25_BUG_TEMPLATE = {
26 'labels': ['longevity', 'longevity-auto-bug'],
harpreet50a88f22016-10-27 12:50:24 -070027 'owner': '',
Krishna Gavinid3f0f712016-09-30 12:14:43 -070028 'status': None,
29 'summary': None,
30 'title': None,
harpreet50a88f22016-10-27 12:50:24 -070031 'cc': ['kiosk-autotest-alerts@google.com']
Krishna Gavinid3f0f712016-09-30 12:14:43 -070032}
33
harpreet50a88f22016-10-27 12:50:24 -070034args_dict['name'] = NAME
Krishna Gavinid3f0f712016-09-30 12:14:43 -070035args_dict['add_experimental'] = True
36args_dict['bug_template'] = _BUG_TEMPLATE
37args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
38args_dict['job'] = job
39
40dynamic_suite.reimage_and_run(**args_dict)