| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 7 "--spec", | 7 "--spec", |
| 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", | 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'v8', 'url': 'https://chromium.googlesource.com/v8/v8'}]", |
| 9 "--patch_root", | 9 "--patch_root", |
| 10 "v8", | 10 "v8", |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 }, | 282 }, |
| 283 "name": "clang_revision", | 283 "name": "clang_revision", |
| 284 "~followup_annotations": [ | 284 "~followup_annotations": [ |
| 285 "@@@STEP_LOG_LINE@json.output@{@@@", | 285 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 286 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 286 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 287 "@@@STEP_LOG_LINE@json.output@}@@@", | 287 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 288 "@@@STEP_LOG_END@json.output@@@" | 288 "@@@STEP_LOG_END@json.output@@@" |
| 289 ] | 289 ] |
| 290 }, | 290 }, |
| 291 { | 291 { |
| 292 "cmd": [ | |
| 293 "python", | |
| 294 "-u", | |
| 295 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.
startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi
t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep
t NotImplementedError:\n jobs = 50\n\nprint jobs\n" | |
| 296 ], | |
| 297 "name": "calculate the number of recommended jobs", | |
| 298 "stdout": "/path/to/tmp/", | |
| 299 "~followup_annotations": [ | |
| 300 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 301 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 302 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 303 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 304 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 305 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 306 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 307 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 308 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 309 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 310 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 311 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 312 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 313 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 314 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 315 "@@@STEP_LOG_END@python.inline@@@" | |
| 316 ] | |
| 317 }, | |
| 318 { | |
| 319 "cmd": [], | 292 "cmd": [], |
| 320 "name": "preprocess_for_goma" | 293 "name": "preprocess_for_goma" |
| 321 }, | 294 }, |
| 322 { | 295 { |
| 323 "cmd": [ | 296 "cmd": [ |
| 324 "python", | 297 "python", |
| 325 "-u", | 298 "-u", |
| 326 "[CACHE]/cipd/goma/goma_ctl.py", | 299 "[CACHE]/cipd/goma/goma_ctl.py", |
| 327 "restart" | 300 "restart" |
| 328 ], | 301 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 352 "env": { | 325 "env": { |
| 353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 326 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 354 }, | 327 }, |
| 355 "name": "preprocess_for_goma.start cloudtail", | 328 "name": "preprocess_for_goma.start cloudtail", |
| 356 "~followup_annotations": [ | 329 "~followup_annotations": [ |
| 357 "@@@STEP_NEST_LEVEL@1@@@" | 330 "@@@STEP_NEST_LEVEL@1@@@" |
| 358 ] | 331 ] |
| 359 }, | 332 }, |
| 360 { | 333 { |
| 361 "cmd": [ | 334 "cmd": [ |
| 335 "python", |
| 336 "-u", |
| 337 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform.
startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi
t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep
t NotImplementedError:\n jobs = 50\n\nprint jobs\n" |
| 338 ], |
| 339 "name": "calculate the number of recommended jobs", |
| 340 "stdout": "/path/to/tmp/", |
| 341 "~followup_annotations": [ |
| 342 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 343 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 344 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 345 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 346 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 347 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 348 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 349 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 350 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 351 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 352 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 353 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 354 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 355 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 356 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 357 "@@@STEP_LOG_END@python.inline@@@" |
| 358 ] |
| 359 }, |
| 360 { |
| 361 "cmd": [ |
| 362 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 362 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 363 "-w", | 363 "-w", |
| 364 "dupbuild=err", | 364 "dupbuild=err", |
| 365 "-C", | 365 "-C", |
| 366 "[SLAVE_BUILD]/v8/out/Release", | 366 "[SLAVE_BUILD]/v8/out/Release", |
| 367 "-j", | 367 "-j", |
| 368 "50" | 368 "50" |
| 369 ], | 369 ], |
| 370 "env": { | 370 "env": { |
| 371 "FORCE_MAC_TOOLCHAIN": "1", | 371 "FORCE_MAC_TOOLCHAIN": "1", |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", | 915 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", |
| 916 "@@@STEP_LOG_END@durations@@@" | 916 "@@@STEP_LOG_END@durations@@@" |
| 917 ] | 917 ] |
| 918 }, | 918 }, |
| 919 { | 919 { |
| 920 "name": "$result", | 920 "name": "$result", |
| 921 "recipe_result": null, | 921 "recipe_result": null, |
| 922 "status_code": 0 | 922 "status_code": 0 |
| 923 } | 923 } |
| 924 ] | 924 ] |
| OLD | NEW |