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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_perf_Android_Nexus10_Perf.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 Nexus10 Perf", 10 "Android Nexus10 Perf",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 150 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
151 "[SLAVE_BUILD]/src/out/logcat" 151 "[SLAVE_BUILD]/src/out/logcat"
152 ], 152 ],
153 "env": { 153 "env": {
154 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 154 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
155 }, 155 },
156 "name": "spawn_logcat_monitor" 156 "name": "spawn_logcat_monitor"
157 }, 157 },
158 { 158 {
159 "cmd": [ 159 "cmd": [
160 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 160 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
161 "--json-output",
162 "/path/to/tmp/json"
161 ], 163 ],
162 "env": { 164 "env": {
163 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 165 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
164 }, 166 },
165 "name": "device_status_check" 167 "name": "device_status_check",
168 "~followup_annotations": [
169 "@@@STEP_LOG_LINE@json.output@[@@@",
170 "@@@STEP_LOG_LINE@json.output@ {@@@",
171 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
172 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
173 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
174 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
175 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
176 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
177 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
178 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
179 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
180 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
181 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
182 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
183 "@@@STEP_LOG_LINE@json.output@ }, @@@",
184 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
185 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
186 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
187 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
188 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
189 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
190 "@@@STEP_LOG_LINE@json.output@ }@@@",
191 "@@@STEP_LOG_LINE@json.output@]@@@",
192 "@@@STEP_LOG_END@json.output@@@"
193 ]
166 }, 194 },
167 { 195 {
168 "cmd": [ 196 "cmd": [
169 "python", 197 "python",
170 "-u", 198 "-u",
171 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 199 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
172 "-t", 200 "-t",
173 "Release" 201 "Release"
174 ], 202 ],
175 "env": { 203 "env": {
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 420 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
393 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 421 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
394 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 422 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
395 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 423 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
396 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 424 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
397 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 425 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
398 "@@@STEP_LOG_END@python.inline@@@" 426 "@@@STEP_LOG_END@python.inline@@@"
399 ] 427 ]
400 } 428 }
401 ] 429 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698