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

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

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 months 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 "[CWD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
9 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
10 "~followup_annotations": [ 11 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
22 "@@@STEP_LOG_END@python.inline@@@" 23 "@@@STEP_LOG_END@python.inline@@@"
23 ] 24 ]
24 }, 25 },
25 { 26 {
26 "cmd": [ 27 "cmd": [
27 "python", 28 "python",
28 "-u", 29 "-u",
29 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
30 "config", 31 "config",
31 "--spec", 32 "--spec",
32 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org /chrome/trunk/src'}]\ntarget_os = ['android']" 33 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'} ]\ntarget_os = ['android']"
33 ], 34 ],
35 "cwd": "[SLAVE_BUILD]",
34 "env": { 36 "env": {
35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
36 }, 38 },
37 "name": "gclient setup" 39 "name": "gclient setup"
38 }, 40 },
39 { 41 {
40 "cmd": [ 42 "cmd": [
41 "python", 43 "python",
42 "-u", 44 "-u",
43 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", 45 "[BUILD]/scripts/slave/gclient_safe_revert.py",
44 ".", 46 ".",
45 "[ROOT]/b/depot_tools/gclient" 47 "[DEPOT_TOOLS]/gclient"
46 ], 48 ],
49 "cwd": "[SLAVE_BUILD]",
47 "name": "gclient revert" 50 "name": "gclient revert"
48 }, 51 },
49 { 52 {
50 "cmd": [ 53 "cmd": [
51 "python", 54 "python",
52 "-u", 55 "-u",
53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 56 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
54 "sync", 57 "sync",
55 "--nohooks", 58 "--nohooks",
56 "--force", 59 "--force",
57 "--verbose", 60 "--verbose",
58 "--delete_unversioned_trees", 61 "--delete_unversioned_trees",
59 "--revision", 62 "--revision",
60 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 63 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
61 "--output-json", 64 "--output-json",
62 "/path/to/tmp/json" 65 "/path/to/tmp/json"
63 ], 66 ],
67 "cwd": "[SLAVE_BUILD]",
64 "env": { 68 "env": {
65 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
66 }, 70 },
67 "name": "gclient sync", 71 "name": "gclient sync",
68 "~followup_annotations": [ 72 "~followup_annotations": [
69 "@@@STEP_LOG_LINE@json.output@{@@@", 73 "@@@STEP_LOG_LINE@json.output@{@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 75 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 76 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
73 "@@@STEP_LOG_LINE@json.output@ }, @@@", 77 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 24 matching lines...) Expand all
98 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", 102 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
99 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", 103 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@",
100 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 104 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
101 ] 105 ]
102 }, 106 },
103 { 107 {
104 "cmd": [ 108 "cmd": [
105 "python", 109 "python",
106 "-u", 110 "-u",
107 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 111 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
108 "[CWD]/src/out/Release/debug_info_dumps", 112 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
109 "[CWD]/src/out/Release/test_logs", 113 "[SLAVE_BUILD]/src/out/Release/test_logs",
110 "[CWD]/src/out/build_product.zip", 114 "[SLAVE_BUILD]/src/out/build_product.zip",
111 "[CWD]/src" 115 "[SLAVE_BUILD]/src"
112 ], 116 ],
117 "cwd": "[SLAVE_BUILD]",
113 "name": "clean local files", 118 "name": "clean local files",
114 "~followup_annotations": [ 119 "~followup_annotations": [
115 "@@@STEP_LOG_LINE@python.inline@@@@", 120 "@@@STEP_LOG_LINE@python.inline@@@@",
116 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 121 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
117 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 122 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
118 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 123 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
119 "@@@STEP_LOG_LINE@python.inline@try:@@@", 124 "@@@STEP_LOG_LINE@python.inline@try:@@@",
120 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 125 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
121 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 126 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
122 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 127 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
123 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 128 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
124 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 129 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
125 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 130 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
126 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 131 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
127 "@@@STEP_LOG_END@python.inline@@@" 132 "@@@STEP_LOG_END@python.inline@@@"
128 ] 133 ]
129 }, 134 },
130 { 135 {
131 "cmd": [ 136 "cmd": [
132 "python", 137 "python",
133 "-u", 138 "-u",
134 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 139 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
135 "runhooks" 140 "runhooks"
136 ], 141 ],
142 "cwd": "[SLAVE_BUILD]",
137 "env": { 143 "env": {
138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 144 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
139 "GYP_CROSSCOMPILE": "1", 145 "GYP_CROSSCOMPILE": "1",
140 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm", 146 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm",
141 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 147 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
142 }, 148 },
143 "name": "gclient runhooks" 149 "name": "gclient runhooks"
144 }, 150 },
145 { 151 {
146 "allow_subannotations": false, 152 "allow_subannotations": false,
147 "cmd": [ 153 "cmd": [
148 "[CWD]/src/build/tree_truth.sh", 154 "[SLAVE_BUILD]/src/build/tree_truth.sh",
149 "[CWD]/src", 155 "[SLAVE_BUILD]/src",
150 "src", 156 "src",
151 "foo", 157 "foo",
152 "src/repo" 158 "src/repo"
153 ], 159 ],
160 "cwd": "[SLAVE_BUILD]",
154 "name": "tree truth steps" 161 "name": "tree truth steps"
155 }, 162 },
156 { 163 {
157 "cmd": [ 164 "cmd": [
158 "python", 165 "python",
159 "-u", 166 "-u",
160 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 167 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
161 "[CWD]/src/chrome/VERSION", 168 "[SLAVE_BUILD]/src/chrome/VERSION",
162 "/path/to/tmp/" 169 "/path/to/tmp/"
163 ], 170 ],
171 "cwd": "[SLAVE_BUILD]",
164 "name": "get version" 172 "name": "get version"
165 }, 173 },
166 { 174 {
167 "cmd": [ 175 "cmd": [
168 "python", 176 "python",
169 "-u", 177 "-u",
170 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 178 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
171 "--", 179 "--",
172 "[ROOT]/b/depot_tools/gsutil.py", 180 "[DEPOT_TOOLS]/gsutil.py",
173 "--force-version", 181 "--force-version",
174 "4.7", 182 "4.7",
175 "----", 183 "----",
176 "cp", 184 "cp",
177 "gs://build-bucket/build_product.zip", 185 "gs://build-bucket/build_product.zip",
178 "[CWD]/src/out/build_product.zip" 186 "[SLAVE_BUILD]/src/out/build_product.zip"
179 ], 187 ],
188 "cwd": "[SLAVE_BUILD]",
180 "name": "gsutil download_build_product" 189 "name": "gsutil download_build_product"
181 }, 190 },
182 { 191 {
183 "cmd": [ 192 "cmd": [
184 "unzip", 193 "unzip",
185 "-o", 194 "-o",
186 "[CWD]/src/out/build_product.zip" 195 "[SLAVE_BUILD]/src/out/build_product.zip"
187 ], 196 ],
188 "cwd": "[CWD]/src", 197 "cwd": "[SLAVE_BUILD]/src",
189 "name": "unzip_build_product" 198 "name": "unzip_build_product"
190 }, 199 },
191 { 200 {
192 "cmd": [ 201 "cmd": [
193 "[ROOT]/b/depot_tools/git_number.py" 202 "[DEPOT_TOOLS]/git_number.py"
194 ], 203 ],
195 "cwd": "[CWD]/src", 204 "cwd": "[SLAVE_BUILD]/src",
196 "name": "git_number", 205 "name": "git_number",
197 "stdout": "/path/to/tmp/" 206 "stdout": "/path/to/tmp/"
198 }, 207 },
199 { 208 {
200 "cmd": [ 209 "cmd": [
201 "python", 210 "python",
202 "-u", 211 "-u",
203 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 212 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
204 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ", 213 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
205 "/path/to/tmp/json" 214 "/path/to/tmp/json"
206 ], 215 ],
216 "cwd": "[SLAVE_BUILD]",
207 "name": "List adb devices", 217 "name": "List adb devices",
208 "~followup_annotations": [ 218 "~followup_annotations": [
209 "@@@STEP_LOG_LINE@json.output@[@@@", 219 "@@@STEP_LOG_LINE@json.output@[@@@",
210 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 220 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
211 "@@@STEP_LOG_LINE@json.output@]@@@", 221 "@@@STEP_LOG_LINE@json.output@]@@@",
212 "@@@STEP_LOG_END@json.output@@@" 222 "@@@STEP_LOG_END@json.output@@@"
213 ] 223 ]
214 }, 224 },
215 { 225 {
216 "cmd": [ 226 "cmd": [
217 "python", 227 "python",
218 "-u", 228 "-u",
219 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess .check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path , '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev ice)\n", 229 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess .check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path , '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev ice)\n",
220 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", 230 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
221 "014E1F310401C009" 231 "014E1F310401C009"
222 ], 232 ],
233 "cwd": "[SLAVE_BUILD]",
223 "name": "Root devices", 234 "name": "Root devices",
224 "~followup_annotations": [ 235 "~followup_annotations": [
225 "@@@STEP_LOG_LINE@python.inline@@@@", 236 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 237 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
227 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 238 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
228 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 239 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
229 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 240 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
230 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 241 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
231 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 242 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
232 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 243 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
233 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 244 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
234 "@@@STEP_LOG_END@python.inline@@@" 245 "@@@STEP_LOG_END@python.inline@@@"
235 ] 246 ]
236 }, 247 },
237 { 248 {
238 "cmd": [ 249 "cmd": [
239 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 250 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
240 "--", 251 "--",
241 "[CWD]/src/build/android/adb_logcat_monitor.py", 252 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
242 "[CWD]/src/out/logcat" 253 "[SLAVE_BUILD]/src/out/logcat"
243 ], 254 ],
255 "cwd": "[SLAVE_BUILD]",
244 "env": { 256 "env": {
245 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
246 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 258 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
247 }, 259 },
248 "name": "spawn_logcat_monitor" 260 "name": "spawn_logcat_monitor"
249 }, 261 },
250 { 262 {
251 "cmd": [ 263 "cmd": [
252 "python", 264 "python",
253 "-u", 265 "-u",
254 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 266 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
255 "--verbose", 267 "--verbose",
256 "--adb-path", 268 "--adb-path",
257 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" 269 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
258 ], 270 ],
271 "cwd": "[SLAVE_BUILD]",
259 "env": { 272 "env": {
260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 273 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
261 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 274 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
262 }, 275 },
263 "name": "authorize_adb_devices" 276 "name": "authorize_adb_devices"
264 }, 277 },
265 { 278 {
266 "cmd": [ 279 "cmd": [
267 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 280 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
268 "--json-output", 281 "--json-output",
269 "/path/to/tmp/json", 282 "/path/to/tmp/json",
270 "--blacklist-file", 283 "--blacklist-file",
271 "[CWD]/src/out/bad_devices.json", 284 "[SLAVE_BUILD]/src/out/bad_devices.json",
272 "--known-devices-file", 285 "--known-devices-file",
273 "[ROOT]/b/build/site_config/.known_devices" 286 "[BUILD]/site_config/.known_devices"
274 ], 287 ],
288 "cwd": "[SLAVE_BUILD]",
275 "env": { 289 "env": {
276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 290 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
277 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
278 }, 292 },
279 "name": "device_status_check", 293 "name": "device_status_check",
280 "~followup_annotations": [ 294 "~followup_annotations": [
281 "@@@STEP_TEXT@Online devices: 1@@@", 295 "@@@STEP_TEXT@Online devices: 1@@@",
282 "@@@STEP_LOG_LINE@json.output@[@@@", 296 "@@@STEP_LOG_LINE@json.output@[@@@",
283 "@@@STEP_LOG_LINE@json.output@ {@@@", 297 "@@@STEP_LOG_LINE@json.output@ {@@@",
284 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 298 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
285 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 299 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
286 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 300 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
287 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 301 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 383 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
370 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 384 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
371 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 385 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
372 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 386 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
373 ] 387 ]
374 }, 388 },
375 { 389 {
376 "cmd": [ 390 "cmd": [
377 "python", 391 "python",
378 "-u", 392 "-u",
379 "[CWD]/src/build/android/provision_devices.py", 393 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
380 "-t", 394 "-t",
381 "Release", 395 "Release",
382 "--blacklist-file", 396 "--blacklist-file",
383 "[CWD]/src/out/bad_devices.json", 397 "[SLAVE_BUILD]/src/out/bad_devices.json",
384 "--output-device-blacklist", 398 "--output-device-blacklist",
385 "/path/to/tmp/json" 399 "/path/to/tmp/json"
386 ], 400 ],
401 "cwd": "[SLAVE_BUILD]",
387 "env": { 402 "env": {
388 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 403 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
389 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 404 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
390 }, 405 },
391 "name": "provision_devices" 406 "name": "provision_devices"
392 }, 407 },
393 { 408 {
394 "cmd": [ 409 "cmd": [
395 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 410 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
396 "--json-output", 411 "--json-output",
397 "/path/to/tmp/json", 412 "/path/to/tmp/json",
398 "--blacklist-file", 413 "--blacklist-file",
399 "[CWD]/src/out/bad_devices.json", 414 "[SLAVE_BUILD]/src/out/bad_devices.json",
400 "--known-devices-file", 415 "--known-devices-file",
401 "[ROOT]/b/build/site_config/.known_devices" 416 "[BUILD]/site_config/.known_devices"
402 ], 417 ],
418 "cwd": "[SLAVE_BUILD]",
403 "env": { 419 "env": {
404 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
405 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
406 }, 422 },
407 "name": "device_status_check (2)", 423 "name": "device_status_check (2)",
408 "~followup_annotations": [ 424 "~followup_annotations": [
409 "@@@STEP_TEXT@Online devices: 1@@@", 425 "@@@STEP_TEXT@Online devices: 1@@@",
410 "@@@STEP_LOG_LINE@json.output@[@@@", 426 "@@@STEP_LOG_LINE@json.output@[@@@",
411 "@@@STEP_LOG_LINE@json.output@ {@@@", 427 "@@@STEP_LOG_LINE@json.output@ {@@@",
412 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 428 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
413 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 429 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
414 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 430 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
415 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 431 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 513 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
498 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 514 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
499 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 515 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
500 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 516 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
501 ] 517 ]
502 }, 518 },
503 { 519 {
504 "cmd": [ 520 "cmd": [
505 "python", 521 "python",
506 "-u", 522 "-u",
507 "[CWD]/src/build/android/provision_devices.py", 523 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
508 "-t", 524 "-t",
509 "Release", 525 "Release",
510 "--blacklist-file", 526 "--blacklist-file",
511 "[CWD]/src/out/bad_devices.json", 527 "[SLAVE_BUILD]/src/out/bad_devices.json",
512 "--output-device-blacklist", 528 "--output-device-blacklist",
513 "/path/to/tmp/json", 529 "/path/to/tmp/json",
514 "--reboot-timeout", 530 "--reboot-timeout",
515 "1800" 531 "1800"
516 ], 532 ],
533 "cwd": "[SLAVE_BUILD]",
517 "env": { 534 "env": {
518 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 535 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
519 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 536 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
520 }, 537 },
521 "name": "provision_devices (2)" 538 "name": "provision_devices (2)"
522 }, 539 },
523 { 540 {
524 "cmd": [ 541 "cmd": [
525 "python", 542 "python",
526 "-u", 543 "-u",
527 "[CWD]/src/build/android/test_runner.py", 544 "[SLAVE_BUILD]/src/build/android/test_runner.py",
528 "monkey", 545 "monkey",
529 "-v", 546 "-v",
530 "--package=chrome", 547 "--package=chrome",
531 "--event-count=50000", 548 "--event-count=50000",
532 "--blacklist-file", 549 "--blacklist-file",
533 "[CWD]/src/out/bad_devices.json" 550 "[SLAVE_BUILD]/src/out/bad_devices.json"
534 ], 551 ],
552 "cwd": "[SLAVE_BUILD]",
535 "env": { 553 "env": {
536 "BUILDTYPE": "Release", 554 "BUILDTYPE": "Release",
537 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 555 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
538 }, 556 },
539 "name": "Monkey Test" 557 "name": "Monkey Test"
540 }, 558 },
541 { 559 {
542 "cmd": [ 560 "cmd": [
543 "python", 561 "python",
544 "-u", 562 "-u",
545 "[CWD]/src/build/android/test_runner.py", 563 "[SLAVE_BUILD]/src/build/android/test_runner.py",
546 "instrumentation", 564 "instrumentation",
547 "--blacklist-file", 565 "--blacklist-file",
548 "[CWD]/src/out/bad_devices.json", 566 "[SLAVE_BUILD]/src/out/bad_devices.json",
549 "--flakiness-dashboard-server", 567 "--flakiness-dashboard-server",
550 "test-results.appspot.com", 568 "test-results.appspot.com",
551 "-A", 569 "-A",
552 "SmallTest", 570 "SmallTest",
553 "-E", 571 "-E",
554 "FlakyTest", 572 "FlakyTest",
555 "--screenshot", 573 "--screenshot",
556 "--host-driven-root", 574 "--host-driven-root",
557 "[CWD]/src/chrome/test", 575 "[SLAVE_BUILD]/src/chrome/test",
558 "--device-flags", 576 "--device-flags",
559 "device_flags_file", 577 "device_flags_file",
560 "--test-apk", 578 "--test-apk",
561 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", 579 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
562 "--apk-under-test", 580 "--apk-under-test",
563 "[CWD]/src/out/Release/apks/AndroidWebView.apk", 581 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
564 "--additional-apk", 582 "--additional-apk",
565 "Additional.apk", 583 "Additional.apk",
566 "--isolate-file-path", 584 "--isolate-file-path",
567 "android_webview/android_webview_test_apk.isolate", 585 "android_webview/android_webview_test_apk.isolate",
568 "--release", 586 "--release",
569 "--official-build" 587 "--official-build"
570 ], 588 ],
589 "cwd": "[SLAVE_BUILD]",
571 "env": { 590 "env": {
572 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 591 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
573 }, 592 },
574 "name": "Instrumentation test SmallTest" 593 "name": "Instrumentation test SmallTest"
575 }, 594 },
576 { 595 {
577 "cmd": [ 596 "cmd": [
578 "python", 597 "python",
579 "-u", 598 "-u",
580 "[CWD]/src/out/Release/bin/run_unittests", 599 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests",
581 "--blacklist-file", 600 "--blacklist-file",
582 "[CWD]/src/out/bad_devices.json", 601 "[SLAVE_BUILD]/src/out/bad_devices.json",
583 "--verbose", 602 "--verbose",
584 "--isolate_file_path=[CWD]/src/some_file.isolate", 603 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
585 "--gtest_filter=WebRtc*", 604 "--gtest_filter=WebRtc*",
586 "--tool=asan" 605 "--tool=asan"
587 ], 606 ],
607 "cwd": "[SLAVE_BUILD]",
588 "env": { 608 "env": {
589 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 609 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
590 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 610 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
591 }, 611 },
592 "name": "unittests" 612 "name": "unittests"
593 }, 613 },
594 { 614 {
595 "cmd": [ 615 "cmd": [
596 "[CWD]/src/tools/prepare-bisect-perf-regression.py", 616 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
597 "-w", 617 "-w",
598 "[CWD]" 618 "[SLAVE_BUILD]"
599 ], 619 ],
620 "cwd": "[SLAVE_BUILD]",
600 "name": "prepare bisect perf regression" 621 "name": "prepare bisect perf regression"
601 }, 622 },
602 { 623 {
603 "cmd": [ 624 "cmd": [
604 "[CWD]/src/tools/run-bisect-perf-regression.py", 625 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
605 "-w", 626 "-w",
606 "[CWD]", 627 "[SLAVE_BUILD]",
607 "--extra_src", 628 "--extra_src",
608 "test.py", 629 "test.py",
609 "--path_to_config", 630 "--path_to_config",
610 "test.py" 631 "test.py"
611 ], 632 ],
633 "cwd": "[SLAVE_BUILD]",
612 "name": "run bisect perf regression" 634 "name": "run bisect perf regression"
613 }, 635 },
614 { 636 {
615 "cmd": [ 637 "cmd": [
616 "python", 638 "python",
617 "-u", 639 "-u",
618 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", 640 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py",
619 "[CWD]/src/out/Release/full_log", 641 "[SLAVE_BUILD]/src/out/Release/full_log",
620 "--", 642 "--",
621 "[CWD]/src/build/android/adb_logcat_printer.py", 643 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
622 "[CWD]/src/out/logcat" 644 "[SLAVE_BUILD]/src/out/logcat"
623 ], 645 ],
646 "cwd": "[SLAVE_BUILD]",
624 "name": "logcat_dump" 647 "name": "logcat_dump"
625 }, 648 },
626 { 649 {
627 "cmd": [ 650 "cmd": [
628 "[CWD]/src/third_party/android_platform/development/scripts/stack", 651 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
629 "--arch", 652 "--arch",
630 "arm", 653 "arm",
631 "--more-info", 654 "--more-info",
632 "[CWD]/src/out/Release/full_log" 655 "[SLAVE_BUILD]/src/out/Release/full_log"
633 ], 656 ],
657 "cwd": "[SLAVE_BUILD]",
634 "env": { 658 "env": {
635 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 659 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
636 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 660 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
637 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 661 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
638 }, 662 },
639 "name": "stack_tool_with_logcat_dump" 663 "name": "stack_tool_with_logcat_dump"
640 }, 664 },
641 { 665 {
642 "cmd": [ 666 "cmd": [
643 "[CWD]/src/build/android/tombstones.py", 667 "[SLAVE_BUILD]/src/build/android/tombstones.py",
644 "-a", 668 "-a",
645 "-s", 669 "-s",
646 "-w" 670 "-w"
647 ], 671 ],
672 "cwd": "[SLAVE_BUILD]",
648 "env": { 673 "env": {
649 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 674 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
650 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 675 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
651 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 676 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
652 }, 677 },
653 "name": "stack_tool_for_tombstones" 678 "name": "stack_tool_for_tombstones"
654 }, 679 },
655 { 680 {
656 "cmd": [ 681 "cmd": [
657 "[CWD]/src/build/android/asan_symbolize.py", 682 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
658 "-l", 683 "-l",
659 "[CWD]/src/out/Release/full_log" 684 "[SLAVE_BUILD]/src/out/Release/full_log"
660 ], 685 ],
686 "cwd": "[SLAVE_BUILD]",
661 "env": { 687 "env": {
662 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 688 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
663 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 689 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
664 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 690 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
665 }, 691 },
666 "name": "stack_tool_for_asan" 692 "name": "stack_tool_for_asan"
667 }, 693 },
668 { 694 {
669 "name": "$result", 695 "name": "$result",
670 "recipe_result": null, 696 "recipe_result": null,
671 "status_code": 0 697 "status_code": 0
672 } 698 }
673 ] 699 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698