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

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

Powered by Google App Engine
This is Rietveld 408576698