| 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_V8_API_Stability", | 7 "[BUILDER_CACHE]/Linux_V8_API_Stability", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 "@@@STEP_LOG_LINE@json.output@ }@@@", | 188 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 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_END@json.output@@@" | 191 "@@@STEP_LOG_END@json.output@@@" |
| 192 ] | 192 ] |
| 193 }, | 193 }, |
| 194 { | 194 { |
| 195 "cmd": [ | 195 "cmd": [ |
| 196 "python", | 196 "python", |
| 197 "-u", | 197 "-u", |
| 198 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 199 ], |
| 200 "name": "ensure_goma.get the number of cpus", |
| 201 "stdout": "/path/to/tmp/", |
| 202 "~followup_annotations": [ |
| 203 "@@@STEP_NEST_LEVEL@1@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 212 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 213 "@@@STEP_LOG_END@python.inline@@@" |
| 214 ] |
| 215 }, |
| 216 { |
| 217 "cmd": [ |
| 218 "python", |
| 219 "-u", |
| 198 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 220 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 199 "runhooks" | 221 "runhooks" |
| 200 ], | 222 ], |
| 201 "cwd": "[BUILDER_CACHE]/Linux_V8_API_Stability/src", | 223 "cwd": "[BUILDER_CACHE]/Linux_V8_API_Stability/src", |
| 202 "env": { | 224 "env": { |
| 203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 225 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 204 "GYP_CHROMIUM_NO_ACTION": "1", | 226 "GYP_CHROMIUM_NO_ACTION": "1", |
| 205 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", | 227 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", |
| 206 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 228 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 207 }, | 229 }, |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 339 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 318 "@@@STEP_LOG_END@json.output (invalid)@@@" | 340 "@@@STEP_LOG_END@json.output (invalid)@@@" |
| 319 ] | 341 ] |
| 320 }, | 342 }, |
| 321 { | 343 { |
| 322 "name": "$result", | 344 "name": "$result", |
| 323 "recipe_result": null, | 345 "recipe_result": null, |
| 324 "status_code": 0 | 346 "status_code": 0 |
| 325 } | 347 } |
| 326 ] | 348 ] |
| OLD | NEW |