1# Copyright 2018 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.critical-system' 9TIME = 'MEDIUM' 10TEST_TYPE = 'Server' 11DEPENDENCIES = 'servo_state:WORKING' 12# System tests can't be broken by Android or Chrome changes, so these tests 13# don't run in the PFQs. 14ATTRIBUTES = 'suite:bvt-tast-cq' 15MAX_RESULT_SIZE_KB = 256 * 1024 16 17# tast.py uses binaries installed from autotest_server_package.tar.bz2. 18REQUIRE_SSP = True 19 20DOC = ''' 21Run the Tast must-pass system test suite. 22 23Tast is an integration-testing framework analagous to the test-running portion 24of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for 25more information. 26 27This test runs non-Chrome-dependent and non-Android-dependent Tast-based tests 28that are required to pass against a remote DUT. It fails if any individual Tast 29tests fail. 30 31See http://go/tast-failures for information about investigating failures. 32''' 33 34args_dict = utils.args_to_dict(args) 35assert 'servo_state:WORKING' in DEPENDENCIES 36servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 37 38def run(machine): 39 job.run_test('tast', 40 host=hosts.create_host(machine, servo_args=servo_args), 41 test_exprs=['(' 42 '"group:mainline" && ' 43 '!informational && ' 44 '!"dep:chrome" && ' 45 '!"dep:plugin_vm" && ' 46 '!"dep:android*"' 47 ')'], 48 download_data_lazily=False, 49 ignore_test_failures=False, max_run_sec=3600, 50 command_args=args, 51 clear_tpm=True) 52 53parallel_simple(run, machines) 54