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

Side by Side Diff: scripts/slave/recipes/android_webview_aosp_perf.expected/basic.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.testing.master", 8 "chromium.testing.master",
9 "--builder", 9 "--builder",
10 "TestBuilder", 10 "TestBuilder",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 134 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
135 "[SLAVE_BUILD]/src/out/logcat" 135 "[SLAVE_BUILD]/src/out/logcat"
136 ], 136 ],
137 "env": { 137 "env": {
138 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 138 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
139 }, 139 },
140 "name": "spawn_logcat_monitor" 140 "name": "spawn_logcat_monitor"
141 }, 141 },
142 { 142 {
143 "cmd": [ 143 "cmd": [
144 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 144 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
145 "--json-output",
146 "/path/to/tmp/json"
145 ], 147 ],
146 "env": { 148 "env": {
147 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 149 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
148 }, 150 },
149 "name": "device_status_check" 151 "name": "device_status_check",
152 "~followup_annotations": [
153 "@@@STEP_LOG_LINE@json.output@[@@@",
154 "@@@STEP_LOG_LINE@json.output@ {@@@",
155 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
156 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
157 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
158 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
159 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
160 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
161 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
162 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
163 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
164 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
165 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
166 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
167 "@@@STEP_LOG_LINE@json.output@ }, @@@",
168 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
169 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
170 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
171 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
172 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
173 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
174 "@@@STEP_LOG_LINE@json.output@ }@@@",
175 "@@@STEP_LOG_LINE@json.output@]@@@",
176 "@@@STEP_LOG_END@json.output@@@"
177 ]
150 }, 178 },
151 { 179 {
152 "cmd": [ 180 "cmd": [
153 "python", 181 "python",
154 "-u", 182 "-u",
155 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 183 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
156 "-t", 184 "-t",
157 "Release" 185 "Release"
158 ], 186 ],
159 "env": { 187 "env": {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 431 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
404 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 432 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
405 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 433 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
406 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 434 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
407 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 435 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
408 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 436 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
409 "@@@STEP_LOG_END@python.inline@@@" 437 "@@@STEP_LOG_END@python.inline@@@"
410 ] 438 ]
411 } 439 }
412 ] 440 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698