| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 }, | 377 }, |
| 378 { | 378 { |
| 379 "cmd": [], | 379 "cmd": [], |
| 380 "name": "fix_device_file_format" | 380 "name": "fix_device_file_format" |
| 381 }, | 381 }, |
| 382 { | 382 { |
| 383 "cmd": [ | 383 "cmd": [ |
| 384 "python", | 384 "python", |
| 385 "-u", | 385 "-u", |
| 386 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 386 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 387 "[CACHE]/known_android_devices", | 387 "[BUILD]/site_config/.known_devices", |
| 388 "/path/to/tmp/" | 388 "/path/to/tmp/" |
| 389 ], | 389 ], |
| 390 "name": "fix_device_file_format.read_device_file", | 390 "name": "fix_device_file_format.read_device_file", |
| 391 "~followup_annotations": [ | 391 "~followup_annotations": [ |
| 392 "@@@STEP_NEST_LEVEL@1@@@", | 392 "@@@STEP_NEST_LEVEL@1@@@", |
| 393 "@@@STEP_TEXT@file format is compatible@@@" | 393 "@@@STEP_TEXT@file format is compatible@@@" |
| 394 ] | 394 ] |
| 395 }, | 395 }, |
| 396 { | 396 { |
| 397 "cmd": [ | 397 "cmd": [ |
| 398 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 398 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 399 "--adb-path", | 399 "--adb-path", |
| 400 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 400 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 401 "--blacklist-file", | 401 "--blacklist-file", |
| 402 "[SLAVE_BUILD]/src/out/bad_devices.json", | 402 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 403 "--json-output", | 403 "--json-output", |
| 404 "/path/to/tmp/json", | 404 "/path/to/tmp/json", |
| 405 "--known-devices-file", | 405 "--known-devices-file", |
| 406 "[CACHE]/known_android_devices" | 406 "[BUILD]/site_config/.known_devices" |
| 407 ], | 407 ], |
| 408 "env": { | 408 "env": { |
| 409 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 409 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 410 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 410 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 411 }, | 411 }, |
| 412 "name": "device_status_check", | 412 "name": "device_status_check", |
| 413 "~followup_annotations": [ | 413 "~followup_annotations": [ |
| 414 "@@@STEP_TEXT@Online devices: 1@@@", | 414 "@@@STEP_TEXT@Online devices: 1@@@", |
| 415 "@@@STEP_LOG_LINE@json.output@[@@@", | 415 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 416 "@@@STEP_LOG_LINE@json.output@ {@@@", | 416 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 712 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 713 "@@@STEP_LOG_END@python.inline@@@" | 713 "@@@STEP_LOG_END@python.inline@@@" |
| 714 ] | 714 ] |
| 715 }, | 715 }, |
| 716 { | 716 { |
| 717 "name": "$result", | 717 "name": "$result", |
| 718 "recipe_result": null, | 718 "recipe_result": null, |
| 719 "status_code": 0 | 719 "status_code": 0 |
| 720 } | 720 } |
| 721 ] | 721 ] |
| OLD | NEW |