summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-21 03:53:23 +0000
committerilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-21 03:53:23 +0000
commit1b19521ff54c267e83d72239c4136f8f6a131ef6 (patch)
tree39bf948cde707969aad2a377a3e9e1edd0453d65 /build
parentb9b88a08780fa5eef6388a3fe27a4f7a0bdd657f (diff)
downloadchromium_src-1b19521ff54c267e83d72239c4136f8f6a131ef6.zip
chromium_src-1b19521ff54c267e83d72239c4136f8f6a131ef6.tar.gz
chromium_src-1b19521ff54c267e83d72239c4136f8f6a131ef6.tar.bz2
Upload Android test data to flakiness dashboard
This CL adds flakiness dashboard integration to android bots on chromium.linux. BUG=150801 TEST=Verified flakiness arg passed for main waterfall bots but for trybots. NOTRY=True Review URL: https://chromiumcodereview.appspot.com/12879017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/buildbot/bb_run_bot.py21
1 files changed, 15 insertions, 6 deletions
diff --git a/build/android/buildbot/bb_run_bot.py b/build/android/buildbot/bb_run_bot.py
index f768c3f..4f69106 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)
return bot_map