1# Copyright (c) 2010 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 5AUTHOR = "Chrome OS Team" 6NAME = "logging_UserCrash" 7PURPOSE = "Verify user space crashes are handled appropriately." 8CRITERIA = """ 9Fails if any of the following conditions occur: 10 - expected core pattern is not output 11 - user space crash handling is not running 12 - forced crash does not occur 13 - forced segv message is not found 14 - core pattern is not recognized as as 'core' 15 - crash is sent without user consent 16""" 17ATTRIBUTES = "suite:bvt-perbuild, suite:smoke" 18SUITE = "bvt-perbuild, smoke" 19TIME = "SHORT" 20TEST_CATEGORY = "Functional" 21TEST_CLASS = "logging" 22TEST_TYPE = "client" 23 24DOC = """ 25Test that user space crashes are detected and handled appropriately. 26""" 27 28BUG_TEMPLATE = { 29 'labels': ['OS-Chrome', 'Cr-Internals-Logging', 'Cr-OS-Systems'], 30 'owner': 'vapier@chromium.org', 31 'cc': ['vapier@chromium.org', 'benchan@chromium.org'], 32} 33 34job.run_test('logging_UserCrash') 35