1*9c5db199SXin Li# Copyright 2020 The Chromium OS Authors. All rights reserved. 2*9c5db199SXin Li# Use of this source code is governed by a BSD-style license that can be 3*9c5db199SXin Li# found in the LICENSE file. 4*9c5db199SXin Li 5*9c5db199SXin LiAUTHOR = 'Chromium OS team' 6*9c5db199SXin LiNAME = 'tast.hwsec-destructive-func' 7*9c5db199SXin LiTIME = 'MEDIUM' 8*9c5db199SXin LiTEST_TYPE = 'Server' 9*9c5db199SXin LiATTRIBUTES = 'suite:bvt-tast-informational' 10*9c5db199SXin LiMAX_RESULT_SIZE_KB = 1024 * 1024 11*9c5db199SXin LiPY_VERSION = 3 12*9c5db199SXin LiJOB_RETRIES = 0 # Do not retry informational tests. 13*9c5db199SXin Li 14*9c5db199SXin Li# tast.py uses binaries installed from autotest_server_package.tar.bz2. 15*9c5db199SXin LiREQUIRE_SSP = True 16*9c5db199SXin Li 17*9c5db199SXin LiDOC = ''' 18*9c5db199SXin LiRun the Tast test group hwsec_destructive in the suite bvt-tast-informational. 19*9c5db199SXin Li 20*9c5db199SXin LiTast is an integration-testing framework analagous to the test-running portion 21*9c5db199SXin Liof Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for 22*9c5db199SXin Limore information. 23*9c5db199SXin Li 24*9c5db199SXin LiThis test runs HWSec Tast-based remote tests that may wipe and recreate 25*9c5db199SXin Liencstateful in the middle, e.g., via clearing the TPM. It only reports failure 26*9c5db199SXin Liif the tast process itself (rather than individual Tast tests) fails. 27*9c5db199SXin Li 28*9c5db199SXin LiSee http://go/tast-failures for information about investigating failures. 29*9c5db199SXin Li''' 30*9c5db199SXin Li 31*9c5db199SXin Lidef run(machine): 32*9c5db199SXin Li job.run_test('tast', 33*9c5db199SXin Li host=hosts.create_host(machine), 34*9c5db199SXin Li test_exprs=['("group:hwsec_destructive_func")'], 35*9c5db199SXin Li ignore_test_failures=True, max_run_sec=3*60*60, 36*9c5db199SXin Li command_args=args) 37*9c5db199SXin Li 38*9c5db199SXin Liparallel_simple(run, machines) 39