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.hwsec-destructive-func'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:bvt-tast-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 test group hwsec_destructive in the suite bvt-tast-informational.
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 HWSec Tast-based remote tests that may wipe and recreate
24encstateful in the middle, e.g., via clearing the TPM. It only reports failure
25if the tast process itself (rather than individual Tast tests) fails.
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=['("group:hwsec_destructive_func")'],
34                 ignore_test_failures=True, max_run_sec=3*60*60,
35                 command_args=args)
36
37parallel_simple(run, machines)
38