| 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]/V8_Linux_GN", | 7 "[BUILDER_CACHE]/V8_Linux_GN", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "name": "makedirs checkout path", | 10 "name": "makedirs checkout path", |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "@@@STEP_LOG_LINE@json.output@ }@@@", | 187 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 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_END@json.output@@@" | 190 "@@@STEP_LOG_END@json.output@@@" |
| 191 ] | 191 ] |
| 192 }, | 192 }, |
| 193 { | 193 { |
| 194 "cmd": [ | 194 "cmd": [ |
| 195 "python", | 195 "python", |
| 196 "-u", | 196 "-u", |
| 197 "\nimport multiprocessing\n\ntry:\n jobs = min(200, multiprocessing.cpu_c
ount() * 10)\nexcept NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 198 ], |
| 199 "name": "ensure_goma.get the number of cpus", |
| 200 "stdout": "/path/to/tmp/", |
| 201 "~followup_annotations": [ |
| 202 "@@@STEP_NEST_LEVEL@1@@@", |
| 203 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 204 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 205 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 206 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 207 "@@@STEP_LOG_LINE@python.inline@ jobs = min(200, multiprocessing.cpu_coun
t() * 10)@@@", |
| 208 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 209 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 210 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 211 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 212 "@@@STEP_LOG_END@python.inline@@@" |
| 213 ] |
| 214 }, |
| 215 { |
| 216 "cmd": [ |
| 217 "python", |
| 218 "-u", |
| 197 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 219 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 198 "runhooks" | 220 "runhooks" |
| 199 ], | 221 ], |
| 200 "cwd": "[BUILDER_CACHE]/V8_Linux_GN/src", | 222 "cwd": "[BUILDER_CACHE]/V8_Linux_GN/src", |
| 201 "env": { | 223 "env": { |
| 202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 224 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 203 "GYP_CHROMIUM_NO_ACTION": "1", | 225 "GYP_CHROMIUM_NO_ACTION": "1", |
| 204 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", | 226 "GYP_DEFINES": "component=static_library gomadir='[CACHE]/cipd/goma' targe
t_arch=x64 use_goma=1", |
| 205 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 227 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 206 }, | 228 }, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"V8 Linux GN\", \
"buildnumber\": 571, \"mastername\": \"client.v8.fyi\", \"parent_buildername\":
null, \"path_config\": \"kitchen\", \"recipe\": \"chromium\", \"revision\": \"22
135\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSla
vename\"}" | 373 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"V8 Linux GN\", \
"buildnumber\": 571, \"mastername\": \"client.v8.fyi\", \"parent_buildername\":
null, \"path_config\": \"kitchen\", \"recipe\": \"chromium\", \"revision\": \"22
135\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSla
vename\"}" |
| 352 ], | 374 ], |
| 353 "name": "package build" | 375 "name": "package build" |
| 354 }, | 376 }, |
| 355 { | 377 { |
| 356 "name": "$result", | 378 "name": "$result", |
| 357 "recipe_result": null, | 379 "recipe_result": null, |
| 358 "status_code": 0 | 380 "status_code": 0 |
| 359 } | 381 } |
| 360 ] | 382 ] |
| OLD | NEW |