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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/client_webrtc_android_tests__jb_nexus7_2__dbg_.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 "client.webrtc", 8 "client.webrtc",
9 "--builder", 9 "--builder",
10 "Android Tests (JB Nexus7.2)(dbg)", 10 "Android Tests (JB Nexus7.2)(dbg)",
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 124 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
125 "[SLAVE_BUILD]/src/out/logcat" 125 "[SLAVE_BUILD]/src/out/logcat"
126 ], 126 ],
127 "env": { 127 "env": {
128 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 128 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
129 }, 129 },
130 "name": "spawn_logcat_monitor" 130 "name": "spawn_logcat_monitor"
131 }, 131 },
132 { 132 {
133 "cmd": [ 133 "cmd": [
134 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" 134 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
135 "--json-output",
136 "/path/to/tmp/json"
135 ], 137 ],
136 "env": { 138 "env": {
137 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 139 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
138 }, 140 },
139 "name": "device_status_check" 141 "name": "device_status_check",
142 "~followup_annotations": [
143 "@@@STEP_LOG_LINE@json.output@[@@@",
144 "@@@STEP_LOG_LINE@json.output@ {@@@",
145 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
146 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
148 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@",
149 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@",
151 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@",
152 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@",
153 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@",
155 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@",
156 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@",
157 "@@@STEP_LOG_LINE@json.output@ }, @@@",
158 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@",
159 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0 /LRX21O/1570415:userdebug/dev-keys\", @@@",
160 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@",
161 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@",
162 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@",
163 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@",
164 "@@@STEP_LOG_LINE@json.output@ }@@@",
165 "@@@STEP_LOG_LINE@json.output@]@@@",
166 "@@@STEP_LOG_END@json.output@@@"
167 ]
140 }, 168 },
141 { 169 {
142 "cmd": [ 170 "cmd": [
143 "python", 171 "python",
144 "-u", 172 "-u",
145 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 173 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
146 "-t", 174 "-t",
147 "Debug" 175 "Debug"
148 ], 176 ],
149 "env": { 177 "env": {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 399 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
372 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 400 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
373 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 401 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
374 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 402 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
375 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 403 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
376 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 404 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
377 "@@@STEP_LOG_END@python.inline@@@" 405 "@@@STEP_LOG_END@python.inline@@@"
378 ] 406 ]
379 } 407 }
380 ] 408 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698