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 5 AUTHOR = "Chrome OS Team" 6 NAME = "logging_UserCrash" 7 PURPOSE = "Verify user space crashes are handled appropriately." 8 CRITERIA = """ 9 Fails 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 """ 17 ATTRIBUTES = "suite:bvt-perbuild, suite:smoke" 18 SUITE = "bvt-perbuild, smoke" 19 TIME = "SHORT" 20 TEST_CATEGORY = "Functional" 21 TEST_CLASS = "logging" 22 TEST_TYPE = "client" 23 24 DOC = """ 25 Test that user space crashes are detected and handled appropriately. 26 """ 27 28 BUG_TEMPLATE = { 29 'labels': ['OS-Chrome', 'Cr-Internals-Logging', 'Cr-OS-Systems'], 30 'owner': 'vapier (a] chromium.org', 31 'cc': ['vapier (a] chromium.org', 'benchan (a] chromium.org'], 32 } 33 34 job.run_test('logging_UserCrash') 35