blob: bdd3654198f25c060ab47e5c5832f108efc31ae0 [file] [log] [blame]
# 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.
# This variant of firmware_FingerprintSigner requires the on-disk firmware image
# to be signed with pre-MP or MP (since automated runs may use either) keys.
from autotest_lib.server import utils
NAME = "firmware_FingerprintSigner"
METADATA = {
"contacts": ["chromeos-fingerprint@google.com"],
"bug_component": "b:782045",
"criteria": "Fails if the on-disk fingerprint firmware image is signed with DEV keys",
}
PURPOSE = """
Verify that the signer ID is correct
"""
ATTRIBUTES = "suite:fingerprint"
TEST_TYPE = "server"
DEPENDENCIES = "fingerprint, servo_state:WORKING"
HW_DEPS = ['biod']
JOB_RETRIES = 0
args_dict = utils.args_to_dict(args)
servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
def run(machine):
host = hosts.create_host(machine, servo_args=servo_args)
job.run_test("firmware_FingerprintSigner", host=host, fsi=False)
parallel_simple(run, machines)