| 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 }, | 288 }, |
| 289 "name": "clang_revision", | 289 "name": "clang_revision", |
| 290 "~followup_annotations": [ | 290 "~followup_annotations": [ |
| 291 "@@@STEP_LOG_LINE@json.output@{@@@", | 291 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 292 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 292 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
| 293 "@@@STEP_LOG_LINE@json.output@}@@@", | 293 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 294 "@@@STEP_LOG_END@json.output@@@" | 294 "@@@STEP_LOG_END@json.output@@@" |
| 295 ] | 295 ] |
| 296 }, | 296 }, |
| 297 { | 297 { |
| 298 "cmd": [ | |
| 299 "python", | |
| 300 "-u", | |
| 301 "\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" | |
| 302 ], | |
| 303 "name": "calculate the number of recommended jobs", | |
| 304 "stdout": "/path/to/tmp/", | |
| 305 "~followup_annotations": [ | |
| 306 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 307 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 308 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 309 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 310 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 311 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 312 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 313 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 314 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 315 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 316 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 317 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 318 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 319 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 320 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 321 "@@@STEP_LOG_END@python.inline@@@" | |
| 322 ] | |
| 323 }, | |
| 324 { | |
| 325 "cmd": [], | 298 "cmd": [], |
| 326 "name": "preprocess_for_goma" | 299 "name": "preprocess_for_goma" |
| 327 }, | 300 }, |
| 328 { | 301 { |
| 329 "cmd": [ | 302 "cmd": [ |
| 330 "python", | 303 "python", |
| 331 "-u", | 304 "-u", |
| 332 "[CACHE]/cipd/goma/goma_ctl.py", | 305 "[CACHE]/cipd/goma/goma_ctl.py", |
| 333 "restart" | 306 "restart" |
| 334 ], | 307 ], |
| (...skipping 23 matching lines...) Expand all Loading... |
| 358 "env": { | 331 "env": { |
| 359 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 332 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 360 }, | 333 }, |
| 361 "name": "preprocess_for_goma.start cloudtail", | 334 "name": "preprocess_for_goma.start cloudtail", |
| 362 "~followup_annotations": [ | 335 "~followup_annotations": [ |
| 363 "@@@STEP_NEST_LEVEL@1@@@" | 336 "@@@STEP_NEST_LEVEL@1@@@" |
| 364 ] | 337 ] |
| 365 }, | 338 }, |
| 366 { | 339 { |
| 367 "cmd": [ | 340 "cmd": [ |
| 341 "python", |
| 342 "-u", |
| 343 "\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" |
| 344 ], |
| 345 "name": "calculate the number of recommended jobs", |
| 346 "stdout": "/path/to/tmp/", |
| 347 "~followup_annotations": [ |
| 348 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 349 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 350 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 351 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 352 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 353 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 354 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 355 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 356 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 357 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 358 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 359 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 360 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 361 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 362 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 363 "@@@STEP_LOG_END@python.inline@@@" |
| 364 ] |
| 365 }, |
| 366 { |
| 367 "cmd": [ |
| 368 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 368 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 369 "-w", | 369 "-w", |
| 370 "dupbuild=err", | 370 "dupbuild=err", |
| 371 "-C", | 371 "-C", |
| 372 "[SLAVE_BUILD]/v8/out/Release", | 372 "[SLAVE_BUILD]/v8/out/Release", |
| 373 "-j", | 373 "-j", |
| 374 "50" | 374 "50" |
| 375 ], | 375 ], |
| 376 "env": { | 376 "env": { |
| 377 "FORCE_MAC_TOOLCHAIN": "1", | 377 "FORCE_MAC_TOOLCHAIN": "1", |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 653 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", | 653 "@@@STEP_LOG_LINE@durations@Duration: 00:00:101@@@", |
| 654 "@@@STEP_LOG_END@durations@@@" | 654 "@@@STEP_LOG_END@durations@@@" |
| 655 ] | 655 ] |
| 656 }, | 656 }, |
| 657 { | 657 { |
| 658 "name": "$result", | 658 "name": "$result", |
| 659 "recipe_result": null, | 659 "recipe_result": null, |
| 660 "status_code": 0 | 660 "status_code": 0 |
| 661 } | 661 } |
| 662 ] | 662 ] |
| OLD | NEW |