Home | History | Annotate | Download | only in enterprise_CFM_AutotestSmokeTest
      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 
      5 from autotest_lib.server import utils
      6 
      7 AUTHOR = "dtosic (a] google.com, chromeos-meetings (a] google.com"
      8 NAME = "enterprise_CFM_AutotestSmokeTest"
      9 PURPOSE = ("Server-side smoke test used for tracking the stability of the "
     10            "Autotest framework on CFM platforms.")
     11 CRITERIA = "Fails if the Autotest framework doesn't work as expected."
     12 ATTRIBUTES = ("suite:hotrod, suite:bluestreak, suite:bluestreak-release, "
     13               "suite:bluestreak-perbuild, suite:bluestreak-pre-cq")
     14 TIME = "SHORT"
     15 TEST_CATEGORY = "Functional"
     16 TEST_TYPE = "server"
     17 BUG_TEMPLATE = {
     18     "labels": ["OS-Chrome"],
     19 }
     20 
     21 DOC = """
     22 This test tracks the stability of the Auotest framework for server tests.
     23 The test opens a web browser, loads 'chrome://version' and verifies that nothing
     24 crashes.
     25 """
     26 
     27 args_dict = utils.args_to_dict(args)
     28 servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
     29 
     30 def run_test(machine):
     31     host = hosts.create_host(machine, servo_args=servo_args)
     32     job.run_test('enterprise_CFM_AutotestSmokeTest', host=host)
     33 
     34 
     35 parallel_simple(run_test, machines)
     36 
     37