1# Copyright (c) 2012 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 5NAME = "platform_KernelErrorPaths.SPINLOCKUP" 6AUTHOR = "Chrome OS Team" 7ATTRIBUTES = "suite:kernel_per-build_regression, suite:partners" 8SUITE = "kernel_per-build_regression, partners" 9TIME = "SHORT" 10TEST_CATEGORY = "Functional" 11TEST_CLASS = "platform" 12TEST_TYPE = "server" 13 14DOC = """ 15This test uses /proc/breakme to cause the machine to have various 16serious failures (kernel panic, kernel bug, deadlock, etc.), and then 17check to make sure that these failures were properly logged and had 18appropritate consequences (reboot, logging, etc.). 19 20Pass the kernel crashes as a comma-delimited string of crash types. 21""" 22 23def run_kernel_error_paths(machine): 24 host = hosts.create_host(machine) 25 job.run_test("platform_KernelErrorPaths", tag="SPINLOCKUP", 26 kcrashes="SPINLOCKUP", host=host) 27 28parallel_simple(run_kernel_error_paths, machines) 29