| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", | 6 "RECIPE_PACKAGE_REPO[build]\\scripts\\tools\\runit.py", |
| 7 "--show-path", | 7 "--show-path", |
| 8 "python", | 8 "python", |
| 9 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py" | 9 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\cleanup_temp.py" |
| 10 ], | 10 ], |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 "[CACHE]\\cipd\\goma", | 234 "[CACHE]\\cipd\\goma", |
| 235 "//out/Release" | 235 "//out/Release" |
| 236 ], | 236 ], |
| 237 "cwd": "[SLAVE_BUILD]\\src", | 237 "cwd": "[SLAVE_BUILD]\\src", |
| 238 "env": { | 238 "env": { |
| 239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | 239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" |
| 240 }, | 240 }, |
| 241 "name": "generate_build_files" | 241 "name": "generate_build_files" |
| 242 }, | 242 }, |
| 243 { | 243 { |
| 244 "cmd": [ | |
| 245 "python", | |
| 246 "-u", | |
| 247 "\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" | |
| 248 ], | |
| 249 "name": "calculate the number of recommended jobs", | |
| 250 "stdout": "/path/to/tmp/", | |
| 251 "~followup_annotations": [ | |
| 252 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 253 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", | |
| 254 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
| 255 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 256 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", | |
| 257 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", | |
| 258 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", | |
| 259 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", | |
| 260 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 261 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
| 262 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", | |
| 263 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", | |
| 264 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", | |
| 265 "@@@STEP_LOG_LINE@python.inline@@@@", | |
| 266 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", | |
| 267 "@@@STEP_LOG_END@python.inline@@@" | |
| 268 ] | |
| 269 }, | |
| 270 { | |
| 271 "cmd": [], | 244 "cmd": [], |
| 272 "name": "preprocess_for_goma" | 245 "name": "preprocess_for_goma" |
| 273 }, | 246 }, |
| 274 { | 247 { |
| 275 "cmd": [ | 248 "cmd": [ |
| 276 "python", | 249 "python", |
| 277 "-u", | 250 "-u", |
| 278 "[CACHE]\\cipd\\goma\\goma_ctl.py", | 251 "[CACHE]\\cipd\\goma\\goma_ctl.py", |
| 279 "restart" | 252 "restart" |
| 280 ], | 253 ], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 303 "env": { | 276 "env": { |
| 304 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" |
| 305 }, | 278 }, |
| 306 "name": "preprocess_for_goma.start cloudtail", | 279 "name": "preprocess_for_goma.start cloudtail", |
| 307 "~followup_annotations": [ | 280 "~followup_annotations": [ |
| 308 "@@@STEP_NEST_LEVEL@1@@@" | 281 "@@@STEP_NEST_LEVEL@1@@@" |
| 309 ] | 282 ] |
| 310 }, | 283 }, |
| 311 { | 284 { |
| 312 "cmd": [ | 285 "cmd": [ |
| 286 "python", |
| 287 "-u", |
| 288 "\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" |
| 289 ], |
| 290 "name": "calculate the number of recommended jobs", |
| 291 "stdout": "/path/to/tmp/", |
| 292 "~followup_annotations": [ |
| 293 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 294 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 295 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 296 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 297 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 298 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 299 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 300 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 301 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 302 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 303 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 304 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 305 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 306 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 307 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 308 "@@@STEP_LOG_END@python.inline@@@" |
| 309 ] |
| 310 }, |
| 311 { |
| 312 "cmd": [ |
| 313 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", | 313 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", |
| 314 "-w", | 314 "-w", |
| 315 "dupbuild=err", | 315 "dupbuild=err", |
| 316 "-C", | 316 "-C", |
| 317 "[SLAVE_BUILD]\\src\\out\\Release", | 317 "[SLAVE_BUILD]\\src\\out\\Release", |
| 318 "all", |
| 318 "-j", | 319 "-j", |
| 319 "50", | 320 "50" |
| 320 "all" | |
| 321 ], | 321 ], |
| 322 "env": { | 322 "env": { |
| 323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | 323 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" |
| 324 }, | 324 }, |
| 325 "name": "First build" | 325 "name": "First build" |
| 326 }, | 326 }, |
| 327 { | 327 { |
| 328 "cmd": [], | 328 "cmd": [], |
| 329 "name": "postprocess_for_goma" | 329 "name": "postprocess_for_goma" |
| 330 }, | 330 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 "-u", | 380 "-u", |
| 381 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", | 381 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", |
| 382 "--upload-compiler-proxy-info", | 382 "--upload-compiler-proxy-info", |
| 383 "--json-status", | 383 "--json-status", |
| 384 "[CACHE]\\cipd\\goma\\jsonstatus", | 384 "[CACHE]\\cipd\\goma\\jsonstatus", |
| 385 "--ninja-log-outdir", | 385 "--ninja-log-outdir", |
| 386 "[SLAVE_BUILD]\\src\\out\\Release", | 386 "[SLAVE_BUILD]\\src\\out\\Release", |
| 387 "--ninja-log-compiler", | 387 "--ninja-log-compiler", |
| 388 "goma", | 388 "goma", |
| 389 "--ninja-log-command", | 389 "--ninja-log-command", |
| 390 "['RECIPE_PACKAGE_REPO[depot_tools]\\\\ninja.exe', '-w', 'dupbuild=err', '
-C', '[SLAVE_BUILD]\\\\src\\\\out\\\\Release', '-j', 50, 'all']", | 390 "['RECIPE_PACKAGE_REPO[depot_tools]\\\\ninja.exe', '-w', 'dupbuild=err', '
-C', '[SLAVE_BUILD]\\\\src\\\\out\\\\Release', 'all', '-j', 50]", |
| 391 "--ninja-log-exit-status", | 391 "--ninja-log-exit-status", |
| 392 "0", | 392 "0", |
| 393 "--buildbot-buildername", | 393 "--buildbot-buildername", |
| 394 "Windows deterministic", | 394 "Windows deterministic", |
| 395 "--buildbot-mastername", | 395 "--buildbot-mastername", |
| 396 "chromium.swarm", | 396 "chromium.swarm", |
| 397 "--buildbot-slavename", | 397 "--buildbot-slavename", |
| 398 "TestSlavename" | 398 "TestSlavename" |
| 399 ], | 399 ], |
| 400 "env": { | 400 "env": { |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 "@@@STEP_NEST_LEVEL@1@@@" | 585 "@@@STEP_NEST_LEVEL@1@@@" |
| 586 ] | 586 ] |
| 587 }, | 587 }, |
| 588 { | 588 { |
| 589 "cmd": [ | 589 "cmd": [ |
| 590 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", | 590 "RECIPE_PACKAGE_REPO[depot_tools]\\ninja.exe", |
| 591 "-w", | 591 "-w", |
| 592 "dupbuild=err", | 592 "dupbuild=err", |
| 593 "-C", | 593 "-C", |
| 594 "[SLAVE_BUILD]\\src\\out\\Release", | 594 "[SLAVE_BUILD]\\src\\out\\Release", |
| 595 "all", |
| 595 "-j", | 596 "-j", |
| 596 "50", | 597 "50" |
| 597 "all" | |
| 598 ], | 598 ], |
| 599 "env": { | 599 "env": { |
| 600 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" | 600 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "C:\\creds\\service_accounts\\service-ac
count-goma-client.json" |
| 601 }, | 601 }, |
| 602 "name": "Second build" | 602 "name": "Second build" |
| 603 }, | 603 }, |
| 604 { | 604 { |
| 605 "cmd": [], | 605 "cmd": [], |
| 606 "name": "postprocess_for_goma (2)" | 606 "name": "postprocess_for_goma (2)" |
| 607 }, | 607 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 "-u", | 657 "-u", |
| 658 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", | 658 "RECIPE_PACKAGE_REPO[build]\\scripts\\slave\\upload_goma_logs.py", |
| 659 "--upload-compiler-proxy-info", | 659 "--upload-compiler-proxy-info", |
| 660 "--json-status", | 660 "--json-status", |
| 661 "[CACHE]\\cipd\\goma\\jsonstatus", | 661 "[CACHE]\\cipd\\goma\\jsonstatus", |
| 662 "--ninja-log-outdir", | 662 "--ninja-log-outdir", |
| 663 "[SLAVE_BUILD]\\src\\out\\Release", | 663 "[SLAVE_BUILD]\\src\\out\\Release", |
| 664 "--ninja-log-compiler", | 664 "--ninja-log-compiler", |
| 665 "goma", | 665 "goma", |
| 666 "--ninja-log-command", | 666 "--ninja-log-command", |
| 667 "['RECIPE_PACKAGE_REPO[depot_tools]\\\\ninja.exe', '-w', 'dupbuild=err', '
-C', '[SLAVE_BUILD]\\\\src\\\\out\\\\Release', '-j', 50, 'all']", | 667 "['RECIPE_PACKAGE_REPO[depot_tools]\\\\ninja.exe', '-w', 'dupbuild=err', '
-C', '[SLAVE_BUILD]\\\\src\\\\out\\\\Release', 'all', '-j', 50]", |
| 668 "--ninja-log-exit-status", | 668 "--ninja-log-exit-status", |
| 669 "0", | 669 "0", |
| 670 "--buildbot-buildername", | 670 "--buildbot-buildername", |
| 671 "Windows deterministic", | 671 "Windows deterministic", |
| 672 "--buildbot-mastername", | 672 "--buildbot-mastername", |
| 673 "chromium.swarm", | 673 "chromium.swarm", |
| 674 "--buildbot-slavename", | 674 "--buildbot-slavename", |
| 675 "TestSlavename" | 675 "TestSlavename" |
| 676 ], | 676 ], |
| 677 "env": { | 677 "env": { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 ], | 775 ], |
| 776 "cwd": "[SLAVE_BUILD]", | 776 "cwd": "[SLAVE_BUILD]", |
| 777 "name": "compare_build_artifacts" | 777 "name": "compare_build_artifacts" |
| 778 }, | 778 }, |
| 779 { | 779 { |
| 780 "name": "$result", | 780 "name": "$result", |
| 781 "recipe_result": null, | 781 "recipe_result": null, |
| 782 "status_code": 0 | 782 "status_code": 0 |
| 783 } | 783 } |
| 784 ] | 784 ] |
| OLD | NEW |