OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
7 "[BUILDER_CACHE]/linux_perf_bisect", | 7 "[BUILDER_CACHE]/linux_perf_bisect", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 "@@@STEP_LOG_LINE@json.output@ }@@@", | 192 "@@@STEP_LOG_LINE@json.output@ }@@@", |
193 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 193 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
194 "@@@STEP_LOG_LINE@json.output@}@@@", | 194 "@@@STEP_LOG_LINE@json.output@}@@@", |
195 "@@@STEP_LOG_END@json.output@@@" | 195 "@@@STEP_LOG_END@json.output@@@" |
196 ] | 196 ] |
197 }, | 197 }, |
198 { | 198 { |
199 "cmd": [ | 199 "cmd": [ |
200 "python", | 200 "python", |
201 "-u", | 201 "-u", |
| 202 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 203 ], |
| 204 "name": "ensure_goma.get the number of cpus", |
| 205 "stdout": "/path/to/tmp/", |
| 206 "~followup_annotations": [ |
| 207 "@@@STEP_NEST_LEVEL@1@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 214 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 215 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 216 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 217 "@@@STEP_LOG_END@python.inline@@@" |
| 218 ] |
| 219 }, |
| 220 { |
| 221 "cmd": [ |
| 222 "python", |
| 223 "-u", |
202 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 224 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
203 "runhooks" | 225 "runhooks" |
204 ], | 226 ], |
205 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", | 227 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", |
206 "env": { | 228 "env": { |
207 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 229 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
208 "GYP_CHROMIUM_NO_ACTION": "1", | 230 "GYP_CHROMIUM_NO_ACTION": "1", |
209 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", | 231 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", |
210 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 232 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
211 }, | 233 }, |
(...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 "@@@STEP_LOG_LINE@json.output@}@@@", | 846 "@@@STEP_LOG_LINE@json.output@}@@@", |
825 "@@@STEP_LOG_END@json.output@@@" | 847 "@@@STEP_LOG_END@json.output@@@" |
826 ] | 848 ] |
827 }, | 849 }, |
828 { | 850 { |
829 "name": "$result", | 851 "name": "$result", |
830 "recipe_result": null, | 852 "recipe_result": null, |
831 "status_code": 0 | 853 "status_code": 0 |
832 } | 854 } |
833 ] | 855 ] |
OLD | NEW |