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

Side by Side Diff: scripts/slave/recipes/v8.expected/full_client_v8_V8_Linux___predictable_bisect.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: update Created 4 years, 1 month 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 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]",
9 "--patch_root", 9 "--patch_root",
10 "v8", 10 "v8",
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 { 235 {
236 "cmd": [ 236 "cmd": [
237 "python", 237 "python",
238 "-u", 238 "-u",
239 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", 239 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
240 "[SLAVE_BUILD]/v8/out/gn" 240 "[SLAVE_BUILD]/v8/out/gn"
241 ], 241 ],
242 "name": "rmtree [SLAVE_BUILD]/v8/out/gn" 242 "name": "rmtree [SLAVE_BUILD]/v8/out/gn"
243 }, 243 },
244 { 244 {
245 "cmd": [
246 "python",
247 "-u",
248 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
249 ],
250 "name": "calculate the number of recommended jobs",
251 "stdout": "/path/to/tmp/",
252 "~followup_annotations": [
253 "@@@STEP_LOG_LINE@python.inline@@@@",
254 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
255 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
256 "@@@STEP_LOG_LINE@python.inline@@@@",
257 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
258 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
259 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
260 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
261 "@@@STEP_LOG_LINE@python.inline@@@@",
262 "@@@STEP_LOG_LINE@python.inline@try:@@@",
263 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
264 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
265 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
266 "@@@STEP_LOG_LINE@python.inline@@@@",
267 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
268 "@@@STEP_LOG_END@python.inline@@@"
269 ]
270 },
271 {
272 "cmd": [], 245 "cmd": [],
273 "name": "preprocess_for_goma" 246 "name": "preprocess_for_goma"
274 }, 247 },
275 { 248 {
276 "cmd": [ 249 "cmd": [
277 "python", 250 "python",
278 "-u", 251 "-u",
279 "[CACHE]/cipd/goma/goma_ctl.py", 252 "[CACHE]/cipd/goma/goma_ctl.py",
280 "restart" 253 "restart"
281 ], 254 ],
(...skipping 22 matching lines...) Expand all
304 "env": { 277 "env": {
305 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 278 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
306 }, 279 },
307 "name": "preprocess_for_goma.start cloudtail", 280 "name": "preprocess_for_goma.start cloudtail",
308 "~followup_annotations": [ 281 "~followup_annotations": [
309 "@@@STEP_NEST_LEVEL@1@@@" 282 "@@@STEP_NEST_LEVEL@1@@@"
310 ] 283 ]
311 }, 284 },
312 { 285 {
313 "cmd": [ 286 "cmd": [
287 "python",
288 "-u",
289 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
290 ],
291 "name": "calculate the number of recommended jobs",
292 "stdout": "/path/to/tmp/",
293 "~followup_annotations": [
294 "@@@STEP_LOG_LINE@python.inline@@@@",
295 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
296 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
297 "@@@STEP_LOG_LINE@python.inline@@@@",
298 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
299 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
300 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
301 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
302 "@@@STEP_LOG_LINE@python.inline@@@@",
303 "@@@STEP_LOG_LINE@python.inline@try:@@@",
304 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
305 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
306 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
307 "@@@STEP_LOG_LINE@python.inline@@@@",
308 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
309 "@@@STEP_LOG_END@python.inline@@@"
310 ]
311 },
312 {
313 "cmd": [
314 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 314 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
315 "-w", 315 "-w",
316 "dupbuild=err", 316 "dupbuild=err",
317 "-C", 317 "-C",
318 "[SLAVE_BUILD]/v8/out/Release", 318 "[SLAVE_BUILD]/v8/out/Release",
319 "-j", 319 "-j",
320 "50" 320 "50"
321 ], 321 ],
322 "env": { 322 "env": {
323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 "@@@STEP_NEST_LEVEL@2@@@" 997 "@@@STEP_NEST_LEVEL@2@@@"
998 ] 998 ]
999 }, 999 },
1000 { 1000 {
1001 "cmd": [ 1001 "cmd": [
1002 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 1002 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
1003 "-w", 1003 "-w",
1004 "dupbuild=err", 1004 "dupbuild=err",
1005 "-C", 1005 "-C",
1006 "[SLAVE_BUILD]/v8/out/Release", 1006 "[SLAVE_BUILD]/v8/out/Release",
1007 "d8",
1007 "-j", 1008 "-j",
1008 "50", 1009 "50"
1009 "d8"
1010 ], 1010 ],
1011 "env": { 1011 "env": {
1012 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 1012 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
1013 }, 1013 },
1014 "name": "Bisect a0.compile with ninja", 1014 "name": "Bisect a0.compile with ninja",
1015 "~followup_annotations": [ 1015 "~followup_annotations": [
1016 "@@@STEP_NEST_LEVEL@1@@@" 1016 "@@@STEP_NEST_LEVEL@1@@@"
1017 ] 1017 ]
1018 }, 1018 },
1019 { 1019 {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1075 "-u", 1075 "-u",
1076 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 1076 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
1077 "--upload-compiler-proxy-info", 1077 "--upload-compiler-proxy-info",
1078 "--json-status", 1078 "--json-status",
1079 "[CACHE]/cipd/goma/jsonstatus", 1079 "[CACHE]/cipd/goma/jsonstatus",
1080 "--ninja-log-outdir", 1080 "--ninja-log-outdir",
1081 "[SLAVE_BUILD]/v8/out/Release", 1081 "[SLAVE_BUILD]/v8/out/Release",
1082 "--ninja-log-compiler", 1082 "--ninja-log-compiler",
1083 "goma", 1083 "goma",
1084 "--ninja-log-command", 1084 "--ninja-log-command",
1085 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', '-j', 50, 'd8']", 1085 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', 'd8', '-j', 50]",
1086 "--ninja-log-exit-status", 1086 "--ninja-log-exit-status",
1087 "0", 1087 "0",
1088 "--buildbot-buildername", 1088 "--buildbot-buildername",
1089 "V8 Linux - predictable", 1089 "V8 Linux - predictable",
1090 "--buildbot-mastername", 1090 "--buildbot-mastername",
1091 "client.v8", 1091 "client.v8",
1092 "--buildbot-slavename", 1092 "--buildbot-slavename",
1093 "TestSlavename" 1093 "TestSlavename"
1094 ], 1094 ],
1095 "env": { 1095 "env": {
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1464 "@@@STEP_NEST_LEVEL@2@@@" 1464 "@@@STEP_NEST_LEVEL@2@@@"
1465 ] 1465 ]
1466 }, 1466 },
1467 { 1467 {
1468 "cmd": [ 1468 "cmd": [
1469 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 1469 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
1470 "-w", 1470 "-w",
1471 "dupbuild=err", 1471 "dupbuild=err",
1472 "-C", 1472 "-C",
1473 "[SLAVE_BUILD]/v8/out/Release", 1473 "[SLAVE_BUILD]/v8/out/Release",
1474 "d8",
1474 "-j", 1475 "-j",
1475 "50", 1476 "50"
1476 "d8"
1477 ], 1477 ],
1478 "env": { 1478 "env": {
1479 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 1479 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
1480 }, 1480 },
1481 "name": "Bisect a2.compile with ninja", 1481 "name": "Bisect a2.compile with ninja",
1482 "~followup_annotations": [ 1482 "~followup_annotations": [
1483 "@@@STEP_NEST_LEVEL@1@@@" 1483 "@@@STEP_NEST_LEVEL@1@@@"
1484 ] 1484 ]
1485 }, 1485 },
1486 { 1486 {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 "-u", 1542 "-u",
1543 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 1543 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
1544 "--upload-compiler-proxy-info", 1544 "--upload-compiler-proxy-info",
1545 "--json-status", 1545 "--json-status",
1546 "[CACHE]/cipd/goma/jsonstatus", 1546 "[CACHE]/cipd/goma/jsonstatus",
1547 "--ninja-log-outdir", 1547 "--ninja-log-outdir",
1548 "[SLAVE_BUILD]/v8/out/Release", 1548 "[SLAVE_BUILD]/v8/out/Release",
1549 "--ninja-log-compiler", 1549 "--ninja-log-compiler",
1550 "goma", 1550 "goma",
1551 "--ninja-log-command", 1551 "--ninja-log-command",
1552 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', '-j', 50, 'd8']", 1552 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', 'd8', '-j', 50]",
1553 "--ninja-log-exit-status", 1553 "--ninja-log-exit-status",
1554 "0", 1554 "0",
1555 "--buildbot-buildername", 1555 "--buildbot-buildername",
1556 "V8 Linux - predictable", 1556 "V8 Linux - predictable",
1557 "--buildbot-mastername", 1557 "--buildbot-mastername",
1558 "client.v8", 1558 "client.v8",
1559 "--buildbot-slavename", 1559 "--buildbot-slavename",
1560 "TestSlavename" 1560 "TestSlavename"
1561 ], 1561 ],
1562 "env": { 1562 "env": {
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1964 "@@@STEP_NEST_LEVEL@2@@@" 1964 "@@@STEP_NEST_LEVEL@2@@@"
1965 ] 1965 ]
1966 }, 1966 },
1967 { 1967 {
1968 "cmd": [ 1968 "cmd": [
1969 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 1969 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
1970 "-w", 1970 "-w",
1971 "dupbuild=err", 1971 "dupbuild=err",
1972 "-C", 1972 "-C",
1973 "[SLAVE_BUILD]/v8/out/Release", 1973 "[SLAVE_BUILD]/v8/out/Release",
1974 "d8",
1974 "-j", 1975 "-j",
1975 "50", 1976 "50"
1976 "d8"
1977 ], 1977 ],
1978 "env": { 1978 "env": {
1979 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 1979 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
1980 }, 1980 },
1981 "name": "Bisect a1.compile with ninja", 1981 "name": "Bisect a1.compile with ninja",
1982 "~followup_annotations": [ 1982 "~followup_annotations": [
1983 "@@@STEP_NEST_LEVEL@1@@@" 1983 "@@@STEP_NEST_LEVEL@1@@@"
1984 ] 1984 ]
1985 }, 1985 },
1986 { 1986 {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 "-u", 2042 "-u",
2043 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 2043 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
2044 "--upload-compiler-proxy-info", 2044 "--upload-compiler-proxy-info",
2045 "--json-status", 2045 "--json-status",
2046 "[CACHE]/cipd/goma/jsonstatus", 2046 "[CACHE]/cipd/goma/jsonstatus",
2047 "--ninja-log-outdir", 2047 "--ninja-log-outdir",
2048 "[SLAVE_BUILD]/v8/out/Release", 2048 "[SLAVE_BUILD]/v8/out/Release",
2049 "--ninja-log-compiler", 2049 "--ninja-log-compiler",
2050 "goma", 2050 "goma",
2051 "--ninja-log-command", 2051 "--ninja-log-command",
2052 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', '-j', 50, 'd8']", 2052 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', 'd8', '-j', 50]",
2053 "--ninja-log-exit-status", 2053 "--ninja-log-exit-status",
2054 "0", 2054 "0",
2055 "--buildbot-buildername", 2055 "--buildbot-buildername",
2056 "V8 Linux - predictable", 2056 "V8 Linux - predictable",
2057 "--buildbot-mastername", 2057 "--buildbot-mastername",
2058 "client.v8", 2058 "client.v8",
2059 "--buildbot-slavename", 2059 "--buildbot-slavename",
2060 "TestSlavename" 2060 "TestSlavename"
2061 ], 2061 ],
2062 "env": { 2062 "env": {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
2131 "@@@STEP_LINK@a2@https://chromium.googlesource.com/v8/v8/+/a2@@@" 2131 "@@@STEP_LINK@a2@https://chromium.googlesource.com/v8/v8/+/a2@@@"
2132 ] 2132 ]
2133 }, 2133 },
2134 { 2134 {
2135 "name": "$result", 2135 "name": "$result",
2136 "reason": "Failures or flakes in build.", 2136 "reason": "Failures or flakes in build.",
2137 "recipe_result": null, 2137 "recipe_result": null,
2138 "status_code": 1 2138 "status_code": 1
2139 } 2139 }
2140 ] 2140 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698