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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android.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 "tryserver.webrtc", 8 "tryserver.webrtc",
9 "--builder", 9 "--builder",
10 "android", 10 "android",
(...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 "Debug" 167 "Debug"
140 ], 168 ],
141 "env": { 169 "env": {
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 391 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
364 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 392 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
365 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 393 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
366 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 394 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
367 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 395 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
368 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 396 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
369 "@@@STEP_LOG_END@python.inline@@@" 397 "@@@STEP_LOG_END@python.inline@@@"
370 ] 398 ]
371 } 399 }
372 ] 400 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698