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

Side by Side Diff: scripts/slave/recipes/chromedriver.expected/Android_ChromeDriver_Tests__dbg__test_failure.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 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_deps': {'src/chrome/test /chromedriver/third_party/java_tests': 'https://chromium.googlesource.com/chromi um/deps/webdriver'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', ' url': 'https://chromium.googlesource.com/chromium/src.git'}]\ntarget_os = ['andr oid']", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_deps': {'src/chrome/test /chromedriver/third_party/java_tests': 'https://chromium.googlesource.com/chromi um/deps/webdriver'}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', ' url': 'https://chromium.googlesource.com/chromium/src.git'}]\ntarget_os = ['andr oid']",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 "[\"07a00ca4\"]", 438 "[\"07a00ca4\"]",
439 "--blacklist-file", 439 "--blacklist-file",
440 "[SLAVE_BUILD]/src/out/bad_devices.json" 440 "[SLAVE_BUILD]/src/out/bad_devices.json"
441 ], 441 ],
442 "name": "spawn_device_monitor" 442 "name": "spawn_device_monitor"
443 }, 443 },
444 { 444 {
445 "cmd": [ 445 "cmd": [
446 "python", 446 "python",
447 "-u", 447 "-u",
448 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 448 "\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",
449 "[SLAVE_BUILD]/src/chrome/VERSION", 449 "[SLAVE_BUILD]/src/chrome/VERSION",
450 "/path/to/tmp/" 450 "/path/to/tmp/"
451 ], 451 ],
452 "name": "get version" 452 "name": "get version"
453 }, 453 },
454 { 454 {
455 "cmd": [ 455 "cmd": [
456 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 456 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
457 "ChromeDriverWebViewShell.apk", 457 "ChromeDriverWebViewShell.apk",
458 "-v", 458 "-v",
459 "--blacklist-file", 459 "--blacklist-file",
460 "[SLAVE_BUILD]/src/out/bad_devices.json", 460 "[SLAVE_BUILD]/src/out/bad_devices.json",
461 "--adb-path", 461 "--adb-path",
462 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 462 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
463 ], 463 ],
464 "env": { 464 "env": {
465 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 465 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
466 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 466 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
467 }, 467 },
468 "name": "install ChromeDriverWebViewShell.apk" 468 "name": "install ChromeDriverWebViewShell.apk"
469 }, 469 },
470 { 470 {
471 "cmd": [ 471 "cmd": [
472 "python", 472 "python",
473 "-u", 473 "-u",
474 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 474 "\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",
475 "[SLAVE_BUILD]/src/chrome/VERSION", 475 "[SLAVE_BUILD]/src/chrome/VERSION",
476 "/path/to/tmp/" 476 "/path/to/tmp/"
477 ], 477 ],
478 "name": "get version (2)" 478 "name": "get version (2)"
479 }, 479 },
480 { 480 {
481 "cmd": [ 481 "cmd": [
482 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 482 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
483 "ChromePublic.apk", 483 "ChromePublic.apk",
484 "-v", 484 "-v",
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 ], 1042 ],
1043 "name": "Download Test Results Log.gsutil download results log", 1043 "name": "Download Test Results Log.gsutil download results log",
1044 "~followup_annotations": [ 1044 "~followup_annotations": [
1045 "@@@STEP_NEST_LEVEL@1@@@" 1045 "@@@STEP_NEST_LEVEL@1@@@"
1046 ] 1046 ]
1047 }, 1047 },
1048 { 1048 {
1049 "cmd": [ 1049 "cmd": [
1050 "python", 1050 "python",
1051 "-u", 1051 "-u",
1052 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 1052 "\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",
1053 "[TMP_BASE]/results_log_tmp_10/android_log.json", 1053 "[TMP_BASE]/results_log_tmp_10/android_log.json",
1054 "/path/to/tmp/" 1054 "/path/to/tmp/"
1055 ], 1055 ],
1056 "name": "Download Test Results Log.read results log file", 1056 "name": "Download Test Results Log.read results log file",
1057 "~followup_annotations": [ 1057 "~followup_annotations": [
1058 "@@@STEP_NEST_LEVEL@1@@@" 1058 "@@@STEP_NEST_LEVEL@1@@@"
1059 ] 1059 ]
1060 }, 1060 },
1061 { 1061 {
1062 "cmd": [ 1062 "cmd": [
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", 1173 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
1174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 1174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
1175 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 1175 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
1176 }, 1176 },
1177 "name": "stack_tool_with_logcat_dump" 1177 "name": "stack_tool_with_logcat_dump"
1178 }, 1178 },
1179 { 1179 {
1180 "cmd": [ 1180 "cmd": [
1181 "python", 1181 "python",
1182 "-u", 1182 "-u",
1183 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 1183 "\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",
1184 "[SLAVE_BUILD]/src/chrome/VERSION", 1184 "[SLAVE_BUILD]/src/chrome/VERSION",
1185 "/path/to/tmp/" 1185 "/path/to/tmp/"
1186 ], 1186 ],
1187 "name": "get version (3)" 1187 "name": "get version (3)"
1188 }, 1188 },
1189 { 1189 {
1190 "cmd": [ 1190 "cmd": [
1191 "[SLAVE_BUILD]/src/build/android/tombstones.py", 1191 "[SLAVE_BUILD]/src/build/android/tombstones.py",
1192 "-a", 1192 "-a",
1193 "-s", 1193 "-s",
(...skipping 25 matching lines...) Expand all
1219 "@@@STEP_LOG_END@python.inline@@@" 1219 "@@@STEP_LOG_END@python.inline@@@"
1220 ] 1220 ]
1221 }, 1221 },
1222 { 1222 {
1223 "name": "$result", 1223 "name": "$result",
1224 "reason": "Test failures", 1224 "reason": "Test failures",
1225 "recipe_result": null, 1225 "recipe_result": null,
1226 "status_code": 1 1226 "status_code": 1
1227 } 1227 }
1228 ] 1228 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698