moblab: Create moblab_quick suite for the CQ.

Created a moblab_quick suite to run the dummy_server suite. This
will be the basic CQ test for moblab.

Updated the stable_cros_version in the global_config.ini to builds
that have the dummy_server suite built in.

BUG=chromium:461966
TEST=trybot build with local test run.

Change-Id: I8c78c3a653bad848ebef0ddeba03f53aec1ab2ca
Reviewed-on: https://chromium-review.googlesource.com/255541
Reviewed-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
diff --git a/global_config.ini b/global_config.ini
index 78d99c1..5c412c9 100644
--- a/global_config.ini
+++ b/global_config.ini
@@ -205,7 +205,7 @@
 # Use `cli/atest stable_version` command to view or manage stable versions.
 # WARNING! Edit following setting will NOT work if stable versions are stored
 # in afe_stable_versions table already!
-stable_cros_version: R41-6592.0.0
+stable_cros_version: R42-6784.0.0
 stable_build_pattern: %s-release/%s
 source_tree: /usr/local/google/chromeos
 gs_offloading_enabled: True
diff --git a/server/site_tests/moblab_RunSuite/control.dummyServer b/server/site_tests/moblab_RunSuite/control.dummyServer
new file mode 100644
index 0000000..ad9f7a3
--- /dev/null
+++ b/server/site_tests/moblab_RunSuite/control.dummyServer
@@ -0,0 +1,42 @@
+# Copyright (c) 2015 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 = "chromeos-moblab@google.com"
+NAME = "moblab_DummyServerSuite"
+PURPOSE = "Test that Moblab can run the Dummy Server suite."
+SUITE = "moblab_quick"
+TIME = "MEDIUM"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "moblab"
+TEST_TYPE = "server"
+
+DOC = """
+Kicks off the Dummy Server suite on a Moblab host against the DUTs on its
+subnet and ensures the suite completes successfully.
+
+To invole this test locally:
+  test_that -b stumpy_moblab <remote> moblab_DummyServerSuite
+  --args="<ARGLIST>"
+
+where ARGLIST is a whitespace separated list of the following key=value pairs.
+Values pertaining to the test case include:
+
+  boto_path=<boto_path>                path to the boto file to be installed on
+                                       the Moblab DUT. If not specified, the
+                                       boto file in the current home directory
+                                       will be installed if it exists.
+  image_storage_server=<server_name>   Google Storage Bucket from which to
+                                       fetch test images from. If not
+                                       specified, the value will be fetched
+                                       from global_config.
+"""
+from autotest_lib.client.common_lib import utils
+
+def run(machine):
+    host = hosts.create_host(machine)
+    args_dict = utils.args_to_dict(args)
+    job.run_test('moblab_RunSuite', host=host, suite_name='dummy_server',
+                 **args_dict)
+
+parallel_simple(run, machines)
diff --git a/test_suites/control.moblab_quick b/test_suites/control.moblab_quick
new file mode 100644
index 0000000..3cd4a99
--- /dev/null
+++ b/test_suites/control.moblab_quick
@@ -0,0 +1,38 @@
+# Copyright (c) 2015 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 = "moblab_quick"
+PURPOSE = "Quickly test basic moblab functionality."
+CRITERIA = "All tests with SUITE=moblab_quick must pass."
+
+TIME = "MEDIUM"
+TEST_CATEGORY = "General"
+TEST_CLASS = "suite"
+TEST_TYPE = "Server"
+
+DOC = """
+Moblab Functionality Tests
+
+@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
+
+dynamic_suite.reimage_and_run(
+    build=build, board=board, name='moblab_quick', job=job, pool=pool,
+    check_hosts=check_hosts, add_experimental=True, num=num,
+    file_bugs=file_bugs, priority=priority, timeout_mins=timeout_mins,
+    devserver_url=devserver_url,
+    version_prefix=provision.CROS_VERSION_PREFIX,
+    wait_for_results=wait_for_results, job_retry=job_retry,
+    max_retries=max_retries)