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

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

Powered by Google App Engine
This is Rietveld 408576698