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 11PY_VERSION = 3 12JOB_RETRIES = 0 # Do not retry informational tests. 13 14# tast.py uses binaries installed from autotest_server_package.tar.bz2. 15REQUIRE_SSP = True 16 17DOC = ''' 18Run the Tast test group hwsec_destructive in the suite bvt-tast-informational. 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 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_func")'], 35 ignore_test_failures=True, max_run_sec=3*60*60, 36 command_args=args) 37 38parallel_simple(run, machines) 39