Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/use_devil_adb_basic.json

Issue 2486923002: Use devil's adb with each bisect iteration, also start/stop daemons. (Closed)
Patch Set: Cleanup. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 "env": { 808 "env": {
809 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 809 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
810 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 810 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
811 }, 811 },
812 "name": "provision_devices (2)" 812 "name": "provision_devices (2)"
813 }, 813 },
814 { 814 {
815 "cmd": [ 815 "cmd": [
816 "python", 816 "python",
817 "-u", 817 "-u",
818 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n devil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb '])\n", 818 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n from devil.android.sdk import adb_wrapper\ndevil_env.config.Initialize()\ndevil_ env.config.PrefetchPaths(dependencies=['adb'])\nadb_wrapper.AdbWrapper.StartServ er()\n",
ghost stip (do not use) 2016/11/09 01:55:56 because prod and staging recipes import the same d
819 "[SLAVE_BUILD]/src/third_party/catapult/devil" 819 "[SLAVE_BUILD]/src/third_party/catapult/devil"
820 ], 820 ],
821 "name": "initialize devil", 821 "name": "initialize devil",
822 "~followup_annotations": [ 822 "~followup_annotations": [
823 "@@@STEP_LOG_LINE@python.inline@@@@", 823 "@@@STEP_LOG_LINE@python.inline@@@@",
824 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 824 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
825 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@", 825 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@",
826 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@", 826 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@",
827 "@@@STEP_LOG_LINE@python.inline@from devil.android.sdk import adb_wrapper@ @@",
827 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@", 828 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@",
828 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie s=['adb'])@@@", 829 "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie s=['adb'])@@@",
830 "@@@STEP_LOG_LINE@python.inline@adb_wrapper.AdbWrapper.StartServer()@@@",
829 "@@@STEP_LOG_END@python.inline@@@" 831 "@@@STEP_LOG_END@python.inline@@@"
830 ] 832 ]
831 }, 833 },
832 { 834 {
833 "cmd": [ 835 "cmd": [
834 "python", 836 "python",
835 "-u", 837 "-u",
836 "[SLAVE_BUILD]/src/build/symlink.py", 838 "[SLAVE_BUILD]/src/build/symlink.py",
837 "-f", 839 "-f",
838 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db", 840 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db",
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 1198 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
1197 }, 1199 },
1198 "name": "stack_tool_for_asan" 1200 "name": "stack_tool_for_asan"
1199 }, 1201 },
1200 { 1202 {
1201 "name": "$result", 1203 "name": "$result",
1202 "recipe_result": null, 1204 "recipe_result": null,
1203 "status_code": 0 1205 "status_code": 0
1204 } 1206 }
1205 ] 1207 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698