1# Copyright 2020 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.critical-parallels'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9# TODO(crbug.com/1154072): Remove from 'suite:bvt-tast-cq' once the
10# parallels suite is scheduled.
11ATTRIBUTES = 'suite:bvt-tast-cq, suite:bvt-tast-parallels-cq'
12MAX_RESULT_SIZE_KB = 256 * 1024
13
14# tast.py uses binaries installed from autotest_server_package.tar.bz2.
15REQUIRE_SSP = True
16
17DOC = '''
18Run the Tast must-pass Parallels test suite.
19
20Tast is an integration-testing framework analagous to the test-running portion
21of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
22more information.
23
24This test runs Parallels-dependent Tast-based tests that are required to pass
25against a remote DUT. It fails if any individual Tast tests fail.
26
27See http://go/tast-failures for information about investigating failures.
28'''
29
30def run(machine):
31    job.run_test('tast',
32                 host=hosts.create_host(machine),
33                 test_exprs=['('
34                             '"group:mainline" && '
35                             '!informational && '
36                             '"dep:plugin_vm"'
37                             ')'],
38                 download_data_lazily=False,
39                 ignore_test_failures=False, max_run_sec=3600,
40                 command_args=args,
41                 clear_tpm=True)
42
43parallel_simple(run, machines)
44