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

Side by Side Diff: scripts/slave/recipes/findit/chromium/compile.expected/compile_default_targets.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: Created 4 years, 3 months 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 "/opt/infra-tools/buildbucket", 4 "/opt/infra-tools/buildbucket",
5 "get", 5 "get",
6 "--host", 6 "--host",
7 "cr-buildbucket.appspot.com", 7 "cr-buildbucket.appspot.com",
8 "id1" 8 "id1"
9 ], 9 ],
10 "name": "buildbucket.get", 10 "name": "buildbucket.get",
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 "@@@STEP_LOG_LINE@json.output@ }@@@", 201 "@@@STEP_LOG_LINE@json.output@ }@@@",
202 "@@@STEP_LOG_LINE@json.output@ ]@@@", 202 "@@@STEP_LOG_LINE@json.output@ ]@@@",
203 "@@@STEP_LOG_LINE@json.output@}@@@", 203 "@@@STEP_LOG_LINE@json.output@}@@@",
204 "@@@STEP_LOG_END@json.output@@@" 204 "@@@STEP_LOG_END@json.output@@@"
205 ] 205 ]
206 }, 206 },
207 { 207 {
208 "cmd": [ 208 "cmd": [
209 "python", 209 "python",
210 "-u", 210 "-u",
211 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
212 ],
213 "name": "ensure_goma.get the number of cpus",
214 "stdout": "/path/to/tmp/",
215 "~followup_annotations": [
216 "@@@STEP_NEST_LEVEL@1@@@",
217 "@@@STEP_LOG_LINE@python.inline@@@@",
218 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
219 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
220 "@@@STEP_LOG_END@python.inline@@@"
221 ]
222 },
223 {
224 "cmd": [
225 "python",
226 "-u",
211 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", 227 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py",
212 "--version" 228 "--version"
213 ], 229 ],
214 "name": "swarming.py --version", 230 "name": "swarming.py --version",
215 "stdout": "/path/to/tmp/", 231 "stdout": "/path/to/tmp/",
216 "~followup_annotations": [ 232 "~followup_annotations": [
217 "@@@STEP_TEXT@0.8.6@@@" 233 "@@@STEP_TEXT@0.8.6@@@"
218 ] 234 ]
219 }, 235 },
220 { 236 {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 "@@@STEP_LOG_LINE@json.output@ }@@@", 493 "@@@STEP_LOG_LINE@json.output@ }@@@",
478 "@@@STEP_LOG_LINE@json.output@ ]@@@", 494 "@@@STEP_LOG_LINE@json.output@ ]@@@",
479 "@@@STEP_LOG_LINE@json.output@}@@@", 495 "@@@STEP_LOG_LINE@json.output@}@@@",
480 "@@@STEP_LOG_END@json.output@@@" 496 "@@@STEP_LOG_END@json.output@@@"
481 ] 497 ]
482 }, 498 },
483 { 499 {
484 "cmd": [ 500 "cmd": [
485 "python", 501 "python",
486 "-u", 502 "-u",
503 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
504 ],
505 "name": "test r1.ensure_goma.get the number of cpus",
506 "stdout": "/path/to/tmp/",
507 "~followup_annotations": [
508 "@@@STEP_NEST_LEVEL@2@@@",
509 "@@@STEP_LOG_LINE@python.inline@@@@",
510 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
511 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
512 "@@@STEP_LOG_END@python.inline@@@"
513 ]
514 },
515 {
516 "cmd": [
517 "python",
518 "-u",
487 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 519 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
488 "runhooks" 520 "runhooks"
489 ], 521 ],
490 "cwd": "[BUILDER_CACHE]/linux/src", 522 "cwd": "[BUILDER_CACHE]/linux/src",
491 "env": { 523 "env": {
492 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 524 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
493 "GYP_CHROMIUM_NO_ACTION": "1", 525 "GYP_CHROMIUM_NO_ACTION": "1",
494 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1", 526 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library ffmpeg_brandi ng=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=x64 test_ isolation_mode=prepare use_goma=1",
495 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 527 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
496 }, 528 },
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 "@@@STEP_LOG_END@report@@@", 684 "@@@STEP_LOG_END@report@@@",
653 "@@@SET_BUILD_PROPERTY@report@{\"metadata\": {\"regression_range_size\": 1 , \"sub_ranges\": [[null, \"r1\"]], \"use_bisect\": false}, \"result\": {\"r1\": \"passed\"}}@@@" 685 "@@@SET_BUILD_PROPERTY@report@{\"metadata\": {\"regression_range_size\": 1 , \"sub_ranges\": [[null, \"r1\"]], \"use_bisect\": false}, \"result\": {\"r1\": \"passed\"}}@@@"
654 ] 686 ]
655 }, 687 },
656 { 688 {
657 "name": "$result", 689 "name": "$result",
658 "recipe_result": null, 690 "recipe_result": null,
659 "status_code": 0 691 "status_code": 0
660 } 692 }
661 ] 693 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698