OLD | NEW |
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 Loading... |
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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 "@@@STEP_LOG_LINE@json.output@}@@@", | 1184 "@@@STEP_LOG_LINE@json.output@}@@@", |
1163 "@@@STEP_LOG_END@json.output@@@" | 1185 "@@@STEP_LOG_END@json.output@@@" |
1164 ] | 1186 ] |
1165 }, | 1187 }, |
1166 { | 1188 { |
1167 "name": "$result", | 1189 "name": "$result", |
1168 "recipe_result": null, | 1190 "recipe_result": null, |
1169 "status_code": 0 | 1191 "status_code": 0 |
1170 } | 1192 } |
1171 ] | 1193 ] |
OLD | NEW |