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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 "--adb-path", | 281 "--adb-path", |
282 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 282 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
283 ], | 283 ], |
284 "env": { | 284 "env": { |
285 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 285 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
286 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 286 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
287 }, | 287 }, |
288 "name": "authorize_adb_devices" | 288 "name": "authorize_adb_devices" |
289 }, | 289 }, |
290 { | 290 { |
291 "cmd": [], | |
292 "name": "fix_device_file_format" | |
293 }, | |
294 { | |
295 "cmd": [ | |
296 "python", | |
297 "-u", | |
298 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
299 "[BUILD]/site_config/.known_devices", | |
300 "/path/to/tmp/" | |
301 ], | |
302 "name": "fix_device_file_format.read_device_file", | |
303 "~followup_annotations": [ | |
304 "@@@STEP_NEST_LEVEL@1@@@", | |
305 "@@@STEP_TEXT@file format is compatible@@@" | |
306 ] | |
307 }, | |
308 { | |
309 "cmd": [ | 291 "cmd": [ |
310 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 292 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
311 "--adb-path", | 293 "--adb-path", |
312 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 294 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
313 "--blacklist-file", | 295 "--blacklist-file", |
314 "[SLAVE_BUILD]/src/out/bad_devices.json", | 296 "[SLAVE_BUILD]/src/out/bad_devices.json", |
315 "--json-output", | 297 "--json-output", |
316 "/path/to/tmp/json", | 298 "/path/to/tmp/json", |
317 "--known-devices-file", | 299 "--known-devices-file", |
318 "[BUILD]/site_config/.known_devices" | 300 "[BUILD]/site_config/.known_devices" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 "-t", | 413 "-t", |
432 "Release" | 414 "Release" |
433 ], | 415 ], |
434 "env": { | 416 "env": { |
435 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 417 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
436 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 418 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
437 }, | 419 }, |
438 "name": "provision_devices" | 420 "name": "provision_devices" |
439 }, | 421 }, |
440 { | 422 { |
441 "cmd": [], | |
442 "name": "fix_device_file_format (2)" | |
443 }, | |
444 { | |
445 "cmd": [ | |
446 "python", | |
447 "-u", | |
448 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
449 "[BUILD]/site_config/.known_devices", | |
450 "/path/to/tmp/" | |
451 ], | |
452 "name": "fix_device_file_format.read_device_file (2)", | |
453 "~followup_annotations": [ | |
454 "@@@STEP_NEST_LEVEL@1@@@", | |
455 "@@@STEP_TEXT@file format is compatible@@@" | |
456 ] | |
457 }, | |
458 { | |
459 "cmd": [ | 423 "cmd": [ |
460 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 424 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
461 "--adb-path", | 425 "--adb-path", |
462 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 426 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
463 "--blacklist-file", | 427 "--blacklist-file", |
464 "[SLAVE_BUILD]/src/out/bad_devices.json", | 428 "[SLAVE_BUILD]/src/out/bad_devices.json", |
465 "--json-output", | 429 "--json-output", |
466 "/path/to/tmp/json", | 430 "/path/to/tmp/json", |
467 "--known-devices-file", | 431 "--known-devices-file", |
468 "[BUILD]/site_config/.known_devices" | 432 "[BUILD]/site_config/.known_devices" |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 709 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
746 }, | 710 }, |
747 "name": "stack_tool_for_asan" | 711 "name": "stack_tool_for_asan" |
748 }, | 712 }, |
749 { | 713 { |
750 "name": "$result", | 714 "name": "$result", |
751 "recipe_result": null, | 715 "recipe_result": null, |
752 "status_code": 0 | 716 "status_code": 0 |
753 } | 717 } |
754 ] | 718 ] |
OLD | NEW |