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