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

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

Powered by Google App Engine
This is Rietveld 408576698