arcappcompat: Add shard for appcompat_release suite

It is observed that the appcompat_release suite
couldn’t complete the test runs due to the global
timeout reached error. Adding a shard will help to
complete the test runs.

BUG=b:231636580
TEST=test_that --board=eve <ip-address> tast.appcompat_release-shard-0
test_that --board=eve <ip-address> tast.appcompat_release-shard-1
test_that --board=eve <ip-address> tast.appcompat_release-shard-2

Change-Id: Id65f1ae5490d9684b140ea7a63a63b6779faae46
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/3636003
Reviewed-by: Renuga Nanjappan <rnanjappan@chromium.org>
Tested-by: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
Commit-Queue: Meenakshi Thiyagarajan <mthiyagarajan@google.com>
diff --git a/server/site_tests/tast/control.appcompat_release-shard-0 b/server/site_tests/tast/control.appcompat_release-shard-0
index d63a6ed..c1f1718 100644
--- a/server/site_tests/tast/control.appcompat_release-shard-0
+++ b/server/site_tests/tast/control.appcompat_release-shard-0
@@ -30,7 +30,7 @@
                  host=hosts.create_host(machine),
                  test_exprs=['("group:appcompat" && appcompat_release)'],
                  ignore_test_failures=True, max_run_sec=3600,
-                 totalshards=2,
+                 totalshards=3,
                  shardindex=0,
                  command_args=args)
 
diff --git a/server/site_tests/tast/control.appcompat_release-shard-1 b/server/site_tests/tast/control.appcompat_release-shard-1
index 738e852..63f27e6 100644
--- a/server/site_tests/tast/control.appcompat_release-shard-1
+++ b/server/site_tests/tast/control.appcompat_release-shard-1
@@ -30,7 +30,7 @@
                  host=hosts.create_host(machine),
                  test_exprs=['("group:appcompat" && appcompat_release)'],
                  ignore_test_failures=True, max_run_sec=3600,
-                 totalshards=2,
+                 totalshards=3,
                  shardindex=1,
                  command_args=args)
 
diff --git a/server/site_tests/tast/control.appcompat_release-shard-2 b/server/site_tests/tast/control.appcompat_release-shard-2
new file mode 100644
index 0000000..a2043a8
--- /dev/null
+++ b/server/site_tests/tast/control.appcompat_release-shard-2
@@ -0,0 +1,37 @@
+# Copyright 2020 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_release-shard-2'
+TIME = 'MEDIUM'
+TEST_TYPE = 'Server'
+ATTRIBUTES = 'suite:appcompat_release'
+MAX_RESULT_SIZE_KB = 1024 * 1024
+PY_VERSION = 3
+
+# tast.py uses binaries installed from autotest_server_package.tar.bz2.
+REQUIRE_SSP = True
+
+DOC = '''
+Run the Tast appcompat release 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_release)'],
+                 ignore_test_failures=True, max_run_sec=3600,
+                 totalshards=3,
+                 shardindex=2,
+                 command_args=args)
+
+parallel_simple(run, machines)