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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_instrumentation_test_with_timeout_scale.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 Low-end Tester", 10 "Lollipop Low-end 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 "@@@STEP_LOG_END@python.inline@@@" 732 "@@@STEP_LOG_END@python.inline@@@"
711 ] 733 ]
712 }, 734 },
713 { 735 {
714 "name": "$result", 736 "name": "$result",
715 "reason": "1 tests failed: ['ChromePublicTest']", 737 "reason": "1 tests failed: ['ChromePublicTest']",
716 "recipe_result": null, 738 "recipe_result": null,
717 "status_code": 1 739 "status_code": 1
718 } 740 }
719 ] 741 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698