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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_linux_Android_GN.json

Issue 1465343002: [Android] Add context manager to record logcat during step(s). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years 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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Android GN", 10 "Android GN",
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 417 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
418 "[\"07a00ca4\"]", 418 "[\"07a00ca4\"]",
419 "chromium.linux", 419 "chromium.linux",
420 "Android GN", 420 "Android GN",
421 "--blacklist-file", 421 "--blacklist-file",
422 "[SLAVE_BUILD]/src/out/bad_devices.json" 422 "[SLAVE_BUILD]/src/out/bad_devices.json"
423 ], 423 ],
424 "cwd": "[SLAVE_BUILD]", 424 "cwd": "[SLAVE_BUILD]",
425 "name": "spawn_device_monitor" 425 "name": "spawn_device_monitor"
426 }, 426 },
427 {"cmd": ["[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 427 {
428 "[SLAVE_BUILD]/src/out/Release/apks/ChromePublic.apk", 428 "cmd": [],
429 "-v", 429 "cwd": "[SLAVE_BUILD]",
430 "--blacklist-file", 430 "name": "ChromePublicTest"
431 "[SLAVE_BUILD]/src/out/bad_devices.json", 431 },
432 "--release"], 432 {
433 "cwd": "[SLAVE_BUILD]", 433 "cmd": [
434 "env": {"PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-too ls:[SLAVE_BUILD]/src/build/android:%(PATH)s"}, 434 "[BUILD]/scripts/slave/daemonizer.py",
435 "name": "install ChromePublic.apk"}, 435 "--",
436 {"cmd": ["python", 436 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
437 "-u", 437 "[TMP_BASE]/test_logcat_tmp_1"
438 "[SLAVE_BUILD]/src/build/android/test_runner.py", 438 ],
439 "instrumentation", 439 "cwd": "[SLAVE_BUILD]",
440 "--test-apk", 440 "env": {
441 "[SLAVE_BUILD]/src/out/Release/apks/ChromePublicTest.apk", 441 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
442 "--blacklist-file", 442 },
443 "[SLAVE_BUILD]/src/out/bad_devices.json", 443 "name": "ChromePublicTest.spawn_logcat_monitor",
444 "--apk-under-test", 444 "~followup_annotations": [
445 "[SLAVE_BUILD]/src/out/Release/apks/ChromePublic.apk", 445 "@@@STEP_NEST_LEVEL@1@@@"
446 "--isolate-file-path", 446 ]
447 "chrome/chrome_public_test_apk.isolate", 447 },
448 "--flakiness-dashboard-server", 448 {
449 "test-results.appspot.com", 449 "cmd": [
450 "--verbose", 450 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
451 "--release", 451 "[SLAVE_BUILD]/src/out/Release/apks/ChromePublic.apk",
452 "--json-results-file", 452 "-v",
453 "/path/to/tmp/json"], 453 "--blacklist-file",
454 "cwd": "[SLAVE_BUILD]", 454 "[SLAVE_BUILD]/src/out/bad_devices.json",
455 "name": "Instrumentation test ChromePublicTest", 455 "--release"
456 "~followup_annotations": ["@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@"]}, 456 ],
457 {"cmd": ["[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 457 "cwd": "[SLAVE_BUILD]",
458 "[SLAVE_BUILD]/src/out/Release/apks/ContentShell.apk", 458 "env": {
459 "-v", 459 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
460 "--blacklist-file", 460 },
461 "[SLAVE_BUILD]/src/out/bad_devices.json", 461 "name": "ChromePublicTest.install ChromePublic.apk",
462 "--release"], 462 "~followup_annotations": [
463 "cwd": "[SLAVE_BUILD]", 463 "@@@STEP_NEST_LEVEL@1@@@"
464 "env": {"PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-too ls:[SLAVE_BUILD]/src/build/android:%(PATH)s"}, 464 ]
465 "name": "install ContentShell.apk"}, 465 },
466 {"cmd": ["python",
467 "-u",
468 "[SLAVE_BUILD]/src/build/android/test_runner.py",
469 "instrumentation",
470 "--test-apk",
471 "[SLAVE_BUILD]/src/out/Release/apks/ContentShellTest.apk",
472 "--blacklist-file",
473 "[SLAVE_BUILD]/src/out/bad_devices.json",
474 "--apk-under-test",
475 "[SLAVE_BUILD]/src/out/Release/apks/ContentShell.apk",
476 "--isolate-file-path",
477 "content/content_shell_test_apk.isolate",
478 "--flakiness-dashboard-server",
479 "test-results.appspot.com",
480 "--verbose",
481 "--release",
482 "--json-results-file",
483 "/path/to/tmp/json"],
484 "cwd": "[SLAVE_BUILD]",
485 "name": "Instrumentation test ContentShellTest",
486 "~followup_annotations": ["@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@"]},
487 { 466 {
488 "cmd": [ 467 "cmd": [
489 "python", 468 "python",
469 "-u",
470 "[SLAVE_BUILD]/src/build/android/test_runner.py",
471 "instrumentation",
472 "--test-apk",
473 "[SLAVE_BUILD]/src/out/Release/apks/ChromePublicTest.apk",
474 "--blacklist-file",
475 "[SLAVE_BUILD]/src/out/bad_devices.json",
476 "--apk-under-test",
477 "[SLAVE_BUILD]/src/out/Release/apks/ChromePublic.apk",
478 "--isolate-file-path",
479 "chrome/chrome_public_test_apk.isolate",
480 "--flakiness-dashboard-server",
481 "test-results.appspot.com",
482 "--verbose",
483 "--release",
484 "--json-results-file",
485 "/path/to/tmp/json"
486 ],
487 "cwd": "[SLAVE_BUILD]",
488 "name": "ChromePublicTest.Instrumentation test ChromePublicTest",
489 "~followup_annotations": [
490 "@@@STEP_NEST_LEVEL@1@@@"
491 ]
492 },
493 {
494 "cmd": [
495 "python",
496 "-u",
497 "[BUILD]/scripts/slave/tee.py",
498 "/path/to/tmp/logcat",
499 "--",
500 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
501 "[TMP_BASE]/test_logcat_tmp_1"
502 ],
503 "cwd": "[SLAVE_BUILD]",
504 "name": "ChromePublicTest.logcat_dump",
505 "~followup_annotations": [
506 "@@@STEP_NEST_LEVEL@1@@@"
507 ]
508 },
509 {
510 "cmd": [],
511 "cwd": "[SLAVE_BUILD]",
512 "name": "ContentShellTest"
513 },
514 {
515 "cmd": [
516 "[BUILD]/scripts/slave/daemonizer.py",
517 "--",
518 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
519 "[TMP_BASE]/test_logcat_tmp_2"
520 ],
521 "cwd": "[SLAVE_BUILD]",
522 "env": {
523 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
524 },
525 "name": "ContentShellTest.spawn_logcat_monitor",
526 "~followup_annotations": [
527 "@@@STEP_NEST_LEVEL@1@@@"
528 ]
529 },
530 {
531 "cmd": [
532 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
533 "[SLAVE_BUILD]/src/out/Release/apks/ContentShell.apk",
534 "-v",
535 "--blacklist-file",
536 "[SLAVE_BUILD]/src/out/bad_devices.json",
537 "--release"
538 ],
539 "cwd": "[SLAVE_BUILD]",
540 "env": {
541 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
542 },
543 "name": "ContentShellTest.install ContentShell.apk",
544 "~followup_annotations": [
545 "@@@STEP_NEST_LEVEL@1@@@"
546 ]
547 },
548 {
549 "cmd": [
550 "python",
551 "-u",
552 "[SLAVE_BUILD]/src/build/android/test_runner.py",
553 "instrumentation",
554 "--test-apk",
555 "[SLAVE_BUILD]/src/out/Release/apks/ContentShellTest.apk",
556 "--blacklist-file",
557 "[SLAVE_BUILD]/src/out/bad_devices.json",
558 "--apk-under-test",
559 "[SLAVE_BUILD]/src/out/Release/apks/ContentShell.apk",
560 "--isolate-file-path",
561 "content/content_shell_test_apk.isolate",
562 "--flakiness-dashboard-server",
563 "test-results.appspot.com",
564 "--verbose",
565 "--release",
566 "--json-results-file",
567 "/path/to/tmp/json"
568 ],
569 "cwd": "[SLAVE_BUILD]",
570 "name": "ContentShellTest.Instrumentation test ContentShellTest",
571 "~followup_annotations": [
572 "@@@STEP_NEST_LEVEL@1@@@"
573 ]
574 },
575 {
576 "cmd": [
577 "python",
578 "-u",
579 "[BUILD]/scripts/slave/tee.py",
580 "/path/to/tmp/logcat",
581 "--",
582 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
583 "[TMP_BASE]/test_logcat_tmp_2"
584 ],
585 "cwd": "[SLAVE_BUILD]",
586 "name": "ContentShellTest.logcat_dump",
587 "~followup_annotations": [
588 "@@@STEP_NEST_LEVEL@1@@@"
589 ]
590 },
591 {
592 "cmd": [],
593 "cwd": "[SLAVE_BUILD]",
594 "name": "breakpad_unittests"
595 },
596 {
597 "cmd": [
598 "[BUILD]/scripts/slave/daemonizer.py",
599 "--",
600 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
601 "[TMP_BASE]/test_logcat_tmp_3"
602 ],
603 "cwd": "[SLAVE_BUILD]",
604 "env": {
605 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
606 },
607 "name": "breakpad_unittests.spawn_logcat_monitor",
608 "~followup_annotations": [
609 "@@@STEP_NEST_LEVEL@1@@@"
610 ]
611 },
612 {
613 "cmd": [
614 "python",
490 "-u", 615 "-u",
491 "[SLAVE_BUILD]/src/build/android/test_runner.py", 616 "[SLAVE_BUILD]/src/build/android/test_runner.py",
492 "gtest", 617 "gtest",
493 "-s", 618 "-s",
494 "breakpad_unittests", 619 "breakpad_unittests",
495 "--blacklist-file", 620 "--blacklist-file",
496 "[SLAVE_BUILD]/src/out/bad_devices.json", 621 "[SLAVE_BUILD]/src/out/bad_devices.json",
497 "--verbose", 622 "--verbose",
498 "--release", 623 "--release",
499 "--isolate_file_path=[SLAVE_BUILD]/src/breakpad/breakpad_unittests.isolate ", 624 "--isolate_file_path=[SLAVE_BUILD]/src/breakpad/breakpad_unittests.isolate ",
500 "--flakiness-dashboard-server=test-results.appspot.com", 625 "--flakiness-dashboard-server=test-results.appspot.com",
501 "--json-results-file", 626 "--json-results-file",
502 "/path/to/tmp/json" 627 "/path/to/tmp/json"
503 ], 628 ],
504 "cwd": "[SLAVE_BUILD]", 629 "cwd": "[SLAVE_BUILD]",
505 "env": { 630 "env": {
506 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 631 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
507 }, 632 },
508 "name": "breakpad_unittests" 633 "name": "breakpad_unittests.breakpad_unittests",
634 "~followup_annotations": [
635 "@@@STEP_NEST_LEVEL@1@@@"
636 ]
509 }, 637 },
510 { 638 {
511 "cmd": [ 639 "cmd": [
640 "python",
641 "-u",
642 "[BUILD]/scripts/slave/tee.py",
643 "/path/to/tmp/logcat",
644 "--",
645 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
646 "[TMP_BASE]/test_logcat_tmp_3"
647 ],
648 "cwd": "[SLAVE_BUILD]",
649 "name": "breakpad_unittests.logcat_dump",
650 "~followup_annotations": [
651 "@@@STEP_NEST_LEVEL@1@@@"
652 ]
653 },
654 {
655 "cmd": [],
656 "cwd": "[SLAVE_BUILD]",
657 "name": "sandbox_linux_unittests"
658 },
659 {
660 "cmd": [
661 "[BUILD]/scripts/slave/daemonizer.py",
662 "--",
663 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
664 "[TMP_BASE]/test_logcat_tmp_4"
665 ],
666 "cwd": "[SLAVE_BUILD]",
667 "env": {
668 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
669 },
670 "name": "sandbox_linux_unittests.spawn_logcat_monitor",
671 "~followup_annotations": [
672 "@@@STEP_NEST_LEVEL@1@@@"
673 ]
674 },
675 {
676 "cmd": [
512 "python", 677 "python",
513 "-u", 678 "-u",
514 "[SLAVE_BUILD]/src/build/android/test_runner.py", 679 "[SLAVE_BUILD]/src/build/android/test_runner.py",
515 "gtest", 680 "gtest",
516 "-s", 681 "-s",
517 "sandbox_linux_unittests", 682 "sandbox_linux_unittests",
518 "--blacklist-file", 683 "--blacklist-file",
519 "[SLAVE_BUILD]/src/out/bad_devices.json", 684 "[SLAVE_BUILD]/src/out/bad_devices.json",
520 "--verbose", 685 "--verbose",
521 "--release", 686 "--release",
522 "--flakiness-dashboard-server=test-results.appspot.com", 687 "--flakiness-dashboard-server=test-results.appspot.com",
523 "--json-results-file", 688 "--json-results-file",
524 "/path/to/tmp/json" 689 "/path/to/tmp/json"
525 ], 690 ],
526 "cwd": "[SLAVE_BUILD]", 691 "cwd": "[SLAVE_BUILD]",
527 "env": { 692 "env": {
528 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 693 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
529 }, 694 },
530 "name": "sandbox_linux_unittests" 695 "name": "sandbox_linux_unittests.sandbox_linux_unittests",
696 "~followup_annotations": [
697 "@@@STEP_NEST_LEVEL@1@@@"
698 ]
531 }, 699 },
532 { 700 {
533 "cmd": [ 701 "cmd": [
702 "python",
703 "-u",
704 "[BUILD]/scripts/slave/tee.py",
705 "/path/to/tmp/logcat",
706 "--",
707 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
708 "[TMP_BASE]/test_logcat_tmp_4"
709 ],
710 "cwd": "[SLAVE_BUILD]",
711 "name": "sandbox_linux_unittests.logcat_dump",
712 "~followup_annotations": [
713 "@@@STEP_NEST_LEVEL@1@@@"
714 ]
715 },
716 {
717 "cmd": [
534 "python", 718 "python",
535 "-u", 719 "-u",
536 "[SLAVE_BUILD]/src/build/android/test_runner.py", 720 "[SLAVE_BUILD]/src/build/android/test_runner.py",
537 "junit", 721 "junit",
538 "-s", 722 "-s",
539 "base_junit_tests", 723 "base_junit_tests",
540 "--verbose", 724 "--verbose",
541 "--release", 725 "--release",
542 "--json-results-file", 726 "--json-results-file",
543 "/path/to/tmp/json" 727 "/path/to/tmp/json"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 957 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
774 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 958 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
775 "@@@STEP_LOG_END@python.inline@@@" 959 "@@@STEP_LOG_END@python.inline@@@"
776 ] 960 ]
777 }, 961 },
778 { 962 {
779 "name": "$result", 963 "name": "$result",
780 "recipe_result": null, 964 "recipe_result": null,
781 "status_code": 0 965 "status_code": 0
782 } 966 }
783 ] 967 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698