| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 301 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 302 ], | 302 ], |
| 303 "env": { | 303 "env": { |
| 304 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 304 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 305 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 305 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 306 }, | 306 }, |
| 307 "name": "authorize_adb_devices" | 307 "name": "authorize_adb_devices" |
| 308 }, | 308 }, |
| 309 { | 309 { |
| 310 "cmd": [ | 310 "cmd": [ |
| 311 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 311 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r
ecovery.py", |
| 312 "--blacklist-file", |
| 313 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 314 "--known-devices-file", |
| 315 "[BUILD]/site_config/.known_devices", |
| 312 "--adb-path", | 316 "--adb-path", |
| 313 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 317 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 314 "--blacklist-file", | 318 "-v" |
| 315 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 316 "--json-output", | |
| 317 "/path/to/tmp/json", | |
| 318 "--known-devices-file", | |
| 319 "[BUILD]/site_config/.known_devices" | |
| 320 ], | 319 ], |
| 321 "env": { | 320 "env": { |
| 322 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 322 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 324 }, | 323 }, |
| 325 "name": "device_status_check", | 324 "name": "device_recovery" |
| 325 }, |
| 326 { |
| 327 "cmd": [ |
| 328 "python", |
| 329 "-u", |
| 330 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
| 331 "--adb-path", |
| 332 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 333 "--blacklist-file", |
| 334 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 335 "--output-device-blacklist", |
| 336 "/path/to/tmp/json", |
| 337 "-t", |
| 338 "Debug" |
| 339 ], |
| 340 "env": { |
| 341 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 342 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 343 }, |
| 344 "name": "provision_devices" |
| 345 }, |
| 346 { |
| 347 "cmd": [ |
| 348 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_s
tatus.py", |
| 349 "--json-output", |
| 350 "/path/to/tmp/json", |
| 351 "--blacklist-file", |
| 352 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 353 "--known-devices-file", |
| 354 "[BUILD]/site_config/.known_devices", |
| 355 "--buildbot-path", |
| 356 "/home/chrome-bot/.adb_device_info", |
| 357 "--adb-path", |
| 358 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 359 "-v", |
| 360 "--overwrite-known-devices-files" |
| 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": "device_status", |
| 326 "~followup_annotations": [ | 367 "~followup_annotations": [ |
| 327 "@@@STEP_TEXT@Online devices: 1@@@", | 368 "@@@STEP_TEXT@Online devices: 1@@@", |
| 328 "@@@STEP_LOG_LINE@json.output@[@@@", | 369 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 329 "@@@STEP_LOG_LINE@json.output@ {@@@", | 370 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 330 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 371 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
| 331 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 372 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 332 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 373 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 333 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 374 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 334 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", | 375 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 335 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", | 376 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 456 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
| 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 457 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
| 417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 458 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
| 418 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 459 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
| 419 ] | 460 ] |
| 420 }, | 461 }, |
| 421 { | 462 { |
| 422 "cmd": [ | 463 "cmd": [ |
| 423 "python", | 464 "python", |
| 424 "-u", | 465 "-u", |
| 425 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | |
| 426 "--adb-path", | |
| 427 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | |
| 428 "--blacklist-file", | |
| 429 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
| 430 "--output-device-blacklist", | |
| 431 "/path/to/tmp/json", | |
| 432 "-t", | |
| 433 "Debug" | |
| 434 ], | |
| 435 "env": { | |
| 436 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
| 437 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 438 }, | |
| 439 "name": "provision_devices" | |
| 440 }, | |
| 441 { | |
| 442 "cmd": [ | |
| 443 "python", | |
| 444 "-u", | |
| 445 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 466 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 446 "--action", | 467 "--action", |
| 447 "restart", | 468 "restart", |
| 448 "--pid-file-path", | 469 "--pid-file-path", |
| 449 "/tmp/device_monitor.pid", | 470 "/tmp/device_monitor.pid", |
| 450 "--", | 471 "--", |
| 451 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 472 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
| 452 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 473 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 453 "[\"07a00ca4\"]", | 474 "[\"07a00ca4\"]", |
| 454 "--blacklist-file", | 475 "--blacklist-file", |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 640 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 620 "@@@STEP_LOG_END@python.inline@@@" | 641 "@@@STEP_LOG_END@python.inline@@@" |
| 621 ] | 642 ] |
| 622 }, | 643 }, |
| 623 { | 644 { |
| 624 "name": "$result", | 645 "name": "$result", |
| 625 "recipe_result": null, | 646 "recipe_result": null, |
| 626 "status_code": 0 | 647 "status_code": 0 |
| 627 } | 648 } |
| 628 ] | 649 ] |
| OLD | NEW |