xref: /aosp_15_r20/external/autotest/server/site_tests/tast/control.cellular-ota-multisim-unstable (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1*9c5db199SXin Li# Copyright 2021 The Chromium OS Authors. All rights reserved.
2*9c5db199SXin Li# Use of this source code is governed by a BSD-style license that can be
3*9c5db199SXin Li# found in the LICENSE file.
4*9c5db199SXin Li
5*9c5db199SXin LiAUTHOR = 'Chromium OS team'
6*9c5db199SXin LiNAME = 'tast.cellular-ota-multisim-unstable'
7*9c5db199SXin LiTIME = 'MEDIUM'
8*9c5db199SXin LiTEST_TYPE = 'Server'
9*9c5db199SXin LiATTRIBUTES = 'suite:cellular_ota_flaky'
10*9c5db199SXin LiMAX_RESULT_SIZE_KB = 1024 * 1024
11*9c5db199SXin LiPY_VERSION = 3
12*9c5db199SXin LiDEPENDENCIES = "carrier:multisim"
13*9c5db199SXin Li
14*9c5db199SXin LiDOC = '''
15*9c5db199SXin LiRun the unstable Tast tests which verify Cellular multi-sim functionality.
16*9c5db199SXin Li
17*9c5db199SXin Li"group:cellular": indicates that the test runs on DUTs with a Cellular modem.
18*9c5db199SXin Li"cellular_sim_dual_active": indicates that the test runs on DUTs with a Cellular
19*9c5db199SXin Limodem and multiple provisioned SIM slots.
20*9c5db199SXin Li"cellular_unstable": Unstable tests that will be run as part of the flaky suite
21*9c5db199SXin Li
22*9c5db199SXin LiTast is an integration-testing framework analagous to the test-running portion
23*9c5db199SXin Liof Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
24*9c5db199SXin Limore information.
25*9c5db199SXin Li
26*9c5db199SXin LiSee http://go/tast-failures for information about investigating failures.
27*9c5db199SXin Li'''
28*9c5db199SXin Li
29*9c5db199SXin Lidef run(machine):
30*9c5db199SXin Li    job.run_test('tast',
31*9c5db199SXin Li                 host=hosts.create_host(machine),
32*9c5db199SXin Li                 test_exprs=['("group:cellular" && "cellular_sim_dual_active" && "cellular_unstable")'],
33*9c5db199SXin Li                 ignore_test_failures=True, max_run_sec=10800,
34*9c5db199SXin Li                 command_args=args)
35*9c5db199SXin Li
36*9c5db199SXin Liparallel_simple(run, machines)
37