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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_client_v8_fyi_Linux_ASAN_Builder.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]/Linux_ASAN_Builder", 7 "[BUILDER_CACHE]/Linux_ASAN_Builder",
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 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 219 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
198 "runhooks" 220 "runhooks"
199 ], 221 ],
200 "cwd": "[BUILDER_CACHE]/Linux_ASAN_Builder/src", 222 "cwd": "[BUILDER_CACHE]/Linux_ASAN_Builder/src",
201 "env": { 223 "env": {
202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 224 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
203 "GYP_CHROMIUM_NO_ACTION": "1", 225 "GYP_CHROMIUM_NO_ACTION": "1",
204 "GYP_DEFINES": "asan=1 clang=1 component=static_library gomadir='[CACHE]/c ipd/goma' lsan=1 target_arch=x64 use_goma=1", 226 "GYP_DEFINES": "asan=1 clang=1 component=static_library gomadir='[CACHE]/c ipd/goma' lsan=1 target_arch=x64 use_goma=1",
205 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 227 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
206 }, 228 },
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 "~followup_annotations": [ 415 "~followup_annotations": [
394 "@@@STEP_TEXT@Linux ASan LSan Tests (1)@@@" 416 "@@@STEP_TEXT@Linux ASan LSan Tests (1)@@@"
395 ] 417 ]
396 }, 418 },
397 { 419 {
398 "name": "$result", 420 "name": "$result",
399 "recipe_result": null, 421 "recipe_result": null,
400 "status_code": 0 422 "status_code": 0
401 } 423 }
402 ] 424 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698