unplugged-system/external/autotest/server/site_tests/autoupdate_Lacros/control.full

32 lines
1023 B
Plaintext

# Copyright 2021 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 = "dhaddock, Chromium OS"
NAME = "autoupdate_Lacros"
TIME = "MEDIUM"
PURPOSE = "Tests an N-to-N update and check rootfs-lacros."
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
TEST_TYPE = "server"
ATTRIBUTES = "suite:au-perbuild"
PY_VERSION = 3
DOC = """
Logs in and launches rootfs-lacros before and after a N-to-N autoupdate.
Use the `running_at_desk` arg when testing locally.
Example usage:
test_that autoupdate_Lacros <DUT> --board=<board> --args="job_repo_url=http://<IP>:8082/static/<board>-release/RXX-XXXXX.X.X/autotest/packages running_at_desk=True"
"""
from autotest_lib.client.common_lib import utils
args_dict = utils.args_to_dict(args)
def run(machine):
host = hosts.create_host(machine)
job.run_test('autoupdate_Lacros', host=host, full_payload=True,
**args_dict)
job.parallel_simple(run, machines)