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