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

Side by Side Diff: scripts/slave/recipes/bisect.expected/broken_bad_revision_test.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 "tryserver.chromium.perf", 8 "tryserver.chromium.perf",
9 "--builder", 9 "--builder",
10 "linux_perf_bisect", 10 "linux_perf_bisect",
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 "@@@STEP_LOG_LINE@json.output@ }@@@", 160 "@@@STEP_LOG_LINE@json.output@ }@@@",
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_END@json.output@@@" 163 "@@@STEP_LOG_END@json.output@@@"
164 ] 164 ]
165 }, 165 },
166 { 166 {
167 "cmd": [ 167 "cmd": [
168 "python", 168 "python",
169 "-u", 169 "-u",
170 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n"
171 ],
172 "name": "ensure_goma.get the number of cpus",
173 "stdout": "/path/to/tmp/",
174 "~followup_annotations": [
175 "@@@STEP_NEST_LEVEL@1@@@",
176 "@@@STEP_LOG_LINE@python.inline@@@@",
177 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
178 "@@@STEP_LOG_LINE@python.inline@@@@",
179 "@@@STEP_LOG_LINE@python.inline@try:@@@",
180 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun t() * 10)@@@",
181 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
182 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
183 "@@@STEP_LOG_LINE@python.inline@@@@",
184 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
185 "@@@STEP_LOG_END@python.inline@@@"
186 ]
187 },
188 {
189 "cmd": [
190 "python",
191 "-u",
170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 192 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
171 "runhooks" 193 "runhooks"
172 ], 194 ],
173 "cwd": "[SLAVE_BUILD]/src", 195 "cwd": "[SLAVE_BUILD]/src",
174 "env": { 196 "env": {
175 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 197 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
176 "GYP_CHROMIUM_NO_ACTION": "1", 198 "GYP_CHROMIUM_NO_ACTION": "1",
177 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", 199 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1",
178 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 200 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
179 }, 201 },
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 "@@@STEP_LOG_LINE@json.output@}@@@", 775 "@@@STEP_LOG_LINE@json.output@}@@@",
754 "@@@STEP_LOG_END@json.output@@@" 776 "@@@STEP_LOG_END@json.output@@@"
755 ] 777 ]
756 }, 778 },
757 { 779 {
758 "name": "$result", 780 "name": "$result",
759 "recipe_result": null, 781 "recipe_result": null,
760 "status_code": 0 782 "status_code": 0
761 } 783 }
762 ] 784 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698