[auto_test] Enable cellular_ota tests on Satlab DUTs.
With Satlab, DUTs are being deployed in Tokyo and UK. Adding local
carriers to tests to enable them running as part of cellular_ota_flaky
test suite.
BUG=b:214055303
TEST=Presubmit passes.
Change-Id: Ib740a7b12001bdddc5a32839ada7d4e5c7aa9fb9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/3381360
Tested-by: Dinesh Kumar Sunkara <[email protected]>
Auto-Submit: Dinesh Kumar Sunkara <[email protected]>
Reviewed-by: Harpreet Grewal <[email protected]>
Commit-Queue: Dinesh Kumar Sunkara <[email protected]>
diff --git a/client/site_tests/cellular_Smoke/control.docomo b/client/site_tests/cellular_Smoke/control.docomo
new file mode 100644
index 0000000..f2c89b6
--- /dev/null
+++ b/client/site_tests/cellular_Smoke/control.docomo
@@ -0,0 +1,38 @@
+# Copyright 2022 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.
+
+AUTHOR = "ChromeOS Team"
+NAME = "cellular_Smoke.docomo"
+PURPOSE = "Verify 3G modem can connect to the network."
+CRITERIA = """
+This test will fail if one of the following conditions occur:
+ - 3G modem fails to connect to network
+ - the modem is not left in a working state
+"""
+ATTRIBUTES = "suite:cellular_ota_flaky"
+TIME = "SHORT"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "network"
+TEST_TYPE = "client"
+DEPENDENCIES = "carrier:docomo"
+PY_VERSION = 3
+
+# TODO(crbug.com/932661) Fix the root cause of the flakiness and
+# remove this hack.
+JOB_RETRIES=3
+
+DOC = """
+ Tests that 3G modem can connect to the network
+
+ The test attempts to connect using the 3G network. It assumes that
+ a 3G modem is plugged in and has a signal. The test then
+ disconnects from the network, and verifies that the modem still
+ responds to modem manager DBUS API calls. It repeats the
+ connect/disconnect sequence several times.
+"""
+
+from autotest_lib.client.cros.cellular import test_environment
+
+test_env = test_environment.CellularOTATestEnvironment()
+job.run_test('cellular_Smoke', test_env=test_env)