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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/coverage_builder_basic.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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 "test.py" 670 "test.py"
671 ], 671 ],
672 "cwd": "[SLAVE_BUILD]", 672 "cwd": "[SLAVE_BUILD]",
673 "name": "run bisect perf regression" 673 "name": "run bisect perf regression"
674 }, 674 },
675 { 675 {
676 "cmd": [ 676 "cmd": [
677 "python", 677 "python",
678 "-u", 678 "-u",
679 "[BUILD]/scripts/slave/tee.py", 679 "[BUILD]/scripts/slave/tee.py",
680 "[SLAVE_BUILD]/src/out/Release/full_log", 680 "[SLAVE_BUILD]/src/out/Release/full_logcat",
681 "--", 681 "--",
682 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 682 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
683 "[SLAVE_BUILD]/src/out/logcat" 683 "[SLAVE_BUILD]/src/out/logcat"
684 ], 684 ],
685 "cwd": "[SLAVE_BUILD]", 685 "cwd": "[SLAVE_BUILD]",
686 "name": "logcat_dump" 686 "name": "logcat_dump"
687 }, 687 },
688 { 688 {
689 "cmd": [ 689 "cmd": [
690 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 690 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
691 "--arch", 691 "--arch",
692 "arm", 692 "arm",
693 "--more-info", 693 "--more-info",
694 "[SLAVE_BUILD]/src/out/Release/full_log" 694 "[SLAVE_BUILD]/src/out/Release/full_logcat"
695 ], 695 ],
696 "cwd": "[SLAVE_BUILD]", 696 "cwd": "[SLAVE_BUILD]",
697 "env": { 697 "env": {
698 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 698 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
699 }, 699 },
700 "name": "stack_tool_with_logcat_dump" 700 "name": "stack_tool_with_logcat_dump"
701 }, 701 },
702 { 702 {
703 "cmd": [ 703 "cmd": [
704 "[SLAVE_BUILD]/src/build/android/tombstones.py", 704 "[SLAVE_BUILD]/src/build/android/tombstones.py",
705 "-a", 705 "-a",
706 "-s", 706 "-s",
707 "-w" 707 "-w"
708 ], 708 ],
709 "cwd": "[SLAVE_BUILD]", 709 "cwd": "[SLAVE_BUILD]",
710 "env": { 710 "env": {
711 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 711 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
712 }, 712 },
713 "name": "stack_tool_for_tombstones" 713 "name": "stack_tool_for_tombstones"
714 }, 714 },
715 { 715 {
716 "cmd": [ 716 "cmd": [
717 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 717 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
718 "-l", 718 "-l",
719 "[SLAVE_BUILD]/src/out/Release/full_log" 719 "[SLAVE_BUILD]/src/out/Release/full_logcat"
720 ], 720 ],
721 "cwd": "[SLAVE_BUILD]", 721 "cwd": "[SLAVE_BUILD]",
722 "env": { 722 "env": {
723 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 723 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
724 }, 724 },
725 "name": "stack_tool_for_asan" 725 "name": "stack_tool_for_asan"
726 }, 726 },
727 { 727 {
728 "cmd": [ 728 "cmd": [
729 "python", 729 "python",
(...skipping 30 matching lines...) Expand all
760 "~followup_annotations": [ 760 "~followup_annotations": [
761 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code -coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" 761 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code -coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@"
762 ] 762 ]
763 }, 763 },
764 { 764 {
765 "name": "$result", 765 "name": "$result",
766 "recipe_result": null, 766 "recipe_result": null,
767 "status_code": 0 767 "status_code": 0
768 } 768 }
769 ] 769 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698