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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/use_webrtc_patch_on_chromium_trybot.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 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/linux", 7 "[BUILDER_CACHE]/linux",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "@@@STEP_LOG_LINE@json.output@ }@@@", 191 "@@@STEP_LOG_LINE@json.output@ }@@@",
192 "@@@STEP_LOG_LINE@json.output@ ]@@@", 192 "@@@STEP_LOG_LINE@json.output@ ]@@@",
193 "@@@STEP_LOG_LINE@json.output@}@@@", 193 "@@@STEP_LOG_LINE@json.output@}@@@",
194 "@@@STEP_LOG_END@json.output@@@" 194 "@@@STEP_LOG_END@json.output@@@"
195 ] 195 ]
196 }, 196 },
197 { 197 {
198 "cmd": [ 198 "cmd": [
199 "python", 199 "python",
200 "-u", 200 "-u",
201 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
202 ],
203 "name": "ensure_goma.get the number of cpus",
204 "stdout": "/path/to/tmp/",
205 "~followup_annotations": [
206 "@@@STEP_NEST_LEVEL@1@@@",
207 "@@@STEP_LOG_LINE@python.inline@@@@",
208 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
209 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
210 "@@@STEP_LOG_END@python.inline@@@"
211 ]
212 },
213 {
214 "cmd": [
215 "python",
216 "-u",
201 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py", 217 "[BUILDER_CACHE]/linux/src/tools/swarming_client/swarming.py",
202 "--version" 218 "--version"
203 ], 219 ],
204 "name": "swarming.py --version", 220 "name": "swarming.py --version",
205 "stdout": "/path/to/tmp/", 221 "stdout": "/path/to/tmp/",
206 "~followup_annotations": [ 222 "~followup_annotations": [
207 "@@@STEP_TEXT@0.8.6@@@" 223 "@@@STEP_TEXT@0.8.6@@@"
208 ] 224 ]
209 }, 225 },
210 { 226 {
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 "import sys; sys.exit(0)" 378 "import sys; sys.exit(0)"
363 ], 379 ],
364 "name": "mark: before_tests" 380 "name": "mark: before_tests"
365 }, 381 },
366 { 382 {
367 "name": "$result", 383 "name": "$result",
368 "recipe_result": null, 384 "recipe_result": null,
369 "status_code": 0 385 "status_code": 0
370 } 386 }
371 ] 387 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698