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

Side by Side Diff: scripts/slave/recipes/android/perf.expected/test_failure.json

Issue 2103553002: Check that device file exists first before reverting. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase Created 4 years, 5 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 "--master", 7 "--master",
8 "chromium.perf", 8 "chromium.perf",
9 "--builder", 9 "--builder",
10 "Android Nexus5 Perf (1)", 10 "Android Nexus5 Perf (1)",
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 "--adb-path", 225 "--adb-path",
226 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 226 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
227 ], 227 ],
228 "env": { 228 "env": {
229 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 229 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
230 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 230 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
231 }, 231 },
232 "name": "authorize_adb_devices" 232 "name": "authorize_adb_devices"
233 }, 233 },
234 { 234 {
235 "cmd": [],
236 "name": "fix_device_file_format"
237 },
238 {
239 "cmd": [
240 "python",
241 "-u",
242 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
243 "[BUILD]/site_config/.known_devices",
244 "/path/to/tmp/"
245 ],
246 "name": "fix_device_file_format.read_device_file",
247 "~followup_annotations": [
248 "@@@STEP_NEST_LEVEL@1@@@",
249 "@@@STEP_TEXT@file format is compatible@@@"
250 ]
251 },
252 {
253 "cmd": [ 235 "cmd": [
254 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 236 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
255 "--adb-path", 237 "--adb-path",
256 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 238 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
257 "--blacklist-file", 239 "--blacklist-file",
258 "[SLAVE_BUILD]/src/out/bad_devices.json", 240 "[SLAVE_BUILD]/src/out/bad_devices.json",
259 "--json-output", 241 "--json-output",
260 "/path/to/tmp/json", 242 "/path/to/tmp/json",
261 "--known-devices-file", 243 "--known-devices-file",
262 "[BUILD]/site_config/.known_devices" 244 "[BUILD]/site_config/.known_devices"
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 725 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
744 "@@@STEP_LOG_END@python.inline@@@" 726 "@@@STEP_LOG_END@python.inline@@@"
745 ] 727 ]
746 }, 728 },
747 { 729 {
748 "name": "$result", 730 "name": "$result",
749 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]", 731 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]",
750 "status_code": 1 732 "status_code": 1
751 } 733 }
752 ] 734 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698