|  | # Copyright 2015 The Chromium OS Authors. All rights reserved. | 
|  | # Use of this source code is governed by a BSD-style license that can be | 
|  | # found in the LICENSE file. | 
|  |  | 
|  | AUTHOR = '[email protected], ChromeOS Audio' | 
|  | NAME = 'audio_CrasCheck' | 
|  | PURPOSE = 'Performs basic audio check for active streams and crashes' | 
|  | CRITERIA = ''' | 
|  | Test will fail if 1. cras is not running 2. cras crashes 3. active stream count | 
|  | does not match. | 
|  | ''' | 
|  | # Temporarily remove the test to unblock PFQ.  See crbug/718171 in detail. | 
|  | #ATTRIBUTES = "suite:bvt-cq, suite:partners" | 
|  | ATTRIBUTES = "suite:bvt-perbuild" | 
|  | TIME = 'MEDIUM' | 
|  | TEST_CATEGORY = 'General' | 
|  | TEST_CLASS = 'audio' | 
|  | TEST_TYPE = 'client' | 
|  | JOB_RETRIES = 2 | 
|  | PY_VERSION = 3 | 
|  |  | 
|  | BUG_TEMPLATE = { | 
|  | 'owner': '[email protected]', | 
|  | 'labels': ['OS-Chrome'], | 
|  | 'components': ['OS>Kernel>Audio'], | 
|  | } | 
|  |  | 
|  | DOC = ''' | 
|  | Test checks for basic audio confidence by checking cras status, crashes and | 
|  | active streams. | 
|  | ''' | 
|  |  | 
|  | job.run_test('audio_CrasCheck') |