| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 "--adb-path", | 346 "--adb-path", |
| 347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 347 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
| 348 ], | 348 ], |
| 349 "env": { | 349 "env": { |
| 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 350 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 352 }, | 352 }, |
| 353 "name": "authorize_adb_devices" | 353 "name": "authorize_adb_devices" |
| 354 }, | 354 }, |
| 355 { | 355 { |
| 356 "cmd": [], | |
| 357 "name": "fix_device_file_format" | |
| 358 }, | |
| 359 { | |
| 360 "cmd": [ | |
| 361 "python", | |
| 362 "-u", | |
| 363 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
| 364 "[BUILD]/site_config/.known_devices", | |
| 365 "/path/to/tmp/" | |
| 366 ], | |
| 367 "name": "fix_device_file_format.read_device_file", | |
| 368 "~followup_annotations": [ | |
| 369 "@@@STEP_NEST_LEVEL@1@@@", | |
| 370 "@@@STEP_TEXT@file format is compatible@@@" | |
| 371 ] | |
| 372 }, | |
| 373 { | |
| 374 "cmd": [ | 356 "cmd": [ |
| 375 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 357 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 376 "--adb-path", | 358 "--adb-path", |
| 377 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 359 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 378 "--blacklist-file", | 360 "--blacklist-file", |
| 379 "[SLAVE_BUILD]/src/out/bad_devices.json", | 361 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 380 "--json-output", | 362 "--json-output", |
| 381 "/path/to/tmp/json", | 363 "/path/to/tmp/json", |
| 382 "--known-devices-file", | 364 "--known-devices-file", |
| 383 "[BUILD]/site_config/.known_devices" | 365 "[BUILD]/site_config/.known_devices" |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 671 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 690 "@@@STEP_LOG_END@python.inline@@@" | 672 "@@@STEP_LOG_END@python.inline@@@" |
| 691 ] | 673 ] |
| 692 }, | 674 }, |
| 693 { | 675 { |
| 694 "name": "$result", | 676 "name": "$result", |
| 695 "recipe_result": null, | 677 "recipe_result": null, |
| 696 "status_code": 0 | 678 "status_code": 0 |
| 697 } | 679 } |
| 698 ] | 680 ] |
| OLD | NEW |