cheets_CTS_P: Bump up the retry count for CtsUi.

To mitigate the effect of a flaky test until the root cause is fixed.

BUG=b:145270500
TEST=cheets_CTS_P.9.0_r11.arm.CtsUi

Change-Id: I2b0c665e821a32a10b7c75ebe1901456d0c4e104
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2068235
Tested-by: Kazuhiro Inaba <kinaba@chromium.org>
Tested-by: Rohit Makasana <rohitbm@chromium.org>
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
Auto-Submit: Kazuhiro Inaba <kinaba@chromium.org>
diff --git a/server/cros/tradefed/generate_controlfiles_CTS_P.py b/server/cros/tradefed/generate_controlfiles_CTS_P.py
index 779e414..faee30a 100755
--- a/server/cros/tradefed/generate_controlfiles_CTS_P.py
+++ b/server/cros/tradefed/generate_controlfiles_CTS_P.py
@@ -59,6 +59,7 @@
     'CtsDeqpTestCases':         15,  # TODO(b/126787654)
     'CtsIncidentHostTestCases': 30,  # TODO(b/128695132)
     'CtsSensorTestCases':       30,  # TODO(b/124528412)
+    'CtsUiAutomationTestCases':  9,  # TODO(b/145270500)
 }
 
 # Timeout in hours.
@@ -144,7 +145,6 @@
     'CtsThemeDeviceTestCases',
     'CtsTransitionTestCases',
     'CtsTvTestCases',
-    'CtsUiAutomationTestCases',
     'CtsUsbTests',
     'CtsVoiceSettingsTestCases',
 ]
diff --git a/server/site_tests/cheets_CTS_P/control.9.0_r11.arm.CtsUi b/server/site_tests/cheets_CTS_P/control.9.0_r11.arm.CtsUi
index d5df18b..993fa7e 100644
--- a/server/site_tests/cheets_CTS_P/control.9.0_r11.arm.CtsUi
+++ b/server/site_tests/cheets_CTS_P/control.9.0_r11.arm.CtsUi
@@ -6,7 +6,7 @@
 
 AUTHOR = 'ARC++ Team'
 NAME = 'cheets_CTS_P.9.0_r11.arm.CtsUi'
-ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-unibuild, suite:bvt-perbuild'
+ATTRIBUTES = 'suite:arc-cts, suite:arc-cts-unibuild'
 DEPENDENCIES = 'arc'
 JOB_RETRIES = 1
 TEST_TYPE = 'server'
@@ -20,7 +20,7 @@
         'cheets_CTS_P',
         hosts=host_list,
         iterations=1,
-        max_retry=3,
+        max_retry=9,
         tag='9.0_r11.arm.CtsUi',
         test_name='cheets_CTS_P.9.0_r11.arm.CtsUi',
         run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsUiAutomationTestCases', '--include-filter', 'CtsUiDeviceTestCases', '--include-filter', 'CtsUiRenderingTestCases', '--logcat-on-failure'],
diff --git a/server/site_tests/cheets_CTS_P/control.9.0_r11.x86.CtsUi b/server/site_tests/cheets_CTS_P/control.9.0_r11.x86.CtsUi
index 46edcce..4d8e9c0 100644
--- a/server/site_tests/cheets_CTS_P/control.9.0_r11.x86.CtsUi
+++ b/server/site_tests/cheets_CTS_P/control.9.0_r11.x86.CtsUi
@@ -20,6 +20,7 @@
         'cheets_CTS_P',
         hosts=host_list,
         iterations=1,
+        max_retry=9,
         tag='9.0_r11.x86.CtsUi',
         test_name='cheets_CTS_P.9.0_r11.x86.CtsUi',
         run_template=['run', 'commandAndExit', 'cts', '--include-filter', 'CtsUiAutomationTestCases', '--include-filter', 'CtsUiDeviceTestCases', '--include-filter', 'CtsUiRenderingTestCases', '--logcat-on-failure'],