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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/chromeos_analyze.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 "\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]/chromeos_amd64_generic_chromium_compile_only_ng", 7 "[BUILDER_CACHE]/chromeos_amd64_generic_chromium_compile_only_ng",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@", 187 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
188 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@", 188 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
189 "@@@STEP_LOG_LINE@json.output@ }@@@", 189 "@@@STEP_LOG_LINE@json.output@ }@@@",
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_END@json.output@@@" 192 "@@@STEP_LOG_END@json.output@@@"
193 ] 193 ]
194 }, 194 },
195 { 195 {
196 "cmd": [ 196 "cmd": [
197 "python",
198 "-u",
199 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
200 ],
201 "name": "ensure_goma.get the number of cpus",
202 "stdout": "/path/to/tmp/",
203 "~followup_annotations": [
204 "@@@STEP_NEST_LEVEL@1@@@",
205 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
207 "@@@STEP_LOG_LINE@python.inline@@@@",
208 "@@@STEP_LOG_LINE@python.inline@try:@@@",
209 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
210 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
211 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
212 "@@@STEP_LOG_LINE@python.inline@@@@",
213 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
214 "@@@STEP_LOG_END@python.inline@@@"
215 ]
216 },
217 {
218 "cmd": [
197 "RECIPE_PACKAGE_REPO[depot_tools]/cros", 219 "RECIPE_PACKAGE_REPO[depot_tools]/cros",
198 "chrome-sdk", 220 "chrome-sdk",
199 "--board=amd64-generic", 221 "--board=amd64-generic",
200 "--nocolor", 222 "--nocolor",
201 "--use-external-config", 223 "--use-external-config",
202 "--clear-sdk-cache", 224 "--clear-sdk-cache",
203 "--gomadir", 225 "--gomadir",
204 "[CACHE]/cipd/goma", 226 "[CACHE]/cipd/goma",
205 "--fastbuild", 227 "--fastbuild",
206 "--", 228 "--",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 "import sys; sys.exit(0)" 373 "import sys; sys.exit(0)"
352 ], 374 ],
353 "name": "mark: before_tests" 375 "name": "mark: before_tests"
354 }, 376 },
355 { 377 {
356 "name": "$result", 378 "name": "$result",
357 "recipe_result": null, 379 "recipe_result": null,
358 "status_code": 0 380 "status_code": 0
359 } 381 }
360 ] 382 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698