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

Side by Side Diff: scripts/slave/recipes/ios/unified_builder_tester.expected/goma.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]/ios/src/out/Release-iphoneos", 367 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
366 "-j",
367 "50",
368 "All" 368 "All"
369 ], 369 ],
370 "cwd": "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 370 "cwd": "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
371 "env": { 371 "env": {
372 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 372 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
373 }, 373 },
374 "name": "compile with ninja" 374 "name": "compile with ninja"
375 }, 375 },
376 { 376 {
377 "cmd": [], 377 "cmd": [],
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 "-u", 429 "-u",
430 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 430 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
431 "--upload-compiler-proxy-info", 431 "--upload-compiler-proxy-info",
432 "--json-status", 432 "--json-status",
433 "[CACHE]/cipd/goma/jsonstatus", 433 "[CACHE]/cipd/goma/jsonstatus",
434 "--ninja-log-outdir", 434 "--ninja-log-outdir",
435 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos", 435 "[BUILDER_CACHE]/ios/src/out/Release-iphoneos",
436 "--ninja-log-compiler", 436 "--ninja-log-compiler",
437 "goma-clang", 437 "goma-clang",
438 "--ninja-log-command", 438 "--ninja-log-command",
439 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios/src/out/Release-iphoneos', '-j', 50, 'All']", 439 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/ios/src/out/Release-iphoneos', 'All']",
440 "--ninja-log-exit-status", 440 "--ninja-log-exit-status",
441 "0", 441 "0",
442 "--buildbot-buildername", 442 "--buildbot-buildername",
443 "ios", 443 "ios",
444 "--buildbot-mastername", 444 "--buildbot-mastername",
445 "chromium.fake", 445 "chromium.fake",
446 "--buildbot-slavename", 446 "--buildbot-slavename",
447 "fake-vm" 447 "fake-vm"
448 ], 448 ],
449 "env": { 449 "env": {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 { 632 {
633 "cmd": [], 633 "cmd": [],
634 "name": "trigger" 634 "name": "trigger"
635 }, 635 },
636 { 636 {
637 "name": "$result", 637 "name": "$result",
638 "recipe_result": null, 638 "recipe_result": null,
639 "status_code": 0 639 "status_code": 0
640 } 640 }
641 ] 641 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698