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

Side by Side Diff: scripts/slave/recipes/findit/chromium/test.expected/all_test_passed.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py" 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\kill_processes.py"
7 ], 7 ],
8 "name": "taskkill" 8 "name": "taskkill"
9 }, 9 },
10 { 10 {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 "@@@STEP_LOG_LINE@json.output@ }@@@", 190 "@@@STEP_LOG_LINE@json.output@ }@@@",
191 "@@@STEP_LOG_LINE@json.output@ ]@@@", 191 "@@@STEP_LOG_LINE@json.output@ ]@@@",
192 "@@@STEP_LOG_LINE@json.output@}@@@", 192 "@@@STEP_LOG_LINE@json.output@}@@@",
193 "@@@STEP_LOG_END@json.output@@@" 193 "@@@STEP_LOG_END@json.output@@@"
194 ] 194 ]
195 }, 195 },
196 { 196 {
197 "cmd": [ 197 "cmd": [
198 "python", 198 "python",
199 "-u", 199 "-u",
200 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
201 ],
202 "name": "ensure_goma.get the number of cpus",
203 "stdout": "/path/to/tmp/",
204 "~followup_annotations": [
205 "@@@STEP_NEST_LEVEL@1@@@",
206 "@@@STEP_LOG_LINE@python.inline@@@@",
207 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
208 "@@@STEP_LOG_LINE@python.inline@@@@",
209 "@@@STEP_LOG_LINE@python.inline@try:@@@",
210 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
211 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
212 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
213 "@@@STEP_LOG_LINE@python.inline@@@@",
214 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
215 "@@@STEP_LOG_END@python.inline@@@"
216 ]
217 },
218 {
219 "cmd": [
220 "python",
221 "-u",
200 "[BUILDER_CACHE]\\win\\src\\tools\\swarming_client\\swarming.py", 222 "[BUILDER_CACHE]\\win\\src\\tools\\swarming_client\\swarming.py",
201 "--version" 223 "--version"
202 ], 224 ],
203 "name": "swarming.py --version", 225 "name": "swarming.py --version",
204 "stdout": "/path/to/tmp/", 226 "stdout": "/path/to/tmp/",
205 "~followup_annotations": [ 227 "~followup_annotations": [
206 "@@@STEP_TEXT@0.8.6@@@" 228 "@@@STEP_TEXT@0.8.6@@@"
207 ] 229 ]
208 }, 230 },
209 { 231 {
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 "@@@STEP_LOG_LINE@json.output@ }@@@", 510 "@@@STEP_LOG_LINE@json.output@ }@@@",
489 "@@@STEP_LOG_LINE@json.output@ ]@@@", 511 "@@@STEP_LOG_LINE@json.output@ ]@@@",
490 "@@@STEP_LOG_LINE@json.output@}@@@", 512 "@@@STEP_LOG_LINE@json.output@}@@@",
491 "@@@STEP_LOG_END@json.output@@@" 513 "@@@STEP_LOG_END@json.output@@@"
492 ] 514 ]
493 }, 515 },
494 { 516 {
495 "cmd": [ 517 "cmd": [
496 "python", 518 "python",
497 "-u", 519 "-u",
520 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
521 ],
522 "name": "test r1.ensure_goma.get the number of cpus",
523 "stdout": "/path/to/tmp/",
524 "~followup_annotations": [
525 "@@@STEP_NEST_LEVEL@2@@@",
526 "@@@STEP_LOG_LINE@python.inline@@@@",
527 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
528 "@@@STEP_LOG_LINE@python.inline@@@@",
529 "@@@STEP_LOG_LINE@python.inline@try:@@@",
530 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
531 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
532 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
533 "@@@STEP_LOG_LINE@python.inline@@@@",
534 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
535 "@@@STEP_LOG_END@python.inline@@@"
536 ]
537 },
538 {
539 "cmd": [
540 "python",
541 "-u",
498 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 542 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
499 "runhooks" 543 "runhooks"
500 ], 544 ],
501 "cwd": "[BUILDER_CACHE]\\win\\src", 545 "cwd": "[BUILDER_CACHE]\\win\\src",
502 "env": { 546 "env": {
503 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json", 547 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json",
504 "GYP_CHROMIUM_NO_ACTION": "1", 548 "GYP_CHROMIUM_NO_ACTION": "1",
505 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library fastbuild=1 f fmpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' proprietary_codecs=1 target_ arch=ia32 test_isolation_mode=prepare use_goma=1", 549 "GYP_DEFINES": "archive_gpu_tests=1 component=static_library fastbuild=1 f fmpeg_branding=Chrome gomadir='[CACHE]\\cipd\\goma' proprietary_codecs=1 target_ arch=ia32 test_isolation_mode=prepare use_goma=1",
506 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]" 550 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
507 }, 551 },
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 "@@@STEP_LOG_END@report@@@", 928 "@@@STEP_LOG_END@report@@@",
885 "@@@SET_BUILD_PROPERTY@report@{\"metadata\": {\"regression_range_size\": 1 }, \"result\": {\"r1\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true} }}}@@@" 929 "@@@SET_BUILD_PROPERTY@report@{\"metadata\": {\"regression_range_size\": 1 }, \"result\": {\"r1\": {\"gl_tests\": {\"status\": \"passed\", \"valid\": true} }}}@@@"
886 ] 930 ]
887 }, 931 },
888 { 932 {
889 "name": "$result", 933 "name": "$result",
890 "recipe_result": null, 934 "recipe_result": null,
891 "status_code": 0 935 "status_code": 0
892 } 936 }
893 ] 937 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698