| 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 "--blacklist-file", |
| 339 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 340 "--known-devices-file", |
| 341 "[BUILD]/site_config/.known_devices", |
| 338 "--adb-path", | 342 "--adb-path", |
| 339 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 343 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 340 "--blacklist-file", | 344 "-v" |
| 341 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 342 "--json-output", | |
| 343 "/path/to/tmp/json", | |
| 344 "--known-devices-file", | |
| 345 "[BUILD]/site_config/.known_devices" | |
| 346 ], | 345 ], |
| 347 "env": { | 346 "env": { |
| 348 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 347 "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" | 348 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 350 }, | 349 }, |
| 351 "name": "device_status_check", | 350 "name": "device_recovery" |
| 351 }, |
| 352 { |
| 353 "cmd": [ |
| 354 "python", |
| 355 "-u", |
| 356 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 357 "--adb-path", |
| 358 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 359 "--blacklist-file", |
| 360 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 361 "--output-device-blacklist", |
| 362 "/path/to/tmp/json", |
| 363 "-t", |
| 364 "Debug" |
| 365 ], |
| 366 "env": { |
| 367 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 368 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 369 }, |
| 370 "name": "provision_devices" |
| 371 }, |
| 372 { |
| 373 "cmd": [ |
| 374 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 375 "--json-output", |
| 376 "/path/to/tmp/json", |
| 377 "--blacklist-file", |
| 378 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 379 "--known-devices-file", |
| 380 "[BUILD]/site_config/.known_devices", |
| 381 "--buildbot-path", |
| 382 "/home/chrome-bot/.adb_device_info", |
| 383 "--adb-path", |
| 384 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 385 "-v", |
| 386 "--overwrite-known-devices-files" |
| 387 ], |
| 388 "env": { |
| 389 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 390 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 391 }, |
| 392 "name": "device_status", |
| 352 "~followup_annotations": [ | 393 "~followup_annotations": [ |
| 353 "@@@STEP_TEXT@Online devices: 1@@@", | 394 "@@@STEP_TEXT@Online devices: 1@@@", |
| 354 "@@@STEP_LOG_LINE@json.output@[@@@", | 395 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 355 "@@@STEP_LOG_LINE@json.output@ {@@@", | 396 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 356 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 397 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 357 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 398 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 358 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 399 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 359 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 400 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 360 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 401 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 361 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 402 "@@@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\", @@@", | 482 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 442 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 483 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 443 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 484 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 444 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 485 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 445 ] | 486 ] |
| 446 }, | 487 }, |
| 447 { | 488 { |
| 448 "cmd": [ | 489 "cmd": [ |
| 449 "python", | 490 "python", |
| 450 "-u", | 491 "-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", | 492 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 472 "--action", | 493 "--action", |
| 473 "restart", | 494 "restart", |
| 474 "--pid-file-path", | 495 "--pid-file-path", |
| 475 "/tmp/device_monitor.pid", | 496 "/tmp/device_monitor.pid", |
| 476 "--", | 497 "--", |
| 477 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 498 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 478 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 499 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 479 "[\"07a00ca4\"]", | 500 "[\"07a00ca4\"]", |
| 480 "--blacklist-file", | 501 "--blacklist-file", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 664 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 644 "@@@STEP_LOG_END@python.inline@@@" | 665 "@@@STEP_LOG_END@python.inline@@@" |
| 645 ] | 666 ] |
| 646 }, | 667 }, |
| 647 { | 668 { |
| 648 "name": "$result", | 669 "name": "$result", |
| 649 "recipe_result": null, | 670 "recipe_result": null, |
| 650 "status_code": 0 | 671 "status_code": 0 |
| 651 } | 672 } |
| 652 ] | 673 ] |
| OLD | NEW |