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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 271 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
272 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 272 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
273 "@@@STEP_LOG_END@python.inline@@@" 273 "@@@STEP_LOG_END@python.inline@@@"
274 ] 274 ]
275 }, 275 },
276 { 276 {
277 "cmd": [ 277 "cmd": [
278 "[BUILD]/scripts/slave/daemonizer.py", 278 "[BUILD]/scripts/slave/daemonizer.py",
279 "--", 279 "--",
280 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 280 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
281 "[SLAVE_BUILD]/src/out/logcat_dir" 281 "[SLAVE_BUILD]/src/out/logcat"
282 ], 282 ],
283 "cwd": "[SLAVE_BUILD]", 283 "cwd": "[SLAVE_BUILD]",
284 "env": { 284 "env": {
285 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 285 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
286 }, 286 },
287 "name": "spawn_logcat_monitor" 287 "name": "spawn_logcat_monitor"
288 }, 288 },
289 { 289 {
290 "cmd": [ 290 "cmd": [
291 "python", 291 "python",
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip", 716 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip",
717 "gs://archives-bucket/perf_runner/perf_test.foo/20150928T110712_build_571. zip" 717 "gs://archives-bucket/perf_runner/perf_test.foo/20150928T110712_build_571. zip"
718 ], 718 ],
719 "cwd": "[SLAVE_BUILD]", 719 "cwd": "[SLAVE_BUILD]",
720 "name": "gsutil upload perf_test.foo output dir archive", 720 "name": "gsutil upload perf_test.foo output dir archive",
721 "~followup_annotations": [ 721 "~followup_annotations": [
722 "@@@STEP_LINK@output_dir.zip@https://storage.cloud.google.com/archives-buc ket/perf_runner/perf_test.foo/20150928T110712_build_571.zip@@@" 722 "@@@STEP_LINK@output_dir.zip@https://storage.cloud.google.com/archives-buc ket/perf_runner/perf_test.foo/20150928T110712_build_571.zip@@@"
723 ] 723 ]
724 }, 724 },
725 { 725 {
726 "cmd": [],
727 "cwd": "[SLAVE_BUILD]",
728 "name": "AndroidWebViewTest"
729 },
730 {
731 "cmd": [
732 "[BUILD]/scripts/slave/daemonizer.py",
733 "--",
734 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
735 "[TMP_BASE]/logcat_tmp_2"
736 ],
737 "cwd": "[SLAVE_BUILD]",
738 "env": {
739 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
740 },
741 "name": "AndroidWebViewTest.spawn_logcat_monitor",
742 "~followup_annotations": [
743 "@@@STEP_NEST_LEVEL@1@@@"
744 ]
745 },
746 {
747 "cmd": [ 726 "cmd": [
748 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 727 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
749 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 728 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
750 "-v", 729 "-v",
751 "--blacklist-file", 730 "--blacklist-file",
752 "[SLAVE_BUILD]/src/out/bad_devices.json", 731 "[SLAVE_BUILD]/src/out/bad_devices.json",
753 "--release" 732 "--release"
754 ], 733 ],
755 "cwd": "[SLAVE_BUILD]", 734 "cwd": "[SLAVE_BUILD]",
756 "env": { 735 "env": {
757 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 736 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
758 }, 737 },
759 "name": "AndroidWebViewTest.install AndroidWebView.apk", 738 "name": "install AndroidWebView.apk"
760 "~followup_annotations": [
761 "@@@STEP_NEST_LEVEL@1@@@"
762 ]
763 }, 739 },
764 { 740 {
765 "cmd": [ 741 "cmd": [
766 "python", 742 "python",
767 "-u", 743 "-u",
768 "[SLAVE_BUILD]/src/build/android/test_runner.py", 744 "[SLAVE_BUILD]/src/build/android/test_runner.py",
769 "instrumentation", 745 "instrumentation",
770 "--test-apk", 746 "--test-apk",
771 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 747 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
772 "--blacklist-file", 748 "--blacklist-file",
773 "[SLAVE_BUILD]/src/out/bad_devices.json", 749 "[SLAVE_BUILD]/src/out/bad_devices.json",
774 "--apk-under-test", 750 "--apk-under-test",
775 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 751 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
776 "--isolate-file-path", 752 "--isolate-file-path",
777 "android_webview/android_webview_test_apk.isolate", 753 "android_webview/android_webview_test_apk.isolate",
778 "--flakiness-dashboard-server", 754 "--flakiness-dashboard-server",
779 "test-results.appspot.com", 755 "test-results.appspot.com",
780 "-A", 756 "-A",
781 "SmallTest", 757 "SmallTest",
782 "-E", 758 "-E",
783 "FlakyTest", 759 "FlakyTest",
784 "--screenshot", 760 "--screenshot",
785 "--release", 761 "--release",
786 "--host-driven-root", 762 "--host-driven-root",
787 "[SLAVE_BUILD]/src/chrome/test", 763 "[SLAVE_BUILD]/src/chrome/test",
788 "--official-build" 764 "--official-build"
789 ], 765 ],
790 "cwd": "[SLAVE_BUILD]", 766 "cwd": "[SLAVE_BUILD]",
791 "name": "AndroidWebViewTest.Instrumentation test SmallTest", 767 "name": "Instrumentation test SmallTest"
792 "~followup_annotations": [
793 "@@@STEP_NEST_LEVEL@1@@@"
794 ]
795 }, 768 },
796 { 769 {
797 "cmd": [ 770 "cmd": [
798 "python",
799 "-u",
800 "[BUILD]/scripts/slave/tee.py",
801 "/path/to/tmp/logcat",
802 "--",
803 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
804 "[TMP_BASE]/logcat_tmp_2"
805 ],
806 "cwd": "[SLAVE_BUILD]",
807 "name": "AndroidWebViewTest.logcat_dump",
808 "~followup_annotations": [
809 "@@@STEP_NEST_LEVEL@1@@@"
810 ]
811 },
812 {
813 "cmd": [],
814 "cwd": "[SLAVE_BUILD]",
815 "name": "unittests"
816 },
817 {
818 "cmd": [
819 "[BUILD]/scripts/slave/daemonizer.py",
820 "--",
821 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
822 "[TMP_BASE]/logcat_tmp_3"
823 ],
824 "cwd": "[SLAVE_BUILD]",
825 "env": {
826 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
827 },
828 "name": "unittests.spawn_logcat_monitor",
829 "~followup_annotations": [
830 "@@@STEP_NEST_LEVEL@1@@@"
831 ]
832 },
833 {
834 "cmd": [
835 "python", 771 "python",
836 "-u", 772 "-u",
837 "[SLAVE_BUILD]/src/build/android/test_runner.py", 773 "[SLAVE_BUILD]/src/build/android/test_runner.py",
838 "gtest", 774 "gtest",
839 "-s", 775 "-s",
840 "unittests", 776 "unittests",
841 "--blacklist-file", 777 "--blacklist-file",
842 "[SLAVE_BUILD]/src/out/bad_devices.json", 778 "[SLAVE_BUILD]/src/out/bad_devices.json",
843 "--verbose", 779 "--verbose",
844 "--release", 780 "--release",
845 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 781 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
846 "--gtest_filter=WebRtc*", 782 "--gtest_filter=WebRtc*",
847 "--tool=asan" 783 "--tool=asan"
848 ], 784 ],
849 "cwd": "[SLAVE_BUILD]", 785 "cwd": "[SLAVE_BUILD]",
850 "env": { 786 "env": {
851 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 787 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
852 }, 788 },
853 "name": "unittests.unittests", 789 "name": "unittests"
854 "~followup_annotations": [
855 "@@@STEP_NEST_LEVEL@1@@@"
856 ]
857 }, 790 },
858 { 791 {
859 "cmd": [ 792 "cmd": [
860 "python",
861 "-u",
862 "[BUILD]/scripts/slave/tee.py",
863 "/path/to/tmp/logcat",
864 "--",
865 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
866 "[TMP_BASE]/logcat_tmp_3"
867 ],
868 "cwd": "[SLAVE_BUILD]",
869 "name": "unittests.logcat_dump",
870 "~followup_annotations": [
871 "@@@STEP_NEST_LEVEL@1@@@"
872 ]
873 },
874 {
875 "cmd": [
876 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 793 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
877 "-w", 794 "-w",
878 "[SLAVE_BUILD]" 795 "[SLAVE_BUILD]"
879 ], 796 ],
880 "cwd": "[SLAVE_BUILD]", 797 "cwd": "[SLAVE_BUILD]",
881 "name": "prepare bisect perf regression" 798 "name": "prepare bisect perf regression"
882 }, 799 },
883 { 800 {
884 "cmd": [ 801 "cmd": [
885 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 802 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
886 "-w", 803 "-w",
887 "[SLAVE_BUILD]", 804 "[SLAVE_BUILD]",
888 "--extra_src", 805 "--extra_src",
889 "test.py", 806 "test.py",
890 "--path_to_config", 807 "--path_to_config",
891 "test.py" 808 "test.py"
892 ], 809 ],
893 "cwd": "[SLAVE_BUILD]", 810 "cwd": "[SLAVE_BUILD]",
894 "name": "run bisect perf regression" 811 "name": "run bisect perf regression"
895 }, 812 },
896 { 813 {
897 "cmd": [ 814 "cmd": [
898 "python", 815 "python",
899 "-u", 816 "-u",
900 "[BUILD]/scripts/slave/tee.py", 817 "[BUILD]/scripts/slave/tee.py",
901 "[SLAVE_BUILD]/src/out/Release/full_logcat", 818 "[SLAVE_BUILD]/src/out/Release/full_log",
902 "--", 819 "--",
903 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 820 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
904 "[SLAVE_BUILD]/src/out/logcat_dir" 821 "[SLAVE_BUILD]/src/out/logcat"
905 ], 822 ],
906 "cwd": "[SLAVE_BUILD]", 823 "cwd": "[SLAVE_BUILD]",
907 "name": "logcat_dump" 824 "name": "logcat_dump"
908 }, 825 },
909 { 826 {
910 "cmd": [ 827 "cmd": [
911 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 828 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
912 "--arch", 829 "--arch",
913 "arm", 830 "arm",
914 "--more-info", 831 "--more-info",
915 "[SLAVE_BUILD]/src/out/Release/full_logcat" 832 "[SLAVE_BUILD]/src/out/Release/full_log"
916 ], 833 ],
917 "cwd": "[SLAVE_BUILD]", 834 "cwd": "[SLAVE_BUILD]",
918 "env": { 835 "env": {
919 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 836 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
920 }, 837 },
921 "name": "stack_tool_with_logcat_dump" 838 "name": "stack_tool_with_logcat_dump"
922 }, 839 },
923 { 840 {
924 "cmd": [ 841 "cmd": [
925 "[SLAVE_BUILD]/src/build/android/tombstones.py", 842 "[SLAVE_BUILD]/src/build/android/tombstones.py",
926 "-a", 843 "-a",
927 "-s", 844 "-s",
928 "-w" 845 "-w"
929 ], 846 ],
930 "cwd": "[SLAVE_BUILD]", 847 "cwd": "[SLAVE_BUILD]",
931 "env": { 848 "env": {
932 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 849 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
933 }, 850 },
934 "name": "stack_tool_for_tombstones" 851 "name": "stack_tool_for_tombstones"
935 }, 852 },
936 { 853 {
937 "cmd": [ 854 "cmd": [
938 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 855 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
939 "-l", 856 "-l",
940 "[SLAVE_BUILD]/src/out/Release/full_logcat" 857 "[SLAVE_BUILD]/src/out/Release/full_log"
941 ], 858 ],
942 "cwd": "[SLAVE_BUILD]", 859 "cwd": "[SLAVE_BUILD]",
943 "env": { 860 "env": {
944 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 861 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
945 }, 862 },
946 "name": "stack_tool_for_asan" 863 "name": "stack_tool_for_asan"
947 }, 864 },
948 { 865 {
949 "name": "$result", 866 "name": "$result",
950 "recipe_result": null, 867 "recipe_result": null,
951 "status_code": 0 868 "status_code": 0
952 } 869 }
953 ] 870 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698