blob: 6e06139c6e02a5a2d16b36084ce1901ef8095b9f [file] [log] [blame]
# Copyright 2017 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "mruthven"
NAME = "firmware_ClearTPMOwnerAndReset"
METADATA = {
"contacts": ["chromeos-faft@google.com", "mruthven@chromium.org"],
"bug_component": "b:792402", # ChromeOS > Platform > Enablement > Firmware > FAFT
"criteria": "Verify normal boot after clearing the tpm owner and rebooting the ec"
}
TIME = "SHORT"
TEST_TYPE = "server"
JOB_RETRIES = 0
DEPENDENCIES = "servo_state:WORKING"
DOC = """
This test verifies the device doesn't get into a bad state when the EC is reset
after the tpm owner has been cleared.
"""
from autotest_lib.server import utils
args_dict = utils.args_to_dict(args)
servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
iterations = int(args_dict.get("iterations", 1))
def run(machine):
host = hosts.create_host(machine, servo_args=servo_args)
job.run_test("firmware_ClearTPMOwnerAndReset", host=host, cmdline_args=args,
iterations=iterations)
parallel_simple(run, machines)