| 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 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 355 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 356 ], | 356 ], |
| 357 "env": { | 357 "env": { |
| 358 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 358 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 359 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 359 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 360 }, | 360 }, |
| 361 "name": "authorize_adb_devices" | 361 "name": "authorize_adb_devices" |
| 362 }, | 362 }, |
| 363 { | 363 { |
| 364 "cmd": [ | 364 "cmd": [ |
| 365 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 365 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 366 "--blacklist-file", |
| 367 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 368 "--known-devices-file", |
| 369 "[CACHE]/known_android_devices", |
| 366 "--adb-path", | 370 "--adb-path", |
| 367 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 371 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 368 "--blacklist-file", | 372 "-v" |
| 369 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 370 "--json-output", | |
| 371 "/path/to/tmp/json", | |
| 372 "--known-devices-file", | |
| 373 "[CACHE]/known_android_devices" | |
| 374 ], | 373 ], |
| 375 "env": { | 374 "env": { |
| 376 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 375 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 377 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 376 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 378 }, | 377 }, |
| 379 "name": "device_status_check", | 378 "name": "device_recovery" |
| 379 }, |
| 380 { |
| 381 "cmd": [ |
| 382 "python", |
| 383 "-u", |
| 384 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 385 "--adb-path", |
| 386 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 387 "--blacklist-file", |
| 388 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 389 "--output-device-blacklist", |
| 390 "/path/to/tmp/json", |
| 391 "-t", |
| 392 "Debug" |
| 393 ], |
| 394 "env": { |
| 395 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 396 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 397 }, |
| 398 "name": "provision_devices" |
| 399 }, |
| 400 { |
| 401 "cmd": [ |
| 402 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 403 "--json-output", |
| 404 "/path/to/tmp/json", |
| 405 "--blacklist-file", |
| 406 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 407 "--known-devices-file", |
| 408 "[CACHE]/known_android_devices", |
| 409 "--buildbot-path", |
| 410 "/home/chrome-bot/.adb_device_info", |
| 411 "--adb-path", |
| 412 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 413 "-v", |
| 414 "--overwrite-known-devices-files" |
| 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": "device_status", |
| 380 "~followup_annotations": [ | 421 "~followup_annotations": [ |
| 381 "@@@STEP_TEXT@Online devices: 1@@@", | 422 "@@@STEP_TEXT@Online devices: 1@@@", |
| 382 "@@@STEP_LOG_LINE@json.output@[@@@", | 423 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 383 "@@@STEP_LOG_LINE@json.output@ {@@@", | 424 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 384 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 425 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 385 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 426 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 386 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 427 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 387 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 428 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 388 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 429 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 389 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 430 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 510 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 470 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 511 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 471 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 512 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 472 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 513 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 473 ] | 514 ] |
| 474 }, | 515 }, |
| 475 { | 516 { |
| 476 "cmd": [ | 517 "cmd": [ |
| 477 "python", | 518 "python", |
| 478 "-u", | 519 "-u", |
| 479 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 480 "--adb-path", | |
| 481 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 482 "--blacklist-file", | |
| 483 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 484 "--output-device-blacklist", | |
| 485 "/path/to/tmp/json", | |
| 486 "-t", | |
| 487 "Debug" | |
| 488 ], | |
| 489 "env": { | |
| 490 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 491 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 492 }, | |
| 493 "name": "provision_devices" | |
| 494 }, | |
| 495 { | |
| 496 "cmd": [ | |
| 497 "python", | |
| 498 "-u", | |
| 499 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 520 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 500 "--action", | 521 "--action", |
| 501 "restart", | 522 "restart", |
| 502 "--pid-file-path", | 523 "--pid-file-path", |
| 503 "/tmp/device_monitor.pid", | 524 "/tmp/device_monitor.pid", |
| 504 "--", | 525 "--", |
| 505 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 526 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 506 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 527 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 507 "[\"07a00ca4\"]", | 528 "[\"07a00ca4\"]", |
| 508 "--blacklist-file", | 529 "--blacklist-file", |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 702 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 682 "@@@STEP_LOG_END@python.inline@@@" | 703 "@@@STEP_LOG_END@python.inline@@@" |
| 683 ] | 704 ] |
| 684 }, | 705 }, |
| 685 { | 706 { |
| 686 "name": "$result", | 707 "name": "$result", |
| 687 "recipe_result": null, | 708 "recipe_result": null, |
| 688 "status_code": 0 | 709 "status_code": 0 |
| 689 } | 710 } |
| 690 ] | 711 ] |
| OLD | NEW |