1# Copyright (c) 2021 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 = "ChromeOS Team" 6NAME = "cellular_Hermes_Restart_SlotSwitch.prodci" 7PURPOSE = "Verify that a failed hermes random esim operations attempt reported" 8CRITERIA = """ 9 This test will fail if failed to Install, Enable, Disable, Uninstall Profile 10 OR could not able to connect to Hermes dbus daemon. 11""" 12ATTRIBUTES = "suite:cellular_ota_flaky" 13TIME = "SHORT" 14TEST_CATEGORY = "Functional" 15TEST_CLASS = "network" 16TEST_TYPE = "client" 17DEPENDENCIES = "carrier:esim, board:trogdor" 18PY_VERSION = 3 19 20DOC = """ 21 Defines randomly occuring operations: 22 RS = Restart Hermes + Slot Switch 23 Do test RS-> Install -> RS -> Enable -> RS-> Disable -> RS -> Uninstall 24 25 This test will fail if failed to Install, Enable, Disable, Uninstall Profile 26 OR could not able to connect to Hermes dbus daemon. 27 It requires a dut with a modem and euicc 28""" 29 30from autotest_lib.client.cros.cellular import test_environment 31 32test_env = test_environment.CellularESIMTestEnvironment() 33job.run_test('cellular_Hermes_Restart_SlotSwitch', test_env=test_env, 34 is_prod_ci=True) 35 36