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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 "--adb-path", | 262 "--adb-path", |
263 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 263 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
264 ], | 264 ], |
265 "env": { | 265 "env": { |
266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 266 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
268 }, | 268 }, |
269 "name": "authorize_adb_devices" | 269 "name": "authorize_adb_devices" |
270 }, | 270 }, |
271 { | 271 { |
272 "cmd": [], | |
273 "name": "fix_device_file_format" | |
274 }, | |
275 { | |
276 "cmd": [ | |
277 "python", | |
278 "-u", | |
279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
280 "[BUILD]/site_config/.known_devices", | |
281 "/path/to/tmp/" | |
282 ], | |
283 "name": "fix_device_file_format.read_device_file", | |
284 "~followup_annotations": [ | |
285 "@@@STEP_NEST_LEVEL@1@@@", | |
286 "@@@STEP_TEXT@file format is compatible@@@" | |
287 ] | |
288 }, | |
289 { | |
290 "cmd": [ | 272 "cmd": [ |
291 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 273 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
292 "--adb-path", | 274 "--adb-path", |
293 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 275 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
294 "--blacklist-file", | 276 "--blacklist-file", |
295 "[SLAVE_BUILD]/src/out/bad_devices.json", | 277 "[SLAVE_BUILD]/src/out/bad_devices.json", |
296 "--json-output", | 278 "--json-output", |
297 "/path/to/tmp/json", | 279 "/path/to/tmp/json", |
298 "--known-devices-file", | 280 "--known-devices-file", |
299 "[BUILD]/site_config/.known_devices" | 281 "[BUILD]/site_config/.known_devices" |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 472 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
491 }, | 473 }, |
492 "name": "stack_tool_for_asan" | 474 "name": "stack_tool_for_asan" |
493 }, | 475 }, |
494 { | 476 { |
495 "name": "$result", | 477 "name": "$result", |
496 "reason": "Infra Failure: Step('device_status_check') returned 1", | 478 "reason": "Infra Failure: Step('device_status_check') returned 1", |
497 "status_code": 1 | 479 "status_code": 1 |
498 } | 480 } |
499 ] | 481 ] |
OLD | NEW |