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

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

Issue 1511403002: Revert "[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 "\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 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 281 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
282 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 282 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
283 "@@@STEP_LOG_END@python.inline@@@" 283 "@@@STEP_LOG_END@python.inline@@@"
284 ] 284 ]
285 }, 285 },
286 { 286 {
287 "cmd": [ 287 "cmd": [
288 "[BUILD]/scripts/slave/daemonizer.py", 288 "[BUILD]/scripts/slave/daemonizer.py",
289 "--", 289 "--",
290 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 290 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
291 "[SLAVE_BUILD]/src/out/logcat_dir" 291 "[SLAVE_BUILD]/src/out/logcat"
292 ], 292 ],
293 "cwd": "[SLAVE_BUILD]", 293 "cwd": "[SLAVE_BUILD]",
294 "env": { 294 "env": {
295 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 295 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
296 }, 296 },
297 "name": "spawn_logcat_monitor" 297 "name": "spawn_logcat_monitor"
298 }, 298 },
299 { 299 {
300 "cmd": [ 300 "cmd": [
301 "python", 301 "python",
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 "--blacklist-file", 575 "--blacklist-file",
576 "[SLAVE_BUILD]/src/out/bad_devices.json" 576 "[SLAVE_BUILD]/src/out/bad_devices.json"
577 ], 577 ],
578 "cwd": "[SLAVE_BUILD]", 578 "cwd": "[SLAVE_BUILD]",
579 "env": { 579 "env": {
580 "BUILDTYPE": "Release" 580 "BUILDTYPE": "Release"
581 }, 581 },
582 "name": "Monkey Test" 582 "name": "Monkey Test"
583 }, 583 },
584 { 584 {
585 "cmd": [],
586 "cwd": "[SLAVE_BUILD]",
587 "name": "AndroidWebViewTest"
588 },
589 {
590 "cmd": [
591 "[BUILD]/scripts/slave/daemonizer.py",
592 "--",
593 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
594 "[TMP_BASE]/logcat_tmp_1"
595 ],
596 "cwd": "[SLAVE_BUILD]",
597 "env": {
598 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
599 },
600 "name": "AndroidWebViewTest.spawn_logcat_monitor",
601 "~followup_annotations": [
602 "@@@STEP_NEST_LEVEL@1@@@"
603 ]
604 },
605 {
606 "cmd": [ 585 "cmd": [
607 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 586 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
608 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 587 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
609 "-v", 588 "-v",
610 "--blacklist-file", 589 "--blacklist-file",
611 "[SLAVE_BUILD]/src/out/bad_devices.json", 590 "[SLAVE_BUILD]/src/out/bad_devices.json",
612 "--release" 591 "--release"
613 ], 592 ],
614 "cwd": "[SLAVE_BUILD]", 593 "cwd": "[SLAVE_BUILD]",
615 "env": { 594 "env": {
616 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 595 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
617 }, 596 },
618 "name": "AndroidWebViewTest.install AndroidWebView.apk", 597 "name": "install AndroidWebView.apk"
619 "~followup_annotations": [
620 "@@@STEP_NEST_LEVEL@1@@@"
621 ]
622 }, 598 },
623 { 599 {
624 "cmd": [ 600 "cmd": [
625 "python", 601 "python",
626 "-u", 602 "-u",
627 "[SLAVE_BUILD]/src/build/android/test_runner.py", 603 "[SLAVE_BUILD]/src/build/android/test_runner.py",
628 "instrumentation", 604 "instrumentation",
629 "--test-apk", 605 "--test-apk",
630 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 606 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
631 "--blacklist-file", 607 "--blacklist-file",
(...skipping 10 matching lines...) Expand all
642 "FlakyTest", 618 "FlakyTest",
643 "--screenshot", 619 "--screenshot",
644 "--release", 620 "--release",
645 "--coverage-dir", 621 "--coverage-dir",
646 "[SLAVE_BUILD]/src/out/Release/coverage", 622 "[SLAVE_BUILD]/src/out/Release/coverage",
647 "--host-driven-root", 623 "--host-driven-root",
648 "[SLAVE_BUILD]/src/chrome/test", 624 "[SLAVE_BUILD]/src/chrome/test",
649 "--official-build" 625 "--official-build"
650 ], 626 ],
651 "cwd": "[SLAVE_BUILD]", 627 "cwd": "[SLAVE_BUILD]",
652 "name": "AndroidWebViewTest.Instrumentation test SmallTest", 628 "name": "Instrumentation test SmallTest"
653 "~followup_annotations": [
654 "@@@STEP_NEST_LEVEL@1@@@"
655 ]
656 }, 629 },
657 { 630 {
658 "cmd": [ 631 "cmd": [
659 "python",
660 "-u",
661 "[BUILD]/scripts/slave/tee.py",
662 "/path/to/tmp/logcat",
663 "--",
664 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
665 "[TMP_BASE]/logcat_tmp_1"
666 ],
667 "cwd": "[SLAVE_BUILD]",
668 "name": "AndroidWebViewTest.logcat_dump",
669 "~followup_annotations": [
670 "@@@STEP_NEST_LEVEL@1@@@"
671 ]
672 },
673 {
674 "cmd": [],
675 "cwd": "[SLAVE_BUILD]",
676 "name": "unittests"
677 },
678 {
679 "cmd": [
680 "[BUILD]/scripts/slave/daemonizer.py",
681 "--",
682 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
683 "[TMP_BASE]/logcat_tmp_2"
684 ],
685 "cwd": "[SLAVE_BUILD]",
686 "env": {
687 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
688 },
689 "name": "unittests.spawn_logcat_monitor",
690 "~followup_annotations": [
691 "@@@STEP_NEST_LEVEL@1@@@"
692 ]
693 },
694 {
695 "cmd": [
696 "python", 632 "python",
697 "-u", 633 "-u",
698 "[SLAVE_BUILD]/src/build/android/test_runner.py", 634 "[SLAVE_BUILD]/src/build/android/test_runner.py",
699 "gtest", 635 "gtest",
700 "-s", 636 "-s",
701 "unittests", 637 "unittests",
702 "--blacklist-file", 638 "--blacklist-file",
703 "[SLAVE_BUILD]/src/out/bad_devices.json", 639 "[SLAVE_BUILD]/src/out/bad_devices.json",
704 "--verbose", 640 "--verbose",
705 "--release", 641 "--release",
706 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 642 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
707 "--gtest_filter=WebRtc*", 643 "--gtest_filter=WebRtc*",
708 "--tool=asan" 644 "--tool=asan"
709 ], 645 ],
710 "cwd": "[SLAVE_BUILD]", 646 "cwd": "[SLAVE_BUILD]",
711 "env": { 647 "env": {
712 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 648 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
713 }, 649 },
714 "name": "unittests.unittests", 650 "name": "unittests"
715 "~followup_annotations": [
716 "@@@STEP_NEST_LEVEL@1@@@"
717 ]
718 }, 651 },
719 { 652 {
720 "cmd": [ 653 "cmd": [
721 "python",
722 "-u",
723 "[BUILD]/scripts/slave/tee.py",
724 "/path/to/tmp/logcat",
725 "--",
726 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
727 "[TMP_BASE]/logcat_tmp_2"
728 ],
729 "cwd": "[SLAVE_BUILD]",
730 "name": "unittests.logcat_dump",
731 "~followup_annotations": [
732 "@@@STEP_NEST_LEVEL@1@@@"
733 ]
734 },
735 {
736 "cmd": [
737 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 654 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
738 "-w", 655 "-w",
739 "[SLAVE_BUILD]" 656 "[SLAVE_BUILD]"
740 ], 657 ],
741 "cwd": "[SLAVE_BUILD]", 658 "cwd": "[SLAVE_BUILD]",
742 "name": "prepare bisect perf regression" 659 "name": "prepare bisect perf regression"
743 }, 660 },
744 { 661 {
745 "cmd": [ 662 "cmd": [
746 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 663 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
747 "-w", 664 "-w",
748 "[SLAVE_BUILD]", 665 "[SLAVE_BUILD]",
749 "--extra_src", 666 "--extra_src",
750 "test.py", 667 "test.py",
751 "--path_to_config", 668 "--path_to_config",
752 "test.py" 669 "test.py"
753 ], 670 ],
754 "cwd": "[SLAVE_BUILD]", 671 "cwd": "[SLAVE_BUILD]",
755 "name": "run bisect perf regression" 672 "name": "run bisect perf regression"
756 }, 673 },
757 { 674 {
758 "cmd": [ 675 "cmd": [
759 "python", 676 "python",
760 "-u", 677 "-u",
761 "[BUILD]/scripts/slave/tee.py", 678 "[BUILD]/scripts/slave/tee.py",
762 "[SLAVE_BUILD]/src/out/Release/full_logcat", 679 "[SLAVE_BUILD]/src/out/Release/full_log",
763 "--", 680 "--",
764 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 681 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
765 "[SLAVE_BUILD]/src/out/logcat_dir" 682 "[SLAVE_BUILD]/src/out/logcat"
766 ], 683 ],
767 "cwd": "[SLAVE_BUILD]", 684 "cwd": "[SLAVE_BUILD]",
768 "name": "logcat_dump" 685 "name": "logcat_dump"
769 }, 686 },
770 { 687 {
771 "cmd": [ 688 "cmd": [
772 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 689 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
773 "--arch", 690 "--arch",
774 "arm", 691 "arm",
775 "--more-info", 692 "--more-info",
776 "[SLAVE_BUILD]/src/out/Release/full_logcat" 693 "[SLAVE_BUILD]/src/out/Release/full_log"
777 ], 694 ],
778 "cwd": "[SLAVE_BUILD]", 695 "cwd": "[SLAVE_BUILD]",
779 "env": { 696 "env": {
780 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 697 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
781 }, 698 },
782 "name": "stack_tool_with_logcat_dump" 699 "name": "stack_tool_with_logcat_dump"
783 }, 700 },
784 { 701 {
785 "cmd": [ 702 "cmd": [
786 "[SLAVE_BUILD]/src/build/android/tombstones.py", 703 "[SLAVE_BUILD]/src/build/android/tombstones.py",
787 "-a", 704 "-a",
788 "-s", 705 "-s",
789 "-w" 706 "-w"
790 ], 707 ],
791 "cwd": "[SLAVE_BUILD]", 708 "cwd": "[SLAVE_BUILD]",
792 "env": { 709 "env": {
793 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
794 }, 711 },
795 "name": "stack_tool_for_tombstones" 712 "name": "stack_tool_for_tombstones"
796 }, 713 },
797 { 714 {
798 "cmd": [ 715 "cmd": [
799 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 716 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
800 "-l", 717 "-l",
801 "[SLAVE_BUILD]/src/out/Release/full_logcat" 718 "[SLAVE_BUILD]/src/out/Release/full_log"
802 ], 719 ],
803 "cwd": "[SLAVE_BUILD]", 720 "cwd": "[SLAVE_BUILD]",
804 "env": { 721 "env": {
805 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 722 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
806 }, 723 },
807 "name": "stack_tool_for_asan" 724 "name": "stack_tool_for_asan"
808 }, 725 },
809 { 726 {
810 "cmd": [ 727 "cmd": [
811 "python", 728 "python",
(...skipping 30 matching lines...) Expand all
842 "~followup_annotations": [ 759 "~followup_annotations": [
843 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code -coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" 760 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code -coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@"
844 ] 761 ]
845 }, 762 },
846 { 763 {
847 "name": "$result", 764 "name": "$result",
848 "recipe_result": null, 765 "recipe_result": null,
849 "status_code": 0 766 "status_code": 0
850 } 767 }
851 ] 768 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698