| 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': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]\ntarget_os = ['android']", | 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]\ntarget_os = ['android']", |
| 9 "--patch_root", | 9 "--patch_root", |
| 10 "src", | 10 "src", |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 "cwd": "[SLAVE_BUILD]/src", | 219 "cwd": "[SLAVE_BUILD]/src", |
| 220 "env": { | 220 "env": { |
| 221 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 221 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 222 }, | 222 }, |
| 223 "name": "generate_build_files" | 223 "name": "generate_build_files" |
| 224 }, | 224 }, |
| 225 { | 225 { |
| 226 "cmd": [ | 226 "cmd": [ |
| 227 "python", | 227 "python", |
| 228 "-u", | 228 "-u", |
| 229 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 229 "\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" |
| 230 "--show-path", | 230 ], |
| 231 "name": "calculate the number of recommended jobs", |
| 232 "stdout": "/path/to/tmp/", |
| 233 "~followup_annotations": [ |
| 234 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 235 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@", |
| 236 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 237 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 238 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@", |
| 239 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@", |
| 240 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back
end.@@@", |
| 241 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@", |
| 242 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 243 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 244 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp
u_count() * 10)@@@", |
| 245 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@", |
| 246 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@", |
| 247 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 248 "@@@STEP_LOG_LINE@python.inline@print jobs@@@", |
| 249 "@@@STEP_LOG_END@python.inline@@@" |
| 250 ] |
| 251 }, |
| 252 { |
| 253 "cmd": [ |
| 231 "python", | 254 "python", |
| 232 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 255 "-u", |
| 233 "--gsutil-py-path", | 256 "[CACHE]/cipd/goma/goma_ctl.py", |
| 234 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 257 "restart" |
| 235 "--ninja-path", | 258 ], |
| 259 "env": { |
| 260 "GOMA_ALLOWED_NETWORK_ERROR_DURATION": "1800", |
| 261 "GOMA_CACHE_DIR": "[GOMA_CACHE]", |
| 262 "GOMA_DEPS_CACHE_FILE": "Blimp_Client_Engine_Integration.gomadeps", |
| 263 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 264 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 265 }, |
| 266 "name": "start_goma" |
| 267 }, |
| 268 { |
| 269 "cmd": [ |
| 270 "python", |
| 271 "-u", |
| 272 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 273 "start", |
| 274 "--cloudtail-path", |
| 275 "[CACHE]/cipd/goma/cloudtail", |
| 276 "--pid-file", |
| 277 "[TMP_BASE]/cloudtail.pid" |
| 278 ], |
| 279 "env": { |
| 280 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 281 }, |
| 282 "name": "start cloudtail" |
| 283 }, |
| 284 { |
| 285 "cmd": [ |
| 236 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 286 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 237 "--target", | 287 "-w", |
| 238 "Debug", | 288 "dupbuild=err", |
| 239 "--src-dir", | 289 "-C", |
| 240 "[SLAVE_BUILD]/src", | 290 "[SLAVE_BUILD]/src/[SLAVE_BUILD]/src/out-linux/Debug", |
| 241 "--goma-cache-dir", | 291 "-j", |
| 242 "[GOMA_CACHE]", | 292 "50", |
| 243 "--buildbot-buildername", | |
| 244 "Blimp Client Engine Integration", | |
| 245 "--buildbot-mastername", | |
| 246 "chromium.fyi", | |
| 247 "--buildbot-slavename", | |
| 248 "TestSlavename", | |
| 249 "--goma-deps-cache-file", | |
| 250 "Blimp_Client_Engine_Integration.gomadeps", | |
| 251 "--compiler", | |
| 252 "goma", | |
| 253 "--goma-jsonstatus", | |
| 254 "/path/to/tmp/json", | |
| 255 "--goma-service-account-json-file", | |
| 256 "/creds/service_accounts/service-account-goma-client.json", | |
| 257 "--out-dir", | |
| 258 "[SLAVE_BUILD]/src/out-linux", | |
| 259 "--goma-dir", | |
| 260 "[CACHE]/cipd/goma", | |
| 261 "--", | |
| 262 "blimp" | 293 "blimp" |
| 263 ], | 294 ], |
| 264 "env": { | 295 "env": { |
| 265 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 296 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 266 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 297 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 267 }, | 298 }, |
| 268 "name": "compile", | 299 "name": "compile with ninja" |
| 269 "~followup_annotations": [ | |
| 270 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
| 271 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
| 272 ] | |
| 273 }, | 300 }, |
| 274 { | 301 { |
| 275 "cmd": [ | 302 "cmd": [ |
| 303 "python", |
| 304 "-u", |
| 305 "[CACHE]/cipd/goma/goma_ctl.py", |
| 306 "jsonstatus", |
| 307 "[CACHE]/cipd/goma/jsonstatus" |
| 308 ], |
| 309 "env": { |
| 310 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 311 }, |
| 312 "name": "goma_jsonstatus" |
| 313 }, |
| 314 { |
| 315 "cmd": [ |
| 316 "python", |
| 317 "-u", |
| 318 "[CACHE]/cipd/goma/goma_ctl.py", |
| 319 "stat" |
| 320 ], |
| 321 "env": { |
| 322 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 323 }, |
| 324 "name": "goma_stat" |
| 325 }, |
| 326 { |
| 327 "cmd": [ |
| 328 "python", |
| 329 "-u", |
| 330 "[CACHE]/cipd/goma/goma_ctl.py", |
| 331 "stop" |
| 332 ], |
| 333 "env": { |
| 334 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 335 }, |
| 336 "name": "stop_goma" |
| 337 }, |
| 338 { |
| 339 "cmd": [ |
| 340 "python", |
| 341 "-u", |
| 342 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 343 "--upload-compiler-proxy-info", |
| 344 "--json-status", |
| 345 "[CACHE]/cipd/goma/jsonstatus", |
| 346 "--ninja-log-outdir", |
| 347 "[SLAVE_BUILD]/src/[SLAVE_BUILD]/src/out-linux/Debug", |
| 348 "--ninja-log-compiler", |
| 349 "goma", |
| 350 "--ninja-log-command", |
| 351 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
SLAVE_BUILD]/src/[SLAVE_BUILD]/src/out-linux/Debug', '-j', 50, 'blimp']", |
| 352 "--ninja-log-exit-status", |
| 353 "0", |
| 354 "--buildbot-buildername", |
| 355 "Blimp Client Engine Integration", |
| 356 "--buildbot-mastername", |
| 357 "chromium.fyi", |
| 358 "--buildbot-slavename", |
| 359 "TestSlavename" |
| 360 ], |
| 361 "env": { |
| 362 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 363 }, |
| 364 "name": "upload_log" |
| 365 }, |
| 366 { |
| 367 "cmd": [ |
| 368 "python", |
| 369 "-u", |
| 370 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 371 "stop", |
| 372 "--killed-pid-file", |
| 373 "[TMP_BASE]/cloudtail.pid" |
| 374 ], |
| 375 "name": "stop cloudtail" |
| 376 }, |
| 377 { |
| 378 "cmd": [ |
| 276 "python", | 379 "python", |
| 277 "-u", | 380 "-u", |
| 278 "[SLAVE_BUILD]/src/tools/mb/mb.py", | 381 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
| 279 "gen", | 382 "gen", |
| 280 "-m", | 383 "-m", |
| 281 "chromium.fyi", | 384 "chromium.fyi", |
| 282 "-b", | 385 "-b", |
| 283 "Blimp Client Engine Integration", | 386 "Blimp Client Engine Integration", |
| 284 "--config-file", | 387 "--config-file", |
| 285 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", | 388 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
| 286 "--phase", | 389 "--phase", |
| 287 "client", | 390 "client", |
| 288 "--goma-dir", | 391 "--goma-dir", |
| 289 "[CACHE]/cipd/goma", | 392 "[CACHE]/cipd/goma", |
| 290 "[SLAVE_BUILD]/src/out-android/Debug" | 393 "[SLAVE_BUILD]/src/out-android/Debug" |
| 291 ], | 394 ], |
| 292 "cwd": "[SLAVE_BUILD]/src", | 395 "cwd": "[SLAVE_BUILD]/src", |
| 293 "env": { | 396 "env": { |
| 294 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 397 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 295 }, | 398 }, |
| 296 "name": "generate_build_files (2)" | 399 "name": "generate_build_files (2)" |
| 297 }, | 400 }, |
| 298 { | 401 { |
| 299 "cmd": [ | 402 "cmd": [ |
| 300 "python", | 403 "python", |
| 301 "-u", | 404 "-u", |
| 302 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 405 "[CACHE]/cipd/goma/goma_ctl.py", |
| 303 "--show-path", | 406 "restart" |
| 407 ], |
| 408 "env": { |
| 409 "GOMA_ALLOWED_NETWORK_ERROR_DURATION": "1800", |
| 410 "GOMA_CACHE_DIR": "[GOMA_CACHE]", |
| 411 "GOMA_DEPS_CACHE_FILE": "Blimp_Client_Engine_Integration.gomadeps", |
| 412 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 413 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 414 }, |
| 415 "name": "start_goma (2)" |
| 416 }, |
| 417 { |
| 418 "cmd": [ |
| 304 "python", | 419 "python", |
| 305 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 420 "-u", |
| 306 "--gsutil-py-path", | 421 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 307 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 422 "start", |
| 308 "--ninja-path", | 423 "--cloudtail-path", |
| 424 "[CACHE]/cipd/goma/cloudtail", |
| 425 "--pid-file", |
| 426 "[TMP_BASE]/cloudtail.pid" |
| 427 ], |
| 428 "env": { |
| 429 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 430 }, |
| 431 "name": "start cloudtail (2)" |
| 432 }, |
| 433 { |
| 434 "cmd": [ |
| 309 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 435 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| 310 "--target", | 436 "-w", |
| 311 "Debug", | 437 "dupbuild=err", |
| 312 "--src-dir", | 438 "-C", |
| 313 "[SLAVE_BUILD]/src", | 439 "[SLAVE_BUILD]/src/[SLAVE_BUILD]/src/out-android/Debug", |
| 314 "--goma-cache-dir", | 440 "-j", |
| 315 "[GOMA_CACHE]", | 441 "50", |
| 316 "--buildbot-buildername", | |
| 317 "Blimp Client Engine Integration", | |
| 318 "--buildbot-mastername", | |
| 319 "chromium.fyi", | |
| 320 "--buildbot-slavename", | |
| 321 "TestSlavename", | |
| 322 "--goma-deps-cache-file", | |
| 323 "Blimp_Client_Engine_Integration.gomadeps", | |
| 324 "--compiler", | |
| 325 "goma", | |
| 326 "--goma-jsonstatus", | |
| 327 "/path/to/tmp/json", | |
| 328 "--goma-service-account-json-file", | |
| 329 "/creds/service_accounts/service-account-goma-client.json", | |
| 330 "--out-dir", | |
| 331 "[SLAVE_BUILD]/src/out-android", | |
| 332 "--goma-dir", | |
| 333 "[CACHE]/cipd/goma", | |
| 334 "--", | |
| 335 "blimp", | 442 "blimp", |
| 336 "chrome_public_apk" | 443 "chrome_public_apk" |
| 337 ], | 444 ], |
| 338 "env": { | 445 "env": { |
| 339 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 446 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 340 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 447 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 341 }, | 448 }, |
| 342 "name": "compile (2)", | 449 "name": "compile with ninja (2)" |
| 343 "~followup_annotations": [ | 450 }, |
| 344 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 451 { |
| 345 "@@@STEP_LOG_END@json.output (invalid)@@@" | 452 "cmd": [ |
| 346 ] | 453 "python", |
| 454 "-u", |
| 455 "[CACHE]/cipd/goma/goma_ctl.py", |
| 456 "jsonstatus", |
| 457 "[CACHE]/cipd/goma/jsonstatus" |
| 458 ], |
| 459 "env": { |
| 460 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 461 }, |
| 462 "name": "goma_jsonstatus (2)" |
| 463 }, |
| 464 { |
| 465 "cmd": [ |
| 466 "python", |
| 467 "-u", |
| 468 "[CACHE]/cipd/goma/goma_ctl.py", |
| 469 "stat" |
| 470 ], |
| 471 "env": { |
| 472 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 473 }, |
| 474 "name": "goma_stat (2)" |
| 475 }, |
| 476 { |
| 477 "cmd": [ |
| 478 "python", |
| 479 "-u", |
| 480 "[CACHE]/cipd/goma/goma_ctl.py", |
| 481 "stop" |
| 482 ], |
| 483 "env": { |
| 484 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 485 }, |
| 486 "name": "stop_goma (2)" |
| 487 }, |
| 488 { |
| 489 "cmd": [ |
| 490 "python", |
| 491 "-u", |
| 492 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", |
| 493 "--upload-compiler-proxy-info", |
| 494 "--json-status", |
| 495 "[CACHE]/cipd/goma/jsonstatus", |
| 496 "--ninja-log-outdir", |
| 497 "[SLAVE_BUILD]/src/[SLAVE_BUILD]/src/out-android/Debug", |
| 498 "--ninja-log-compiler", |
| 499 "goma", |
| 500 "--ninja-log-command", |
| 501 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[
SLAVE_BUILD]/src/[SLAVE_BUILD]/src/out-android/Debug', '-j', 50, 'blimp', 'chrom
e_public_apk']", |
| 502 "--ninja-log-exit-status", |
| 503 "0", |
| 504 "--buildbot-buildername", |
| 505 "Blimp Client Engine Integration", |
| 506 "--buildbot-mastername", |
| 507 "chromium.fyi", |
| 508 "--buildbot-slavename", |
| 509 "TestSlavename" |
| 510 ], |
| 511 "env": { |
| 512 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
| 513 }, |
| 514 "name": "upload_log (2)" |
| 515 }, |
| 516 { |
| 517 "cmd": [ |
| 518 "python", |
| 519 "-u", |
| 520 "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| 521 "stop", |
| 522 "--killed-pid-file", |
| 523 "[TMP_BASE]/cloudtail.pid" |
| 524 ], |
| 525 "name": "stop cloudtail (2)" |
| 347 }, | 526 }, |
| 348 { | 527 { |
| 349 "name": "$result", | 528 "name": "$result", |
| 350 "recipe_result": null, | 529 "recipe_result": null, |
| 351 "status_code": 0 | 530 "status_code": 0 |
| 352 } | 531 } |
| 353 ] | 532 ] |
| OLD | NEW |