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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_archive.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 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 228 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
207 "[BUILDER_CACHE]\\win_archive\\src\\out\\Release" 229 "[BUILDER_CACHE]\\win_archive\\src\\out\\Release"
208 ], 230 ],
209 "name": "rmtree clobber", 231 "name": "rmtree clobber",
210 "~followup_annotations": [ 232 "~followup_annotations": [
211 "@@@STEP_LOG_LINE@python.inline@@@@", 233 "@@@STEP_LOG_LINE@python.inline@@@@",
212 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 234 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
213 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 235 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
214 "@@@STEP_LOG_LINE@python.inline@@@@", 236 "@@@STEP_LOG_LINE@python.inline@@@@",
215 "@@@STEP_LOG_LINE@python.inline@@@@", 237 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 "import sys; sys.exit(0)" 453 "import sys; sys.exit(0)"
432 ], 454 ],
433 "name": "mark: before_tests" 455 "name": "mark: before_tests"
434 }, 456 },
435 { 457 {
436 "name": "$result", 458 "name": "$result",
437 "recipe_result": null, 459 "recipe_result": null,
438 "status_code": 0 460 "status_code": 0
439 } 461 }
440 ] 462 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698