| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 323 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 324 ], | 324 ], |
| 325 "env": { | 325 "env": { |
| 326 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 326 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 327 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 327 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 328 }, | 328 }, |
| 329 "name": "authorize_adb_devices" | 329 "name": "authorize_adb_devices" |
| 330 }, | 330 }, |
| 331 { | 331 { |
| 332 "cmd": [ | 332 "cmd": [ |
| 333 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 333 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 334 "--blacklist-file", |
| 335 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 336 "--known-devices-file", |
| 337 "[BUILD]/site_config/.known_devices", |
| 334 "--adb-path", | 338 "--adb-path", |
| 335 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 339 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 336 "--blacklist-file", | 340 "-v" |
| 337 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 338 "--json-output", | |
| 339 "/path/to/tmp/json", | |
| 340 "--known-devices-file", | |
| 341 "[BUILD]/site_config/.known_devices" | |
| 342 ], | 341 ], |
| 343 "env": { | 342 "env": { |
| 344 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 343 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 345 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 344 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 346 }, | 345 }, |
| 347 "name": "device_status_check", | 346 "name": "device_recovery" |
| 347 }, |
| 348 { |
| 349 "cmd": [ |
| 350 "python", |
| 351 "-u", |
| 352 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 353 "--adb-path", |
| 354 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 355 "--blacklist-file", |
| 356 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 357 "--output-device-blacklist", |
| 358 "/path/to/tmp/json", |
| 359 "-t", |
| 360 "Debug" |
| 361 ], |
| 362 "env": { |
| 363 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 364 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 365 }, |
| 366 "name": "provision_devices" |
| 367 }, |
| 368 { |
| 369 "cmd": [ |
| 370 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 371 "--json-output", |
| 372 "/path/to/tmp/json", |
| 373 "--blacklist-file", |
| 374 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 375 "--known-devices-file", |
| 376 "[BUILD]/site_config/.known_devices", |
| 377 "--buildbot-path", |
| 378 "/home/chrome-bot/.adb_device_info", |
| 379 "--adb-path", |
| 380 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 381 "-v", |
| 382 "--overwrite-known-devices-files" |
| 383 ], |
| 384 "env": { |
| 385 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 386 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 387 }, |
| 388 "name": "device_status", |
| 348 "~followup_annotations": [ | 389 "~followup_annotations": [ |
| 349 "@@@STEP_TEXT@Online devices: 1@@@", | 390 "@@@STEP_TEXT@Online devices: 1@@@", |
| 350 "@@@STEP_LOG_LINE@json.output@[@@@", | 391 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 351 "@@@STEP_LOG_LINE@json.output@ {@@@", | 392 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 352 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 393 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 353 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 394 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 354 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 395 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 355 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 396 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 356 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 397 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 357 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 398 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 478 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 438 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 479 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 439 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 480 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 440 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 481 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 441 ] | 482 ] |
| 442 }, | 483 }, |
| 443 { | 484 { |
| 444 "cmd": [ | 485 "cmd": [ |
| 445 "python", | 486 "python", |
| 446 "-u", | 487 "-u", |
| 447 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 448 "--adb-path", | |
| 449 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 450 "--blacklist-file", | |
| 451 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 452 "--output-device-blacklist", | |
| 453 "/path/to/tmp/json", | |
| 454 "-t", | |
| 455 "Debug" | |
| 456 ], | |
| 457 "env": { | |
| 458 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 459 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 460 }, | |
| 461 "name": "provision_devices" | |
| 462 }, | |
| 463 { | |
| 464 "cmd": [ | |
| 465 "python", | |
| 466 "-u", | |
| 467 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 488 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 468 "--action", | 489 "--action", |
| 469 "restart", | 490 "restart", |
| 470 "--pid-file-path", | 491 "--pid-file-path", |
| 471 "/tmp/device_monitor.pid", | 492 "/tmp/device_monitor.pid", |
| 472 "--", | 493 "--", |
| 473 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 494 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 474 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 495 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 475 "[\"07a00ca4\"]", | 496 "[\"07a00ca4\"]", |
| 476 "--blacklist-file", | 497 "--blacklist-file", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 660 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 640 "@@@STEP_LOG_END@python.inline@@@" | 661 "@@@STEP_LOG_END@python.inline@@@" |
| 641 ] | 662 ] |
| 642 }, | 663 }, |
| 643 { | 664 { |
| 644 "name": "$result", | 665 "name": "$result", |
| 645 "recipe_result": null, | 666 "recipe_result": null, |
| 646 "status_code": 0 | 667 "status_code": 0 |
| 647 } | 668 } |
| 648 ] | 669 ] |
| OLD | NEW |