Adding cr50 stress suites

BUG=None
TEST=None

Change-Id: I7b76d05ea34f06d406b60e665f10faf687d74e27
Reviewed-on: https://chromium-review.googlesource.com/462517
Commit-Ready: Tyler Reid <twreid@google.com>
Tested-by: Tyler Reid <twreid@google.com>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
diff --git a/server/site_tests/firmware_Cr50USB/control b/server/site_tests/firmware_Cr50USB/control
index cac3c70..93c184b 100644
--- a/server/site_tests/firmware_Cr50USB/control
+++ b/server/site_tests/firmware_Cr50USB/control
@@ -7,6 +7,7 @@
 AUTHOR = "mruthven"
 NAME = "firmware_Cr50USB"
 PURPOSE = "Verify Cr50 to AP USB connection"
+ATTRIBUTES = "suite:cr50_stress_experimental"
 TIME = "MEDIUM"
 TEST_TYPE = "server"
 
diff --git a/server/site_tests/firmware_Cr50UpdateScriptStress/control b/server/site_tests/firmware_Cr50UpdateScriptStress/control
index 9667090..ef76167 100644
--- a/server/site_tests/firmware_Cr50UpdateScriptStress/control
+++ b/server/site_tests/firmware_Cr50UpdateScriptStress/control
@@ -7,6 +7,7 @@
 AUTHOR = "mruthven"
 NAME = "firmware_Cr50UpdateScriptStress"
 PURPOSE = "Verify cr50-update"
+ATTRIBUTES = "suite:cr50_stress_experimental"
 TIME = "LONG"
 TEST_TYPE = "server"
 
diff --git a/test_suites/control.cr50_stress b/test_suites/control.cr50_stress
new file mode 100644
index 0000000..89fd40b
--- /dev/null
+++ b/test_suites/control.cr50_stress
@@ -0,0 +1,39 @@
+# Copyright (c) 2017 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 = "Chrome OS Team"
+NAME = "cr50_stress"
+PURPOSE = "Cr50 stress test functionality and devices"
+
+TIME = "LONG"
+TEST_CATEGORY = "Stress"
+TEST_CLASS = "suite"
+TEST_TYPE = "Server"
+
+DOC = """
+This is the cr50_stress test suite.
+
+This suite is meant to cover the full gamut of stress long running cr50 stress
+tests. Other stress related suites will focus on more specific aspects, which
+can be run as diagnosis tools.
+
+@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 check_hosts: require appropriate live hosts to exist in the lab.
+@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
+"""
+
+import common
+from autotest_lib.server.cros import provision
+from autotest_lib.server.cros.dynamic_suite import dynamic_suite
+
+args_dict['name'] = 'cr50_stress'
+args_dict['add_experimental'] = False
+args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
+args_dict['job'] = job
+
+dynamic_suite.reimage_and_run(**args_dict)
diff --git a/test_suites/control.cr50_stress_experimental b/test_suites/control.cr50_stress_experimental
new file mode 100644
index 0000000..e7a1285
--- /dev/null
+++ b/test_suites/control.cr50_stress_experimental
@@ -0,0 +1,38 @@
+# Copyright (c) 2017 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 = "Chrome OS Team"
+NAME = "cr50_stress_experimental"
+PURPOSE = "Experimental suite to test cr50 stress tests."
+
+TIME = "LONG"
+TEST_CATEGORY = "Stress"
+TEST_CLASS = "suite"
+TEST_TYPE = "Server"
+
+DOC = """
+This is the cr50_stress_experimental test suite.
+
+This suite is meant to be a proving ground for cr50 stress tests before they
+are promoted to the actual cr50 stress suite.
+
+@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 check_hosts: require appropriate live hosts to exist in the lab.
+@param SKIP_IMAGE: (optional) If present and True, don't re-image devices.
+"""
+
+import common
+from autotest_lib.server.cros import provision
+from autotest_lib.server.cros.dynamic_suite import dynamic_suite
+
+args_dict['name'] = 'cr50_stress_experimental'
+args_dict['add_experimental'] = True
+args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX
+args_dict['job'] = job
+
+dynamic_suite.reimage_and_run(**args_dict)