| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
| 7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
| 8 ], | 8 ], |
| 9 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
| 10 "~followup_annotations": [ | 10 "~followup_annotations": [ |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 377 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 378 ], | 378 ], |
| 379 "env": { | 379 "env": { |
| 380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 380 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 381 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 381 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 382 }, | 382 }, |
| 383 "name": "authorize_adb_devices" | 383 "name": "authorize_adb_devices" |
| 384 }, | 384 }, |
| 385 { | 385 { |
| 386 "cmd": [ | 386 "cmd": [ |
| 387 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", | 387 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 388 "--adb-path", |
| 389 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 388 "--blacklist-file", | 390 "--blacklist-file", |
| 389 "[SLAVE_BUILD]/src/out/bad_devices.json", | 391 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 392 "--json-output", |
| 393 "/path/to/tmp/json", |
| 390 "--known-devices-file", | 394 "--known-devices-file", |
| 391 "[HOME]/.android/known_devices.json", | 395 "[HOME]/.android/known_devices.json" |
| 392 "--adb-path", | |
| 393 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 394 "-v" | |
| 395 ], | 396 ], |
| 396 "env": { | 397 "env": { |
| 397 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 398 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 398 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 399 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 399 }, | 400 }, |
| 400 "name": "device_recovery" | 401 "name": "device_status_check", |
| 401 }, | |
| 402 { | |
| 403 "cmd": [ | |
| 404 "python", | |
| 405 "-u", | |
| 406 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 407 "--adb-path", | |
| 408 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 409 "--blacklist-file", | |
| 410 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 411 "--output-device-blacklist", | |
| 412 "/path/to/tmp/json", | |
| 413 "-t", | |
| 414 "Release" | |
| 415 ], | |
| 416 "env": { | |
| 417 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 418 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 419 }, | |
| 420 "name": "provision_devices" | |
| 421 }, | |
| 422 { | |
| 423 "cmd": [ | |
| 424 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", | |
| 425 "--json-output", | |
| 426 "/path/to/tmp/json", | |
| 427 "--blacklist-file", | |
| 428 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 429 "--known-devices-file", | |
| 430 "[HOME]/.android/known_devices.json", | |
| 431 "--buildbot-path", | |
| 432 "/home/chrome-bot/.adb_device_info", | |
| 433 "--adb-path", | |
| 434 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 435 "-v", | |
| 436 "--overwrite-known-devices-files" | |
| 437 ], | |
| 438 "env": { | |
| 439 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 440 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 441 }, | |
| 442 "name": "device_status", | |
| 443 "~followup_annotations": [ | 402 "~followup_annotations": [ |
| 444 "@@@STEP_TEXT@Online devices: 1@@@", | 403 "@@@STEP_TEXT@Online devices: 1@@@", |
| 445 "@@@STEP_LOG_LINE@json.output@[@@@", | 404 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 446 "@@@STEP_LOG_LINE@json.output@ {@@@", | 405 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 447 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 406 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 448 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 407 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 449 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 408 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 450 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 409 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 451 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 410 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 452 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 411 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 491 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 533 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 492 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 534 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 493 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 535 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 494 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 536 ] | 495 ] |
| 537 }, | 496 }, |
| 538 { | 497 { |
| 539 "cmd": [ | 498 "cmd": [ |
| 540 "python", | 499 "python", |
| 541 "-u", | 500 "-u", |
| 501 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 502 "--adb-path", |
| 503 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 504 "--blacklist-file", |
| 505 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 506 "--output-device-blacklist", |
| 507 "/path/to/tmp/json", |
| 508 "-t", |
| 509 "Release" |
| 510 ], |
| 511 "env": { |
| 512 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 513 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 514 }, |
| 515 "name": "provision_devices" |
| 516 }, |
| 517 { |
| 518 "cmd": [ |
| 519 "python", |
| 520 "-u", |
| 542 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 521 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 543 "--action", | 522 "--action", |
| 544 "restart", | 523 "restart", |
| 545 "--pid-file-path", | 524 "--pid-file-path", |
| 546 "/tmp/device_monitor.pid", | 525 "/tmp/device_monitor.pid", |
| 547 "--", | 526 "--", |
| 548 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 527 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 549 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 528 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 550 "[\"07a00ca4\"]", | 529 "[\"07a00ca4\"]", |
| 551 "--blacklist-file", | 530 "--blacklist-file", |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 701 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 723 "@@@STEP_LOG_END@python.inline@@@" | 702 "@@@STEP_LOG_END@python.inline@@@" |
| 724 ] | 703 ] |
| 725 }, | 704 }, |
| 726 { | 705 { |
| 727 "name": "$result", | 706 "name": "$result", |
| 728 "recipe_result": null, | 707 "recipe_result": null, |
| 729 "status_code": 0 | 708 "status_code": 0 |
| 730 } | 709 } |
| 731 ] | 710 ] |
| OLD | NEW |