Home | History | Annotate | Download | only in autoupdate_NonBlockingOOBEUpdate
      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 
      5 AUTHOR = "dhaddock, Chromium OS"
      6 NAME = "autoupdate_NonBlockingOOBEUpdate.delta"
      7 PURPOSE = "Test non-forced update at OOBE."
      8 TIME = "MEDIUM"
      9 TEST_CATEGORY = "Functional"
     10 TEST_CLASS = "platform"
     11 TEST_TYPE = "server"
     12 ATTRIBUTES = "suite:bvt-perbuild"
     13 DOC = """
     14 This tests an update is available at OOBE but there is no deadline set.
     15 
     16 Kick it off locally using this command:
     17 
     18 test_that <hostname>.cros autoupdate_NonBlockingOOBEUpdate.delta --args="job_repo_url='http://<IP>:<port>/static/<board>-release/RXX-XXXX.X.X/autotest/packages'"
     19 
     20 """
     21 
     22 from autotest_lib.client.common_lib import utils
     23 
     24 args_dict = utils.args_to_dict(args)
     25 
     26 def run(machine):
     27     host = hosts.create_host(machine)
     28     job.run_test('autoupdate_NonBlockingOOBEUpdate', host=host,
     29                  full_payload=False, **args_dict)
     30 
     31 job.parallel_simple(run, machines)
     32