1# Copyright 2017 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 = "dhaddock, Chromium OS" 6NAME = "autoupdate_ForcedOOBEUpdate.delta" 7PURPOSE = "Test forced update at OOBE." 8TIME = "MEDIUM" 9TEST_CATEGORY = "Functional" 10TEST_CLASS = "platform" 11TEST_TYPE = "server" 12ATTRIBUTES = "suite:au-oobe" 13PY_VERSION = 3 14DOC = """ 15This tests the forced autoupdate flow at OOBE. 16 17See the control file for the full payload for instructions on running locally. 18Kick it off using this command: 19 20test_that <hostname>.cros autoupdate_ForcedOOBEUpdate.delta --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.X.X/autotest/packages'" 21 22""" 23 24from autotest_lib.client.common_lib import utils 25 26args_dict = utils.args_to_dict(args) 27 28def run(machine): 29 host = hosts.create_host(machine) 30 job.run_test('autoupdate_ForcedOOBEUpdate', host=host, full_payload=False, 31 **args_dict) 32 33job.parallel_simple(run, machines) 34