| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 }, | 354 }, |
| 355 { | 355 { |
| 356 "cmd": [], | 356 "cmd": [], |
| 357 "name": "fix_device_file_format" | 357 "name": "fix_device_file_format" |
| 358 }, | 358 }, |
| 359 { | 359 { |
| 360 "cmd": [ | 360 "cmd": [ |
| 361 "python", | 361 "python", |
| 362 "-u", | 362 "-u", |
| 363 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 363 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 364 "[CACHE]/known_android_devices", | 364 "[BUILD]/site_config/.known_devices", |
| 365 "/path/to/tmp/" | 365 "/path/to/tmp/" |
| 366 ], | 366 ], |
| 367 "name": "fix_device_file_format.read_device_file", | 367 "name": "fix_device_file_format.read_device_file", |
| 368 "~followup_annotations": [ | 368 "~followup_annotations": [ |
| 369 "@@@STEP_NEST_LEVEL@1@@@", | 369 "@@@STEP_NEST_LEVEL@1@@@", |
| 370 "@@@STEP_TEXT@file format is compatible@@@" | 370 "@@@STEP_TEXT@file format is compatible@@@" |
| 371 ] | 371 ] |
| 372 }, | 372 }, |
| 373 { | 373 { |
| 374 "cmd": [ | 374 "cmd": [ |
| 375 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 375 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 376 "--adb-path", | 376 "--adb-path", |
| 377 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 377 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 378 "--blacklist-file", | 378 "--blacklist-file", |
| 379 "[SLAVE_BUILD]/src/out/bad_devices.json", | 379 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 380 "--json-output", | 380 "--json-output", |
| 381 "/path/to/tmp/json", | 381 "/path/to/tmp/json", |
| 382 "--known-devices-file", | 382 "--known-devices-file", |
| 383 "[CACHE]/known_android_devices" | 383 "[BUILD]/site_config/.known_devices" |
| 384 ], | 384 ], |
| 385 "env": { | 385 "env": { |
| 386 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 386 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 387 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 387 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 388 }, | 388 }, |
| 389 "name": "device_status_check", | 389 "name": "device_status_check", |
| 390 "~followup_annotations": [ | 390 "~followup_annotations": [ |
| 391 "@@@STEP_TEXT@Online devices: 1@@@", | 391 "@@@STEP_TEXT@Online devices: 1@@@", |
| 392 "@@@STEP_LOG_LINE@json.output@[@@@", | 392 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 393 "@@@STEP_LOG_LINE@json.output@ {@@@", | 393 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 689 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 690 "@@@STEP_LOG_END@python.inline@@@" | 690 "@@@STEP_LOG_END@python.inline@@@" |
| 691 ] | 691 ] |
| 692 }, | 692 }, |
| 693 { | 693 { |
| 694 "name": "$result", | 694 "name": "$result", |
| 695 "recipe_result": null, | 695 "recipe_result": null, |
| 696 "status_code": 0 | 696 "status_code": 0 |
| 697 } | 697 } |
| 698 ] | 698 ] |
| OLD | NEW |