xref: /aosp_15_r20/external/autotest/server/site_tests/tast/control.cellular-ota-ee-stable (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1*9c5db199SXin Li# Copyright 2022 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-ee-stable'
7*9c5db199SXin LiTIME = 'MEDIUM'
8*9c5db199SXin LiTEST_TYPE = 'Server'
9*9c5db199SXin LiATTRIBUTES = 'suite:cellular_ota'
10*9c5db199SXin LiMAX_RESULT_SIZE_KB = 1024 * 1024
11*9c5db199SXin LiPY_VERSION = 3
12*9c5db199SXin LiDEPENDENCIES = "carrier:ee"
13*9c5db199SXin Li
14*9c5db199SXin LiDOC = '''
15*9c5db199SXin LiRun the unstable Tast tests which verify basic Cellular 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_active": Used to select tests that require a sim card .
19*9c5db199SXin Li"cellular_unstable": Unstable tests that will be excluded from this suite.
20*9c5db199SXin Li
21*9c5db199SXin LiTast is an integration-testing framework analagous to the test-running portion
22*9c5db199SXin Liof Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
23*9c5db199SXin Limore information.
24*9c5db199SXin Li
25*9c5db199SXin LiSee http://go/tast-failures for information about investigating failures.
26*9c5db199SXin Li'''
27*9c5db199SXin Li
28*9c5db199SXin Lidef run(machine):
29*9c5db199SXin Li    job.run_test('tast',
30*9c5db199SXin Li                 host=hosts.create_host(machine),
31*9c5db199SXin Li                 test_exprs=['("group:cellular" && "cellular_sim_active" && !"cellular_unstable")'],
32*9c5db199SXin Li                 ignore_test_failures=True, max_run_sec=10800,
33*9c5db199SXin Li                 command_args=args)
34*9c5db199SXin Li
35*9c5db199SXin Liparallel_simple(run, machines)
36