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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 "@@@STEP_LOG_LINE@json.output@ }@@@", | 189 "@@@STEP_LOG_LINE@json.output@ }@@@", |
190 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 190 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
191 "@@@STEP_LOG_LINE@json.output@}@@@", | 191 "@@@STEP_LOG_LINE@json.output@}@@@", |
192 "@@@STEP_LOG_END@json.output@@@" | 192 "@@@STEP_LOG_END@json.output@@@" |
193 ] | 193 ] |
194 }, | 194 }, |
195 { | 195 { |
196 "cmd": [ | 196 "cmd": [ |
197 "python", | 197 "python", |
198 "-u", | 198 "-u", |
| 199 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 200 ], |
| 201 "name": "ensure_goma.get the number of cpus", |
| 202 "stdout": "/path/to/tmp/", |
| 203 "~followup_annotations": [ |
| 204 "@@@STEP_NEST_LEVEL@1@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 213 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 214 "@@@STEP_LOG_END@python.inline@@@" |
| 215 ] |
| 216 }, |
| 217 { |
| 218 "cmd": [ |
| 219 "python", |
| 220 "-u", |
199 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 221 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
200 "runhooks" | 222 "runhooks" |
201 ], | 223 ], |
202 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", | 224 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", |
203 "env": { | 225 "env": { |
204 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 226 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
205 "GYP_CHROMIUM_NO_ACTION": "1", | 227 "GYP_CHROMIUM_NO_ACTION": "1", |
206 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", | 228 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", |
207 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 229 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
208 }, | 230 }, |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 "~followup_annotations": [ | 481 "~followup_annotations": [ |
460 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-perf/b
isect-results/f7a7b4135624439cbd27fdd5133d74ec.results@@@" | 482 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-perf/b
isect-results/f7a7b4135624439cbd27fdd5133d74ec.results@@@" |
461 ] | 483 ] |
462 }, | 484 }, |
463 { | 485 { |
464 "name": "$result", | 486 "name": "$result", |
465 "recipe_result": null, | 487 "recipe_result": null, |
466 "status_code": 0 | 488 "status_code": 0 |
467 } | 489 } |
468 ] | 490 ] |
OLD | NEW |