| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 { | 300 { |
| 301 "cmd": [ | 301 "cmd": [ |
| 302 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 302 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 303 "--adb-path", | 303 "--adb-path", |
| 304 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 304 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 305 "--blacklist-file", | 305 "--blacklist-file", |
| 306 "[SLAVE_BUILD]/src/out/bad_devices.json", | 306 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 307 "--json-output", | 307 "--json-output", |
| 308 "/path/to/tmp/json", | 308 "/path/to/tmp/json", |
| 309 "--known-devices-file", | 309 "--known-devices-file", |
| 310 "[CACHE]/known_android_devices" | 310 "[HOME]/.android/known_devices.json" |
| 311 ], | 311 ], |
| 312 "env": { | 312 "env": { |
| 313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 314 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 314 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 315 }, | 315 }, |
| 316 "name": "device_status_check", | 316 "name": "device_status_check", |
| 317 "~followup_annotations": [ | 317 "~followup_annotations": [ |
| 318 "@@@STEP_TEXT@Online devices: 1@@@", | 318 "@@@STEP_TEXT@Online devices: 1@@@", |
| 319 "@@@STEP_LOG_LINE@json.output@[@@@", | 319 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 320 "@@@STEP_LOG_LINE@json.output@ {@@@", | 320 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 "-t", | 423 "-t", |
| 424 "Release" | 424 "Release" |
| 425 ], | 425 ], |
| 426 "env": { | 426 "env": { |
| 427 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 427 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 428 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 428 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 429 }, | 429 }, |
| 430 "name": "provision_devices" | 430 "name": "provision_devices" |
| 431 }, | 431 }, |
| 432 { | 432 { |
| 433 "cmd": [], |
| 434 "name": "fix_device_file_format" |
| 435 }, |
| 436 { |
| 437 "cmd": [ |
| 438 "python", |
| 439 "-u", |
| 440 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 441 "[HOME]/.android/known_devices.json", |
| 442 "/path/to/tmp/" |
| 443 ], |
| 444 "name": "fix_device_file_format.read_device_file", |
| 445 "~followup_annotations": [ |
| 446 "@@@STEP_NEST_LEVEL@1@@@", |
| 447 "@@@STEP_TEXT@file format is compatible@@@" |
| 448 ] |
| 449 }, |
| 450 { |
| 433 "cmd": [ | 451 "cmd": [ |
| 434 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 452 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 435 "--adb-path", | 453 "--adb-path", |
| 436 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 454 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
| 437 "--blacklist-file", | 455 "--blacklist-file", |
| 438 "[SLAVE_BUILD]/src/out/bad_devices.json", | 456 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 439 "--json-output", | 457 "--json-output", |
| 440 "/path/to/tmp/json", | 458 "/path/to/tmp/json", |
| 441 "--known-devices-file", | 459 "--known-devices-file", |
| 442 "[CACHE]/known_android_devices" | 460 "[HOME]/.android/known_devices.json" |
| 443 ], | 461 ], |
| 444 "env": { | 462 "env": { |
| 445 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 463 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
| 446 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 464 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 447 }, | 465 }, |
| 448 "name": "device_status_check (2)", | 466 "name": "device_status_check (2)", |
| 449 "~followup_annotations": [ | 467 "~followup_annotations": [ |
| 450 "@@@STEP_TEXT@Online devices: 1@@@", | 468 "@@@STEP_TEXT@Online devices: 1@@@", |
| 451 "@@@STEP_LOG_LINE@json.output@[@@@", | 469 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 452 "@@@STEP_LOG_LINE@json.output@ {@@@", | 470 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 737 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 720 }, | 738 }, |
| 721 "name": "stack_tool_for_asan" | 739 "name": "stack_tool_for_asan" |
| 722 }, | 740 }, |
| 723 { | 741 { |
| 724 "name": "$result", | 742 "name": "$result", |
| 725 "recipe_result": null, | 743 "recipe_result": null, |
| 726 "status_code": 0 | 744 "status_code": 0 |
| 727 } | 745 } |
| 728 ] | 746 ] |
| OLD | NEW |