Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(715)

Unified Diff: build/android/buildbot/bb_run_bot.py

Issue 12879017: Upload Android test data to flakiness dashboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_run_bot.py
diff --git a/build/android/buildbot/bb_run_bot.py b/build/android/buildbot/bb_run_bot.py
index f768c3fab0f8827083ff6b82453b099ed0465ccf..4f69106d40138cf79d467b059ad39ffb7b41dd50 100755
--- a/build/android/buildbot/bb_run_bot.py
+++ b/build/android/buildbot/bb_run_bot.py
@@ -5,6 +5,7 @@
# found in the LICENSE file.
import collections
+import copy
import json
import optparse
import os
@@ -81,6 +82,7 @@ def GetBotStepMap():
std_build_steps = ['bb_compile', 'bb_zip_build']
std_test_steps = ['bb_extract_build']
std_tests = ['ui', 'unit']
+ flakiness_server = '--upload-to-flakiness-server'
B = BotConfig
def T(tests, extra_args=None):
@@ -95,7 +97,8 @@ def GetBotStepMap():
['bb_compile', 'bb_zip_build'], None, None),
B('main-clang-builder', compile_step, None, None),
B('main-clobber', compile_step, None, None),
- B('main-tests', std_test_steps, T(std_tests), None),
+ B('main-tests', std_test_steps, T(std_tests, [flakiness_server]),
+ None),
# Other waterfalls
B('asan-builder', std_build_steps, None, None),
@@ -109,11 +112,9 @@ def GetBotStepMap():
B('fyi-builder-rel',
['bb_compile', 'bb_compile_experimental', 'bb_zip_build'], None, None),
B('fyi-tests', std_test_steps,
- T(std_tests, ['--experimental', '--upload-to-flakiness-server']), None),
+ T(std_tests, ['--experimental', flakiness_server]), None),
B('perf-tests-rel', std_test_steps, T([], ['--install=ContentShell']),
None),
- B('try-fyi-tests', std_test_steps, T(std_tests, ['--experimental']),
- None),
B('webkit-latest-webkit-tests', std_test_steps,
T(['webkit_layout', 'webkit']), None),
B('webkit-latest-contentshell', compile_step, T(['webkit_layout']), None),
@@ -131,13 +132,21 @@ def GetBotStepMap():
('try-clang-builder', 'main-clang-builder'),
('try-fyi-builder-dbg', 'fyi-builder-dbg'),
('try-tests', 'main-tests'),
+ ('try-fyi-tests', 'fyi-tests'),
('webkit-latest-tests', 'main-tests'),
]
for to_id, from_id in copy_map:
assert to_id not in bot_map
# pylint: disable=W0212
- bot_map[to_id] = bot_map[from_id]._replace(bot_id=to_id)
-
+ bot_map[to_id] = copy.deepcopy(bot_map[from_id])._replace(bot_id=to_id)
+
+ # Trybots do not upload to flakiness dashboard. They should be otherwise
+ # identical in configuration to their trunk building counterparts.
+ test_obj = bot_map[to_id].test_obj
+ if to_id.startswith('try') and test_obj:
+ extra_args = test_obj.extra_args
+ if extra_args and flakiness_server in extra_args:
+ extra_args.remove(flakiness_server)
frankf 2013/03/20 18:39:40 I don't think all this logic is justified for remo
Isaac (away) 2013/03/20 18:42:56 I'm not sure what you mean. I'm open to other sug
frankf 2013/03/20 19:01:32 This is outside of the scope of this CL, but I thi
return bot_map
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698