1# Copyright (c) 2013 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 = 'pstew, quiche, wiley' 6NAME = 'network_CheckCriticalProcesses' 7ATTRIBUTES = "suite:bvt-cq, suite:network_nightly, subsystem:network" 8TIME = 'SHORT' 9TEST_TYPE = 'client' 10JOB_RETRIES = 2 11 12DOC = """ 13This test has a static list of process names that should be running 14on a good Chrome OS Core image with client networking (shill) support. 15It fails if any of these are not running at the time of the test. 16""" 17 18NETWORK_CRITICAL_PROCESSES = [ 19 'dbus-daemon', 20 # dhcpcd expected for a test-lab DUT controlled via ethernet. 21 'dhcpcd', 22 'netfilter-queue|conntrackd', 23 # powerd expected as long as it controls set_wifi_transmit_power. 24 'powerd', 25 'shill', 26 'udevd|systemd-udevd', 27 'update_engine', 28 'wpa_supplicant', 29 ] 30 31job.run_test('platform_CheckCriticalProcesses', 32 process_list=NETWORK_CRITICAL_PROCESSES) 33