| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 294 ], | 294 ], |
| 295 "env": { | 295 "env": { |
| 296 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 296 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 297 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 297 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 298 }, | 298 }, |
| 299 "name": "authorize_adb_devices" | 299 "name": "authorize_adb_devices" |
| 300 }, | 300 }, |
| 301 { | 301 { |
| 302 "cmd": [ | 302 "cmd": [ |
| 303 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 303 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 304 "--adb-path", | |
| 305 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 306 "--blacklist-file", | 304 "--blacklist-file", |
| 307 "[SLAVE_BUILD]/src/out/bad_devices.json", | 305 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 308 "--json-output", | |
| 309 "/path/to/tmp/json", | |
| 310 "--known-devices-file", | 306 "--known-devices-file", |
| 311 "[BUILD]/site_config/.known_devices" | 307 "[BUILD]/site_config/.known_devices", |
| 308 "-v" |
| 312 ], | 309 ], |
| 313 "env": { | 310 "env": { |
| 314 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 311 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 315 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 312 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 316 }, | 313 }, |
| 317 "name": "device_status_check", | 314 "name": "device_recovery" |
| 315 }, |
| 316 { |
| 317 "cmd": [ |
| 318 "python", |
| 319 "-u", |
| 320 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 321 "--adb-path", |
| 322 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 323 "--blacklist-file", |
| 324 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 325 "--output-device-blacklist", |
| 326 "/path/to/tmp/json", |
| 327 "-t", |
| 328 "Debug" |
| 329 ], |
| 330 "env": { |
| 331 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 332 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 333 }, |
| 334 "name": "provision_devices" |
| 335 }, |
| 336 { |
| 337 "cmd": [ |
| 338 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 339 "--json-output", |
| 340 "/path/to/tmp/json", |
| 341 "--blacklist-file", |
| 342 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 343 "--known-devices-file", |
| 344 "[BUILD]/site_config/.known_devices", |
| 345 "--buildbot-path", |
| 346 "/home/chrome-bot/.adb_device_info", |
| 347 "-v", |
| 348 "--overwrite-known-devices-files" |
| 349 ], |
| 350 "env": { |
| 351 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 352 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 353 }, |
| 354 "name": "device_status", |
| 318 "~followup_annotations": [ | 355 "~followup_annotations": [ |
| 319 "@@@STEP_TEXT@Online devices: 1@@@", | 356 "@@@STEP_TEXT@Online devices: 1@@@", |
| 320 "@@@STEP_LOG_LINE@json.output@[@@@", | 357 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 321 "@@@STEP_LOG_LINE@json.output@ {@@@", | 358 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 322 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 359 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 323 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 360 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 324 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 361 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 325 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 362 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 326 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 363 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 327 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 364 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 444 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 408 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 445 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 409 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 446 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 410 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 447 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 411 ] | 448 ] |
| 412 }, | 449 }, |
| 413 { | 450 { |
| 414 "cmd": [ | 451 "cmd": [ |
| 415 "python", | 452 "python", |
| 416 "-u", | 453 "-u", |
| 417 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 418 "--adb-path", | |
| 419 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 420 "--blacklist-file", | |
| 421 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 422 "--output-device-blacklist", | |
| 423 "/path/to/tmp/json", | |
| 424 "-t", | |
| 425 "Debug" | |
| 426 ], | |
| 427 "env": { | |
| 428 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 429 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 430 }, | |
| 431 "name": "provision_devices" | |
| 432 }, | |
| 433 { | |
| 434 "cmd": [ | |
| 435 "python", | |
| 436 "-u", | |
| 437 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 454 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 438 "--action", | 455 "--action", |
| 439 "restart", | 456 "restart", |
| 440 "--pid-file-path", | 457 "--pid-file-path", |
| 441 "/tmp/device_monitor.pid", | 458 "/tmp/device_monitor.pid", |
| 442 "--", | 459 "--", |
| 443 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 460 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 444 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 461 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 445 "[\"07a00ca4\"]", | 462 "[\"07a00ca4\"]", |
| 446 "--blacklist-file", | 463 "--blacklist-file", |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 626 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 610 "@@@STEP_LOG_END@python.inline@@@" | 627 "@@@STEP_LOG_END@python.inline@@@" |
| 611 ] | 628 ] |
| 612 }, | 629 }, |
| 613 { | 630 { |
| 614 "name": "$result", | 631 "name": "$result", |
| 615 "recipe_result": null, | 632 "recipe_result": null, |
| 616 "status_code": 0 | 633 "status_code": 0 |
| 617 } | 634 } |
| 618 ] | 635 ] |
| OLD | NEW |