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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_client_v8_fyi_Chromium_ASAN___debug.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]/Chromium_ASAN___debug", 7 "[BUILDER_CACHE]/Chromium_ASAN___debug",
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@ }@@@", 187 "@@@STEP_LOG_LINE@json.output@ }@@@",
188 "@@@STEP_LOG_LINE@json.output@ ]@@@", 188 "@@@STEP_LOG_LINE@json.output@ ]@@@",
189 "@@@STEP_LOG_LINE@json.output@}@@@", 189 "@@@STEP_LOG_LINE@json.output@}@@@",
190 "@@@STEP_LOG_END@json.output@@@" 190 "@@@STEP_LOG_END@json.output@@@"
191 ] 191 ]
192 }, 192 },
193 { 193 {
194 "cmd": [ 194 "cmd": [
195 "python", 195 "python",
196 "-u", 196 "-u",
197 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
198 ],
199 "name": "ensure_goma.get the number of cpus",
200 "stdout": "/path/to/tmp/",
201 "~followup_annotations": [
202 "@@@STEP_NEST_LEVEL@1@@@",
203 "@@@STEP_LOG_LINE@python.inline@@@@",
204 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
205 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@try:@@@",
207 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
208 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
209 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
210 "@@@STEP_LOG_LINE@python.inline@@@@",
211 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
212 "@@@STEP_LOG_END@python.inline@@@"
213 ]
214 },
215 {
216 "cmd": [
217 "python",
218 "-u",
197 "\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", 219 "\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",
198 "[BUILDER_CACHE]/Chromium_ASAN___debug/src/out/Debug" 220 "[BUILDER_CACHE]/Chromium_ASAN___debug/src/out/Debug"
199 ], 221 ],
200 "name": "rmtree clobber", 222 "name": "rmtree clobber",
201 "~followup_annotations": [ 223 "~followup_annotations": [
202 "@@@STEP_LOG_LINE@python.inline@@@@", 224 "@@@STEP_LOG_LINE@python.inline@@@@",
203 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 225 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
204 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 226 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
205 "@@@STEP_LOG_LINE@python.inline@@@@", 227 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@@@@", 228 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 453 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
432 "@@@STEP_LOG_END@python.inline@@@" 454 "@@@STEP_LOG_END@python.inline@@@"
433 ] 455 ]
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