arcappcompat: add appcompat smoke suite control

Add appcompat smoke suite control provides basic acceptance testing
for Dev RC cut, Beta RC2 cut and Stable builds. Also this suite helps to get test
results in a short time.

BUG=b:181041353
TEST=test_that --board=eve <ip-address> tast.appcompat_smoke

Cq-Depend: chromium:2885158
Change-Id: Ibe4fde633e053c3c91ca214ca94418624a3f33c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2876076
Tested-by: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
Reviewed-by: Renuga Nanjappan <rnanjappan@chromium.org>
Reviewed-by: Derek Beckett <dbeckett@chromium.org>
Reviewed-by: Seewai Fu <seewaifu@google.com>
Commit-Queue: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
(cherry picked from commit eb5820d174798b63c0a859b23add6dea9ee509c0)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2946100
Tested-by: Renuga Nanjappan <rnanjappan@chromium.org>
Reviewed-by: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
Commit-Queue: Renuga Nanjappan <rnanjappan@chromium.org>
(cherry picked from commit 333a306e7d46120934a722ce3b2f78059aa11168)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2950457
diff --git a/server/site_tests/tast/control.appcompat_smoke b/server/site_tests/tast/control.appcompat_smoke
new file mode 100644
index 0000000..ebe1144
--- /dev/null
+++ b/server/site_tests/tast/control.appcompat_smoke
@@ -0,0 +1,34 @@
+# Copyright 2021 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 = 'Chromium OS team'
+NAME = 'tast.appcompat_smoke'
+TIME = 'SHORT'
+TEST_TYPE = 'Server'
+ATTRIBUTES = 'suite:appcompat_smoke'
+MAX_RESULT_SIZE_KB = 1024 * 1024
+
+# tast.py uses binaries installed from autotest_server_package.tar.bz2.
+REQUIRE_SSP = True
+
+DOC = '''
+Run the Tast appcompat smoke test suite.
+
+Tast is an integration-testing framework analagous to the test-running portion
+of Autotest. See https://chromium.googlesource.com/chromiumos/platform/tast/ for
+more information.
+
+This test runs Tast-based app compatibility tests against a remote DUT.
+
+See http://go/tast-failures for information about investigating failures.
+'''
+
+def run(machine):
+    job.run_test('tast',
+                 host=hosts.create_host(machine),
+                 test_exprs=['("group:appcompat" && appcompat_smoke)'],
+                 ignore_test_failures=True, max_run_sec=3600,
+                 command_args=args)
+
+parallel_simple(run, machines)
\ No newline at end of file
diff --git a/site_utils/attribute_allowlist.txt b/site_utils/attribute_allowlist.txt
index 00191a6..4d493c0 100644
--- a/site_utils/attribute_allowlist.txt
+++ b/site_utils/attribute_allowlist.txt
@@ -5,6 +5,7 @@
 suite:another_suite
 suite:appcompat
 suite:appcompat_release
+suite:appcompat_smoke
 suite:arc-cts
 suite:arc-cts-camera
 suite:arc-cts-deqp
diff --git a/test_suites/control.appcompat_smoke b/test_suites/control.appcompat_smoke
new file mode 100644
index 0000000..f2d2831
--- /dev/null
+++ b/test_suites/control.appcompat_smoke
@@ -0,0 +1,25 @@
+# Copyright 2021 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 = "Chromium OS team"
+NAME = "appcompat_smoke"
+PURPOSE = "Suite for app compat smoke testing."
+TIME = "SHORT"
+TEST_CATEGORY = "Functional"
+TEST_CLASS = "suite"
+TEST_TYPE = "Server"
+
+DOC = """
+This suite runs a few app compat tests on various devices in the lab.
+"""
+
+import common
+from autotest_lib.server.cros.dynamic_suite import dynamic_suite
+
+args_dict['name'] = NAME
+args_dict['add_experimental'] = True
+args_dict['max_runtime_mins'] = 60
+args_dict['job'] = job
+
+dynamic_suite.reimage_and_run(**args_dict)