1# Copyright (c) 2015 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 5TIME = 'LENGTHY' 6AUTHOR = 'puthik' 7PURPOSE = 'Stress test hardware devices 8 hours' 8CRITERIA = 'Fails if memory pages do not match the original fill pattern.' 9DOC = """ 10System stress test is an open source stress tool that works by stressing 11system interfaces. It is good at catching memory signal integrity issues or 12setup/hold problems, memory controller and bus interface issues, and disk 13controller issues. It can also detect bad memory cells and cache coherency 14issues. 15 16Large amounts of memory is allocted in a single block, and memory is divided 17into chunks, each filled with a potentially stressful data pattern. Worker 18threads are spawned which draw pages from an empty queue and a valid queue, and 19copy data to the other. 20 21For more information, see: 22http://code.google.com/p/stressapptest/ 23""" 24 25HOUR_IN_SECS=60*60 26 27NAME = 'hardware_SAT.memory_qual' 28TEST_CLASS = 'hardware' 29TEST_CATEGORY = 'Stress' 30TEST_TYPE = 'client' 31 32job.run_test('hardware_SAT', tag='memory_qual', seconds=8 * HOUR_IN_SECS) 33