1# Copyright 2021 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
5from autotest_lib.server import utils
6
7AUTHOR = "ChromeOS Team"
8NAME = "firmware_Fingerprint.CrosConfig"
9PURPOSE = """
10Debug cros_config failures. See http://b/160271883.
11"""
12CRITERIA = """
13Fails if cros_config call fails."
14"""
15ATTRIBUTES = "suite:fingerprint"
16TIME = "SHORT"
17TEST_CATEGORY = "Functional"
18TEST_CLASS = "firmware"
19TEST_TYPE = "server"
20DEPENDENCIES = "servo_state:WORKING, fingerprint"
21JOB_RETRIES = 0
22PY_VERSION = 3
23
24DOC = """
25Attempts to call cros_config.
26"""
27
28args_dict = utils.args_to_dict(args)
29servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
30
31def run(machine):
32    host = hosts.create_host(machine, servo_args=servo_args)
33    job.run_test("firmware_FingerprintCrosConfig", host=host)
34
35parallel_simple(run, machines)
36