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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_webrtc_Linux_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_Builder", 7 "[BUILDER_CACHE]/Linux_Builder",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 "@@@STEP_LOG_LINE@json.output@ }@@@", 200 "@@@STEP_LOG_LINE@json.output@ }@@@",
201 "@@@STEP_LOG_LINE@json.output@ ]@@@", 201 "@@@STEP_LOG_LINE@json.output@ ]@@@",
202 "@@@STEP_LOG_LINE@json.output@}@@@", 202 "@@@STEP_LOG_LINE@json.output@}@@@",
203 "@@@STEP_LOG_END@json.output@@@" 203 "@@@STEP_LOG_END@json.output@@@"
204 ] 204 ]
205 }, 205 },
206 { 206 {
207 "cmd": [ 207 "cmd": [
208 "python", 208 "python",
209 "-u", 209 "-u",
210 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
211 ],
212 "name": "ensure_goma.get the number of cpus",
213 "stdout": "/path/to/tmp/",
214 "~followup_annotations": [
215 "@@@STEP_NEST_LEVEL@1@@@",
216 "@@@STEP_LOG_LINE@python.inline@@@@",
217 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
218 "@@@STEP_LOG_LINE@python.inline@@@@",
219 "@@@STEP_LOG_LINE@python.inline@try:@@@",
220 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
221 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
222 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
223 "@@@STEP_LOG_LINE@python.inline@@@@",
224 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
225 "@@@STEP_LOG_END@python.inline@@@"
226 ]
227 },
228 {
229 "cmd": [
230 "python",
231 "-u",
210 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 232 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
211 "runhooks" 233 "runhooks"
212 ], 234 ],
213 "cwd": "[BUILDER_CACHE]/Linux_Builder/src", 235 "cwd": "[BUILDER_CACHE]/Linux_Builder/src",
214 "env": { 236 "env": {
215 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 237 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
216 "GYP_CHROMIUM_NO_ACTION": "1", 238 "GYP_CHROMIUM_NO_ACTION": "1",
217 "GYP_DEFINES": "blink_logging_always_on=1 component=static_library dcheck_ always_on=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codec s=1 target_arch=x64 use_goma=1", 239 "GYP_DEFINES": "blink_logging_always_on=1 component=static_library dcheck_ always_on=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codec s=1 target_arch=x64 use_goma=1",
218 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 240 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
219 }, 241 },
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 "~followup_annotations": [ 415 "~followup_annotations": [
394 "@@@STEP_TEXT@Linux Tester@@@" 416 "@@@STEP_TEXT@Linux Tester@@@"
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