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