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

Side by Side Diff: scripts/slave/recipes/android/perf.expected/src_side_script_fails.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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 "--adb-path", 234 "--adb-path",
235 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 235 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
236 ], 236 ],
237 "env": { 237 "env": {
238 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 238 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
239 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 239 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
240 }, 240 },
241 "name": "authorize_adb_devices" 241 "name": "authorize_adb_devices"
242 }, 242 },
243 { 243 {
244 "cmd": [],
245 "name": "fix_device_file_format"
246 },
247 {
248 "cmd": [
249 "python",
250 "-u",
251 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
252 "[BUILD]/site_config/.known_devices",
253 "/path/to/tmp/"
254 ],
255 "name": "fix_device_file_format.read_device_file",
256 "~followup_annotations": [
257 "@@@STEP_NEST_LEVEL@1@@@",
258 "@@@STEP_TEXT@file format is compatible@@@"
259 ]
260 },
261 {
262 "cmd": [ 244 "cmd": [
263 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 245 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
264 "--adb-path", 246 "--adb-path",
265 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 247 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
266 "--blacklist-file", 248 "--blacklist-file",
267 "[SLAVE_BUILD]/src/out/bad_devices.json", 249 "[SLAVE_BUILD]/src/out/bad_devices.json",
268 "--json-output", 250 "--json-output",
269 "/path/to/tmp/json", 251 "/path/to/tmp/json",
270 "--known-devices-file", 252 "--known-devices-file",
271 "[BUILD]/site_config/.known_devices" 253 "[BUILD]/site_config/.known_devices"
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 758 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
777 "@@@STEP_LOG_END@python.inline@@@" 759 "@@@STEP_LOG_END@python.inline@@@"
778 ] 760 ]
779 }, 761 },
780 { 762 {
781 "name": "$result", 763 "name": "$result",
782 "reason": "src-side perf tests failed [StepFailure(\"1 tests failed: ['host_ info']\",)]", 764 "reason": "src-side perf tests failed [StepFailure(\"1 tests failed: ['host_ info']\",)]",
783 "status_code": 1 765 "status_code": 1
784 } 766 }
785 ] 767 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698