blob: 52a56a9f97242117fbf1a536b28fc0cd922572e9 [file] [log] [blame]
David Haddock0bad4a32018-02-02 13:05:26 -08001# 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"
David Haddock8efca4d2019-07-23 19:08:03 -07006NAME = "autoupdate_ForcedOOBEUpdate.interrupt.reboot.full"
7PURPOSE = "Test forced update at OOBE with reboot interruptions."
David Haddock0bad4a32018-02-02 13:05:26 -08008TIME = "MEDIUM"
9TEST_CATEGORY = "Functional"
10TEST_CLASS = "platform"
11TEST_TYPE = "server"
Kyle Shimabukuro33707572020-01-31 09:45:19 -080012ATTRIBUTES = "suite:au-oobe"
David Haddock0bad4a32018-02-02 13:05:26 -080013DOC = """
14This tests the forced autoupdate flow at OOBE with interruptions.
15
David Haddock8efca4d2019-07-23 19:08:03 -070016During the update it will reboot.
David Haddock0bad4a32018-02-02 13:05:26 -080017
18"""
19
20from autotest_lib.client.common_lib import utils
21
22args_dict = utils.args_to_dict(args)
David Haddock0bad4a32018-02-02 13:05:26 -080023
24def run(machine):
David Haddockafde7652018-04-13 13:44:48 -070025 host = hosts.create_host(machine)
David Haddock0bad4a32018-02-02 13:05:26 -080026 job.run_test('autoupdate_ForcedOOBEUpdate', host=host, full_payload=True,
Amin Hassanif56f5c62020-02-14 16:31:31 -080027 interrupt='reboot', **args_dict)
David Haddock0bad4a32018-02-02 13:05:26 -080028
29job.parallel_simple(run, machines)