| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # This file has been automatically generated. Do not edit! |
| |
| AUTHOR = 'ARC++ Team' |
| NAME = 'cheets_CTS_P.9.0_r9.x86.CtsLibcore' |
| ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-unibuild, suite:vmtest-informational1, suite:vmtest-informational3' |
| DEPENDENCIES = 'arc, cts_abi_x86' |
| JOB_RETRIES = 1 |
| TEST_TYPE = 'server' |
| TIME = 'MEDIUM' |
| MAX_RESULT_SIZE_KB = 512000 |
| DOC = 'Run module CtsLibcoreFileIOTestCases, CtsLibcoreJsr166TestCases, CtsLibcoreLegacy22TestCases, CtsLibcoreOjTestCases, CtsLibcoreOkHttpTestCases, CtsLibcoreTestCases, CtsLibcoreWycheproofBCTestCases, CtsLibcoreWycheproofConscryptTestCases of the Android Compatibility Test Suite (CTS) using x86 ABI in the ARC++ container.' |
| |
| def run_CTS(machine): |
| host_list = [hosts.create_host(machine)] |
| job.run_test( |
| 'cheets_CTS_P', |
| hosts=host_list, |
| iterations=1, |
| needs_push_media=False, |
| tag='9.0_r9.x86.CtsLibcore', |
| test_name='cheets_CTS_P.9.0_r9.x86.CtsLibcore', |
| run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsLibcoreFileIOTestCases', '--include-filter', 'CtsLibcoreJsr166TestCases', '--include-filter', 'CtsLibcoreLegacy22TestCases', '--include-filter', 'CtsLibcoreOjTestCases', '--include-filter', 'CtsLibcoreOkHttpTestCases', '--include-filter', 'CtsLibcoreTestCases', '--include-filter', 'CtsLibcoreWycheproofBCTestCases', '--include-filter', 'CtsLibcoreWycheproofConscryptTestCases'], |
| retry_template=['run', 'commandAndExit', 'retry', '--retry', '{session_id}'], |
| target_module='CtsLibcore', |
| target_plan=None, |
| bundle='x86', |
| uri='gs://chromeos-arc-images/cts/bundle/P/android-cts-9.0_r9-linux_x86-x86.zip', |
| precondition_commands=['ip -o link show | grep "state DOWN" | grep -o "\<\(eth\|mlan\|wlan\|wwan\)[[:digit:]]" | xargs -L1 -I{} ip link delete veth_{}'], |
| timeout=21600) |
| |
| parallel_simple(run_CTS, machines) |