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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/use_v8_patch_on_blink_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]/mac_layout", 7 "[BUILDER_CACHE]/mac_layout",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 "@@@STEP_LOG_LINE@json.output@ }@@@", 190 "@@@STEP_LOG_LINE@json.output@ }@@@",
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_END@json.output@@@" 193 "@@@STEP_LOG_END@json.output@@@"
194 ] 194 ]
195 }, 195 },
196 { 196 {
197 "cmd": [ 197 "cmd": [
198 "python", 198 "python",
199 "-u", 199 "-u",
200 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
201 ],
202 "name": "ensure_goma.get the number of cpus",
203 "stdout": "/path/to/tmp/",
204 "~followup_annotations": [
205 "@@@STEP_NEST_LEVEL@1@@@",
206 "@@@STEP_LOG_LINE@python.inline@@@@",
207 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
208 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
209 "@@@STEP_LOG_END@python.inline@@@"
210 ]
211 },
212 {
213 "cmd": [
214 "python",
215 "-u",
200 "[BUILDER_CACHE]/mac_layout/src/tools/swarming_client/swarming.py", 216 "[BUILDER_CACHE]/mac_layout/src/tools/swarming_client/swarming.py",
201 "--version" 217 "--version"
202 ], 218 ],
203 "name": "swarming.py --version", 219 "name": "swarming.py --version",
204 "stdout": "/path/to/tmp/", 220 "stdout": "/path/to/tmp/",
205 "~followup_annotations": [ 221 "~followup_annotations": [
206 "@@@STEP_TEXT@0.8.6@@@" 222 "@@@STEP_TEXT@0.8.6@@@"
207 ] 223 ]
208 }, 224 },
209 { 225 {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 "import sys; sys.exit(0)" 361 "import sys; sys.exit(0)"
346 ], 362 ],
347 "name": "mark: before_tests" 363 "name": "mark: before_tests"
348 }, 364 },
349 { 365 {
350 "name": "$result", 366 "name": "$result",
351 "recipe_result": null, 367 "recipe_result": null,
352 "status_code": 0 368 "status_code": 0
353 } 369 }
354 ] 370 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698