| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 348 ], | 348 ], |
| 349 "env": { | 349 "env": { |
| 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 352 }, | 352 }, |
| 353 "name": "authorize_adb_devices" | 353 "name": "authorize_adb_devices" |
| 354 }, | 354 }, |
| 355 { | 355 { |
| 356 "cmd": [ | 356 "cmd": [ |
| 357 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 357 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 358 "--blacklist-file", |
| 359 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 360 "--known-devices-file", |
| 361 "[CACHE]/known_android_devices", |
| 358 "--adb-path", | 362 "--adb-path", |
| 359 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 363 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 360 "--blacklist-file", | 364 "-v" |
| 361 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 362 "--json-output", | |
| 363 "/path/to/tmp/json", | |
| 364 "--known-devices-file", | |
| 365 "[CACHE]/known_android_devices" | |
| 366 ], | 365 ], |
| 367 "env": { | 366 "env": { |
| 368 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 367 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 369 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 368 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 370 }, | 369 }, |
| 371 "name": "device_status_check", | 370 "name": "device_recovery" |
| 371 }, |
| 372 { |
| 373 "cmd": [ |
| 374 "python", |
| 375 "-u", |
| 376 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 377 "--adb-path", |
| 378 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 379 "--blacklist-file", |
| 380 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 381 "--output-device-blacklist", |
| 382 "/path/to/tmp/json", |
| 383 "-t", |
| 384 "Debug" |
| 385 ], |
| 386 "env": { |
| 387 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 388 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 389 }, |
| 390 "name": "provision_devices" |
| 391 }, |
| 392 { |
| 393 "cmd": [ |
| 394 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 395 "--json-output", |
| 396 "/path/to/tmp/json", |
| 397 "--blacklist-file", |
| 398 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 399 "--known-devices-file", |
| 400 "[CACHE]/known_android_devices", |
| 401 "--buildbot-path", |
| 402 "/home/chrome-bot/.adb_device_info", |
| 403 "--adb-path", |
| 404 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 405 "-v", |
| 406 "--overwrite-known-devices-files" |
| 407 ], |
| 408 "env": { |
| 409 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 410 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 411 }, |
| 412 "name": "device_status", |
| 372 "~followup_annotations": [ | 413 "~followup_annotations": [ |
| 373 "@@@STEP_TEXT@Online devices: 1@@@", | 414 "@@@STEP_TEXT@Online devices: 1@@@", |
| 374 "@@@STEP_LOG_LINE@json.output@[@@@", | 415 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 375 "@@@STEP_LOG_LINE@json.output@ {@@@", | 416 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 376 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 417 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 377 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 418 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 378 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 419 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 379 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 420 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 380 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 421 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 381 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 422 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 502 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 462 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 503 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 463 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 504 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 464 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 505 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 465 ] | 506 ] |
| 466 }, | 507 }, |
| 467 { | 508 { |
| 468 "cmd": [ | 509 "cmd": [ |
| 469 "python", | 510 "python", |
| 470 "-u", | 511 "-u", |
| 471 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 472 "--adb-path", | |
| 473 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 474 "--blacklist-file", | |
| 475 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 476 "--output-device-blacklist", | |
| 477 "/path/to/tmp/json", | |
| 478 "-t", | |
| 479 "Debug" | |
| 480 ], | |
| 481 "env": { | |
| 482 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 483 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 484 }, | |
| 485 "name": "provision_devices" | |
| 486 }, | |
| 487 { | |
| 488 "cmd": [ | |
| 489 "python", | |
| 490 "-u", | |
| 491 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 512 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 492 "--action", | 513 "--action", |
| 493 "restart", | 514 "restart", |
| 494 "--pid-file-path", | 515 "--pid-file-path", |
| 495 "/tmp/device_monitor.pid", | 516 "/tmp/device_monitor.pid", |
| 496 "--", | 517 "--", |
| 497 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 518 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 498 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 519 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 499 "[\"07a00ca4\"]", | 520 "[\"07a00ca4\"]", |
| 500 "--blacklist-file", | 521 "--blacklist-file", |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 692 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 672 "@@@STEP_LOG_END@python.inline@@@" | 693 "@@@STEP_LOG_END@python.inline@@@" |
| 673 ] | 694 ] |
| 674 }, | 695 }, |
| 675 { | 696 { |
| 676 "name": "$result", | 697 "name": "$result", |
| 677 "recipe_result": null, | 698 "recipe_result": null, |
| 678 "status_code": 0 | 699 "status_code": 0 |
| 679 } | 700 } |
| 680 ] | 701 ] |
| OLD | NEW |