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

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

Powered by Google App Engine
This is Rietveld 408576698