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

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

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: use 80 for linux 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_LINE@json.output@}@@@", 204 "@@@STEP_LOG_LINE@json.output@}@@@",
205 "@@@STEP_LOG_END@json.output@@@" 205 "@@@STEP_LOG_END@json.output@@@"
206 ] 206 ]
207 }, 207 },
208 { 208 {
209 "cmd": [ 209 "cmd": [
210 "python", 210 "python",
211 "-u", 211 "-u",
212 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
213 ],
214 "name": "ensure_goma.get the number of cpus",
215 "stdout": "/path/to/tmp/",
216 "~followup_annotations": [
217 "@@@STEP_NEST_LEVEL@1@@@",
218 "@@@STEP_LOG_LINE@python.inline@@@@",
219 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
220 "@@@STEP_LOG_LINE@python.inline@@@@",
221 "@@@STEP_LOG_LINE@python.inline@try:@@@",
222 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
223 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
224 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
225 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
227 "@@@STEP_LOG_END@python.inline@@@"
228 ]
229 },
230 {
231 "cmd": [
232 "python",
233 "-u",
212 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", 234 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py",
213 "--version" 235 "--version"
214 ], 236 ],
215 "name": "swarming.py --version", 237 "name": "swarming.py --version",
216 "stdout": "/path/to/tmp/", 238 "stdout": "/path/to/tmp/",
217 "~followup_annotations": [ 239 "~followup_annotations": [
218 "@@@STEP_TEXT@0.8.6@@@" 240 "@@@STEP_TEXT@0.8.6@@@"
219 ] 241 ]
220 }, 242 },
221 { 243 {
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 "@@@STEP_LOG_LINE@json.output@ }@@@", 501 "@@@STEP_LOG_LINE@json.output@ }@@@",
480 "@@@STEP_LOG_LINE@json.output@ ]@@@", 502 "@@@STEP_LOG_LINE@json.output@ ]@@@",
481 "@@@STEP_LOG_LINE@json.output@}@@@", 503 "@@@STEP_LOG_LINE@json.output@}@@@",
482 "@@@STEP_LOG_END@json.output@@@" 504 "@@@STEP_LOG_END@json.output@@@"
483 ] 505 ]
484 }, 506 },
485 { 507 {
486 "cmd": [ 508 "cmd": [
487 "python", 509 "python",
488 "-u", 510 "-u",
511 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
512 ],
513 "name": "test r1.ensure_goma.get the number of cpus",
514 "stdout": "/path/to/tmp/",
515 "~followup_annotations": [
516 "@@@STEP_NEST_LEVEL@2@@@",
517 "@@@STEP_LOG_LINE@python.inline@@@@",
518 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
519 "@@@STEP_LOG_LINE@python.inline@@@@",
520 "@@@STEP_LOG_LINE@python.inline@try:@@@",
521 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
522 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
523 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
524 "@@@STEP_LOG_LINE@python.inline@@@@",
525 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
526 "@@@STEP_LOG_END@python.inline@@@"
527 ]
528 },
529 {
530 "cmd": [
531 "python",
532 "-u",
489 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 533 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
490 "runhooks" 534 "runhooks"
491 ], 535 ],
492 "cwd": "[BUILDER_CACHE]/linux/src", 536 "cwd": "[BUILDER_CACHE]/linux/src",
493 "env": { 537 "env": {
494 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 538 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
495 "GYP_CHROMIUM_NO_ACTION": "1", 539 "GYP_CHROMIUM_NO_ACTION": "1",
496 "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", 540 "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",
497 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 541 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
498 }, 542 },
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 "@@@STEP_LOG_END@report@@@", 697 "@@@STEP_LOG_END@report@@@",
654 "@@@SET_BUILD_PROPERTY@report@{\"culprit\": \"r1\", \"metadata\": {\"regre ssion_range_size\": 1, \"sub_ranges\": [[null, \"r1\"]], \"use_bisect\": false}, \"result\": {\"r1\": \"failed\"}}@@@" 698 "@@@SET_BUILD_PROPERTY@report@{\"culprit\": \"r1\", \"metadata\": {\"regre ssion_range_size\": 1, \"sub_ranges\": [[null, \"r1\"]], \"use_bisect\": false}, \"result\": {\"r1\": \"failed\"}}@@@"
655 ] 699 ]
656 }, 700 },
657 { 701 {
658 "name": "$result", 702 "name": "$result",
659 "recipe_result": null, 703 "recipe_result": null,
660 "status_code": 0 704 "status_code": 0
661 } 705 }
662 ] 706 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698