xref: /aosp_15_r20/external/autotest/server/site_tests/tast/control.hwsec-destructive-crosbolt-perbuild (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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-crosbolt-perbuild'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:crosbolt_perf_perbuild'
10MAX_RESULT_SIZE_KB = 1024 * 1024
11PY_VERSION = 3
12
13# tast.py uses binaries installed from autotest_server_package.tar.bz2.
14REQUIRE_SSP = True
15
16DOC = '''
17Run the Tast crosbolt performance test suite with test group hwsec_destructive.
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 Tast-based crosbolt performance tests against a remote DUT.
24And runs HWSec Tast-based remote tests that may wipe and recreate
25encstateful in the middle, e.g., via clearing the TPM. It only reports failure
26if the tast process itself (rather than individual Tast tests) fails.
27
28See http://go/tast-failures for information about investigating failures.
29'''
30
31def run(machine):
32    job.run_test('tast',
33                 host=hosts.create_host(machine),
34                 test_exprs=['("group:hwsec_destructive_crosbolt" && hwsec_destructive_crosbolt_perbuild)'],
35                 ignore_test_failures=True,
36                 max_run_sec=18000,  # 5 hours.
37                 command_args=args)
38
39parallel_simple(run, machines)
40