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

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

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 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 | Annotate | Revision Log
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 "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'):@ @@",
(...skipping 22 matching lines...) Expand all
41 "{}", 42 "{}",
42 "--patch_url", 43 "--patch_url",
43 "https://the.patch.url/the.patch", 44 "https://the.patch.url/the.patch",
44 "--output_json", 45 "--output_json",
45 "/path/to/tmp/json", 46 "/path/to/tmp/json",
46 "--revision", 47 "--revision",
47 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 48 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
48 "--refs", 49 "--refs",
49 "refs/changes/50/176150/1" 50 "refs/changes/50/176150/1"
50 ], 51 ],
52 "cwd": "[SLAVE_BUILD]",
51 "name": "bot_update", 53 "name": "bot_update",
52 "~followup_annotations": [ 54 "~followup_annotations": [
53 "@@@STEP_LOG_LINE@json.output@{@@@", 55 "@@@STEP_LOG_LINE@json.output@{@@@",
54 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 56 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
55 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 57 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
56 "@@@STEP_LOG_LINE@json.output@}@@@", 58 "@@@STEP_LOG_LINE@json.output@}@@@",
57 "@@@STEP_LOG_END@json.output@@@" 59 "@@@STEP_LOG_END@json.output@@@"
58 ] 60 ]
59 }, 61 },
60 { 62 {
61 "cmd": [ 63 "cmd": [
62 "python", 64 "python",
63 "-u", 65 "-u",
64 "[DEPOT_TOOLS]/gclient.py", 66 "[DEPOT_TOOLS]/gclient.py",
65 "config", 67 "config",
66 "--spec", 68 "--spec",
67 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']" 69 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
68 ], 70 ],
71 "cwd": "[SLAVE_BUILD]",
69 "name": "gclient setup" 72 "name": "gclient setup"
70 }, 73 },
71 { 74 {
72 "cmd": [ 75 "cmd": [
73 "python", 76 "python",
74 "-u", 77 "-u",
75 "[BUILD]/scripts/slave/gclient_safe_revert.py", 78 "[BUILD]/scripts/slave/gclient_safe_revert.py",
76 ".", 79 ".",
77 "[DEPOT_TOOLS]/gclient" 80 "[DEPOT_TOOLS]/gclient"
78 ], 81 ],
82 "cwd": "[SLAVE_BUILD]",
79 "name": "gclient revert" 83 "name": "gclient revert"
80 }, 84 },
81 { 85 {
82 "cmd": [ 86 "cmd": [
83 "python", 87 "python",
84 "-u", 88 "-u",
85 "[DEPOT_TOOLS]/gclient.py", 89 "[DEPOT_TOOLS]/gclient.py",
86 "sync", 90 "sync",
87 "--nohooks", 91 "--nohooks",
88 "--force", 92 "--force",
89 "--verbose", 93 "--verbose",
90 "--delete_unversioned_trees", 94 "--delete_unversioned_trees",
91 "--revision", 95 "--revision",
92 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 96 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
93 "--output-json", 97 "--output-json",
94 "/path/to/tmp/json" 98 "/path/to/tmp/json"
95 ], 99 ],
100 "cwd": "[SLAVE_BUILD]",
96 "name": "gclient sync", 101 "name": "gclient sync",
97 "~followup_annotations": [ 102 "~followup_annotations": [
98 "@@@STEP_LOG_LINE@json.output@{@@@", 103 "@@@STEP_LOG_LINE@json.output@{@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 104 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
100 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 105 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 106 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
102 "@@@STEP_LOG_LINE@json.output@ }, @@@", 107 "@@@STEP_LOG_LINE@json.output@ }, @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 108 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 109 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
105 "@@@STEP_LOG_LINE@json.output@ }, @@@", 110 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 26 matching lines...) Expand all
132 { 137 {
133 "cmd": [ 138 "cmd": [
134 "python", 139 "python",
135 "-u", 140 "-u",
136 "\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", 141 "\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",
137 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 142 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
138 "[SLAVE_BUILD]/src/out/Release/test_logs", 143 "[SLAVE_BUILD]/src/out/Release/test_logs",
139 "[SLAVE_BUILD]/src/out/build_product.zip", 144 "[SLAVE_BUILD]/src/out/build_product.zip",
140 "[SLAVE_BUILD]/src" 145 "[SLAVE_BUILD]/src"
141 ], 146 ],
147 "cwd": "[SLAVE_BUILD]",
142 "name": "clean local files", 148 "name": "clean local files",
143 "~followup_annotations": [ 149 "~followup_annotations": [
144 "@@@STEP_LOG_LINE@python.inline@@@@", 150 "@@@STEP_LOG_LINE@python.inline@@@@",
145 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 151 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
146 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 152 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
147 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 153 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
148 "@@@STEP_LOG_LINE@python.inline@try:@@@", 154 "@@@STEP_LOG_LINE@python.inline@try:@@@",
149 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 155 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
150 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 156 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
151 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 157 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
152 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 158 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
153 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 159 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
154 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 160 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
155 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 161 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
156 "@@@STEP_LOG_END@python.inline@@@" 162 "@@@STEP_LOG_END@python.inline@@@"
157 ] 163 ]
158 }, 164 },
159 { 165 {
160 "cmd": [ 166 "cmd": [
161 "python", 167 "python",
162 "-u", 168 "-u",
163 "[DEPOT_TOOLS]/gclient.py", 169 "[DEPOT_TOOLS]/gclient.py",
164 "runhooks" 170 "runhooks"
165 ], 171 ],
172 "cwd": "[SLAVE_BUILD]",
166 "env": { 173 "env": {
167 "GYP_CROSSCOMPILE": "1", 174 "GYP_CROSSCOMPILE": "1",
168 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm", 175 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm",
169 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 176 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
170 }, 177 },
171 "name": "gclient runhooks" 178 "name": "gclient runhooks"
172 }, 179 },
173 { 180 {
174 "allow_subannotations": false, 181 "allow_subannotations": false,
175 "cmd": [ 182 "cmd": [
176 "[SLAVE_BUILD]/src/build/tree_truth.sh", 183 "[SLAVE_BUILD]/src/build/tree_truth.sh",
177 "[SLAVE_BUILD]/src", 184 "[SLAVE_BUILD]/src",
178 "src", 185 "src",
179 "foo", 186 "foo",
180 "src/repo" 187 "src/repo"
181 ], 188 ],
189 "cwd": "[SLAVE_BUILD]",
182 "name": "tree truth steps" 190 "name": "tree truth steps"
183 }, 191 },
184 { 192 {
185 "cmd": [ 193 "cmd": [
186 "cat", 194 "cat",
187 "[SLAVE_BUILD]/src/chrome/VERSION" 195 "[SLAVE_BUILD]/src/chrome/VERSION"
188 ], 196 ],
197 "cwd": "[SLAVE_BUILD]",
189 "name": "get version", 198 "name": "get version",
190 "stdout": "/path/to/tmp/version" 199 "stdout": "/path/to/tmp/version"
191 }, 200 },
192 { 201 {
193 "cmd": [ 202 "cmd": [
194 "python", 203 "python",
195 "-u", 204 "-u",
196 "[BUILD]/scripts/slave/compile.py", 205 "[BUILD]/scripts/slave/compile.py",
197 "--target", 206 "--target",
198 "Release", 207 "Release",
199 "--src-dir", 208 "--src-dir",
200 "[SLAVE_BUILD]/src", 209 "[SLAVE_BUILD]/src",
201 "--build-tool", 210 "--build-tool",
202 "ninja", 211 "ninja",
203 "--" 212 "--"
204 ], 213 ],
214 "cwd": "[SLAVE_BUILD]",
205 "env": { 215 "env": {
206 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 216 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
207 }, 217 },
208 "name": "compile" 218 "name": "compile"
209 }, 219 },
210 { 220 {
211 "cmd": [ 221 "cmd": [
212 "python", 222 "python",
213 "-u", 223 "-u",
214 "[BUILD]/scripts/slave/android/archive_build.py", 224 "[BUILD]/scripts/slave/android/archive_build.py",
215 "--target", 225 "--target",
216 "Release", 226 "Release",
217 "--name", 227 "--name",
218 "archive.zip", 228 "archive.zip",
219 "--filters", 229 "--filters",
220 "*.apk" 230 "*.apk"
221 ], 231 ],
232 "cwd": "[SLAVE_BUILD]",
222 "name": "zip_build_proudct" 233 "name": "zip_build_proudct"
223 }, 234 },
224 { 235 {
225 "cmd": [ 236 "cmd": [
226 "[DEPOT_TOOLS]/git_number.py" 237 "[DEPOT_TOOLS]/git_number.py"
227 ], 238 ],
228 "cwd": "[SLAVE_BUILD]/src", 239 "cwd": "[SLAVE_BUILD]/src",
229 "name": "git_number", 240 "name": "git_number",
230 "stdout": "/path/to/tmp/" 241 "stdout": "/path/to/tmp/"
231 }, 242 },
232 { 243 {
233 "cmd": [ 244 "cmd": [
234 "python", 245 "python",
235 "-u", 246 "-u",
236 "RECIPE_MODULE[adb]/resources/list_devices.py", 247 "RECIPE_MODULE[adb]/resources/list_devices.py",
237 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 248 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
238 "/path/to/tmp/json" 249 "/path/to/tmp/json"
239 ], 250 ],
251 "cwd": "[SLAVE_BUILD]",
240 "name": "List adb devices", 252 "name": "List adb devices",
241 "~followup_annotations": [ 253 "~followup_annotations": [
242 "@@@STEP_LOG_LINE@json.output@[@@@", 254 "@@@STEP_LOG_LINE@json.output@[@@@",
243 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 255 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
244 "@@@STEP_LOG_LINE@json.output@]@@@", 256 "@@@STEP_LOG_LINE@json.output@]@@@",
245 "@@@STEP_LOG_END@json.output@@@" 257 "@@@STEP_LOG_END@json.output@@@"
246 ] 258 ]
247 }, 259 },
248 { 260 {
249 "cmd": [ 261 "cmd": [
250 "python", 262 "python",
251 "-u", 263 "-u",
252 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n", 264 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n",
253 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 265 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
254 "014E1F310401C009" 266 "014E1F310401C009"
255 ], 267 ],
268 "cwd": "[SLAVE_BUILD]",
256 "name": "Root devices", 269 "name": "Root devices",
257 "~followup_annotations": [ 270 "~followup_annotations": [
258 "@@@STEP_LOG_LINE@python.inline@@@@", 271 "@@@STEP_LOG_LINE@python.inline@@@@",
259 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 272 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
260 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 273 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
261 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 274 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
262 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 275 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
263 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 276 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
264 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 277 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
265 "@@@STEP_LOG_END@python.inline@@@" 278 "@@@STEP_LOG_END@python.inline@@@"
266 ] 279 ]
267 }, 280 },
268 { 281 {
269 "cmd": [ 282 "cmd": [
270 "[BUILD]/scripts/slave/daemonizer.py", 283 "[BUILD]/scripts/slave/daemonizer.py",
271 "--", 284 "--",
272 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 285 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
273 "[SLAVE_BUILD]/src/out/logcat" 286 "[SLAVE_BUILD]/src/out/logcat"
274 ], 287 ],
288 "cwd": "[SLAVE_BUILD]",
275 "env": { 289 "env": {
276 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 290 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
277 }, 291 },
278 "name": "spawn_logcat_monitor" 292 "name": "spawn_logcat_monitor"
279 }, 293 },
280 { 294 {
281 "cmd": [ 295 "cmd": [
282 "python", 296 "python",
283 "-u", 297 "-u",
284 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", 298 "[BUILD]/scripts/slave/android/authorize_adb_devices.py",
285 "--adb-path", 299 "--adb-path",
286 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 300 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
287 ], 301 ],
302 "cwd": "[SLAVE_BUILD]",
288 "env": { 303 "env": {
289 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 304 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
290 }, 305 },
291 "name": "authorize_adb_devices" 306 "name": "authorize_adb_devices"
292 }, 307 },
293 { 308 {
294 "cmd": [ 309 "cmd": [
295 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 310 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
296 "--json-output", 311 "--json-output",
297 "/path/to/tmp/json" 312 "/path/to/tmp/json"
298 ], 313 ],
314 "cwd": "[SLAVE_BUILD]",
299 "env": { 315 "env": {
300 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 316 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
301 }, 317 },
302 "name": "device_status_check", 318 "name": "device_status_check",
303 "~followup_annotations": [ 319 "~followup_annotations": [
304 "@@@STEP_TEXT@Online devices: 1@@@", 320 "@@@STEP_TEXT@Online devices: 1@@@",
305 "@@@STEP_LOG_LINE@json.output@[@@@", 321 "@@@STEP_LOG_LINE@json.output@[@@@",
306 "@@@STEP_LOG_LINE@json.output@ {@@@", 322 "@@@STEP_LOG_LINE@json.output@ {@@@",
307 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 323 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
308 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 324 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 20 matching lines...) Expand all
329 ] 345 ]
330 }, 346 },
331 { 347 {
332 "cmd": [ 348 "cmd": [
333 "python", 349 "python",
334 "-u", 350 "-u",
335 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 351 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
336 "-t", 352 "-t",
337 "Release" 353 "Release"
338 ], 354 ],
355 "cwd": "[SLAVE_BUILD]",
339 "env": { 356 "env": {
340 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 357 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
341 }, 358 },
342 "name": "provision_devices" 359 "name": "provision_devices"
343 }, 360 },
344 { 361 {
345 "cmd": [ 362 "cmd": [
346 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 363 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
347 "--json-output", 364 "--json-output",
348 "/path/to/tmp/json" 365 "/path/to/tmp/json"
349 ], 366 ],
367 "cwd": "[SLAVE_BUILD]",
350 "env": { 368 "env": {
351 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 369 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
352 }, 370 },
353 "name": "device_status_check (2)", 371 "name": "device_status_check (2)",
354 "~followup_annotations": [ 372 "~followup_annotations": [
355 "@@@STEP_TEXT@Online devices: 1@@@", 373 "@@@STEP_TEXT@Online devices: 1@@@",
356 "@@@STEP_LOG_LINE@json.output@[@@@", 374 "@@@STEP_LOG_LINE@json.output@[@@@",
357 "@@@STEP_LOG_LINE@json.output@ {@@@", 375 "@@@STEP_LOG_LINE@json.output@ {@@@",
358 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 376 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
359 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 377 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 21 matching lines...) Expand all
381 }, 399 },
382 { 400 {
383 "cmd": [ 401 "cmd": [
384 "python", 402 "python",
385 "-u", 403 "-u",
386 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 404 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
387 "-t", 405 "-t",
388 "Release", 406 "Release",
389 "--skip-wipe" 407 "--skip-wipe"
390 ], 408 ],
409 "cwd": "[SLAVE_BUILD]",
391 "env": { 410 "env": {
392 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 411 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
393 }, 412 },
394 "name": "provision_devices (2)" 413 "name": "provision_devices (2)"
395 }, 414 },
396 { 415 {
397 "cmd": [ 416 "cmd": [
398 "python", 417 "python",
399 "-u", 418 "-u",
400 "[SLAVE_BUILD]/src/build/android/test_runner.py", 419 "[SLAVE_BUILD]/src/build/android/test_runner.py",
401 "monkey", 420 "monkey",
402 "-v", 421 "-v",
403 "--package=chrome", 422 "--package=chrome",
404 "--event-count=50000" 423 "--event-count=50000"
405 ], 424 ],
425 "cwd": "[SLAVE_BUILD]",
406 "env": { 426 "env": {
407 "BUILDTYPE": "Release" 427 "BUILDTYPE": "Release"
408 }, 428 },
409 "name": "Monkey Test" 429 "name": "Monkey Test"
410 }, 430 },
411 { 431 {
412 "cmd": [ 432 "cmd": [
413 "python", 433 "python",
414 "-u", 434 "-u",
415 "[SLAVE_BUILD]/src/build/android/test_runner.py", 435 "[SLAVE_BUILD]/src/build/android/test_runner.py",
416 "instrumentation", 436 "instrumentation",
417 "--test-apk", 437 "--test-apk",
418 "AndroidWebViewTest", 438 "AndroidWebViewTest",
419 "--isolate-file-path", 439 "--isolate-file-path",
420 "android_webview/android_webview_test_apk.isolate", 440 "android_webview/android_webview_test_apk.isolate",
421 "--flakiness-dashboard-server", 441 "--flakiness-dashboard-server",
422 "test-results.appspot.com", 442 "test-results.appspot.com",
423 "-A", 443 "-A",
424 "SmallTest", 444 "SmallTest",
425 "-E", 445 "-E",
426 "FlakyTest", 446 "FlakyTest",
427 "--screenshot", 447 "--screenshot",
428 "--release", 448 "--release",
429 "--host-driven-root", 449 "--host-driven-root",
430 "[SLAVE_BUILD]/src/chrome/test", 450 "[SLAVE_BUILD]/src/chrome/test",
431 "--official-build" 451 "--official-build"
432 ], 452 ],
453 "cwd": "[SLAVE_BUILD]",
433 "name": "Instrumentation test SmallTest" 454 "name": "Instrumentation test SmallTest"
434 }, 455 },
435 { 456 {
436 "cmd": [ 457 "cmd": [
437 "python", 458 "python",
438 "-u", 459 "-u",
439 "[SLAVE_BUILD]/src/build/android/test_runner.py", 460 "[SLAVE_BUILD]/src/build/android/test_runner.py",
440 "gtest", 461 "gtest",
441 "-s", 462 "-s",
442 "unittests", 463 "unittests",
443 "--verbose", 464 "--verbose",
444 "--release", 465 "--release",
445 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 466 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
446 "--gtest_filter=WebRtc*", 467 "--gtest_filter=WebRtc*",
447 "--tool=asan" 468 "--tool=asan"
448 ], 469 ],
470 "cwd": "[SLAVE_BUILD]",
449 "env": { 471 "env": {
450 "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"
451 }, 473 },
452 "name": "unittests" 474 "name": "unittests"
453 }, 475 },
454 { 476 {
455 "cmd": [ 477 "cmd": [
456 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 478 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
457 "-w", 479 "-w",
458 "[SLAVE_BUILD]" 480 "[SLAVE_BUILD]"
459 ], 481 ],
482 "cwd": "[SLAVE_BUILD]",
460 "name": "prepare bisect perf regression" 483 "name": "prepare bisect perf regression"
461 }, 484 },
462 { 485 {
463 "cmd": [ 486 "cmd": [
464 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 487 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
465 "-w", 488 "-w",
466 "[SLAVE_BUILD]", 489 "[SLAVE_BUILD]",
467 "--extra_src", 490 "--extra_src",
468 "test.py", 491 "test.py",
469 "--path_to_config", 492 "--path_to_config",
470 "test.py" 493 "test.py"
471 ], 494 ],
495 "cwd": "[SLAVE_BUILD]",
472 "name": "run bisect perf regression" 496 "name": "run bisect perf regression"
473 }, 497 },
474 { 498 {
475 "cmd": [ 499 "cmd": [
476 "python", 500 "python",
477 "-u", 501 "-u",
478 "[BUILD]/scripts/slave/tee.py", 502 "[BUILD]/scripts/slave/tee.py",
479 "[SLAVE_BUILD]/src/out/Release/full_log", 503 "[SLAVE_BUILD]/src/out/Release/full_log",
480 "--", 504 "--",
481 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 505 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
482 "[SLAVE_BUILD]/src/out/logcat" 506 "[SLAVE_BUILD]/src/out/logcat"
483 ], 507 ],
508 "cwd": "[SLAVE_BUILD]",
484 "name": "logcat_dump" 509 "name": "logcat_dump"
485 }, 510 },
486 { 511 {
487 "cmd": [ 512 "cmd": [
488 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 513 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
489 "--arch", 514 "--arch",
490 "arm", 515 "arm",
491 "--more-info", 516 "--more-info",
492 "[SLAVE_BUILD]/src/out/Release/full_log" 517 "[SLAVE_BUILD]/src/out/Release/full_log"
493 ], 518 ],
519 "cwd": "[SLAVE_BUILD]",
494 "env": { 520 "env": {
495 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 521 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
496 }, 522 },
497 "name": "stack_tool_with_logcat_dump" 523 "name": "stack_tool_with_logcat_dump"
498 }, 524 },
499 { 525 {
500 "cmd": [ 526 "cmd": [
501 "[SLAVE_BUILD]/src/build/android/tombstones.py", 527 "[SLAVE_BUILD]/src/build/android/tombstones.py",
502 "-a", 528 "-a",
503 "-s", 529 "-s",
504 "-w" 530 "-w"
505 ], 531 ],
532 "cwd": "[SLAVE_BUILD]",
506 "env": { 533 "env": {
507 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 534 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
508 }, 535 },
509 "name": "stack_tool_for_tombstones" 536 "name": "stack_tool_for_tombstones"
510 }, 537 },
511 { 538 {
512 "cmd": [ 539 "cmd": [
513 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 540 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
514 "-l", 541 "-l",
515 "[SLAVE_BUILD]/src/out/Release/full_log" 542 "[SLAVE_BUILD]/src/out/Release/full_log"
516 ], 543 ],
544 "cwd": "[SLAVE_BUILD]",
517 "env": { 545 "env": {
518 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 546 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
519 }, 547 },
520 "name": "stack_tool_for_asan" 548 "name": "stack_tool_for_asan"
521 } 549 }
522 ] 550 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698