| 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_baremetal", | 7 "[BUILDER_CACHE]/linux_baremetal", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\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@@@@", |
| 178 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 179 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 180 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 181 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 182 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 183 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 184 "@@@STEP_LOG_END@python.inline@@@" |
| 185 ] |
| 186 }, |
| 187 { |
| 188 "cmd": [ |
| 189 "python", |
| 190 "-u", |
| 169 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 191 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 170 "runhooks" | 192 "runhooks" |
| 171 ], | 193 ], |
| 172 "cwd": "[BUILDER_CACHE]/linux_baremetal/src", | 194 "cwd": "[BUILDER_CACHE]/linux_baremetal/src", |
| 173 "env": { | 195 "env": { |
| 174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 196 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 175 "GYP_CHROMIUM_NO_ACTION": "1", | 197 "GYP_CHROMIUM_NO_ACTION": "1", |
| 176 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 ff
mpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64
use_goma=1", | 198 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 ff
mpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_arch=x64
use_goma=1", |
| 177 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 199 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 178 }, | 200 }, |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 ], | 383 ], |
| 362 "cwd": "[BUILDER_CACHE]/linux_baremetal", | 384 "cwd": "[BUILDER_CACHE]/linux_baremetal", |
| 363 "name": "video_capture_tests" | 385 "name": "video_capture_tests" |
| 364 }, | 386 }, |
| 365 { | 387 { |
| 366 "name": "$result", | 388 "name": "$result", |
| 367 "recipe_result": null, | 389 "recipe_result": null, |
| 368 "status_code": 0 | 390 "status_code": 0 |
| 369 } | 391 } |
| 370 ] | 392 ] |
| OLD | NEW |