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

Side by Side Diff: scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_basic_device.json

Issue 2400963002: Fix file.copy recipe_module to not fail if files are already equal. (Closed)
Patch Set: all expectations, omg! 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 "name": "ensure_goma" 4 "name": "ensure_goma"
5 }, 5 },
6 { 6 {
7 "cmd": [ 7 "cmd": [
8 "python", 8 "python",
9 "-u", 9 "-u",
10 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", 10 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 "cwd": "[BUILDER_CACHE]/android_one_perf_bisect/src", 1030 "cwd": "[BUILDER_CACHE]/android_one_perf_bisect/src",
1031 "name": "Gathering reference values.unzip_build_product", 1031 "name": "Gathering reference values.unzip_build_product",
1032 "~followup_annotations": [ 1032 "~followup_annotations": [
1033 "@@@STEP_NEST_LEVEL@1@@@" 1033 "@@@STEP_NEST_LEVEL@1@@@"
1034 ] 1034 ]
1035 }, 1035 },
1036 { 1036 {
1037 "cmd": [ 1037 "cmd": [
1038 "python", 1038 "python",
1039 "-u", 1039 "-u",
1040 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 1040 "\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",
1041 "[BUILDER_CACHE]/android_one_perf_bisect/src/chrome/VERSION", 1041 "[BUILDER_CACHE]/android_one_perf_bisect/src/chrome/VERSION",
1042 "/path/to/tmp/" 1042 "/path/to/tmp/"
1043 ], 1043 ],
1044 "env": { 1044 "env": {
1045 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1045 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1046 "PATH": "[BUILDER_CACHE]/android_one_perf_bisect/src/third_party/android_t ools/sdk/platform-tools:[BUILDER_CACHE]/android_one_perf_bisect/src/build/androi d:%(PATH)s" 1046 "PATH": "[BUILDER_CACHE]/android_one_perf_bisect/src/third_party/android_t ools/sdk/platform-tools:[BUILDER_CACHE]/android_one_perf_bisect/src/build/androi d:%(PATH)s"
1047 }, 1047 },
1048 "name": "Gathering reference values.get version", 1048 "name": "Gathering reference values.get version",
1049 "~followup_annotations": [ 1049 "~followup_annotations": [
1050 "@@@STEP_NEST_LEVEL@1@@@" 1050 "@@@STEP_NEST_LEVEL@1@@@"
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 "cwd": "[BUILDER_CACHE]/android_one_perf_bisect/src", 1496 "cwd": "[BUILDER_CACHE]/android_one_perf_bisect/src",
1497 "name": "Gathering reference values.unzip_build_product (2)", 1497 "name": "Gathering reference values.unzip_build_product (2)",
1498 "~followup_annotations": [ 1498 "~followup_annotations": [
1499 "@@@STEP_NEST_LEVEL@1@@@" 1499 "@@@STEP_NEST_LEVEL@1@@@"
1500 ] 1500 ]
1501 }, 1501 },
1502 { 1502 {
1503 "cmd": [ 1503 "cmd": [
1504 "python", 1504 "python",
1505 "-u", 1505 "-u",
1506 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 1506 "\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",
1507 "[BUILDER_CACHE]/android_one_perf_bisect/src/chrome/VERSION", 1507 "[BUILDER_CACHE]/android_one_perf_bisect/src/chrome/VERSION",
1508 "/path/to/tmp/" 1508 "/path/to/tmp/"
1509 ], 1509 ],
1510 "env": { 1510 "env": {
1511 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1511 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1512 "PATH": "[BUILDER_CACHE]/android_one_perf_bisect/src/third_party/android_t ools/sdk/platform-tools:[BUILDER_CACHE]/android_one_perf_bisect/src/build/androi d:%(PATH)s" 1512 "PATH": "[BUILDER_CACHE]/android_one_perf_bisect/src/third_party/android_t ools/sdk/platform-tools:[BUILDER_CACHE]/android_one_perf_bisect/src/build/androi d:%(PATH)s"
1513 }, 1513 },
1514 "name": "Gathering reference values.get version (2)", 1514 "name": "Gathering reference values.get version (2)",
1515 "~followup_annotations": [ 1515 "~followup_annotations": [
1516 "@@@STEP_NEST_LEVEL@1@@@" 1516 "@@@STEP_NEST_LEVEL@1@@@"
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 "CHROMIUM_OUTPUT_DIR": "[BUILDER_CACHE]/android_one_perf_bisect/src/out/Re lease", 2113 "CHROMIUM_OUTPUT_DIR": "[BUILDER_CACHE]/android_one_perf_bisect/src/out/Re lease",
2114 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 2114 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
2115 "PATH": "[BUILDER_CACHE]/android_one_perf_bisect/src/third_party/android_t ools/sdk/platform-tools:[BUILDER_CACHE]/android_one_perf_bisect/src/build/androi d:%(PATH)s" 2115 "PATH": "[BUILDER_CACHE]/android_one_perf_bisect/src/third_party/android_t ools/sdk/platform-tools:[BUILDER_CACHE]/android_one_perf_bisect/src/build/androi d:%(PATH)s"
2116 }, 2116 },
2117 "name": "stack_tool_with_logcat_dump" 2117 "name": "stack_tool_with_logcat_dump"
2118 }, 2118 },
2119 { 2119 {
2120 "cmd": [ 2120 "cmd": [
2121 "python", 2121 "python",
2122 "-u", 2122 "-u",
2123 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 2123 "\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",
2124 "[BUILDER_CACHE]/android_one_perf_bisect/src/chrome/VERSION", 2124 "[BUILDER_CACHE]/android_one_perf_bisect/src/chrome/VERSION",
2125 "/path/to/tmp/" 2125 "/path/to/tmp/"
2126 ], 2126 ],
2127 "cwd": "[BUILDER_CACHE]/android_one_perf_bisect", 2127 "cwd": "[BUILDER_CACHE]/android_one_perf_bisect",
2128 "name": "get version" 2128 "name": "get version"
2129 }, 2129 },
2130 { 2130 {
2131 "cmd": [ 2131 "cmd": [
2132 "[BUILDER_CACHE]/android_one_perf_bisect/src/build/android/tombstones.py", 2132 "[BUILDER_CACHE]/android_one_perf_bisect/src/build/android/tombstones.py",
2133 "-a", 2133 "-a",
(...skipping 27 matching lines...) Expand all
2161 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 2161 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
2162 "@@@STEP_LOG_END@python.inline@@@" 2162 "@@@STEP_LOG_END@python.inline@@@"
2163 ] 2163 ]
2164 }, 2164 },
2165 { 2165 {
2166 "name": "$result", 2166 "name": "$result",
2167 "recipe_result": null, 2167 "recipe_result": null,
2168 "status_code": 0 2168 "status_code": 0
2169 } 2169 }
2170 ] 2170 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698