OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "which", | |
5 "adb" | |
6 ], | |
7 "name": "which adb", | |
8 "stdout": "/path/to/tmp/", | |
9 "~followup_annotations": [ | |
10 "step returned non-zero exit code: 1", | |
11 "@@@STEP_EXCEPTION@@@" | |
12 ] | |
13 }, | |
14 { | |
15 "cmd": [ | |
16 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
17 ], | |
18 "env": { | |
19 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
20 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
21 "BUILDTYPE": "Debug", | |
22 "CHROME_HEADLESS": "1", | |
23 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
24 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
25 }, | |
26 "name": "wait for device (1)" | |
27 }, | |
28 { | |
29 "cmd": [ | |
30 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
31 ], | |
32 "env": { | |
33 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
34 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
35 "BUILDTYPE": "Debug", | |
36 "CHROME_HEADLESS": "1", | |
37 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
38 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
39 }, | |
40 "name": "wait for charge (1)" | |
41 }, | |
42 { | |
43 "cmd": [ | |
44 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
45 "shell", | |
46 "echo", | |
47 "$EXTERNAL_STORAGE" | |
48 ], | |
49 "env": { | |
50 "BUILDTYPE": "Debug", | |
51 "CHROME_HEADLESS": "1", | |
52 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
53 }, | |
54 "name": "get EXTERNAL_STORAGE dir", | |
55 "stdout": "/path/to/tmp/" | |
56 }, | |
57 { | |
58 "cmd": [ | |
59 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
60 "root" | |
61 ], | |
62 "env": { | |
63 "BUILDTYPE": "Debug", | |
64 "CHROME_HEADLESS": "1", | |
65 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
66 }, | |
67 "name": "adb root", | |
68 "stdout": "/path/to/tmp/" | |
69 }, | |
70 { | |
71 "cmd": [ | |
72 "sleep", | |
73 "10" | |
74 ], | |
75 "env": { | |
76 "BUILDTYPE": "Debug", | |
77 "CHROME_HEADLESS": "1", | |
78 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
79 }, | |
80 "name": "wait" | |
81 }, | |
82 { | |
83 "cmd": [ | |
84 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
85 ], | |
86 "env": { | |
87 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
88 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
89 "BUILDTYPE": "Debug", | |
90 "CHROME_HEADLESS": "1", | |
91 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
92 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
93 }, | |
94 "name": "wait for device (2)" | |
95 }, | |
96 { | |
97 "cmd": [ | |
98 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
99 ], | |
100 "env": { | |
101 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
102 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
103 "BUILDTYPE": "Debug", | |
104 "CHROME_HEADLESS": "1", | |
105 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
106 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
107 }, | |
108 "name": "wait for charge (2)" | |
109 }, | |
110 { | |
111 "cmd": [ | |
112 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia", | |
113 "--verbose" | |
114 ], | |
115 "env": { | |
116 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
117 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
118 "BUILDTYPE": "Debug", | |
119 "CHROME_HEADLESS": "1", | |
120 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
121 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
122 }, | |
123 "name": "kill skia" | |
124 }, | |
125 { | |
126 "cmd": [ | |
127 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
128 "shell", | |
129 "stop" | |
130 ], | |
131 "env": { | |
132 "BUILDTYPE": "Debug", | |
133 "CHROME_HEADLESS": "1", | |
134 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
135 }, | |
136 "name": "stop shell" | |
137 }, | |
138 { | |
139 "cmd": [ | |
140 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
141 "shell", | |
142 "dumpsys", | |
143 "batteryproperties" | |
144 ], | |
145 "env": { | |
146 "BUILDTYPE": "Debug", | |
147 "CHROME_HEADLESS": "1", | |
148 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
149 }, | |
150 "name": "starting battery stats" | |
151 }, | |
152 { | |
153 "cmd": [ | |
154 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
155 "shell", | |
156 "cat", | |
157 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" | |
158 ], | |
159 "env": { | |
160 "BUILDTYPE": "Debug", | |
161 "CHROME_HEADLESS": "1", | |
162 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
163 }, | |
164 "name": "cat scaling_governor" | |
165 }, | |
166 { | |
167 "cmd": [ | |
168 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
169 "shell", | |
170 "cat", | |
171 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" | |
172 ], | |
173 "env": { | |
174 "BUILDTYPE": "Debug", | |
175 "CHROME_HEADLESS": "1", | |
176 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
177 }, | |
178 "name": "cat cpu_freq" | |
179 }, | |
180 { | |
181 "cmd": [ | |
182 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", | |
183 "--verbose", | |
184 "[SLAVE_BUILD]/skia/resources", | |
185 "/storage/emulated/legacy/skiabot/skia_resources" | |
186 ], | |
187 "env": { | |
188 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
189 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
190 "BUILDTYPE": "Debug", | |
191 "CHROME_HEADLESS": "1", | |
192 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
193 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
194 }, | |
195 "name": "push resources" | |
196 }, | |
197 { | |
198 "cmd": [ | |
199 "python", | |
200 "-u", | |
201 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
202 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", | |
203 "/path/to/tmp/" | |
204 ], | |
205 "name": "Get downloaded SKP VERSION" | |
206 }, | |
207 { | |
208 "cmd": [ | |
209 "python", | |
210 "-u", | |
211 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
212 "42", | |
213 "[SLAVE_BUILD]/tmp/SKP_VERSION" | |
214 ], | |
215 "name": "write SKP_VERSION" | |
216 }, | |
217 { | |
218 "cmd": [ | |
219 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
220 "shell", | |
221 "cat", | |
222 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" | |
223 ], | |
224 "env": { | |
225 "BUILDTYPE": "Debug", | |
226 "CHROME_HEADLESS": "1", | |
227 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
228 }, | |
229 "name": "read SKP_VERSION", | |
230 "stdout": "/path/to/tmp/" | |
231 }, | |
232 { | |
233 "cmd": [ | |
234 "python", | |
235 "-u", | |
236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
237 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", | |
238 "/path/to/tmp/" | |
239 ], | |
240 "name": "Get downloaded skimage VERSION" | |
241 }, | |
242 { | |
243 "cmd": [ | |
244 "python", | |
245 "-u", | |
246 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
247 "42", | |
248 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" | |
249 ], | |
250 "name": "write SK_IMAGE_VERSION" | |
251 }, | |
252 { | |
253 "cmd": [ | |
254 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
255 "shell", | |
256 "cat", | |
257 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION" | |
258 ], | |
259 "env": { | |
260 "BUILDTYPE": "Debug", | |
261 "CHROME_HEADLESS": "1", | |
262 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
263 }, | |
264 "name": "read SK_IMAGE_VERSION", | |
265 "stdout": "/path/to/tmp/" | |
266 }, | |
267 { | |
268 "cmd": [ | |
269 "python", | |
270 "-u", | |
271 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
272 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", | |
273 "/path/to/tmp/" | |
274 ], | |
275 "name": "Get downloaded SVG VERSION" | |
276 }, | |
277 { | |
278 "cmd": [ | |
279 "python", | |
280 "-u", | |
281 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
282 "42", | |
283 "[SLAVE_BUILD]/tmp/SVG_VERSION" | |
284 ], | |
285 "name": "write SVG_VERSION" | |
286 }, | |
287 { | |
288 "cmd": [ | |
289 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
290 "shell", | |
291 "cat", | |
292 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION" | |
293 ], | |
294 "env": { | |
295 "BUILDTYPE": "Debug", | |
296 "CHROME_HEADLESS": "1", | |
297 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
298 }, | |
299 "name": "read SVG_VERSION", | |
300 "stdout": "/path/to/tmp/" | |
301 }, | |
302 { | |
303 "cmd": [ | |
304 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia", | |
305 "--verbose", | |
306 "--logcat", | |
307 "-d", | |
308 "arm_v7_neon", | |
309 "-t", | |
310 "Debug", | |
311 "nanobench", | |
312 "--undefok", | |
313 "-i", | |
314 "/storage/emulated/legacy/skiabot/skia_resources", | |
315 "--skps", | |
316 "/storage/emulated/legacy/skiabot/skia_skp/skps", | |
317 "--images", | |
318 "/storage/emulated/legacy/skiabot/skia_images/nanobench", | |
319 "--nocpu", | |
320 "--pre_log", | |
321 "--images", | |
322 "--gpuStatsDump", | |
323 "true", | |
324 "--useThermalManager", | |
325 "1,1,10,1000", | |
326 "--scales", | |
327 "1.0", | |
328 "1.1", | |
329 "--config", | |
330 "8888", | |
331 "gpu", | |
332 "nonrendering", | |
333 "angle", | |
334 "hwui", | |
335 "f16", | |
336 "srgb", | |
337 "msaa4", | |
338 "nvpr4", | |
339 "nvprdit4", | |
340 "--match", | |
341 "~blurroundrect", | |
342 "~patch_grid", | |
343 "~desk_carsvg", | |
344 "~keymobi_shop_mobileweb_ebay_com.skp", | |
345 "~inc0.gif", | |
346 "~inc1.gif", | |
347 "~incInterlaced.gif", | |
348 "~inc0.jpg", | |
349 "~incGray.jpg", | |
350 "~inc0.wbmp", | |
351 "~inc1.wbmp", | |
352 "~inc0.webp", | |
353 "~inc1.webp", | |
354 "~inc0.ico", | |
355 "~inc1.ico", | |
356 "~inc0.png", | |
357 "~inc1.png", | |
358 "~inc2.png", | |
359 "~inc12.png", | |
360 "~inc13.png", | |
361 "~inc14.png", | |
362 "~inc0.webp", | |
363 "~inc1.webp" | |
364 ], | |
365 "env": { | |
366 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
367 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
368 "BUILDTYPE": "Debug", | |
369 "CHROME_HEADLESS": "1", | |
370 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
371 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
372 }, | |
373 "name": "nanobench" | |
374 }, | |
375 { | |
376 "cmd": [ | |
377 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
378 "shell", | |
379 "dumpsys", | |
380 "batteryproperties" | |
381 ], | |
382 "env": { | |
383 "BUILDTYPE": "Debug", | |
384 "CHROME_HEADLESS": "1", | |
385 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
386 }, | |
387 "name": "final battery stats" | |
388 }, | |
389 { | |
390 "cmd": [ | |
391 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
392 "reboot" | |
393 ], | |
394 "env": { | |
395 "BUILDTYPE": "Debug", | |
396 "CHROME_HEADLESS": "1", | |
397 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
398 }, | |
399 "name": "reboot" | |
400 }, | |
401 { | |
402 "cmd": [ | |
403 "sleep", | |
404 "10" | |
405 ], | |
406 "env": { | |
407 "BUILDTYPE": "Debug", | |
408 "CHROME_HEADLESS": "1", | |
409 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
410 }, | |
411 "name": "wait for reboot" | |
412 }, | |
413 { | |
414 "cmd": [ | |
415 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
416 ], | |
417 "env": { | |
418 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
419 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
420 "BUILDTYPE": "Debug", | |
421 "CHROME_HEADLESS": "1", | |
422 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
423 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
424 }, | |
425 "name": "wait for device (3)" | |
426 }, | |
427 { | |
428 "cmd": [ | |
429 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
430 ], | |
431 "env": { | |
432 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
433 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
434 "BUILDTYPE": "Debug", | |
435 "CHROME_HEADLESS": "1", | |
436 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
437 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
438 }, | |
439 "name": "wait for charge (3)" | |
440 }, | |
441 { | |
442 "cmd": [ | |
443 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
444 "kill-server" | |
445 ], | |
446 "env": { | |
447 "BUILDTYPE": "Debug", | |
448 "CHROME_HEADLESS": "1", | |
449 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
450 }, | |
451 "name": "kill-server" | |
452 }, | |
453 { | |
454 "name": "$result", | |
455 "recipe_result": null, | |
456 "status_code": 0 | |
457 } | |
458 ] | |
OLD | NEW |