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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/full_tryserver_blink_win7_blink_dbg.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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 "@@@STEP_LOG_LINE@json.output@ }@@@", 196 "@@@STEP_LOG_LINE@json.output@ }@@@",
197 "@@@STEP_LOG_LINE@json.output@ ]@@@", 197 "@@@STEP_LOG_LINE@json.output@ ]@@@",
198 "@@@STEP_LOG_LINE@json.output@}@@@", 198 "@@@STEP_LOG_LINE@json.output@}@@@",
199 "@@@STEP_LOG_END@json.output@@@" 199 "@@@STEP_LOG_END@json.output@@@"
200 ] 200 ]
201 }, 201 },
202 { 202 {
203 "cmd": [ 203 "cmd": [
204 "python", 204 "python",
205 "-u", 205 "-u",
206 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
207 ],
208 "name": "ensure_goma.get the number of cpus",
209 "stdout": "/path/to/tmp/",
210 "~followup_annotations": [
211 "@@@STEP_NEST_LEVEL@1@@@",
212 "@@@STEP_LOG_LINE@python.inline@@@@",
213 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
214 "@@@STEP_LOG_LINE@python.inline@@@@",
215 "@@@STEP_LOG_LINE@python.inline@try:@@@",
216 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
217 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
218 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
219 "@@@STEP_LOG_LINE@python.inline@@@@",
220 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
221 "@@@STEP_LOG_END@python.inline@@@"
222 ]
223 },
224 {
225 "cmd": [
226 "python",
227 "-u",
206 "[BUILDER_CACHE]\\win_layout\\src\\tools\\swarming_client\\swarming.py", 228 "[BUILDER_CACHE]\\win_layout\\src\\tools\\swarming_client\\swarming.py",
207 "--version" 229 "--version"
208 ], 230 ],
209 "name": "swarming.py --version", 231 "name": "swarming.py --version",
210 "stdout": "/path/to/tmp/", 232 "stdout": "/path/to/tmp/",
211 "~followup_annotations": [ 233 "~followup_annotations": [
212 "@@@STEP_TEXT@0.8.6@@@" 234 "@@@STEP_TEXT@0.8.6@@@"
213 ] 235 ]
214 }, 236 },
215 { 237 {
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 524 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
503 }, 525 },
504 "name": "process_dumps" 526 "name": "process_dumps"
505 }, 527 },
506 { 528 {
507 "name": "$result", 529 "name": "$result",
508 "recipe_result": null, 530 "recipe_result": null,
509 "status_code": 0 531 "status_code": 0
510 } 532 }
511 ] 533 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698