xref: /aosp_15_r20/external/autotest/server/site_tests/tast/control.cellular-ota-amari-unstable (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1# Copyright 2022 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.cellular-ota-amari-unstable'
7TIME = 'MEDIUM'
8TEST_TYPE = 'Server'
9ATTRIBUTES = 'suite:cellular_ota_flaky'
10MAX_RESULT_SIZE_KB = 1024 * 1024
11PY_VERSION = 3
12DEPENDENCIES = "carrier:amarisoft"
13
14DOC = '''
15Run the unstable Tast tests which verify basic Cellular functionality.
16
17"group:cellular" indicates that the test runs on DUTs with a Cellular modem.
18"cellular_sim_active": Used to select tests that require a sim card .
19"cellular_unstable": Unstable tests that will be excluded from this suite.
20"cellular_amari_callbox": Attribute used to select tests that specifically run on DUTs with amari_callbox.
21
22Tast is an integration-testing framework analagous to the test-running portion
23of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
24more information.
25
26See http://go/tast-failures for information about investigating failures.
27'''
28
29def run(machine):
30    job.run_test('tast',
31                 host=hosts.create_host(machine),
32                 test_exprs=['("group:cellular" && "cellular_sim_active"  || "cellular_amari_callbox" && "cellular_unstable")'],
33                 ignore_test_failures=True, max_run_sec=10800,
34                 command_args=args)
35
36parallel_simple(run, machines)
37