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