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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/perf_tests_failure.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 "\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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 "env": { 788 "env": {
789 "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"
790 }, 790 },
791 "name": "unittests" 791 "name": "unittests"
792 }, 792 },
793 { 793 {
794 "cmd": [ 794 "cmd": [
795 "python", 795 "python",
796 "-u", 796 "-u",
797 "[BUILD]/scripts/slave/tee.py", 797 "[BUILD]/scripts/slave/tee.py",
798 "[SLAVE_BUILD]/src/out/Release/full_log", 798 "[SLAVE_BUILD]/src/out/Release/full_logcat",
799 "--", 799 "--",
800 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 800 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
801 "[SLAVE_BUILD]/src/out/logcat" 801 "[SLAVE_BUILD]/src/out/logcat"
802 ], 802 ],
803 "cwd": "[SLAVE_BUILD]", 803 "cwd": "[SLAVE_BUILD]",
804 "name": "logcat_dump" 804 "name": "logcat_dump"
805 }, 805 },
806 { 806 {
807 "cmd": [ 807 "cmd": [
808 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 808 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
809 "--arch", 809 "--arch",
810 "arm", 810 "arm",
811 "--more-info", 811 "--more-info",
812 "[SLAVE_BUILD]/src/out/Release/full_log" 812 "[SLAVE_BUILD]/src/out/Release/full_logcat"
813 ], 813 ],
814 "cwd": "[SLAVE_BUILD]", 814 "cwd": "[SLAVE_BUILD]",
815 "env": { 815 "env": {
816 "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"
817 }, 817 },
818 "name": "stack_tool_with_logcat_dump" 818 "name": "stack_tool_with_logcat_dump"
819 }, 819 },
820 { 820 {
821 "cmd": [ 821 "cmd": [
822 "[SLAVE_BUILD]/src/build/android/tombstones.py", 822 "[SLAVE_BUILD]/src/build/android/tombstones.py",
823 "-a", 823 "-a",
824 "-s", 824 "-s",
825 "-w" 825 "-w"
826 ], 826 ],
827 "cwd": "[SLAVE_BUILD]", 827 "cwd": "[SLAVE_BUILD]",
828 "env": { 828 "env": {
829 "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"
830 }, 830 },
831 "name": "stack_tool_for_tombstones" 831 "name": "stack_tool_for_tombstones"
832 }, 832 },
833 { 833 {
834 "cmd": [ 834 "cmd": [
835 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 835 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
836 "-l", 836 "-l",
837 "[SLAVE_BUILD]/src/out/Release/full_log" 837 "[SLAVE_BUILD]/src/out/Release/full_logcat"
838 ], 838 ],
839 "cwd": "[SLAVE_BUILD]", 839 "cwd": "[SLAVE_BUILD]",
840 "env": { 840 "env": {
841 "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"
842 }, 842 },
843 "name": "stack_tool_for_asan" 843 "name": "stack_tool_for_asan"
844 }, 844 },
845 { 845 {
846 "name": "$result", 846 "name": "$result",
847 "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\",)]",
848 "status_code": 1 848 "status_code": 1
849 } 849 }
850 ] 850 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698