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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_dbg.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]/android_dbg", 7 "[BUILDER_CACHE]/android_dbg",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout path", 10 "name": "makedirs checkout path",
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 "@@@STEP_LOG_LINE@json.output@ }@@@", 175 "@@@STEP_LOG_LINE@json.output@ }@@@",
176 "@@@STEP_LOG_LINE@json.output@ ]@@@", 176 "@@@STEP_LOG_LINE@json.output@ ]@@@",
177 "@@@STEP_LOG_LINE@json.output@}@@@", 177 "@@@STEP_LOG_LINE@json.output@}@@@",
178 "@@@STEP_LOG_END@json.output@@@" 178 "@@@STEP_LOG_END@json.output@@@"
179 ] 179 ]
180 }, 180 },
181 { 181 {
182 "cmd": [ 182 "cmd": [
183 "python", 183 "python",
184 "-u", 184 "-u",
185 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
186 ],
187 "name": "ensure_goma.get the number of cpus",
188 "stdout": "/path/to/tmp/",
189 "~followup_annotations": [
190 "@@@STEP_NEST_LEVEL@1@@@",
191 "@@@STEP_LOG_LINE@python.inline@@@@",
192 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
193 "@@@STEP_LOG_LINE@python.inline@@@@",
194 "@@@STEP_LOG_LINE@python.inline@try:@@@",
195 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
196 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
197 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
198 "@@@STEP_LOG_LINE@python.inline@@@@",
199 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
200 "@@@STEP_LOG_END@python.inline@@@"
201 ]
202 },
203 {
204 "cmd": [
205 "python",
206 "-u",
185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 207 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
186 "runhooks" 208 "runhooks"
187 ], 209 ],
188 "cwd": "[BUILDER_CACHE]/android_dbg/src", 210 "cwd": "[BUILDER_CACHE]/android_dbg/src",
189 "env": { 211 "env": {
190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 212 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
191 "GYP_CHROMIUM_NO_ACTION": "1", 213 "GYP_CHROMIUM_NO_ACTION": "1",
192 "GYP_CROSSCOMPILE": "1", 214 "GYP_CROSSCOMPILE": "1",
193 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1", 215 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1",
194 "PATH": "[BUILDER_CACHE]/android_dbg/src/third_party/android_tools/sdk/pla tform-tools:[BUILDER_CACHE]/android_dbg/src/build/android:%(PATH)s:RECIPE_PACKAG E_REPO[depot_tools]" 216 "PATH": "[BUILDER_CACHE]/android_dbg/src/third_party/android_tools/sdk/pla tform-tools:[BUILDER_CACHE]/android_dbg/src/build/android:%(PATH)s:RECIPE_PACKAG E_REPO[depot_tools]"
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 863 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
842 "@@@STEP_LOG_END@python.inline@@@" 864 "@@@STEP_LOG_END@python.inline@@@"
843 ] 865 ]
844 }, 866 },
845 { 867 {
846 "name": "$result", 868 "name": "$result",
847 "recipe_result": null, 869 "recipe_result": null,
848 "status_code": 0 870 "status_code": 0
849 } 871 }
850 ] 872 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698