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

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

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint 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 = [{'custom_deps': {'v8/third_party/ valgrind': 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'v8', 'url': 'https://chromi um.googlesource.com/v8/v8'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_deps': {'v8/third_party/ valgrind': 'https://chromium.googlesource.com/chromium/deps/valgrind/binaries'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'v8', 'url': 'https://chromi um.googlesource.com/v8/v8'}]",
9 "--patch_root", 9 "--patch_root",
10 "v8", 10 "v8",
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 { 256 {
257 "cmd": [ 257 "cmd": [
258 "python", 258 "python",
259 "-u", 259 "-u",
260 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py", 260 "RECIPE_MODULE[recipe_engine::shutil]/resources/rmtree.py",
261 "[SLAVE_BUILD]/v8/out/gn" 261 "[SLAVE_BUILD]/v8/out/gn"
262 ], 262 ],
263 "name": "rmtree [SLAVE_BUILD]/v8/out/gn" 263 "name": "rmtree [SLAVE_BUILD]/v8/out/gn"
264 }, 264 },
265 { 265 {
266 "cmd": [
267 "python",
268 "-u",
269 "\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"
270 ],
271 "name": "calculate the number of recommended jobs",
272 "stdout": "/path/to/tmp/",
273 "~followup_annotations": [
274 "@@@STEP_LOG_LINE@python.inline@@@@",
275 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
276 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
277 "@@@STEP_LOG_LINE@python.inline@@@@",
278 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
279 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
280 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
281 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
282 "@@@STEP_LOG_LINE@python.inline@@@@",
283 "@@@STEP_LOG_LINE@python.inline@try:@@@",
284 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
285 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
286 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
287 "@@@STEP_LOG_LINE@python.inline@@@@",
288 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
289 "@@@STEP_LOG_END@python.inline@@@"
290 ]
291 },
292 {
293 "cmd": [], 266 "cmd": [],
294 "name": "preprocess_for_goma" 267 "name": "preprocess_for_goma"
295 }, 268 },
296 { 269 {
297 "cmd": [ 270 "cmd": [
298 "python", 271 "python",
299 "-u", 272 "-u",
300 "[CACHE]/cipd/goma/goma_ctl.py", 273 "[CACHE]/cipd/goma/goma_ctl.py",
301 "restart" 274 "restart"
302 ], 275 ],
(...skipping 22 matching lines...) Expand all
325 "env": { 298 "env": {
326 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 299 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
327 }, 300 },
328 "name": "preprocess_for_goma.start cloudtail", 301 "name": "preprocess_for_goma.start cloudtail",
329 "~followup_annotations": [ 302 "~followup_annotations": [
330 "@@@STEP_NEST_LEVEL@1@@@" 303 "@@@STEP_NEST_LEVEL@1@@@"
331 ] 304 ]
332 }, 305 },
333 { 306 {
334 "cmd": [ 307 "cmd": [
308 "python",
309 "-u",
310 "\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"
311 ],
312 "name": "calculate the number of recommended jobs",
313 "stdout": "/path/to/tmp/",
314 "~followup_annotations": [
315 "@@@STEP_LOG_LINE@python.inline@@@@",
316 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
317 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
318 "@@@STEP_LOG_LINE@python.inline@@@@",
319 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
320 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
321 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
322 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
323 "@@@STEP_LOG_LINE@python.inline@@@@",
324 "@@@STEP_LOG_LINE@python.inline@try:@@@",
325 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
326 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
327 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
328 "@@@STEP_LOG_LINE@python.inline@@@@",
329 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
330 "@@@STEP_LOG_END@python.inline@@@"
331 ]
332 },
333 {
334 "cmd": [
335 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 335 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
336 "-j",
337 "50",
336 "-w", 338 "-w",
337 "dupbuild=err", 339 "dupbuild=err",
338 "-C", 340 "-C",
339 "[SLAVE_BUILD]/v8/out/Release", 341 "[SLAVE_BUILD]/v8/out/Release"
340 "-j",
341 "50"
342 ], 342 ],
343 "env": { 343 "env": {
344 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 344 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
345 }, 345 },
346 "name": "compile with ninja" 346 "name": "compile with ninja"
347 }, 347 },
348 { 348 {
349 "cmd": [], 349 "cmd": [],
350 "name": "postprocess_for_goma" 350 "name": "postprocess_for_goma"
351 }, 351 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 "-u", 401 "-u",
402 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 402 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
403 "--upload-compiler-proxy-info", 403 "--upload-compiler-proxy-info",
404 "--json-status", 404 "--json-status",
405 "[CACHE]/cipd/goma/jsonstatus", 405 "[CACHE]/cipd/goma/jsonstatus",
406 "--ninja-log-outdir", 406 "--ninja-log-outdir",
407 "[SLAVE_BUILD]/v8/out/Release", 407 "[SLAVE_BUILD]/v8/out/Release",
408 "--ninja-log-compiler", 408 "--ninja-log-compiler",
409 "goma", 409 "goma",
410 "--ninja-log-command", 410 "--ninja-log-command",
411 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/v8/out/Release', '-j', 50]", 411 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/v8/out/Release']",
412 "--ninja-log-exit-status", 412 "--ninja-log-exit-status",
413 "0", 413 "0",
414 "--buildbot-buildername", 414 "--buildbot-buildername",
415 "V8 Linux64 - builder", 415 "V8 Linux64 - builder",
416 "--buildbot-mastername", 416 "--buildbot-mastername",
417 "client.v8", 417 "client.v8",
418 "--buildbot-slavename", 418 "--buildbot-slavename",
419 "TestSlavename" 419 "TestSlavename"
420 ], 420 ],
421 "env": { 421 "env": {
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 "~followup_annotations": [ 622 "~followup_annotations": [
623 "@@@STEP_TEXT@v8_trigger_proxy@@@" 623 "@@@STEP_TEXT@v8_trigger_proxy@@@"
624 ] 624 ]
625 }, 625 },
626 { 626 {
627 "name": "$result", 627 "name": "$result",
628 "recipe_result": null, 628 "recipe_result": null,
629 "status_code": 0 629 "status_code": 0
630 } 630 }
631 ] 631 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698