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

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

Powered by Google App Engine
This is Rietveld 408576698