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

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

Issue 815213002: Cause chromium_android recipe to consume device_status_check's json. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Add missing files Created 6 years 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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.perf", 8 "chromium.perf",
9 "--builder", 9 "--builder",
10 "Android Nexus5 Perf", 10 "Android Nexus5 Perf",
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 116 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
117 "[SLAVE_BUILD]/src/out/logcat" 117 "[SLAVE_BUILD]/src/out/logcat"
118 ], 118 ],
119 "env": { 119 "env": {
120 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 120 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
121 }, 121 },
122 "name": "spawn_logcat_monitor" 122 "name": "spawn_logcat_monitor"
123 }, 123 },
124 { 124 {
125 "cmd": [ 125 "cmd": [
126 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 126 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
127 "--json-output",
128 "/path/to/tmp/json"
127 ], 129 ],
128 "env": { 130 "env": {
129 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 131 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
130 }, 132 },
131 "name": "device_status_check" 133 "name": "device_status_check",
134 "~followup_annotations": [
135 "@@@STEP_LOG_LINE@json.output@[@@@",
136 "@@@STEP_LOG_LINE@json.output@ {@@@",
137 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
138 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
139 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
140 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
141 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
142 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
143 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
144 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
145 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
146 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
148 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
149 "@@@STEP_LOG_LINE@json.output@ }, @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
151 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
152 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
153 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
155 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
156 "@@@STEP_LOG_LINE@json.output@ }@@@",
157 "@@@STEP_LOG_LINE@json.output@]@@@",
158 "@@@STEP_LOG_END@json.output@@@"
159 ]
132 }, 160 },
133 { 161 {
134 "cmd": [ 162 "cmd": [
135 "python", 163 "python",
136 "-u", 164 "-u",
137 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 165 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
138 "-t", 166 "-t",
139 "Release" 167 "Release"
140 ], 168 ],
141 "env": { 169 "env": {
142 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 170 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
143 }, 171 },
144 "name": "provision_devices", 172 "name": "provision_devices",
145 "~followup_annotations": [ 173 "~followup_annotations": [
146 "step returned non-zero exit code: 1", 174 "step returned non-zero exit code: 1",
147 "@@@STEP_EXCEPTION@@@" 175 "@@@STEP_EXCEPTION@@@"
148 ] 176 ]
149 }, 177 },
150 { 178 {
151 "name": "$final_result", 179 "name": "$final_result",
152 "reason": "Infra Failure: Step('provision_devices') returned 1", 180 "reason": "Infra Failure: Step('provision_devices') returned 1",
153 "status_code": 1 181 "status_code": 1
154 } 182 }
155 ] 183 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698