| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", | 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", |
| 5 "--json-file", | 5 "--json-file", |
| 6 "/path/to/tmp/json" | 6 "/path/to/tmp/json" |
| 7 ], | 7 ], |
| 8 "name": "host and tools info", | 8 "name": "host and tools info", |
| 9 "~followup_annotations": [ | 9 "~followup_annotations": [ |
| 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", | 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", |
| (...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 22 matching lines...) Expand all Loading... |
| 357 "env": { | 330 "env": { |
| 358 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 331 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 359 }, | 332 }, |
| 360 "name": "preprocess_for_goma.start cloudtail", | 333 "name": "preprocess_for_goma.start cloudtail", |
| 361 "~followup_annotations": [ | 334 "~followup_annotations": [ |
| 362 "@@@STEP_NEST_LEVEL@1@@@" | 335 "@@@STEP_NEST_LEVEL@1@@@" |
| 363 ] | 336 ] |
| 364 }, | 337 }, |
| 365 { | 338 { |
| 366 "cmd": [ | 339 "cmd": [ |
| 340 "python", |
| 341 "-u", |
| 342 "\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" |
| 343 ], |
| 344 "name": "calculate the number of recommended jobs", |
| 345 "stdout": "/path/to/tmp/", |
| 346 "~followup_annotations": [ |
| 347 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 348 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 349 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 350 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 351 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 352 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 353 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 354 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 355 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 356 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 357 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 358 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 359 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 360 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 361 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 362 "@@@STEP_LOG_END@python.inline@@@" |
| 363 ] |
| 364 }, |
| 365 { |
| 366 "cmd": [ |
| 367 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 367 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 368 "-j", |
| 369 "50", |
| 368 "-w", | 370 "-w", |
| 369 "dupbuild=err", | 371 "dupbuild=err", |
| 370 "-C", | 372 "-C", |
| 371 "[BUILDER_CACHE]/mac_dbg/src/out/Debug", | 373 "[BUILDER_CACHE]/mac_dbg/src/out/Debug" |
| 372 "-j", | |
| 373 "50" | |
| 374 ], | 374 ], |
| 375 "env": { | 375 "env": { |
| 376 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 376 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 377 }, | 377 }, |
| 378 "name": "compile with ninja" | 378 "name": "compile with ninja" |
| 379 }, | 379 }, |
| 380 { | 380 { |
| 381 "cmd": [], | 381 "cmd": [], |
| 382 "name": "postprocess_for_goma" | 382 "name": "postprocess_for_goma" |
| 383 }, | 383 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 "-u", | 433 "-u", |
| 434 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", | 434 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 435 "--upload-compiler-proxy-info", | 435 "--upload-compiler-proxy-info", |
| 436 "--json-status", | 436 "--json-status", |
| 437 "[CACHE]/cipd/goma/jsonstatus", | 437 "[CACHE]/cipd/goma/jsonstatus", |
| 438 "--ninja-log-outdir", | 438 "--ninja-log-outdir", |
| 439 "[BUILDER_CACHE]/mac_dbg/src/out/Debug", | 439 "[BUILDER_CACHE]/mac_dbg/src/out/Debug", |
| 440 "--ninja-log-compiler", | 440 "--ninja-log-compiler", |
| 441 "goma-clang", | 441 "goma-clang", |
| 442 "--ninja-log-command", | 442 "--ninja-log-command", |
| 443 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
BUILDER_CACHE]/mac_dbg/src/out/Debug', '-j', 50]", | 443 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err'
, '-C', '[BUILDER_CACHE]/mac_dbg/src/out/Debug']", |
| 444 "--ninja-log-exit-status", | 444 "--ninja-log-exit-status", |
| 445 "0", | 445 "0", |
| 446 "--buildbot-buildername", | 446 "--buildbot-buildername", |
| 447 "mac_dbg", | 447 "mac_dbg", |
| 448 "--buildbot-mastername", | 448 "--buildbot-mastername", |
| 449 "tryserver.webrtc", | 449 "tryserver.webrtc", |
| 450 "--buildbot-slavename", | 450 "--buildbot-slavename", |
| 451 "slavename" | 451 "slavename" |
| 452 ], | 452 ], |
| 453 "env": { | 453 "env": { |
| (...skipping 2827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3281 "@@@STEP_LOG_END@json.output@@@", | 3281 "@@@STEP_LOG_END@json.output@@@", |
| 3282 "@@@STEP_LINK@shard #0 isolated out@blah@@@" | 3282 "@@@STEP_LINK@shard #0 isolated out@blah@@@" |
| 3283 ] | 3283 ] |
| 3284 }, | 3284 }, |
| 3285 { | 3285 { |
| 3286 "name": "$result", | 3286 "name": "$result", |
| 3287 "recipe_result": null, | 3287 "recipe_result": null, |
| 3288 "status_code": 0 | 3288 "status_code": 0 |
| 3289 } | 3289 } |
| 3290 ] | 3290 ] |
| OLD | NEW |