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

Side by Side Diff: scripts/slave/recipes/chromium.py

Issue 2207263002: Add logcats link in builbot page for android swarming tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Update expectations Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'adb', 6 'adb',
7 'bisect_tester', 7 'bisect_tester',
8 'depot_tools/bot_update', 8 'depot_tools/bot_update',
9 'chromium', 9 'chromium',
10 'chromium_android', 10 'chromium_android',
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 'swarming': { 960 'swarming': {
961 'can_use_on_swarming_builders': True, 961 'can_use_on_swarming_builders': True,
962 'dimension_sets': [ 962 'dimension_sets': [
963 { 963 {
964 'build.id': 'KTU84P', 964 'build.id': 'KTU84P',
965 'product.board': 'hammerhead', 965 'product.board': 'hammerhead',
966 }, 966 },
967 ], 967 ],
968 'cipd_packages': [ 968 'cipd_packages': [
969 { 969 {
970 'location': '{$HOME}/logdog', 970 'location': 'bin',
971 'cipd_package': 'infra/logdog/linux-386', 971 'cipd_package': 'logdog/butler/linux-386',
972 'revision': 'git_revision:deadbeef', 972 'revision': 'git_revision:deadbeef',
973 }, 973 },
974 ], 974 ],
975 }, 975 },
976 'override_compile_targets': [ 976 'override_compile_targets': [
977 'chrome_public_test_apk' 977 'chrome_public_test_apk'
978 ], 978 ],
979 'override_isolate_target': 'chrome_public_test_apk', 979 'override_isolate_target': 'chrome_public_test_apk',
980 } 980 }
981 ], 981 ],
982 }, 982 },
983 }) 983 })
984 ) 984 )
985 ) 985 )
986 986
987 yield ( 987 yield (
988 api.test('dynamic_swarmed_logdog_trigger_test') +
989 api.properties.generic(mastername='chromium.linux',
990 buildername='Android Tests',
991 parent_buildername='Android Builder') +
992 api.properties(swarm_hashes={
993 'chrome_public_test_apk': 'cccccccccccccccccc',
994 }) +
995 api.override_step_data(
996 'read test spec (chromium.linux.json)',
997 api.json.output({
998 'Android Tests': {
999 'gtest_tests': [
1000 {
1001 'test': 'chrome_public_test_apk',
1002 'swarming': {
1003 'can_use_on_swarming_builders': True,
1004 'dimension_sets': [
1005 {
1006 'build.id': 'KTU84P',
1007 'product.board': 'hammerhead',
1008 },
1009 ],
1010 'cipd_packages': [
1011 {
1012 'location': 'bin',
1013 'cipd_package': 'logdog/butler/linux-386',
1014 'revision': 'git_revision:deadbeef',
1015 },
1016 {
1017 'location': 'bin',
1018 'cipd_package': 'some/other/package',
1019 'revision': 'git_revision:deadbeef',
1020 },
1021 ],
1022 'output_links': [
1023 {
1024 'name': 'shard_index:${SHARD_INDEX}logcats',
1025 'link': [
1026 'https://luci-logdog.appspot.com/v/?s',
1027 '=android%2Fswarming%2Flogcats%2F',
1028 '${TASK_ID}%2F%2B%2Funified_logcats',
1029 ],
1030 },
1031 ],
1032 },
1033 'override_compile_targets': [
1034 'chrome_public_test_apk'
1035 ],
1036 'override_isolate_target': 'chrome_public_test_apk',
1037 }
1038 ],
1039 },
1040 })
1041 )
1042 )
1043
1044 yield (
1045 api.test('dynamic_swarmed_no_logdog_trigger_test') +
1046 api.properties.generic(mastername='chromium.linux',
1047 buildername='Android Tests',
1048 parent_buildername='Android Builder') +
1049 api.properties(swarm_hashes={
1050 'chrome_public_test_apk': 'cccccccccccccccccc',
1051 }) +
1052 api.override_step_data(
1053 'read test spec (chromium.linux.json)',
1054 api.json.output({
1055 'Android Tests': {
1056 'gtest_tests': [
1057 {
1058 'test': 'chrome_public_test_apk',
1059 'swarming': {
1060 'can_use_on_swarming_builders': True,
1061 'dimension_sets': [
1062 {
1063 'build.id': 'KTU84P',
1064 'product.board': 'hammerhead',
1065 },
1066 ],
1067 'cipd_packages': [
1068 {
1069 'location': 'bin',
1070 'cipd_package': 'some/other/package',
1071 'revision': 'git_revision:deadbeef',
1072 },
1073 {
1074 'location': 'bin',
1075 'cipd_package': 'another/package',
1076 'revision': 'git_revision:deadbeef',
1077 },
1078 ],
1079 },
1080 'override_compile_targets': [
1081 'chrome_public_test_apk'
1082 ],
1083 'override_isolate_target': 'chrome_public_test_apk',
1084 }
1085 ],
1086 },
1087 })
1088 )
1089 )
1090 yield (
988 api.test('dynamic_instrumentation_cloud_test') + 1091 api.test('dynamic_instrumentation_cloud_test') +
989 api.properties.generic(mastername='chromium.fyi', 1092 api.properties.generic(mastername='chromium.fyi',
990 buildername='Android Cloud Tests', 1093 buildername='Android Cloud Tests',
991 parent_buildername='Android Builder') + 1094 parent_buildername='Android Builder') +
992 api.override_step_data( 1095 api.override_step_data(
993 'read test spec (chromium.fyi.json)', 1096 'read test spec (chromium.fyi.json)',
994 api.json.output({ 1097 api.json.output({
995 'Android Cloud Tests': { 1098 'Android Cloud Tests': {
996 'instrumentation_tests': [ 1099 'instrumentation_tests': [
997 { 1100 {
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 yield ( 1478 yield (
1376 api.test('ensure_goma_fail') + 1479 api.test('ensure_goma_fail') +
1377 api.properties( 1480 api.properties(
1378 mastername='chromium.fyi', 1481 mastername='chromium.fyi',
1379 buildername='Linux remote_run Builder', 1482 buildername='Linux remote_run Builder',
1380 slavename='build1-a1', 1483 slavename='build1-a1',
1381 buildnumber='77457', 1484 buildnumber='77457',
1382 path_config='kitchen') + 1485 path_config='kitchen') +
1383 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1486 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1384 ) 1487 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698