summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-11 19:13:48 +0000
committercmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-11 19:13:48 +0000
commit900e27d9505185f94e15f4e52d930a5a142314b1 (patch)
treeb2b1c7583ccf6419f4e8400eaefa2b362d290d94
parent5fd04a1ea9572e3bfb9445d944a5f1ce45191344 (diff)
downloadchromium_src-900e27d9505185f94e15f4e52d930a5a142314b1.zip
chromium_src-900e27d9505185f94e15f4e52d930a5a142314b1.tar.gz
chromium_src-900e27d9505185f94e15f4e52d930a5a142314b1.tar.bz2
Add extra information to sharding_supervisor on retries.
sharding_supervisor may have a critical failure where it fails to handle retries correctly. This change adds more information to the output so we can identify what may be happening across our systems in the retry condition. R=maruel@chromium.org BUG=169506 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11871002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176402 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xtools/sharding_supervisor/sharding_supervisor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sharding_supervisor/sharding_supervisor.py b/tools/sharding_supervisor/sharding_supervisor.py
index 89d3ec5..6760d03 100755
--- a/tools/sharding_supervisor/sharding_supervisor.py
+++ b/tools/sharding_supervisor/sharding_supervisor.py
@@ -503,6 +503,7 @@ class ShardingSupervisor(object):
sharded_description = re.compile(r": (?:\d+>)?(.*)")
gtest_filters = [sharded_description.search(line).group(1)
for line in self.failed_tests]
+ sys.stdout.write("\nRETRY GTEST FILTERS: %r\n" % gtest_filters)
failed_retries = []
for test_filter in gtest_filters:
@@ -510,6 +511,7 @@ class ShardingSupervisor(object):
# Don't update the xml output files during retry.
stripped_gtests_args = RemoveGTestOutput(self.gtest_args)
args.extend(stripped_gtests_args)
+ sys.stdout.write("\nRETRY COMMAND: %r\n" % args)
rerun = subprocess.Popen(args)
rerun.wait()
if rerun.returncode != 0: