[autotest] emit scheduled tests names and number of them from suite
For a suite, write the number of scheduled tests and names of them into
keyval file. These keyvals can be inserted into tko database when the
suite finishes, which can help goldeneye team debug the missing tests.
BUG=chromium:661703
TEST=unittest, trybot and run tests with the test build.
Change-Id: I3cb194d4d89628943b8052db32ef4a44df51df5e
Reviewed-on: https://chromium-review.googlesource.com/414243
Commit-Ready: Shuqian Zhao <shuqianz@chromium.org>
Tested-by: Shuqian Zhao <shuqianz@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
diff --git a/server/cros/dynamic_suite/constants.py b/server/cros/dynamic_suite/constants.py
index 044e27c..44d04a5 100644
--- a/server/cros/dynamic_suite/constants.py
+++ b/server/cros/dynamic_suite/constants.py
@@ -17,6 +17,10 @@
# Job keyval indicating the minimum duts required by the suite
SUITE_MIN_DUTS_KEY = 'suite_min_duts'
+# Job keyval indicating the scheduled tests
+SCHEDULED_TEST_COUNT_KEY = 'scheduled_test_count'
+SCHEDULED_TEST_NAMES_KEY = 'scheduled_test_names'
+
# Job attribute and label names
EXPERIMENTAL_PREFIX = 'experimental_'
FWRW_BUILD = 'fwrw_build'