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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/legacy_skimage_version.json

Issue 2402583003: Revert "Fix file.copy recipe_module to not fail if files are already equal." (Closed)
Patch Set: Created 4 years, 2 months 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "remote", 5 "remote",
6 "set-url", 6 "set-url",
7 "origin", 7 "origin",
8 "https://skia.googlesource.com/skia.git" 8 "https://skia.googlesource.com/skia.git"
9 ], 9 ],
10 "cwd": "[SLAVE_BUILD]/skia", 10 "cwd": "[SLAVE_BUILD]/skia",
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 "@@@STEP_LOG_LINE@json.output@}@@@", 709 "@@@STEP_LOG_LINE@json.output@}@@@",
710 "@@@STEP_LOG_END@json.output@@@", 710 "@@@STEP_LOG_END@json.output@@@",
711 "@@@STEP_LINK@shard #0 isolated out@blah@@@", 711 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
712 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@" 712 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
713 ] 713 ]
714 }, 714 },
715 { 715 {
716 "cmd": [ 716 "cmd": [
717 "python", 717 "python",
718 "-u", 718 "-u",
719 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit (0)\nshutil.copy(sys.argv[1], sys.argv[2])\n", 719 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
720 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", 720 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION",
721 "/path/to/tmp/" 721 "/path/to/tmp/"
722 ], 722 ],
723 "name": "read skp VERSION" 723 "name": "read skp VERSION"
724 }, 724 },
725 { 725 {
726 "cmd": [ 726 "cmd": [
727 "python", 727 "python",
728 "-u", 728 "-u",
729 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 729 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
(...skipping 11 matching lines...) Expand all
741 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 741 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
742 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 742 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
743 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 743 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
744 "@@@STEP_LOG_END@python.inline@@@" 744 "@@@STEP_LOG_END@python.inline@@@"
745 ] 745 ]
746 }, 746 },
747 { 747 {
748 "cmd": [ 748 "cmd": [
749 "python", 749 "python",
750 "-u", 750 "-u",
751 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit (0)\nshutil.copy(sys.argv[1], sys.argv[2])\n", 751 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
752 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", 752 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION",
753 "/path/to/tmp/" 753 "/path/to/tmp/"
754 ], 754 ],
755 "name": "Get downloaded SK_IMAGE_VERSION", 755 "name": "Get downloaded SK_IMAGE_VERSION",
756 "~followup_annotations": [ 756 "~followup_annotations": [
757 "step returned non-zero exit code: 1", 757 "step returned non-zero exit code: 1",
758 "@@@STEP_EXCEPTION@@@" 758 "@@@STEP_EXCEPTION@@@"
759 ] 759 ]
760 }, 760 },
761 { 761 {
762 "cmd": [ 762 "cmd": [
763 "python", 763 "python",
764 "-u", 764 "-u",
765 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit (0)\nshutil.copy(sys.argv[1], sys.argv[2])\n", 765 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
766 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", 766 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION",
767 "/path/to/tmp/" 767 "/path/to/tmp/"
768 ], 768 ],
769 "name": "Get expected SK_IMAGE_VERSION" 769 "name": "Get expected SK_IMAGE_VERSION"
770 }, 770 },
771 { 771 {
772 "cmd": [ 772 "cmd": [
773 "python", 773 "python",
774 "-u", 774 "-u",
775 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 775 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 "@@@STEP_LINK@shard #0 isolated out@blah@@@", 1406 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1407 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@" 1407 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
1408 ] 1408 ]
1409 }, 1409 },
1410 { 1410 {
1411 "name": "$result", 1411 "name": "$result",
1412 "recipe_result": null, 1412 "recipe_result": null,
1413 "status_code": 0 1413 "status_code": 0
1414 } 1414 }
1415 ] 1415 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698