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 5AUTHOR = 'Chromium OS team' 6NAME = 'tast.critical-chrome' 7TIME = 'MEDIUM' 8TEST_TYPE = 'Server' 9# Android changes can't break Chrome tests (so we don't need to run them in the 10# Android PFQ), but OS changes can (so we need to run them in the CQ). 11ATTRIBUTES = 'suite:bvt-tast-cq, suite:bvt-tast-chrome-pfq' 12MAX_RESULT_SIZE_KB = 256 * 1024 13 14# tast.py uses binaries installed from autotest_server_package.tar.bz2. 15REQUIRE_SSP = True 16 17DOC = ''' 18Run the Tast must-pass Chrome test suite. 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 Chrome-dependent Tast-based tests that are required to pass 25against a remote DUT. It fails if any individual Tast tests fail. 26 27See http://go/tast-failures for information about investigating failures. 28''' 29 30def run(machine): 31 # TODO(crbug.com/992303): Fix android condition. 32 job.run_test('tast', 33 host=hosts.create_host(machine), 34 test_exprs=['(' 35 '"group:mainline" && ' 36 '!informational && ' 37 '"dep:chrome" && ' 38 '!"dep:plugin_vm" && ' 39 '!"dep:android*"' 40 ')'], 41 download_data_lazily=False, 42 ignore_test_failures=False, max_run_sec=3600, 43 command_args=args, 44 clear_tpm=True) 45 46parallel_simple(run, machines) 47