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-android' 7TIME = 'MEDIUM' 8TEST_TYPE = 'Server' 9# Android tests can also be broken by Chrome and OS changes, so these tests need 10# to run in both PFQs and the CQ. 11ATTRIBUTES = 'suite:bvt-tast-cq, suite:bvt-tast-android-pfq, 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 ARC 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 Android-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 # Make sure if you modify this condition to update ATP side config 33 # in http://cs/file:tast_critical.gcl 34 job.run_test('tast', 35 host=hosts.create_host(machine), 36 test_exprs=['(' 37 '"group:mainline" && ' 38 '!informational && ' 39 '!"dep:plugin_vm" && ' 40 '"dep:android*"' 41 ')'], 42 download_data_lazily=False, 43 ignore_test_failures=False, max_run_sec=3600, 44 command_args=args) 45 46parallel_simple(run, machines) 47