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

Side by Side Diff: scripts/slave/recipes/bisect.expected/basic.json

Issue 2291273005: Add counting the number of CPU's in goma module (Closed)
Patch Set: 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 "@@@STEP_LOG_LINE@json.output@ }@@@", 159 "@@@STEP_LOG_LINE@json.output@ }@@@",
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_END@json.output@@@" 162 "@@@STEP_LOG_END@json.output@@@"
163 ] 163 ]
164 }, 164 },
165 { 165 {
166 "cmd": [ 166 "cmd": [
167 "python", 167 "python",
168 "-u", 168 "-u",
169 "\nimport multiprocessing\nprint min(200, multiprocessing.cpu_count() * 10 )\n"
170 ],
171 "name": "ensure_goma.get the number of cpus",
172 "stdout": "/path/to/tmp/",
173 "~followup_annotations": [
174 "@@@STEP_NEST_LEVEL@1@@@",
175 "@@@STEP_LOG_LINE@python.inline@@@@",
176 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
177 "@@@STEP_LOG_LINE@python.inline@print min(200, multiprocessing.cpu_count() * 10)@@@",
178 "@@@STEP_LOG_END@python.inline@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
170 "runhooks" 186 "runhooks"
171 ], 187 ],
172 "cwd": "[SLAVE_BUILD]/src", 188 "cwd": "[SLAVE_BUILD]/src",
173 "env": { 189 "env": {
174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
175 "GYP_CHROMIUM_NO_ACTION": "1", 191 "GYP_CHROMIUM_NO_ACTION": "1",
176 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", 192 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1",
177 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 193 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
178 }, 194 },
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 "@@@STEP_LOG_LINE@json.output@}@@@", 1141 "@@@STEP_LOG_LINE@json.output@}@@@",
1126 "@@@STEP_LOG_END@json.output@@@" 1142 "@@@STEP_LOG_END@json.output@@@"
1127 ] 1143 ]
1128 }, 1144 },
1129 { 1145 {
1130 "name": "$result", 1146 "name": "$result",
1131 "recipe_result": null, 1147 "recipe_result": null,
1132 "status_code": 0 1148 "status_code": 0
1133 } 1149 }
1134 ] 1150 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698