OLD | NEW |
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.v8", | 8 "client.v8", |
9 "--builder", | 9 "--builder", |
10 "Android Nexus4 Perf", | 10 "Android Nexus4 Perf", |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 114 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
115 "[SLAVE_BUILD]/src/out/logcat" | 115 "[SLAVE_BUILD]/src/out/logcat" |
116 ], | 116 ], |
117 "env": { | 117 "env": { |
118 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 118 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
119 }, | 119 }, |
120 "name": "spawn_logcat_monitor" | 120 "name": "spawn_logcat_monitor" |
121 }, | 121 }, |
122 { | 122 { |
123 "cmd": [ | 123 "cmd": [ |
124 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py" | 124 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
| 125 "--json-output", |
| 126 "/path/to/tmp/json" |
125 ], | 127 ], |
126 "env": { | 128 "env": { |
127 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 129 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
128 }, | 130 }, |
129 "name": "device_status_check" | 131 "name": "device_status_check", |
| 132 "~followup_annotations": [ |
| 133 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 134 "@@@STEP_LOG_LINE@json.output@ {@@@", |
| 135 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
| 136 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
| 137 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
| 138 "@@@STEP_LOG_LINE@json.output@ \"Wireless powered\": \"false\", @@@", |
| 139 "@@@STEP_LOG_LINE@json.output@ \"health\": \"2\", @@@", |
| 140 "@@@STEP_LOG_LINE@json.output@ \"level\": \"100\", @@@", |
| 141 "@@@STEP_LOG_LINE@json.output@ \"present\": \"true\", @@@", |
| 142 "@@@STEP_LOG_LINE@json.output@ \"scale\": \"100\", @@@", |
| 143 "@@@STEP_LOG_LINE@json.output@ \"status\": \"5\", @@@", |
| 144 "@@@STEP_LOG_LINE@json.output@ \"technology\": \"Li-ion\", @@@", |
| 145 "@@@STEP_LOG_LINE@json.output@ \"temperature\": \"249\", @@@", |
| 146 "@@@STEP_LOG_LINE@json.output@ \"voltage\": \"4286\"@@@", |
| 147 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 148 "@@@STEP_LOG_LINE@json.output@ \"build\": \"LRX21O\", @@@", |
| 149 "@@@STEP_LOG_LINE@json.output@ \"build_detail\": \"google/razor/flo:5.0
/LRX21O/1570415:userdebug/dev-keys\", @@@", |
| 150 "@@@STEP_LOG_LINE@json.output@ \"imei_slice\": \"Unknown\", @@@", |
| 151 "@@@STEP_LOG_LINE@json.output@ \"serial\": \"07a00ca4\", @@@", |
| 152 "@@@STEP_LOG_LINE@json.output@ \"type\": \"flo\", @@@", |
| 153 "@@@STEP_LOG_LINE@json.output@ \"wifi_ip\": \"\"@@@", |
| 154 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 155 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 156 "@@@STEP_LOG_END@json.output@@@" |
| 157 ] |
130 }, | 158 }, |
131 { | 159 { |
132 "cmd": [ | 160 "cmd": [ |
133 "python", | 161 "python", |
134 "-u", | 162 "-u", |
135 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 163 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
136 "-t", | 164 "-t", |
137 "Release" | 165 "Release" |
138 ], | 166 ], |
139 "env": { | 167 "env": { |
(...skipping 12 matching lines...) Expand all Loading... |
152 ], | 180 ], |
153 "env": { | 181 "env": { |
154 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 182 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
155 }, | 183 }, |
156 "name": "install ChromeShell.apk" | 184 "name": "install ChromeShell.apk" |
157 }, | 185 }, |
158 { | 186 { |
159 "cmd": [ | 187 "cmd": [ |
160 "python", | 188 "python", |
161 "-u", | 189 "-u", |
162 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", | |
163 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | |
164 "/path/to/tmp/json" | |
165 ], | |
166 "name": "List adb devices", | |
167 "~followup_annotations": [ | |
168 "@@@STEP_LOG_LINE@json.output@[@@@", | |
169 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\", @@@", | |
170 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C010\"@@@", | |
171 "@@@STEP_LOG_LINE@json.output@]@@@", | |
172 "@@@STEP_LOG_END@json.output@@@" | |
173 ] | |
174 }, | |
175 { | |
176 "cmd": [ | |
177 "python", | |
178 "-u", | |
179 "[SLAVE_BUILD]/src/tools/perf/run_benchmark", | 190 "[SLAVE_BUILD]/src/tools/perf/run_benchmark", |
180 "list", | 191 "list", |
181 "--browser", | 192 "--browser", |
182 "android-chrome-shell", | 193 "android-chrome-shell", |
183 "--json-output", | 194 "--json-output", |
184 "/path/to/tmp/json", | 195 "/path/to/tmp/json", |
185 "--num-shards", | 196 "--num-shards", |
186 "1", | 197 "1", |
187 "--device", | 198 "--device", |
188 "014E1F310401C009" | 199 "07a00ca4" |
189 ], | 200 ], |
190 "name": "List Perf Tests", | 201 "name": "List Perf Tests", |
191 "~followup_annotations": [ | 202 "~followup_annotations": [ |
192 "@@@STEP_LOG_LINE@json.output@{@@@", | 203 "@@@STEP_LOG_LINE@json.output@{@@@", |
193 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@", | 204 "@@@STEP_LOG_LINE@json.output@ \"steps\": {@@@", |
194 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@", | 205 "@@@STEP_LOG_LINE@json.output@ \"blink_perf.all.exact\": {@@@", |
195 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru
n_benmark --a=1 -v --b=2\", @@@", | 206 "@@@STEP_LOG_LINE@json.output@ \"cmd\": \"/usr/bin/python /path/to/ru
n_benmark --a=1 -v --b=2\", @@@", |
196 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | 207 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", |
197 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al
l\"@@@", | 208 "@@@STEP_LOG_LINE@json.output@ \"perf_dashboard_id\": \"blink_perf.al
l\"@@@", |
198 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 209 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 394 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
384 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 395 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
385 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 396 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
386 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 397 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
387 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 398 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
388 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 399 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
389 "@@@STEP_LOG_END@python.inline@@@" | 400 "@@@STEP_LOG_END@python.inline@@@" |
390 ] | 401 ] |
391 } | 402 } |
392 ] | 403 ] |
OLD | NEW |