| # Copyright 2023 The ChromiumOS Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "asadrieh, chromeos-engprod-platform-syd" |
| NAME = "performance_cuj_sprite_quick_v2" |
| METADATA = { |
| "contacts": ["chromeos-perf-reliability-eng@google.com", "asadrieh@google.com"], |
| "bug_component": "b:1025042", |
| "criteria": "Tauto wrapper for SPRITE v2 Tast test.", |
| "hw_agnostic": True |
| } |
| PURPOSE = "Tauto wrapper suite for running v2 performance CUJ Tast tests on MainLab and Satlab." |
| TIME = "LENGTHY" |
| TEST_CATEGORY = "General" |
| TEST_CLASS = "suite" |
| TEST_TYPE = "Server" |
| |
| DOC = """ |
| This suite executes a set of performance CUJ (critical user journey) test cases. |
| Supposed to be run by internal google infrastructure. |
| |
| @param build: The name of the image to test. |
| Ex: x86-mario-release/R17-1412.33.0-a1-b29 |
| @param board: The board to test on. Ex: x86-mario |
| @param pool: The pool of machines to utilize for scheduling. If pool=None |
| board is used. |
| @param dry_run: simulate test execution without stressing the storage. |
| @param SKIP_IMAGE: (optional) If present and True, don't re-image devices. |
| """ |
| |
| import common |
| |
| from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| |
| args_dict['name'] = NAME |
| args_dict['job'] = job |
| args_dict['timeout_mins'] = 2880 # entire suite timeout after 2 days |
| args_dict['max_runtime_mins'] = 2880 # one test timeout after 2 days |
| |
| dynamic_suite.reimage_and_run(**args_dict) |