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_dbg_tests_recipe", | 10 "android_dbg_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\", \"base_un
ittests\", \"breakpad_unittests\", \"cc_unittests\", \"components_unittests\", \
"content_browsertests\", \"content_unittests\", \"events_unittests\", \"gl_tests
\", \"gpu_unittests\", \"ipc_tests\", \"media_unittests\", \"net_unittests\", \"
sandbox_linux_unittests\", \"sql_unittests\", \"sync_unit_tests\", \"ui_unittest
s\", \"unit_tests\", \"webkit_unit_tests\"]}", |
| 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@ \"content_browsertests\"@@@", |
| 151 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 152 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@", |
| 153 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@", |
| 154 "@@@STEP_LOG_LINE@json.output@ \"content_browsertests\"@@@", |
| 155 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| 156 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 157 "@@@STEP_LOG_END@json.output@@@" |
| 158 ] |
| 159 }, |
| 160 { |
102 "allow_subannotations": false, | 161 "allow_subannotations": false, |
103 "cmd": [ | 162 "cmd": [ |
104 "[SLAVE_BUILD]/src/build/tree_truth.sh", | 163 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
105 "[SLAVE_BUILD]/src", | 164 "[SLAVE_BUILD]/src", |
106 "src", | 165 "src", |
107 "src-internal" | 166 "src-internal" |
108 ], | 167 ], |
109 "name": "tree truth steps" | 168 "name": "tree truth steps" |
110 }, | 169 }, |
111 { | 170 { |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 "env": { | 257 "env": { |
199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/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" |
200 }, | 259 }, |
201 "name": "provision_devices" | 260 "name": "provision_devices" |
202 }, | 261 }, |
203 { | 262 { |
204 "cmd": [ | 263 "cmd": [ |
205 "python", | 264 "python", |
206 "-u", | 265 "-u", |
207 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 266 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
208 "instrumentation", | |
209 "--test-apk", | |
210 "MojoTest", | |
211 "--verbose" | |
212 ], | |
213 "name": "Instrumentation test MojoTest" | |
214 }, | |
215 { | |
216 "cmd": [ | |
217 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
218 "--apk", | |
219 "AndroidWebView.apk", | |
220 "--apk_package", | |
221 "org.chromium.android_webview.shell" | |
222 ], | |
223 "env": { | |
224 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
225 }, | |
226 "name": "install AndroidWebView.apk" | |
227 }, | |
228 { | |
229 "cmd": [ | |
230 "python", | |
231 "-u", | |
232 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
233 "instrumentation", | |
234 "--test-apk", | |
235 "AndroidWebViewTest", | |
236 "--test_data", | |
237 "webview:android_webview/test/data/device_files", | |
238 "--verbose" | |
239 ], | |
240 "name": "Instrumentation test AndroidWebViewTest" | |
241 }, | |
242 { | |
243 "cmd": [ | |
244 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
245 "--apk", | |
246 "ChromeShell.apk", | |
247 "--apk_package", | |
248 "org.chromium.chrome.shell" | |
249 ], | |
250 "env": { | |
251 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
252 }, | |
253 "name": "install ChromeShell.apk" | |
254 }, | |
255 { | |
256 "cmd": [ | |
257 "python", | |
258 "-u", | |
259 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
260 "instrumentation", | |
261 "--test-apk", | |
262 "ChromeShellTest", | |
263 "--test_data", | |
264 "chrome:chrome/test/data/android/device_files", | |
265 "--verbose" | |
266 ], | |
267 "name": "Instrumentation test ChromeShellTest" | |
268 }, | |
269 { | |
270 "cmd": [ | |
271 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
272 "--apk", | |
273 "ContentShell.apk", | |
274 "--apk_package", | |
275 "org.chromium.chontent_shell_apk" | |
276 ], | |
277 "env": { | |
278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
279 }, | |
280 "name": "install ContentShell.apk" | |
281 }, | |
282 { | |
283 "cmd": [ | |
284 "python", | |
285 "-u", | |
286 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
287 "instrumentation", | |
288 "--test-apk", | |
289 "ContentShellTest", | |
290 "--test_data", | |
291 "content:content/test/data/android/device_files", | |
292 "--verbose" | |
293 ], | |
294 "name": "Instrumentation test ContentShellTest" | |
295 }, | |
296 { | |
297 "cmd": [ | |
298 "python", | |
299 "-u", | |
300 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
301 "gtest", | |
302 "-s", | |
303 "base_unittests", | |
304 "--verbose" | |
305 ], | |
306 "env": { | |
307 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
308 }, | |
309 "name": "base_unittests" | |
310 }, | |
311 { | |
312 "cmd": [ | |
313 "python", | |
314 "-u", | |
315 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
316 "gtest", | |
317 "-s", | |
318 "breakpad_unittests", | |
319 "--verbose", | |
320 "--isolate_file_path=[SLAVE_BUILD]/src/breakpad/breakpad_unittests.isolate
" | |
321 ], | |
322 "env": { | |
323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
324 }, | |
325 "name": "breakpad_unittests" | |
326 }, | |
327 { | |
328 "cmd": [ | |
329 "python", | |
330 "-u", | |
331 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
332 "gtest", | |
333 "-s", | |
334 "cc_unittests", | |
335 "--verbose" | |
336 ], | |
337 "env": { | |
338 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
339 }, | |
340 "name": "cc_unittests" | |
341 }, | |
342 { | |
343 "cmd": [ | |
344 "python", | |
345 "-u", | |
346 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
347 "gtest", | |
348 "-s", | |
349 "components_unittests", | |
350 "--verbose" | |
351 ], | |
352 "env": { | |
353 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
354 }, | |
355 "name": "components_unittests" | |
356 }, | |
357 { | |
358 "cmd": [ | |
359 "python", | |
360 "-u", | |
361 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
362 "gtest", | 267 "gtest", |
363 "-s", | 268 "-s", |
364 "content_browsertests", | 269 "content_browsertests", |
365 "--verbose" | 270 "--verbose" |
366 ], | 271 ], |
367 "env": { | 272 "env": { |
368 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 273 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
369 }, | 274 }, |
370 "name": "content_browsertests", | 275 "name": "content_browsertests", |
371 "~followup_annotations": [ | 276 "~followup_annotations": [ |
372 "step returned non-zero exit code: 1", | 277 "step returned non-zero exit code: 1", |
373 "@@@STEP_FAILURE@@@" | 278 "@@@STEP_FAILURE@@@" |
374 ] | 279 ] |
375 }, | 280 }, |
376 { | 281 { |
377 "cmd": [ | 282 "cmd": [ |
378 "python", | 283 "python", |
379 "-u", | 284 "-u", |
380 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
381 "gtest", | |
382 "-s", | |
383 "content_unittests", | |
384 "--verbose" | |
385 ], | |
386 "env": { | |
387 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
388 }, | |
389 "name": "content_unittests" | |
390 }, | |
391 { | |
392 "cmd": [ | |
393 "python", | |
394 "-u", | |
395 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
396 "gtest", | |
397 "-s", | |
398 "events_unittests", | |
399 "--verbose" | |
400 ], | |
401 "env": { | |
402 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
403 }, | |
404 "name": "events_unittests" | |
405 }, | |
406 { | |
407 "cmd": [ | |
408 "python", | |
409 "-u", | |
410 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
411 "gtest", | |
412 "-s", | |
413 "gl_tests", | |
414 "--verbose" | |
415 ], | |
416 "env": { | |
417 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
418 }, | |
419 "name": "gl_tests" | |
420 }, | |
421 { | |
422 "cmd": [ | |
423 "python", | |
424 "-u", | |
425 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
426 "gtest", | |
427 "-s", | |
428 "gpu_unittests", | |
429 "--verbose" | |
430 ], | |
431 "env": { | |
432 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
433 }, | |
434 "name": "gpu_unittests" | |
435 }, | |
436 { | |
437 "cmd": [ | |
438 "python", | |
439 "-u", | |
440 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
441 "gtest", | |
442 "-s", | |
443 "ipc_tests", | |
444 "--verbose" | |
445 ], | |
446 "env": { | |
447 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
448 }, | |
449 "name": "ipc_tests" | |
450 }, | |
451 { | |
452 "cmd": [ | |
453 "python", | |
454 "-u", | |
455 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
456 "gtest", | |
457 "-s", | |
458 "media_unittests", | |
459 "--verbose" | |
460 ], | |
461 "env": { | |
462 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
463 }, | |
464 "name": "media_unittests" | |
465 }, | |
466 { | |
467 "cmd": [ | |
468 "python", | |
469 "-u", | |
470 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
471 "gtest", | |
472 "-s", | |
473 "net_unittests", | |
474 "--verbose" | |
475 ], | |
476 "env": { | |
477 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
478 }, | |
479 "name": "net_unittests" | |
480 }, | |
481 { | |
482 "cmd": [ | |
483 "python", | |
484 "-u", | |
485 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
486 "gtest", | |
487 "-s", | |
488 "sandbox_linux_unittests", | |
489 "--verbose" | |
490 ], | |
491 "env": { | |
492 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
493 }, | |
494 "name": "sandbox_linux_unittests" | |
495 }, | |
496 { | |
497 "cmd": [ | |
498 "python", | |
499 "-u", | |
500 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
501 "gtest", | |
502 "-s", | |
503 "sql_unittests", | |
504 "--verbose" | |
505 ], | |
506 "env": { | |
507 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
508 }, | |
509 "name": "sql_unittests" | |
510 }, | |
511 { | |
512 "cmd": [ | |
513 "python", | |
514 "-u", | |
515 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
516 "gtest", | |
517 "-s", | |
518 "sync_unit_tests", | |
519 "--verbose" | |
520 ], | |
521 "env": { | |
522 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
523 }, | |
524 "name": "sync_unit_tests" | |
525 }, | |
526 { | |
527 "cmd": [ | |
528 "python", | |
529 "-u", | |
530 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
531 "gtest", | |
532 "-s", | |
533 "ui_unittests", | |
534 "--verbose" | |
535 ], | |
536 "env": { | |
537 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
538 }, | |
539 "name": "ui_unittests" | |
540 }, | |
541 { | |
542 "cmd": [ | |
543 "python", | |
544 "-u", | |
545 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
546 "gtest", | |
547 "-s", | |
548 "unit_tests", | |
549 "--verbose" | |
550 ], | |
551 "env": { | |
552 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
553 }, | |
554 "name": "unit_tests" | |
555 }, | |
556 { | |
557 "cmd": [ | |
558 "python", | |
559 "-u", | |
560 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
561 "gtest", | |
562 "-s", | |
563 "webkit_unit_tests", | |
564 "--verbose" | |
565 ], | |
566 "env": { | |
567 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
568 }, | |
569 "name": "webkit_unit_tests" | |
570 }, | |
571 { | |
572 "cmd": [ | |
573 "python", | |
574 "-u", | |
575 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 285 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
576 "--output-path", | 286 "--output-path", |
577 "[SLAVE_BUILD]/src/out/Debug/full_log", | 287 "[SLAVE_BUILD]/src/out/Debug/full_log", |
578 "[SLAVE_BUILD]/src/out/logcat" | 288 "[SLAVE_BUILD]/src/out/logcat" |
579 ], | 289 ], |
580 "name": "logcat_dump" | 290 "name": "logcat_dump" |
581 }, | 291 }, |
582 { | 292 { |
583 "cmd": [ | 293 "cmd": [ |
584 "python", | 294 "python", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 344 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
635 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 345 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
636 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 346 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
637 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 347 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
638 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 348 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
639 "@@@STEP_LOG_END@python.inline@@@" | 349 "@@@STEP_LOG_END@python.inline@@@" |
640 ] | 350 ] |
641 }, | 351 }, |
642 { | 352 { |
643 "name": "$final_result", | 353 "name": "$final_result", |
644 "reason": "1 out of 26 aggregated steps failed. Failures: Step('content_brow
sertests') failed with return_code 1", | 354 "reason": "1 out of 5 aggregated steps failed. Failures: Step('content_brows
ertests') failed with return_code 1", |
645 "status_code": 1 | 355 "status_code": 1 |
646 } | 356 } |
647 ] | 357 ] |
OLD | NEW |