| # Copyright 2020 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "dhaddock, ChromiumOS" |
| NAME = "autoupdate_Basic.full" |
| METADATA = { |
| "contacts": [ |
| "chromeos-core-services@google.com", |
| "chromeos-sw-engprod@google.com" |
| ], |
| "bug_component": "b:908319", |
| "criteria": "Tests an N-to-N update and user login between versions." |
| } |
| TIME = "MEDIUM" |
| TEST_TYPE = "server" |
| ATTRIBUTES = "suite:bvt-inline, suite:infra_qual, suite:satlab-qual-bvt-inline, suite:distributed_lab_qual_bvt_shard1" |
| JOB_RETRIES = 2 |
| DOC = """ |
| This tests an N-to-N update. That means it will update to the same version |
| that the DUT was provisioned with. This test will be used in the CQ to ensure |
| changes don't break autoupdate. |
| |
| Refer to control.delta for instructions on how to run this test locally. |
| |
| """ |
| |
| 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_Basic', host=host, full_payload=True, |
| **args_dict) |
| |
| job.parallel_simple(run, machines) |