1# Copyright 2021 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 = "abergman, chromeos-engprod-platform-syd" 6NAME = "performance_cuj" 7PURPOSE = "Tast wrapper suite for running performance CUJ Tast tests on Moblab." 8TIME = "LENGTHY" 9TEST_CATEGORY = "General" 10TEST_CLASS = "suite" 11TEST_TYPE = "Server" 12 13DOC = """ 14This suite executes a set of performance CUJ (critical user journey) test cases. 15Supposed to be run by partners (OEMs, ODMs) using Moblab. 16 17@param build: The name of the image to test. 18 Ex: x86-mario-release/R17-1412.33.0-a1-b29 19@param board: The board to test on. Ex: x86-mario 20@param pool: The pool of machines to utilize for scheduling. If pool=None 21 board is used. 22@param dry_run: simulate test execution without stressing the storage. 23@param SKIP_IMAGE: (optional) If present and True, don't re-image devices. 24""" 25 26import common 27 28from autotest_lib.server.cros.dynamic_suite import dynamic_suite 29 30args_dict['name'] = NAME 31args_dict['job'] = job 32args_dict['timeout_mins'] = 10080 # entire suite timeout after 7 days 33args_dict['max_runtime_mins'] = 10080 # one test timeout after 7 days 34 35dynamic_suite.reimage_and_run(**args_dict) 36