| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 }, | 362 }, |
| 363 { | 363 { |
| 364 "cmd": [], | 364 "cmd": [], |
| 365 "name": "fix_device_file_format" | 365 "name": "fix_device_file_format" |
| 366 }, | 366 }, |
| 367 { | 367 { |
| 368 "cmd": [ | 368 "cmd": [ |
| 369 "python", | 369 "python", |
| 370 "-u", | 370 "-u", |
| 371 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 371 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 372 "[CACHE]/known_android_devices", | 372 "[BUILD]/site_config/.known_devices", |
| 373 "/path/to/tmp/" | 373 "/path/to/tmp/" |
| 374 ], | 374 ], |
| 375 "name": "fix_device_file_format.read_device_file", | 375 "name": "fix_device_file_format.read_device_file", |
| 376 "~followup_annotations": [ | 376 "~followup_annotations": [ |
| 377 "@@@STEP_NEST_LEVEL@1@@@", | 377 "@@@STEP_NEST_LEVEL@1@@@", |
| 378 "@@@STEP_TEXT@file format is compatible@@@" | 378 "@@@STEP_TEXT@file format is compatible@@@" |
| 379 ] | 379 ] |
| 380 }, | 380 }, |
| 381 { | 381 { |
| 382 "cmd": [ | 382 "cmd": [ |
| 383 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 383 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 384 "--adb-path", | 384 "--adb-path", |
| 385 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 385 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 386 "--blacklist-file", | 386 "--blacklist-file", |
| 387 "[SLAVE_BUILD]/src/out/bad_devices.json", | 387 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 388 "--json-output", | 388 "--json-output", |
| 389 "/path/to/tmp/json", | 389 "/path/to/tmp/json", |
| 390 "--known-devices-file", | 390 "--known-devices-file", |
| 391 "[CACHE]/known_android_devices" | 391 "[BUILD]/site_config/.known_devices" |
| 392 ], | 392 ], |
| 393 "env": { | 393 "env": { |
| 394 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 394 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 395 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 395 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 396 }, | 396 }, |
| 397 "name": "device_status_check", | 397 "name": "device_status_check", |
| 398 "~followup_annotations": [ | 398 "~followup_annotations": [ |
| 399 "@@@STEP_TEXT@Online devices: 1@@@", | 399 "@@@STEP_TEXT@Online devices: 1@@@", |
| 400 "@@@STEP_LOG_LINE@json.output@[@@@", | 400 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 401 "@@@STEP_LOG_LINE@json.output@ {@@@", | 401 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 699 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 700 "@@@STEP_LOG_END@python.inline@@@" | 700 "@@@STEP_LOG_END@python.inline@@@" |
| 701 ] | 701 ] |
| 702 }, | 702 }, |
| 703 { | 703 { |
| 704 "name": "$result", | 704 "name": "$result", |
| 705 "recipe_result": null, | 705 "recipe_result": null, |
| 706 "status_code": 0 | 706 "status_code": 0 |
| 707 } | 707 } |
| 708 ] | 708 ] |
| OLD | NEW |