| # Copyright 2020 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 = "kyleshima, Chromium OS" |
| NAME = "autoupdate_WithDLC.full" |
| PURPOSE = "Tests installing a DLC and doing an N-to-N update with DLC present." |
| TIME = "MEDIUM" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "platform" |
| TEST_TYPE = "server" |
| ATTRIBUTES = "suite:bvt-inline, suite:infra_qual, suite:satlab-qual-bvt-inline" |
| JOB_RETRIES = 2 |
| DOC = """ |
| This tests that DLC can be installed, and auto-updated together with the OS. |
| Use the `running_at_desk` arg when testing locally. |
| |
| test_that <hostname>.cros autoupdate_WithDLC.full --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.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_WithDLC', host=host, full_payload=True, |
| **args_dict) |
| |
| job.parallel_simple(run, machines) |