1# Copyright 2018 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 = 'Chromium OS team'
6NAME = 'tast.informational-chrome'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:bvt-tast-informational, suite:chrome-informational'
10MAX_RESULT_SIZE_KB = 1024 * 1024
11JOB_RETRIES = 0  # Do not retry informational tests.
12
13# tast.py uses binaries installed from autotest_server_package.tar.bz2.
14REQUIRE_SSP = True
15
16DOC = '''
17Run the Tast informational Chrome test suite.
18
19Tast is an integration-testing framework analagous to the test-running portion
20of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
21more information.
22
23This test runs Chrome-dependent Tast-based informational tests against a remote
24DUT. It only reports failure if the tast process itself (rather than individual
25Tast tests) fails.
26
27See http://go/tast-failures for information about investigating failures.
28'''
29
30def run(machine):
31    # TODO(crbug.com/992303): Fix android condition.
32    job.run_test('tast',
33                 host=hosts.create_host(machine),
34                 test_exprs=['('
35                             '"group:mainline" && '
36                             'informational && '
37                             '!"name:crostini.*" && '
38                             '!"dep:plugin_vm" && '
39                             '"dep:chrome" && '
40                             '!"dep:android*"'
41                             ')'],
42                 ignore_test_failures=True,
43                 max_run_sec=3*60*60,
44                 command_args=args,
45                 clear_tpm=True)
46
47parallel_simple(run, machines)
48