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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/chromium_fyi.py

Issue 1942383002: Enable hermetic builds for FYI mac builders. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from . import steps 5 from . import steps
6 6
7 RESULTS_URL = 'https://chromeperf.appspot.com' 7 RESULTS_URL = 'https://chromeperf.appspot.com'
8 8
9 9
10 def get_kitchen_spec(use_cache=False): 10 def get_kitchen_spec(use_cache=False):
(...skipping 25 matching lines...) Expand all
36 36
37 37
38 SPEC = { 38 SPEC = {
39 'settings': { 39 'settings': {
40 'build_gs_bucket': 'chromium-fyi-archive', 40 'build_gs_bucket': 'chromium-fyi-archive',
41 }, 41 },
42 'builders': { 42 'builders': {
43 'Chromium Mac 10.10 MacViews': { 43 'Chromium Mac 10.10 MacViews': {
44 'chromium_config': 'chromium', 44 'chromium_config': 'chromium',
45 'gclient_config': 'chromium', 45 'gclient_config': 'chromium',
46 'chromium_apply_config': ['chromium_mac_mac_views', 'mb'], 46 'chromium_apply_config': [
47 'chromium_mac_mac_views',
48 'mb',
49 'force_mac_toolchain'
erikchen 2016/05/03 16:48:57 You probably need to run """ ./scripts/slave/unit
justincohen 2016/05/03 17:32:58 Done.
50 ],
47 'chromium_config_kwargs': { 51 'chromium_config_kwargs': {
48 'BUILD_CONFIG': 'Release', 52 'BUILD_CONFIG': 'Release',
49 'TARGET_BITS': 64, 53 'TARGET_BITS': 64,
50 }, 54 },
51 'test_generators': [ 55 'test_generators': [
52 steps.generate_gtest, 56 steps.generate_gtest,
53 steps.generate_script, 57 steps.generate_script,
54 steps.generate_isolated_script, 58 steps.generate_isolated_script,
55 ], 59 ],
56 'testing': { 60 'testing': {
57 'platform': 'mac', 61 'platform': 'mac',
58 }, 62 },
59 }, 63 },
60 'Chromium Mac 10.11': { 64 'Chromium Mac 10.11': {
61 'chromium_config': 'chromium', 65 'chromium_config': 'chromium',
62 'chromium_apply_config': ['mb'], 66 'chromium_apply_config': ['mb', 'force_mac_toolchain'],
63 'gclient_config': 'chromium', 67 'gclient_config': 'chromium',
64 'chromium_config_kwargs': { 68 'chromium_config_kwargs': {
65 'BUILD_CONFIG': 'Release', 69 'BUILD_CONFIG': 'Release',
66 'TARGET_BITS': 64, 70 'TARGET_BITS': 64,
67 }, 71 },
68 'test_generators': [ 72 'test_generators': [
69 steps.generate_gtest, 73 steps.generate_gtest,
70 steps.generate_script, 74 steps.generate_script,
71 ], 75 ],
72 'testing': { 76 'testing': {
73 'platform': 'mac', 77 'platform': 'mac',
74 }, 78 },
75 }, 79 },
76 'Chromium Mac 10.11 Force Mac Toolchain': {
77 'chromium_config': 'chromium',
78 'chromium_apply_config': ['mb'],
79 'gclient_config': 'chromium',
80 'chromium_config_kwargs': {
81 'BUILD_CONFIG': 'Release',
82 'TARGET_BITS': 64,
83 },
84 'chromium_apply_config': ['force_mac_toolchain'],
85 'test_generators': [
86 steps.generate_gtest,
87 steps.generate_script,
88 ],
89 'testing': {
90 'platform': 'mac',
91 },
92 },
93 'Linux ARM': { 80 'Linux ARM': {
94 'chromium_config': 'chromium', 81 'chromium_config': 'chromium',
95 'gclient_config': 'chromium', 82 'gclient_config': 'chromium',
96 'chromium_apply_config': ['mb', 'ninja_confirm_noop'], 83 'chromium_apply_config': ['mb', 'ninja_confirm_noop'],
97 'chromium_config_kwargs': { 84 'chromium_config_kwargs': {
98 'BUILD_CONFIG': 'Release', 85 'BUILD_CONFIG': 'Release',
99 'TARGET_ARCH': 'arm', 86 'TARGET_ARCH': 'arm',
100 'TARGET_BITS': 32, 87 'TARGET_BITS': 32,
101 }, 88 },
102 'bot_type': 'builder_tester', 89 'bot_type': 'builder_tester',
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 steps.PrintPreviewTests(), 240 steps.PrintPreviewTests(),
254 ], 241 ],
255 'bot_type': 'builder_tester', 242 'bot_type': 'builder_tester',
256 'testing': { 243 'testing': {
257 'platform': 'linux', 244 'platform': 'linux',
258 }, 245 },
259 }, 246 },
260 'Print Preview Mac': { 247 'Print Preview Mac': {
261 'chromium_config': 'chromium', 248 'chromium_config': 'chromium',
262 'gclient_config': 'chromium', 249 'gclient_config': 'chromium',
250 'chromium_apply_config': ['force_mac_toolchain'],
263 'GYP_DEFINES': { 251 'GYP_DEFINES': {
264 'component': 'shared_library', 252 'component': 'shared_library',
265 }, 253 },
266 'chromium_config_kwargs': { 254 'chromium_config_kwargs': {
267 'BUILD_CONFIG': 'Release', 255 'BUILD_CONFIG': 'Release',
268 'TARGET_PLATFORM': 'mac', 256 'TARGET_PLATFORM': 'mac',
269 'TARGET_BITS': 64, 257 'TARGET_BITS': 64,
270 }, 258 },
271 'tests': [ 259 'tests': [
272 steps.PrintPreviewTests(), 260 steps.PrintPreviewTests(),
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 steps.generate_isolated_script, 361 steps.generate_isolated_script,
374 ], 362 ],
375 'bot_type': 'builder_tester', 363 'bot_type': 'builder_tester',
376 'testing': { 364 'testing': {
377 'platform': 'linux', 365 'platform': 'linux',
378 }, 366 },
379 }, 367 },
380 'Mac OpenSSL': { 368 'Mac OpenSSL': {
381 'chromium_config': 'chromium', 369 'chromium_config': 'chromium',
382 'gclient_config': 'chromium', 370 'gclient_config': 'chromium',
371 'chromium_apply_config': ['force_mac_toolchain'],
383 'chromium_config_kwargs': { 372 'chromium_config_kwargs': {
384 'BUILD_CONFIG': 'Release', 373 'BUILD_CONFIG': 'Release',
385 'TARGET_BITS': 32, 374 'TARGET_BITS': 32,
386 }, 375 },
387 'GYP_DEFINES': { 376 'GYP_DEFINES': {
388 'use_openssl': '1', 377 'use_openssl': '1',
389 }, 378 },
390 'test_generators': [ 379 'test_generators': [
391 steps.generate_gtest, 380 steps.generate_gtest,
392 steps.generate_script, 381 steps.generate_script,
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1142 }, 1131 },
1143 'compile_targets': [ 'chromium_builder_tests' ], 1132 'compile_targets': [ 'chromium_builder_tests' ],
1144 'goma_canary': True, 1133 'goma_canary': True,
1145 'tests': steps.GOMA_TESTS, 1134 'tests': steps.GOMA_TESTS,
1146 'testing': { 1135 'testing': {
1147 'platform': 'linux' 1136 'platform': 'linux'
1148 } 1137 }
1149 }, 1138 },
1150 'Chromium Mac 10.9 Goma Canary': { 1139 'Chromium Mac 10.9 Goma Canary': {
1151 'chromium_config': 'chromium', 1140 'chromium_config': 'chromium',
1152 'chromium_apply_config': ['goma_canary', 'mb'], 1141 'chromium_apply_config': ['goma_canary', 'mb', 'force_mac_toolchain'],
1153 'gclient_config': 'chromium', 1142 'gclient_config': 'chromium',
1154 'chromium_config_kwargs': { 1143 'chromium_config_kwargs': {
1155 'BUILD_CONFIG': 'Release', 1144 'BUILD_CONFIG': 'Release',
1156 'TARGET_BITS': 64, 1145 'TARGET_BITS': 64,
1157 }, 1146 },
1158 'compile_targets': [ 'chromium_builder_tests' ], 1147 'compile_targets': [ 'chromium_builder_tests' ],
1159 'goma_canary': True, 1148 'goma_canary': True,
1160 'tests': steps.GOMA_TESTS, 1149 'tests': steps.GOMA_TESTS,
1161 'testing': { 1150 'testing': {
1162 'platform': 'mac' 1151 'platform': 'mac'
1163 } 1152 }
1164 }, 1153 },
1165 'Chromium Mac 10.9 Goma Canary (dbg)': { 1154 'Chromium Mac 10.9 Goma Canary (dbg)': {
1166 'chromium_config': 'chromium', 1155 'chromium_config': 'chromium',
1167 'chromium_apply_config': ['goma_canary', 'mb'], 1156 'chromium_apply_config': ['goma_canary', 'mb', 'force_mac_toolchain'],
1168 'gclient_config': 'chromium', 1157 'gclient_config': 'chromium',
1169 'chromium_config_kwargs': { 1158 'chromium_config_kwargs': {
1170 'BUILD_CONFIG': 'Debug', 1159 'BUILD_CONFIG': 'Debug',
1171 'TARGET_BITS': 64, 1160 'TARGET_BITS': 64,
1172 }, 1161 },
1173 'compile_targets': [ 'chromium_builder_tests' ], 1162 'compile_targets': [ 'chromium_builder_tests' ],
1174 'goma_canary': True, 1163 'goma_canary': True,
1175 'tests': steps.GOMA_TESTS, 1164 'tests': steps.GOMA_TESTS,
1176 'testing': { 1165 'testing': {
1177 'platform': 'mac' 1166 'platform': 'mac'
1178 } 1167 }
1179 }, 1168 },
1180 'Chromium Mac 10.9 Goma Canary (clobber)': { 1169 'Chromium Mac 10.9 Goma Canary (clobber)': {
1181 'chromium_config': 'chromium', 1170 'chromium_config': 'chromium',
1182 'chromium_apply_config': ['clobber', 'goma_canary', 'mb'], 1171 'chromium_apply_config': [
1172 'clobber',
1173 'goma_canary',
1174 'mb',
1175 'force_mac_toolchain',
1176 ],
1183 'gclient_config': 'chromium', 1177 'gclient_config': 'chromium',
1184 'chromium_config_kwargs': { 1178 'chromium_config_kwargs': {
1185 'BUILD_CONFIG': 'Release', 1179 'BUILD_CONFIG': 'Release',
1186 'TARGET_BITS': 64, 1180 'TARGET_BITS': 64,
1187 }, 1181 },
1188 'compile_targets': [ 'chromium_builder_tests' ], 1182 'compile_targets': [ 'chromium_builder_tests' ],
1189 'goma_canary': True, 1183 'goma_canary': True,
1190 'tests': steps.GOMA_TESTS, 1184 'tests': steps.GOMA_TESTS,
1191 'testing': { 1185 'testing': {
1192 'platform': 'mac' 1186 'platform': 'mac'
1193 } 1187 }
1194 }, 1188 },
1195 'Chromium Mac 10.9 Goma Canary (dbg)(clobber)': { 1189 'Chromium Mac 10.9 Goma Canary (dbg)(clobber)': {
1196 'chromium_config': 'chromium', 1190 'chromium_config': 'chromium',
1197 'chromium_apply_config': ['clobber', 'goma_canary', 'mb'], 1191 'chromium_apply_config': [
1192 'clobber',
1193 'goma_canary',
1194 'mb',
1195 'force_mac_toolchain',
1196 ],
1198 'gclient_config': 'chromium', 1197 'gclient_config': 'chromium',
1199 'chromium_config_kwargs': { 1198 'chromium_config_kwargs': {
1200 'BUILD_CONFIG': 'Debug', 1199 'BUILD_CONFIG': 'Debug',
1201 'TARGET_BITS': 64, 1200 'TARGET_BITS': 64,
1202 }, 1201 },
1203 'compile_targets': [ 'chromium_builder_tests' ], 1202 'compile_targets': [ 'chromium_builder_tests' ],
1204 'goma_canary': True, 1203 'goma_canary': True,
1205 'tests': steps.GOMA_TESTS, 1204 'tests': steps.GOMA_TESTS,
1206 'testing': { 1205 'testing': {
1207 'platform': 'mac' 1206 'platform': 'mac'
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 android_tool='asan'), 1405 android_tool='asan'),
1407 steps.GTestTest('gfx_unittests', android_tool='asan'), 1406 steps.GTestTest('gfx_unittests', android_tool='asan'),
1408 ], 1407 ],
1409 'testing': { 1408 'testing': {
1410 'platform': 'linux', 1409 'platform': 'linux',
1411 }, 1410 },
1412 }, 1411 },
1413 'ClangToTMac': { 1412 'ClangToTMac': {
1414 'chromium_config': 'clang_tot_mac', 1413 'chromium_config': 'clang_tot_mac',
1415 'gclient_config': 'chromium', 1414 'gclient_config': 'chromium',
1416 'chromium_apply_config': ['mb'], 1415 'chromium_apply_config': ['mb', 'force_mac_toolchain'],
1417 'chromium_config_kwargs': { 1416 'chromium_config_kwargs': {
1418 'BUILD_CONFIG': 'Release', 1417 'BUILD_CONFIG': 'Release',
1419 'TARGET_BITS': 64, 1418 'TARGET_BITS': 64,
1420 }, 1419 },
1421 'GYP_DEFINES': { 1420 'GYP_DEFINES': {
1422 'component': 'shared_library', 1421 'component': 'shared_library',
1423 }, 1422 },
1424 'compile_targets': [ 1423 'compile_targets': [
1425 'all', 1424 'all',
1426 ], 1425 ],
1427 'bot_type': 'builder', 1426 'bot_type': 'builder',
1428 'testing': { 'platform': 'mac', }, 1427 'testing': { 'platform': 'mac', },
1429 'tests': { 1428 'tests': {
1430 steps.SizesStep(RESULTS_URL, 'ClangToTMac') 1429 steps.SizesStep(RESULTS_URL, 'ClangToTMac')
1431 }, 1430 },
1432 'use_isolate': True, 1431 'use_isolate': True,
1433 'enable_swarming': True, 1432 'enable_swarming': True,
1434 # Workaround so that recipes doesn't add random build targets to our 1433 # Workaround so that recipes doesn't add random build targets to our
1435 # compile line. We want to build everything. 1434 # compile line. We want to build everything.
1436 'add_tests_as_compile_targets': False, 1435 'add_tests_as_compile_targets': False,
1437 }, 1436 },
1438 'ClangToTMac tester': { 1437 'ClangToTMac tester': {
1439 'chromium_config': 'chromium_no_goma', 1438 'chromium_config': 'chromium_no_goma',
1439 'chromium_apply_config': ['force_mac_toolchain'],
1440 'gclient_config': 'chromium', 1440 'gclient_config': 'chromium',
1441 'chromium_config_kwargs': { 1441 'chromium_config_kwargs': {
1442 'BUILD_CONFIG': 'Release', 1442 'BUILD_CONFIG': 'Release',
1443 'TARGET_BITS': 64, 1443 'TARGET_BITS': 64,
1444 }, 1444 },
1445 'test_generators': [ 1445 'test_generators': [
1446 steps.generate_gtest, 1446 steps.generate_gtest,
1447 steps.generate_script, 1447 steps.generate_script,
1448 steps.generate_isolated_script, 1448 steps.generate_isolated_script,
1449 ], 1449 ],
1450 'bot_type': 'tester', 1450 'bot_type': 'tester',
1451 'parent_buildername': 'ClangToTMac', 1451 'parent_buildername': 'ClangToTMac',
1452 'testing': { 1452 'testing': {
1453 'platform': 'mac', 1453 'platform': 'mac',
1454 }, 1454 },
1455 'enable_swarming': True, 1455 'enable_swarming': True,
1456 }, 1456 },
1457 'ClangToTMac (dbg)': { 1457 'ClangToTMac (dbg)': {
1458 'chromium_config': 'clang_tot_mac', 1458 'chromium_config': 'clang_tot_mac',
1459 'chromium_apply_config': ['mb'], 1459 'chromium_apply_config': ['mb', 'force_mac_toolchain'],
1460 'gclient_config': 'chromium', 1460 'gclient_config': 'chromium',
1461 'chromium_config_kwargs': { 1461 'chromium_config_kwargs': {
1462 'BUILD_CONFIG': 'Debug', 1462 'BUILD_CONFIG': 'Debug',
1463 'TARGET_BITS': 64, 1463 'TARGET_BITS': 64,
1464 }, 1464 },
1465 'compile_targets': [ 1465 'compile_targets': [
1466 'all', 1466 'all',
1467 ], 1467 ],
1468 'bot_type': 'builder', 1468 'bot_type': 'builder',
1469 'testing': { 'platform': 'mac', }, 1469 'testing': { 'platform': 'mac', },
1470 'tests': { 1470 'tests': {
1471 steps.SizesStep(RESULTS_URL, 'ClangToTMac (dbg)') 1471 steps.SizesStep(RESULTS_URL, 'ClangToTMac (dbg)')
1472 }, 1472 },
1473 'use_isolate': True, 1473 'use_isolate': True,
1474 'enable_swarming': True, 1474 'enable_swarming': True,
1475 # Workaround so that recipes doesn't add random build targets to our 1475 # Workaround so that recipes doesn't add random build targets to our
1476 # compile line. We want to build everything. 1476 # compile line. We want to build everything.
1477 'add_tests_as_compile_targets': False, 1477 'add_tests_as_compile_targets': False,
1478 }, 1478 },
1479 'ClangToTMacASan': { 1479 'ClangToTMacASan': {
1480 'chromium_config': 'clang_tot_mac_asan', 1480 'chromium_config': 'clang_tot_mac_asan',
1481 'chromium_apply_config': ['mb'], 1481 'chromium_apply_config': ['mb', 'force_mac_toolchain'],
1482 'gclient_config': 'chromium', 1482 'gclient_config': 'chromium',
1483 'chromium_config_kwargs': { 1483 'chromium_config_kwargs': {
1484 'BUILD_CONFIG': 'Release', 1484 'BUILD_CONFIG': 'Release',
1485 'TARGET_BITS': 64, 1485 'TARGET_BITS': 64,
1486 }, 1486 },
1487 'compile_targets': [ 1487 'compile_targets': [
1488 'all', 1488 'all',
1489 ], 1489 ],
1490 'bot_type': 'builder', 1490 'bot_type': 'builder',
1491 'testing': { 'platform': 'mac', }, 1491 'testing': { 'platform': 'mac', },
1492 'tests': { 1492 'tests': {
1493 steps.SizesStep(RESULTS_URL, 'ClangToTMacASan') 1493 steps.SizesStep(RESULTS_URL, 'ClangToTMacASan')
1494 }, 1494 },
1495 'use_isolate': True, 1495 'use_isolate': True,
1496 'enable_swarming': True, 1496 'enable_swarming': True,
1497 # Workaround so that recipes doesn't add random build targets to our 1497 # Workaround so that recipes doesn't add random build targets to our
1498 # compile line. We want to build everything. 1498 # compile line. We want to build everything.
1499 'add_tests_as_compile_targets': False, 1499 'add_tests_as_compile_targets': False,
1500 }, 1500 },
1501 'ClangToTMacASan tester': { 1501 'ClangToTMacASan tester': {
1502 'chromium_config': 'chromium_mac_asan', 1502 'chromium_config': 'chromium_mac_asan',
1503 'gclient_config': 'chromium', 1503 'gclient_config': 'chromium',
1504 'chromium_apply_config': ['force_mac_toolchain'],
1504 'chromium_config_kwargs': { 1505 'chromium_config_kwargs': {
1505 'BUILD_CONFIG': 'Release', 1506 'BUILD_CONFIG': 'Release',
1506 'TARGET_BITS': 64, 1507 'TARGET_BITS': 64,
1507 }, 1508 },
1508 'test_generators': [ 1509 'test_generators': [
1509 steps.generate_gtest, 1510 steps.generate_gtest,
1510 steps.generate_script, 1511 steps.generate_script,
1511 steps.generate_isolated_script, 1512 steps.generate_isolated_script,
1512 ], 1513 ],
1513 'bot_type': 'tester', 1514 'bot_type': 'tester',
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2072 'enable_swarming': True, 2073 'enable_swarming': True,
2073 'testing': { 2074 'testing': {
2074 'platform': 'win', 2075 'platform': 'win',
2075 }, 2076 },
2076 }, 2077 },
2077 2078
2078 'Linux Kitchen (kitchen_run)': get_kitchen_spec(use_cache=True), 2079 'Linux Kitchen (kitchen_run)': get_kitchen_spec(use_cache=True),
2079 'Linux Kitchen (annotated_run)': get_kitchen_spec(), 2080 'Linux Kitchen (annotated_run)': get_kitchen_spec(),
2080 }, 2081 },
2081 } 2082 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698