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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/runhooks_failure.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\\src\\tools\\swarming_client\\swarming.py", 228 "[BUILDER_CACHE]\\win\\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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 "@@@SET_BUILD_PROPERTY@failure_hash@\"c18cfb87382155d691c887ecad8e8bf7cdf0 fab3\"@@@" 387 "@@@SET_BUILD_PROPERTY@failure_hash@\"c18cfb87382155d691c887ecad8e8bf7cdf0 fab3\"@@@"
366 ] 388 ]
367 }, 389 },
368 { 390 {
369 "name": "$result", 391 "name": "$result",
370 "reason": "Step('gclient runhooks (without patch)') failed with return_code 1", 392 "reason": "Step('gclient runhooks (without patch)') failed with return_code 1",
371 "recipe_result": null, 393 "recipe_result": null,
372 "status_code": 1 394 "status_code": 1
373 } 395 }
374 ] 396 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698