1# Copyright 2020 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 = "kyleshima, Chromium OS" 6NAME = "autoupdate_WithDLC.full" 7PURPOSE = "Tests installing a DLC and doing an N-to-N update with DLC present." 8TIME = "MEDIUM" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "platform" 11TEST_TYPE = "server" 12ATTRIBUTES = "suite:bvt-inline, suite:infra_qual, suite:satlab-qual-bvt-inline" 13JOB_RETRIES = 2 14PY_VERSION = 3 15DOC = """ 16This tests that DLC can be installed, and auto-updated together with the OS. 17Use the `running_at_desk` arg when testing locally. 18 19test_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" 20""" 21 22from autotest_lib.client.common_lib import utils 23 24args_dict = utils.args_to_dict(args) 25 26def run(machine): 27 host = hosts.create_host(machine) 28 job.run_test('autoupdate_WithDLC', host=host, full_payload=True, 29 **args_dict) 30 31job.parallel_simple(run, machines) 32