1# Copyright 2018 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.interrupt.reboot.full" 7PURPOSE = "Test forced update at OOBE with reboot interruptions." 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 with interruptions. 16 17During the update it will reboot. 18 19""" 20 21from autotest_lib.client.common_lib import utils 22 23args_dict = utils.args_to_dict(args) 24 25def run(machine): 26 host = hosts.create_host(machine) 27 job.run_test('autoupdate_ForcedOOBEUpdate', host=host, full_payload=True, 28 interrupt='reboot', **args_dict) 29 30job.parallel_simple(run, machines) 31