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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_gtest_android.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 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.android", 8 "chromium.android",
9 "--builder", 9 "--builder",
10 "Lollipop Phone Tester", 10 "Lollipop Phone Tester",
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 "@@@STEP_LOG_LINE@json.output@ }@@@", 161 "@@@STEP_LOG_LINE@json.output@ }@@@",
162 "@@@STEP_LOG_LINE@json.output@ ]@@@", 162 "@@@STEP_LOG_LINE@json.output@ ]@@@",
163 "@@@STEP_LOG_LINE@json.output@}@@@", 163 "@@@STEP_LOG_LINE@json.output@}@@@",
164 "@@@STEP_LOG_END@json.output@@@" 164 "@@@STEP_LOG_END@json.output@@@"
165 ] 165 ]
166 }, 166 },
167 { 167 {
168 "cmd": [ 168 "cmd": [
169 "python", 169 "python",
170 "-u", 170 "-u",
171 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
172 ],
173 "name": "ensure_goma.get the number of cpus",
174 "stdout": "/path/to/tmp/",
175 "~followup_annotations": [
176 "@@@STEP_NEST_LEVEL@1@@@",
177 "@@@STEP_LOG_LINE@python.inline@@@@",
178 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
179 "@@@STEP_LOG_LINE@python.inline@@@@",
180 "@@@STEP_LOG_LINE@python.inline@try:@@@",
181 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
182 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
183 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
184 "@@@STEP_LOG_LINE@python.inline@@@@",
185 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
186 "@@@STEP_LOG_END@python.inline@@@"
187 ]
188 },
189 {
190 "cmd": [
191 "python",
192 "-u",
171 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 193 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
172 "runhooks" 194 "runhooks"
173 ], 195 ],
174 "cwd": "[SLAVE_BUILD]/src", 196 "cwd": "[SLAVE_BUILD]/src",
175 "env": { 197 "env": {
176 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 198 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
177 "GYP_CHROMIUM_NO_ACTION": "1", 199 "GYP_CHROMIUM_NO_ACTION": "1",
178 "GYP_CROSSCOMPILE": "1", 200 "GYP_CROSSCOMPILE": "1",
179 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1", 201 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm use_goma=1",
180 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 202 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 723 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
702 "@@@STEP_LOG_END@python.inline@@@" 724 "@@@STEP_LOG_END@python.inline@@@"
703 ] 725 ]
704 }, 726 },
705 { 727 {
706 "name": "$result", 728 "name": "$result",
707 "recipe_result": null, 729 "recipe_result": null,
708 "status_code": 0 730 "status_code": 0
709 } 731 }
710 ] 732 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698