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-cq, suite:smoke" 18 TIME = "SHORT" 19 TEST_CATEGORY = "Functional" 20 TEST_CLASS = "logging" 21 TEST_TYPE = "client" 22 23 DOC = """ 24 Test that user space crashes are detected and handled appropriately. 25 """ 26 27 BUG_TEMPLATE = { 28 'labels': ['OS-Chrome'], 29 'components': ['Internals>Logging', '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