OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "[BUILD]/scripts/slave/bot_update.py", | 6 "[BUILD]/scripts/slave/bot_update.py", |
7 "--master", | 7 "--master", |
8 "tryserver.chromium.linux", | 8 "tryserver.chromium.linux", |
9 "--builder", | 9 "--builder", |
10 "android_rel_tests_recipe", | 10 "android_rel_tests_recipe", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 "[DEPOT_TOOLS]/gclient.py", | 92 "[DEPOT_TOOLS]/gclient.py", |
93 "runhooks" | 93 "runhooks" |
94 ], | 94 ], |
95 "env": { | 95 "env": { |
96 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", | 96 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
97 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 97 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
98 }, | 98 }, |
99 "name": "gclient runhooks" | 99 "name": "gclient runhooks" |
100 }, | 100 }, |
101 { | 101 { |
| 102 "cmd": [ |
| 103 "python", |
| 104 "-u", |
| 105 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 106 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", |
| 107 "/path/to/tmp/json" |
| 108 ], |
| 109 "name": "read filter exclusion spec", |
| 110 "~followup_annotations": [ |
| 111 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", |
| 112 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 113 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@", |
| 114 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", |
| 115 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 116 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@", |
| 117 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", |
| 118 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 119 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 120 "@@@STEP_LOG_END@json.output@@@" |
| 121 ] |
| 122 }, |
| 123 { |
| 124 "cmd": [ |
| 125 "git", |
| 126 "diff", |
| 127 "--cached", |
| 128 "--name-only" |
| 129 ], |
| 130 "cwd": "[SLAVE_BUILD]/src", |
| 131 "name": "git diff to analyze patch", |
| 132 "stdout": "/path/to/tmp/" |
| 133 }, |
| 134 { |
| 135 "cmd": [ |
| 136 "python", |
| 137 "-u", |
| 138 "[SLAVE_BUILD]/src/build/gyp_chromium", |
| 139 "--analyzer", |
| 140 "{\"files\": [\"foo.cc\"], \"targets\": [\"mojo_test_apk\", \"android_webv
iew_test_apk\", \"chrome_shell_test_apk\", \"content_shell_test_apk\", \"telemet
ry_unittests\", \"telemetry_perf_unittests\"]}", |
| 141 "/path/to/tmp/json" |
| 142 ], |
| 143 "env": { |
| 144 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1" |
| 145 }, |
| 146 "name": "analyze", |
| 147 "~followup_annotations": [ |
| 148 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 149 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
| 150 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@", |
| 151 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\"@@@", |
| 152 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 153 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@", |
| 154 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@", |
| 155 "@@@STEP_LOG_LINE@json.output@ \"breakpad_unittests\", @@@", |
| 156 "@@@STEP_LOG_LINE@json.output@ \"chrome_shell_test_apk\"@@@", |
| 157 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 158 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 159 "@@@STEP_LOG_END@json.output@@@" |
| 160 ] |
| 161 }, |
| 162 { |
102 "allow_subannotations": false, | 163 "allow_subannotations": false, |
103 "cmd": [ | 164 "cmd": [ |
104 "[SLAVE_BUILD]/src/build/tree_truth.sh", | 165 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
105 "[SLAVE_BUILD]/src", | 166 "[SLAVE_BUILD]/src", |
106 "src", | 167 "src", |
107 "src-internal" | 168 "src-internal" |
108 ], | 169 ], |
109 "name": "tree truth steps" | 170 "name": "tree truth steps" |
110 }, | 171 }, |
111 { | 172 { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 "-t", | 256 "-t", |
196 "Release" | 257 "Release" |
197 ], | 258 ], |
198 "env": { | 259 "env": { |
199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
200 }, | 261 }, |
201 "name": "provision_devices" | 262 "name": "provision_devices" |
202 }, | 263 }, |
203 { | 264 { |
204 "cmd": [ | 265 "cmd": [ |
205 "python", | |
206 "-u", | |
207 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
208 "instrumentation", | |
209 "--test-apk", | |
210 "MojoTest", | |
211 "--verbose", | |
212 "--release" | |
213 ], | |
214 "name": "Instrumentation test MojoTest" | |
215 }, | |
216 { | |
217 "cmd": [ | |
218 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
219 "--apk", | |
220 "AndroidWebView.apk", | |
221 "--apk_package", | |
222 "org.chromium.android_webview.shell", | |
223 "--release" | |
224 ], | |
225 "env": { | |
226 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
227 }, | |
228 "name": "install AndroidWebView.apk" | |
229 }, | |
230 { | |
231 "cmd": [ | |
232 "python", | |
233 "-u", | |
234 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
235 "instrumentation", | |
236 "--test-apk", | |
237 "AndroidWebViewTest", | |
238 "--test_data", | |
239 "webview:android_webview/test/data/device_files", | |
240 "--verbose", | |
241 "--release" | |
242 ], | |
243 "name": "Instrumentation test AndroidWebViewTest" | |
244 }, | |
245 { | |
246 "cmd": [ | |
247 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 266 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
248 "--apk", | 267 "--apk", |
249 "ChromeShell.apk", | 268 "ChromeShell.apk", |
250 "--apk_package", | 269 "--apk_package", |
251 "org.chromium.chrome.shell", | 270 "org.chromium.chrome.shell", |
252 "--release" | 271 "--release" |
253 ], | 272 ], |
254 "env": { | 273 "env": { |
255 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/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" |
256 }, | 275 }, |
257 "name": "install ChromeShell.apk" | 276 "name": "install ChromeShell.apk" |
258 }, | 277 }, |
259 { | 278 { |
260 "cmd": [ | 279 "cmd": [ |
261 "python", | 280 "python", |
262 "-u", | 281 "-u", |
263 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 282 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
264 "instrumentation", | 283 "instrumentation", |
265 "--test-apk", | 284 "--test-apk", |
266 "ChromeShellTest", | 285 "ChromeShellTest", |
267 "--test_data", | 286 "--test_data", |
268 "chrome:chrome/test/data/android/device_files", | 287 "chrome:chrome/test/data/android/device_files", |
269 "--verbose", | 288 "--verbose", |
270 "--release" | 289 "--release" |
271 ], | 290 ], |
272 "name": "Instrumentation test ChromeShellTest" | 291 "name": "Instrumentation test ChromeShellTest" |
273 }, | 292 }, |
274 { | 293 { |
275 "cmd": [ | 294 "cmd": [ |
276 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
277 "--apk", | |
278 "ContentShell.apk", | |
279 "--apk_package", | |
280 "org.chromium.chontent_shell_apk", | |
281 "--release" | |
282 ], | |
283 "env": { | |
284 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
285 }, | |
286 "name": "install ContentShell.apk" | |
287 }, | |
288 { | |
289 "cmd": [ | |
290 "python", | |
291 "-u", | |
292 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
293 "instrumentation", | |
294 "--test-apk", | |
295 "ContentShellTest", | |
296 "--test_data", | |
297 "content:content/test/data/android/device_files", | |
298 "--verbose", | |
299 "--release" | |
300 ], | |
301 "name": "Instrumentation test ContentShellTest" | |
302 }, | |
303 { | |
304 "cmd": [ | |
305 "python", | |
306 "-u", | |
307 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
308 "gtest", | |
309 "-s", | |
310 "telemetry_unittests", | |
311 "--verbose", | |
312 "--release" | |
313 ], | |
314 "env": { | |
315 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
316 }, | |
317 "name": "telemetry_unittests" | |
318 }, | |
319 { | |
320 "cmd": [ | |
321 "python", | |
322 "-u", | |
323 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
324 "gtest", | |
325 "-s", | |
326 "telemetry_perf_unittests", | |
327 "--verbose", | |
328 "--release" | |
329 ], | |
330 "env": { | |
331 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
332 }, | |
333 "name": "telemetry_perf_unittests" | |
334 }, | |
335 { | |
336 "cmd": [ | |
337 "python", | 295 "python", |
338 "-u", | 296 "-u", |
339 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 297 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
340 "--output-path", | 298 "--output-path", |
341 "[SLAVE_BUILD]/src/out/Release/full_log", | 299 "[SLAVE_BUILD]/src/out/Release/full_log", |
342 "[SLAVE_BUILD]/src/out/logcat" | 300 "[SLAVE_BUILD]/src/out/logcat" |
343 ], | 301 ], |
344 "name": "logcat_dump" | 302 "name": "logcat_dump" |
345 }, | 303 }, |
346 { | 304 { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 355 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
398 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 356 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
399 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 357 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
400 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 358 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
401 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 359 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
402 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 360 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
403 "@@@STEP_LOG_END@python.inline@@@" | 361 "@@@STEP_LOG_END@python.inline@@@" |
404 ] | 362 ] |
405 } | 363 } |
406 ] | 364 ] |
OLD | NEW |