1# Copyright 2021 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 5from autotest_lib.client.common_lib import utils 6 7AUTHOR = 'Chromium OS team' 8NAME = 'tast.fingerprint-cq' 9TIME = 'MEDIUM' 10TEST_TYPE = 'Server' 11DEPENDENCIES = 'servo_state:WORKING' 12ATTRIBUTES = 'suite:fingerprint-cq' 13MAX_RESULT_SIZE_KB = 1024 * 1024 14PY_VERSION = 3 15 16DOC = ''' 17Run the Tast tests which run in suite:fingerprint-cq. 18"group:fingerprint-cq" indicates fingerprint tests that run in CQ (critical). 19''' 20 21args_dict = utils.args_to_dict(args) 22assert 'servo_state:WORKING' in DEPENDENCIES 23servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 24 25def run(machine): 26 job.run_test('tast', 27 host=hosts.create_host(machine, servo_args=servo_args), 28 test_exprs=['("group:fingerprint-cq")'], 29 ignore_test_failures=True, max_run_sec=10800, 30 command_args=args, 31 retries=2) 32 33parallel_simple(run, machines) 34