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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/slow_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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 "--blacklist-file", 565 "--blacklist-file",
566 "[SLAVE_BUILD]/src/out/bad_devices.json" 566 "[SLAVE_BUILD]/src/out/bad_devices.json"
567 ], 567 ],
568 "cwd": "[SLAVE_BUILD]", 568 "cwd": "[SLAVE_BUILD]",
569 "env": { 569 "env": {
570 "BUILDTYPE": "Release" 570 "BUILDTYPE": "Release"
571 }, 571 },
572 "name": "Monkey Test" 572 "name": "Monkey Test"
573 }, 573 },
574 { 574 {
575 "cmd": [],
576 "cwd": "[SLAVE_BUILD]",
577 "name": "AndroidWebViewTest"
578 },
579 {
580 "cmd": [
581 "[BUILD]/scripts/slave/daemonizer.py",
582 "--",
583 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
584 "[TMP_BASE]/logcat_tmp_1"
585 ],
586 "cwd": "[SLAVE_BUILD]",
587 "env": {
588 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
589 },
590 "name": "AndroidWebViewTest.spawn_logcat_monitor",
591 "~followup_annotations": [
592 "@@@STEP_NEST_LEVEL@1@@@"
593 ]
594 },
595 {
596 "cmd": [ 575 "cmd": [
597 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 576 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
598 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 577 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
599 "-v", 578 "-v",
600 "--blacklist-file", 579 "--blacklist-file",
601 "[SLAVE_BUILD]/src/out/bad_devices.json", 580 "[SLAVE_BUILD]/src/out/bad_devices.json",
602 "--release" 581 "--release"
603 ], 582 ],
604 "cwd": "[SLAVE_BUILD]", 583 "cwd": "[SLAVE_BUILD]",
605 "env": { 584 "env": {
606 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 585 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
607 }, 586 },
608 "name": "AndroidWebViewTest.install AndroidWebView.apk", 587 "name": "install AndroidWebView.apk"
609 "~followup_annotations": [
610 "@@@STEP_NEST_LEVEL@1@@@"
611 ]
612 }, 588 },
613 { 589 {
614 "cmd": [ 590 "cmd": [
615 "python", 591 "python",
616 "-u", 592 "-u",
617 "[SLAVE_BUILD]/src/build/android/test_runner.py", 593 "[SLAVE_BUILD]/src/build/android/test_runner.py",
618 "instrumentation", 594 "instrumentation",
619 "--test-apk", 595 "--test-apk",
620 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 596 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
621 "--blacklist-file", 597 "--blacklist-file",
(...skipping 10 matching lines...) Expand all
632 "FlakyTest", 608 "FlakyTest",
633 "--screenshot", 609 "--screenshot",
634 "--release", 610 "--release",
635 "--host-driven-root", 611 "--host-driven-root",
636 "[SLAVE_BUILD]/src/chrome/test", 612 "[SLAVE_BUILD]/src/chrome/test",
637 "--official-build", 613 "--official-build",
638 "--timeout-scale", 614 "--timeout-scale",
639 "2" 615 "2"
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