1# Copyright 2020 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.crosbolt-perbuild-android-shard-0' 7TIME = 'MEDIUM' 8TEST_TYPE = 'Server' 9ATTRIBUTES = 'suite:crosbolt_perf_perbuild' 10MAX_RESULT_SIZE_KB = 1024 * 1024 11PY_VERSION = 3 12 13# tast.py uses binaries installed from autotest_server_package.tar.bz2. 14REQUIRE_SSP = True 15 16DOC = ''' 17Run the Tast crosbolt performance test suite. 18 19Tast is an integration-testing framework analagous to the test-running portion 20of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for 21more information. 22 23This test runs Tast-based crosbolt performance tests against a remote DUT. 24 25See http://go/tast-failures for information about investigating failures. 26''' 27 28def run(machine): 29 job.run_test('tast', 30 host=hosts.create_host(machine), 31 test_exprs=['(' 32 '"group:crosbolt" && ' 33 'crosbolt_perbuild && ' 34 '"dep:android*"' 35 ')'], 36 ignore_test_failures=True, 37 max_run_sec=21600, # 6 hours. 38 totalshards=3, 39 shardindex=0, 40 command_args=args) 41 42parallel_simple(run, machines) 43