| 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/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", | 365 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 366 "--adb-path", |
| 367 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 366 "--blacklist-file", | 368 "--blacklist-file", |
| 367 "[SLAVE_BUILD]/src/out/bad_devices.json", | 369 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 370 "--json-output", |
| 371 "/path/to/tmp/json", |
| 368 "--known-devices-file", | 372 "--known-devices-file", |
| 369 "[HOME]/.android/known_devices.json", | 373 "[HOME]/.android/known_devices.json" |
| 370 "--adb-path", | |
| 371 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 372 "-v" | |
| 373 ], | 374 ], |
| 374 "env": { | 375 "env": { |
| 375 "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", |
| 376 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 377 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 377 }, | 378 }, |
| 378 "name": "device_recovery" | 379 "name": "device_status_check", |
| 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 "[HOME]/.android/known_devices.json", | |
| 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", | |
| 421 "~followup_annotations": [ | 380 "~followup_annotations": [ |
| 422 "@@@STEP_TEXT@Online devices: 1@@@", | 381 "@@@STEP_TEXT@Online devices: 1@@@", |
| 423 "@@@STEP_LOG_LINE@json.output@[@@@", | 382 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 424 "@@@STEP_LOG_LINE@json.output@ {@@@", | 383 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 425 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 384 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 426 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 385 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 427 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 386 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 428 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 387 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 429 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 388 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 430 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 389 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 469 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 511 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 470 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 512 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 471 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 513 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 472 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 514 ] | 473 ] |
| 515 }, | 474 }, |
| 516 { | 475 { |
| 517 "cmd": [ | 476 "cmd": [ |
| 518 "python", | 477 "python", |
| 519 "-u", | 478 "-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", |
| 520 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 499 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 521 "--action", | 500 "--action", |
| 522 "restart", | 501 "restart", |
| 523 "--pid-file-path", | 502 "--pid-file-path", |
| 524 "/tmp/device_monitor.pid", | 503 "/tmp/device_monitor.pid", |
| 525 "--", | 504 "--", |
| 526 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 505 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 527 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 506 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 528 "[\"07a00ca4\"]", | 507 "[\"07a00ca4\"]", |
| 529 "--blacklist-file", | 508 "--blacklist-file", |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 681 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 703 "@@@STEP_LOG_END@python.inline@@@" | 682 "@@@STEP_LOG_END@python.inline@@@" |
| 704 ] | 683 ] |
| 705 }, | 684 }, |
| 706 { | 685 { |
| 707 "name": "$result", | 686 "name": "$result", |
| 708 "recipe_result": null, | 687 "recipe_result": null, |
| 709 "status_code": 0 | 688 "status_code": 0 |
| 710 } | 689 } |
| 711 ] | 690 ] |
| OLD | NEW |