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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_client_skia_Win7_Tests__1_.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 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]\\Win7_Tests__1_\\src\\tools\\swarming_client\\swarming.py ", 234 "[BUILDER_CACHE]\\Win7_Tests__1_\\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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json" 555 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac count-goma-client.json"
534 }, 556 },
535 "name": "process_dumps" 557 "name": "process_dumps"
536 }, 558 },
537 { 559 {
538 "name": "$result", 560 "name": "$result",
539 "recipe_result": null, 561 "recipe_result": null,
540 "status_code": 0 562 "status_code": 0
541 } 563 }
542 ] 564 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698