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

Side by Side Diff: scripts/slave/recipes/ios/try.expected/gyp_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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 }, 397 },
398 "name": "clang_revision", 398 "name": "clang_revision",
399 "~followup_annotations": [ 399 "~followup_annotations": [
400 "@@@STEP_LOG_LINE@json.output@{@@@", 400 "@@@STEP_LOG_LINE@json.output@{@@@",
401 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 401 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
402 "@@@STEP_LOG_LINE@json.output@}@@@", 402 "@@@STEP_LOG_LINE@json.output@}@@@",
403 "@@@STEP_LOG_END@json.output@@@" 403 "@@@STEP_LOG_END@json.output@@@"
404 ] 404 ]
405 }, 405 },
406 { 406 {
407 "cmd": [
408 "python",
409 "-u",
410 "\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"
411 ],
412 "name": "calculate the number of recommended jobs",
413 "stdout": "/path/to/tmp/",
414 "~followup_annotations": [
415 "@@@STEP_LOG_LINE@python.inline@@@@",
416 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
417 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
418 "@@@STEP_LOG_LINE@python.inline@@@@",
419 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
420 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
421 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
422 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
423 "@@@STEP_LOG_LINE@python.inline@@@@",
424 "@@@STEP_LOG_LINE@python.inline@try:@@@",
425 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
426 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
427 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
428 "@@@STEP_LOG_LINE@python.inline@@@@",
429 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
430 "@@@STEP_LOG_END@python.inline@@@"
431 ]
432 },
433 {
434 "cmd": [], 407 "cmd": [],
435 "name": "preprocess_for_goma" 408 "name": "preprocess_for_goma"
436 }, 409 },
437 { 410 {
438 "cmd": [ 411 "cmd": [
439 "python", 412 "python",
440 "-u", 413 "-u",
441 "[CACHE]/cipd/goma/goma_ctl.py", 414 "[CACHE]/cipd/goma/goma_ctl.py",
442 "restart" 415 "restart"
443 ], 416 ],
(...skipping 22 matching lines...) Expand all
466 "env": { 439 "env": {
467 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 440 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
468 }, 441 },
469 "name": "preprocess_for_goma.start cloudtail", 442 "name": "preprocess_for_goma.start cloudtail",
470 "~followup_annotations": [ 443 "~followup_annotations": [
471 "@@@STEP_NEST_LEVEL@1@@@" 444 "@@@STEP_NEST_LEVEL@1@@@"
472 ] 445 ]
473 }, 446 },
474 { 447 {
475 "cmd": [ 448 "cmd": [
449 "python",
450 "-u",
451 "\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"
452 ],
453 "name": "calculate the number of recommended jobs",
454 "stdout": "/path/to/tmp/",
455 "~followup_annotations": [
456 "@@@STEP_LOG_LINE@python.inline@@@@",
457 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
458 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
459 "@@@STEP_LOG_LINE@python.inline@@@@",
460 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
461 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
462 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
463 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
464 "@@@STEP_LOG_LINE@python.inline@@@@",
465 "@@@STEP_LOG_LINE@python.inline@try:@@@",
466 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
467 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
468 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
469 "@@@STEP_LOG_LINE@python.inline@@@@",
470 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
471 "@@@STEP_LOG_END@python.inline@@@"
472 ]
473 },
474 {
475 "cmd": [
476 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 476 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
477 "-j",
478 "50",
477 "-w", 479 "-w",
478 "dupbuild=err", 480 "dupbuild=err",
479 "-C", 481 "-C",
480 "[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator", 482 "[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator",
481 "-j",
482 "50",
483 "All", 483 "All",
484 "fake tests" 484 "fake tests"
485 ], 485 ],
486 "cwd": "[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator", 486 "cwd": "[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator",
487 "env": { 487 "env": {
488 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 488 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
489 }, 489 },
490 "name": "compile with ninja" 490 "name": "compile with ninja"
491 }, 491 },
492 { 492 {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 "-u", 545 "-u",
546 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 546 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
547 "--upload-compiler-proxy-info", 547 "--upload-compiler-proxy-info",
548 "--json-status", 548 "--json-status",
549 "[CACHE]/cipd/goma/jsonstatus", 549 "[CACHE]/cipd/goma/jsonstatus",
550 "--ninja-log-outdir", 550 "--ninja-log-outdir",
551 "[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator", 551 "[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator",
552 "--ninja-log-compiler", 552 "--ninja-log-compiler",
553 "goma-clang", 553 "goma-clang",
554 "--ninja-log-command", 554 "--ninja-log-command",
555 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator', '-j', 50, 'All', 'f ake tests']", 555 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[BUILDER_CACHE]/ios_simulator/src/out/Debug-iphonesimulator', 'All', 'f ake tests']",
556 "--ninja-log-exit-status", 556 "--ninja-log-exit-status",
557 "0", 557 "0",
558 "--buildbot-buildername", 558 "--buildbot-buildername",
559 "ios-simulator", 559 "ios-simulator",
560 "--buildbot-mastername", 560 "--buildbot-mastername",
561 "tryserver.fake", 561 "tryserver.fake",
562 "--buildbot-slavename", 562 "--buildbot-slavename",
563 "fake-vm" 563 "fake-vm"
564 ], 564 ],
565 "env": { 565 "env": {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 "@@@STEP_LOG_END@json.output@@@", 961 "@@@STEP_LOG_END@json.output@@@",
962 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@" 962 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
963 ] 963 ]
964 }, 964 },
965 { 965 {
966 "name": "$result", 966 "name": "$result",
967 "recipe_result": null, 967 "recipe_result": null,
968 "status_code": 0 968 "status_code": 0
969 } 969 }
970 ] 970 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698