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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_mac64_debug.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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 }, 282 },
283 "name": "clang_revision", 283 "name": "clang_revision",
284 "~followup_annotations": [ 284 "~followup_annotations": [
285 "@@@STEP_LOG_LINE@json.output@{@@@", 285 "@@@STEP_LOG_LINE@json.output@{@@@",
286 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 286 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
287 "@@@STEP_LOG_LINE@json.output@}@@@", 287 "@@@STEP_LOG_LINE@json.output@}@@@",
288 "@@@STEP_LOG_END@json.output@@@" 288 "@@@STEP_LOG_END@json.output@@@"
289 ] 289 ]
290 }, 290 },
291 { 291 {
292 "cmd": [
293 "python",
294 "-u",
295 "\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"
296 ],
297 "name": "calculate the number of recommended jobs",
298 "stdout": "/path/to/tmp/",
299 "~followup_annotations": [
300 "@@@STEP_LOG_LINE@python.inline@@@@",
301 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
302 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
303 "@@@STEP_LOG_LINE@python.inline@@@@",
304 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
305 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
306 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
307 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
308 "@@@STEP_LOG_LINE@python.inline@@@@",
309 "@@@STEP_LOG_LINE@python.inline@try:@@@",
310 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
311 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
312 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
313 "@@@STEP_LOG_LINE@python.inline@@@@",
314 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
315 "@@@STEP_LOG_END@python.inline@@@"
316 ]
317 },
318 {
319 "cmd": [], 292 "cmd": [],
320 "name": "preprocess_for_goma" 293 "name": "preprocess_for_goma"
321 }, 294 },
322 { 295 {
323 "cmd": [ 296 "cmd": [
324 "python", 297 "python",
325 "-u", 298 "-u",
326 "[CACHE]/cipd/goma/goma_ctl.py", 299 "[CACHE]/cipd/goma/goma_ctl.py",
327 "restart" 300 "restart"
328 ], 301 ],
(...skipping 22 matching lines...) Expand all
351 "env": { 324 "env": {
352 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 325 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
353 }, 326 },
354 "name": "preprocess_for_goma.start cloudtail", 327 "name": "preprocess_for_goma.start cloudtail",
355 "~followup_annotations": [ 328 "~followup_annotations": [
356 "@@@STEP_NEST_LEVEL@1@@@" 329 "@@@STEP_NEST_LEVEL@1@@@"
357 ] 330 ]
358 }, 331 },
359 { 332 {
360 "cmd": [ 333 "cmd": [
334 "python",
335 "-u",
336 "\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"
337 ],
338 "name": "calculate the number of recommended jobs",
339 "stdout": "/path/to/tmp/",
340 "~followup_annotations": [
341 "@@@STEP_LOG_LINE@python.inline@@@@",
342 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
343 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
344 "@@@STEP_LOG_LINE@python.inline@@@@",
345 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
346 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
347 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
348 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
349 "@@@STEP_LOG_LINE@python.inline@@@@",
350 "@@@STEP_LOG_LINE@python.inline@try:@@@",
351 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
352 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
353 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
354 "@@@STEP_LOG_LINE@python.inline@@@@",
355 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
356 "@@@STEP_LOG_END@python.inline@@@"
357 ]
358 },
359 {
360 "cmd": [
361 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 361 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
362 "-j",
363 "50",
362 "-w", 364 "-w",
363 "dupbuild=err", 365 "dupbuild=err",
364 "-C", 366 "-C",
365 "[BUILDER_CACHE]/Mac64_Debug/src/out/Debug", 367 "[BUILDER_CACHE]/Mac64_Debug/src/out/Debug"
366 "-j",
367 "50"
368 ], 368 ],
369 "env": { 369 "env": {
370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 370 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
371 }, 371 },
372 "name": "compile with ninja" 372 "name": "compile with ninja"
373 }, 373 },
374 { 374 {
375 "cmd": [], 375 "cmd": [],
376 "name": "postprocess_for_goma" 376 "name": "postprocess_for_goma"
377 }, 377 },
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 "-u", 427 "-u",
428 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 428 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
429 "--upload-compiler-proxy-info", 429 "--upload-compiler-proxy-info",
430 "--json-status", 430 "--json-status",
431 "[CACHE]/cipd/goma/jsonstatus", 431 "[CACHE]/cipd/goma/jsonstatus",
432 "--ninja-log-outdir", 432 "--ninja-log-outdir",
433 "[BUILDER_CACHE]/Mac64_Debug/src/out/Debug", 433 "[BUILDER_CACHE]/Mac64_Debug/src/out/Debug",
434 "--ninja-log-compiler", 434 "--ninja-log-compiler",
435 "goma-clang", 435 "goma-clang",
436 "--ninja-log-command", 436 "--ninja-log-command",
437 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/Mac64_Debug/src/out/Debug', '-j', 50]", 437 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/Mac64_Debug/src/out/Debug']",
438 "--ninja-log-exit-status", 438 "--ninja-log-exit-status",
439 "0", 439 "0",
440 "--buildbot-buildername", 440 "--buildbot-buildername",
441 "Mac64 Debug", 441 "Mac64 Debug",
442 "--buildbot-mastername", 442 "--buildbot-mastername",
443 "client.webrtc", 443 "client.webrtc",
444 "--buildbot-slavename", 444 "--buildbot-slavename",
445 "slavename" 445 "slavename"
446 ], 446 ],
447 "env": { 447 "env": {
(...skipping 2795 matching lines...) Expand 10 before | Expand all | Expand 10 after
3243 "@@@STEP_LOG_END@json.output@@@", 3243 "@@@STEP_LOG_END@json.output@@@",
3244 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 3244 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
3245 ] 3245 ]
3246 }, 3246 },
3247 { 3247 {
3248 "name": "$result", 3248 "name": "$result",
3249 "recipe_result": null, 3249 "recipe_result": null,
3250 "status_code": 0 3250 "status_code": 0
3251 } 3251 }
3252 ] 3252 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698