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

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: 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 "@@@STEP_LOG_LINE@json.output@ }@@@", 195 "@@@STEP_LOG_LINE@json.output@ }@@@",
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_END@json.output@@@" 198 "@@@STEP_LOG_END@json.output@@@"
199 ] 199 ]
200 }, 200 },
201 { 201 {
202 "cmd": [ 202 "cmd": [
203 "python", 203 "python",
204 "-u", 204 "-u",
205 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
206 ],
207 "name": "ensure_goma.get the number of cpus",
208 "stdout": "/path/to/tmp/",
209 "~followup_annotations": [
210 "@@@STEP_NEST_LEVEL@1@@@",
211 "@@@STEP_LOG_LINE@python.inline@@@@",
212 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
213 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
214 "@@@STEP_LOG_END@python.inline@@@"
215 ]
216 },
217 {
218 "cmd": [
219 "python",
220 "-u",
205 "\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", 221 "\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",
206 "[BUILDER_CACHE]\\win_archive\\src\\out\\Release" 222 "[BUILDER_CACHE]\\win_archive\\src\\out\\Release"
207 ], 223 ],
208 "name": "rmtree clobber", 224 "name": "rmtree clobber",
209 "~followup_annotations": [ 225 "~followup_annotations": [
210 "@@@STEP_LOG_LINE@python.inline@@@@", 226 "@@@STEP_LOG_LINE@python.inline@@@@",
211 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 227 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
212 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 228 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
213 "@@@STEP_LOG_LINE@python.inline@@@@", 229 "@@@STEP_LOG_LINE@python.inline@@@@",
214 "@@@STEP_LOG_LINE@python.inline@@@@", 230 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 "import sys; sys.exit(0)" 446 "import sys; sys.exit(0)"
431 ], 447 ],
432 "name": "mark: before_tests" 448 "name": "mark: before_tests"
433 }, 449 },
434 { 450 {
435 "name": "$result", 451 "name": "$result",
436 "recipe_result": null, 452 "recipe_result": null,
437 "status_code": 0 453 "status_code": 0
438 } 454 }
439 ] 455 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698