[autotest] Retry when staging a control files fails in run-suite.
The cl also adds some stats for reporting run_suite failures, and
sneaks in some autoserv testing changes.
TEST=Ran run_suite against a bad devserver, raised the exception.
BUG=chromium:418928, chromium:359741, chromium:371644
Change-Id: If49a3b96c053432cb26a01a02e160176be37c037
Reviewed-on: https://chromium-review.googlesource.com/220973
Reviewed-by: Prashanth B <[email protected]>
Tested-by: Prashanth B <[email protected]>
Commit-Queue: Prashanth B <[email protected]>
diff --git a/client/common_lib/error.py b/client/common_lib/error.py
index 9270b5f..3428edd 100644
--- a/client/common_lib/error.py
+++ b/client/common_lib/error.py
@@ -540,6 +540,11 @@
"Raised when a repo isn't working in some way"
+class StageControlFileFailure(Exception):
+ """Exceptions encountered staging control files."""
+ pass
+
+
class CrosDynamicSuiteException(Exception):
"""
Base class for exceptions coming from dynamic suite code in