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 "python", | |
305 "-u", | |
306 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | |
307 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
308 ], | |
309 "env": { | |
310 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" | |
311 }, | |
312 "name": "rmtree dm", | |
313 "~followup_annotations": [ | |
314 "@@@STEP_LOG_LINE@python.inline@@@@", | |
315 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
316 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
317 "@@@STEP_LOG_LINE@python.inline@@@@", | |
318 "@@@STEP_LOG_LINE@python.inline@@@@", | |
319 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
320 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
321 "@@@STEP_LOG_END@python.inline@@@" | |
322 ] | |
323 }, | |
324 { | |
325 "cmd": [ | |
326 "python", | |
327 "-u", | |
328 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | |
329 "[CUSTOM_[SWARM_OUT_DIR]]/dm", | |
330 "511" | |
331 ], | |
332 "name": "makedirs dm", | |
333 "~followup_annotations": [ | |
334 "@@@STEP_LOG_LINE@python.inline@@@@", | |
335 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
336 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
337 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
338 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
339 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
340 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
341 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
342 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
343 "@@@STEP_LOG_END@python.inline@@@" | |
344 ] | |
345 }, | |
346 { | |
347 "cmd": [ | |
348 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
349 "shell", | |
350 "rm", | |
351 "-r", | |
352 "/storage/emulated/legacy/skiabot/skia_dm" | |
353 ], | |
354 "env": { | |
355 "BUILDTYPE": "Debug", | |
356 "CHROME_HEADLESS": "1", | |
357 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
358 }, | |
359 "name": "rmdir skia_dm" | |
360 }, | |
361 { | |
362 "cmd": [ | |
363 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
364 "shell", | |
365 "if", | |
366 "[", | |
367 "-e", | |
368 "/storage/emulated/legacy/skiabot/skia_dm", | |
369 "];", | |
370 "then", | |
371 "echo", | |
372 "FILE_EXISTS;", | |
373 "fi" | |
374 ], | |
375 "env": { | |
376 "BUILDTYPE": "Debug", | |
377 "CHROME_HEADLESS": "1", | |
378 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
379 }, | |
380 "name": "exists skia_dm", | |
381 "stdout": "/path/to/tmp/" | |
382 }, | |
383 { | |
384 "cmd": [ | |
385 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
386 "shell", | |
387 "mkdir", | |
388 "-p", | |
389 "/storage/emulated/legacy/skiabot/skia_dm" | |
390 ], | |
391 "env": { | |
392 "BUILDTYPE": "Debug", | |
393 "CHROME_HEADLESS": "1", | |
394 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
395 }, | |
396 "name": "mkdir skia_dm" | |
397 }, | |
398 { | |
399 "cmd": [ | |
400 "python", | |
401 "-u", | |
402 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | |
403 "[SLAVE_BUILD]/tmp", | |
404 "511" | |
405 ], | |
406 "name": "makedirs tmp_dir", | |
407 "~followup_annotations": [ | |
408 "@@@STEP_LOG_LINE@python.inline@@@@", | |
409 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
410 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
411 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
412 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
413 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
414 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
415 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
416 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
417 "@@@STEP_LOG_END@python.inline@@@" | |
418 ] | |
419 }, | |
420 { | |
421 "cmd": [ | |
422 "python", | |
423 "-u", | |
424 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\
nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nT
IMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in r
ange(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HA
SHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.
argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception
as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n
print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math
.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(wait
time)\n", | |
425 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | |
426 ], | |
427 "cwd": "[SLAVE_BUILD]/skia", | |
428 "env": { | |
429 "BUILDTYPE": "Debug", | |
430 "CHROME_HEADLESS": "1", | |
431 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
432 }, | |
433 "name": "get uninteresting hashes", | |
434 "~followup_annotations": [ | |
435 "@@@STEP_LOG_LINE@python.inline@@@@", | |
436 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | |
437 "@@@STEP_LOG_LINE@python.inline@import math@@@", | |
438 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | |
439 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
440 "@@@STEP_LOG_LINE@python.inline@import time@@@", | |
441 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", | |
442 "@@@STEP_LOG_LINE@python.inline@@@@", | |
443 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash
es'@@@", | |
444 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@", | |
445 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@", | |
446 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@", | |
447 "@@@STEP_LOG_LINE@python.inline@@@@", | |
448 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", | |
449 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@", | |
450 "@@@STEP_LOG_LINE@python.inline@ try:@@@", | |
451 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@", | |
452 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou
t=TIMEOUT)) as w:@@@", | |
453 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@", | |
454 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@
", | |
455 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@", | |
456 "@@@STEP_LOG_LINE@python.inline@ break@@@", | |
457 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@", | |
458 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has
hes from %s:' % HASHES_URL@@@", | |
459 "@@@STEP_LOG_LINE@python.inline@ print e@@@", | |
460 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", | |
461 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | |
462 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", | |
463 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", | |
464 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", | |
465 "@@@STEP_LOG_END@python.inline@@@" | |
466 ] | |
467 }, | |
468 { | |
469 "cmd": [ | |
470 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
471 "push", | |
472 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | |
473 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt" | |
474 ], | |
475 "env": { | |
476 "BUILDTYPE": "Debug", | |
477 "CHROME_HEADLESS": "1", | |
478 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
479 }, | |
480 "name": "push uninteresting_hashes.txt" | |
481 }, | |
482 { | |
483 "cmd": [ | |
484 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia", | |
485 "--verbose", | |
486 "--logcat", | |
487 "-d", | |
488 "arm_v7_neon", | |
489 "-t", | |
490 "Debug", | |
491 "dm", | |
492 "--undefok", | |
493 "--resourcePath", | |
494 "/storage/emulated/legacy/skiabot/skia_resources", | |
495 "--skps", | |
496 "/storage/emulated/legacy/skiabot/skia_skp/skps", | |
497 "--images", | |
498 "/storage/emulated/legacy/skiabot/skia_images/dm", | |
499 "--colorImages", | |
500 "/storage/emulated/legacy/skiabot/skia_images/colorspace", | |
501 "--nameByHash", | |
502 "--properties", | |
503 "gitHash", | |
504 "abc123", | |
505 "master", | |
506 "client.skia", | |
507 "builder", | |
508 "Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug", | |
509 "build_number", | |
510 "5", | |
511 "--svgs", | |
512 "/storage/emulated/legacy/skiabot/skia_svg/svgs", | |
513 "--key", | |
514 "arch", | |
515 "Arm7", | |
516 "compiler", | |
517 "GCC", | |
518 "configuration", | |
519 "Debug", | |
520 "cpu_or_gpu", | |
521 "GPU", | |
522 "cpu_or_gpu_value", | |
523 "Adreno420", | |
524 "model", | |
525 "Nexus6", | |
526 "os", | |
527 "Android", | |
528 "--uninterestingHashesFile", | |
529 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt", | |
530 "--writePath", | |
531 "/storage/emulated/legacy/skiabot/skia_dm", | |
532 "--nocpu", | |
533 "--config", | |
534 "8888", | |
535 "gpu", | |
536 "gpusrgb", | |
537 "msaa4", | |
538 "serialize-8888", | |
539 "tiles_rt-8888", | |
540 "pic-8888", | |
541 "esinst", | |
542 "--src", | |
543 "tests", | |
544 "gm", | |
545 "image", | |
546 "colorImage", | |
547 "svg", | |
548 "--blacklist", | |
549 "gpusrgb", | |
550 "image", | |
551 "_", | |
552 "_", | |
553 "_", | |
554 "test", | |
555 "_", | |
556 "GrShape", | |
557 "serialize-8888", | |
558 "gm", | |
559 "_", | |
560 "bleed_image", | |
561 "serialize-8888", | |
562 "gm", | |
563 "_", | |
564 "c_gms", | |
565 "serialize-8888", | |
566 "gm", | |
567 "_", | |
568 "colortype", | |
569 "serialize-8888", | |
570 "gm", | |
571 "_", | |
572 "colortype_xfermodes", | |
573 "serialize-8888", | |
574 "gm", | |
575 "_", | |
576 "drawfilter", | |
577 "serialize-8888", | |
578 "gm", | |
579 "_", | |
580 "fontmgr_bounds_0.75_0", | |
581 "serialize-8888", | |
582 "gm", | |
583 "_", | |
584 "fontmgr_bounds_1_-0.25", | |
585 "serialize-8888", | |
586 "gm", | |
587 "_", | |
588 "fontmgr_bounds", | |
589 "serialize-8888", | |
590 "gm", | |
591 "_", | |
592 "fontmgr_match", | |
593 "serialize-8888", | |
594 "gm", | |
595 "_", | |
596 "fontmgr_iter", | |
597 "serialize-8888", | |
598 "gm", | |
599 "_", | |
600 "imagemasksubset", | |
601 "serialize-8888", | |
602 "gm", | |
603 "_", | |
604 "bitmapfilters", | |
605 "serialize-8888", | |
606 "gm", | |
607 "_", | |
608 "bitmapshaders", | |
609 "serialize-8888", | |
610 "gm", | |
611 "_", | |
612 "bleed", | |
613 "serialize-8888", | |
614 "gm", | |
615 "_", | |
616 "bleed_alpha_bmp", | |
617 "serialize-8888", | |
618 "gm", | |
619 "_", | |
620 "bleed_alpha_bmp_shader", | |
621 "serialize-8888", | |
622 "gm", | |
623 "_", | |
624 "convex_poly_clip", | |
625 "serialize-8888", | |
626 "gm", | |
627 "_", | |
628 "extractalpha", | |
629 "serialize-8888", | |
630 "gm", | |
631 "_", | |
632 "filterbitmap_checkerboard_32_32_g8", | |
633 "serialize-8888", | |
634 "gm", | |
635 "_", | |
636 "filterbitmap_image_mandrill_64", | |
637 "serialize-8888", | |
638 "gm", | |
639 "_", | |
640 "shadows", | |
641 "serialize-8888", | |
642 "gm", | |
643 "_", | |
644 "simpleaaclip_aaclip", | |
645 "serialize-8888", | |
646 "gm", | |
647 "_", | |
648 "composeshader_bitmap", | |
649 "serialize-8888", | |
650 "gm", | |
651 "_", | |
652 "scaled_tilemodes_npot", | |
653 "serialize-8888", | |
654 "gm", | |
655 "_", | |
656 "scaled_tilemodes", | |
657 "serialize-8888", | |
658 "gm", | |
659 "_", | |
660 "bleed_alpha_image", | |
661 "serialize-8888", | |
662 "gm", | |
663 "_", | |
664 "bleed_alpha_image_shader", | |
665 "serialize-8888", | |
666 "gm", | |
667 "_", | |
668 "verylargebitmap", | |
669 "serialize-8888", | |
670 "gm", | |
671 "_", | |
672 "verylarge_picture_image", | |
673 "pic-8888", | |
674 "gm", | |
675 "_", | |
676 "drawfilter", | |
677 "pic-8888", | |
678 "gm", | |
679 "_", | |
680 "image-cacherator-from-picture", | |
681 "serialize-8888", | |
682 "gm", | |
683 "_", | |
684 "image-cacherator-from-picture", | |
685 "pic-8888", | |
686 "gm", | |
687 "_", | |
688 "image-cacherator-from-raster", | |
689 "serialize-8888", | |
690 "gm", | |
691 "_", | |
692 "image-cacherator-from-raster", | |
693 "pic-8888", | |
694 "gm", | |
695 "_", | |
696 "image-cacherator-from-ctable", | |
697 "serialize-8888", | |
698 "gm", | |
699 "_", | |
700 "image-cacherator-from-ctable", | |
701 "pic-8888", | |
702 "gm", | |
703 "_", | |
704 "gamut", | |
705 "serialize-8888", | |
706 "gm", | |
707 "_", | |
708 "gamut", | |
709 "_", | |
710 "image", | |
711 "_", | |
712 "interlaced1.png", | |
713 "_", | |
714 "image", | |
715 "_", | |
716 "interlaced2.png", | |
717 "_", | |
718 "image", | |
719 "_", | |
720 "interlaced3.png", | |
721 "_", | |
722 "image", | |
723 "_", | |
724 ".arw", | |
725 "_", | |
726 "image", | |
727 "_", | |
728 ".cr2", | |
729 "_", | |
730 "image", | |
731 "_", | |
732 ".dng", | |
733 "_", | |
734 "image", | |
735 "_", | |
736 ".nef", | |
737 "_", | |
738 "image", | |
739 "_", | |
740 ".nrw", | |
741 "_", | |
742 "image", | |
743 "_", | |
744 ".orf", | |
745 "_", | |
746 "image", | |
747 "_", | |
748 ".raf", | |
749 "_", | |
750 "image", | |
751 "_", | |
752 ".rw2", | |
753 "_", | |
754 "image", | |
755 "_", | |
756 ".pef", | |
757 "_", | |
758 "image", | |
759 "_", | |
760 ".srw", | |
761 "_", | |
762 "image", | |
763 "_", | |
764 ".ARW", | |
765 "_", | |
766 "image", | |
767 "_", | |
768 ".CR2", | |
769 "_", | |
770 "image", | |
771 "_", | |
772 ".DNG", | |
773 "_", | |
774 "image", | |
775 "_", | |
776 ".NEF", | |
777 "_", | |
778 "image", | |
779 "_", | |
780 ".NRW", | |
781 "_", | |
782 "image", | |
783 "_", | |
784 ".ORF", | |
785 "_", | |
786 "image", | |
787 "_", | |
788 ".RAF", | |
789 "_", | |
790 "image", | |
791 "_", | |
792 ".RW2", | |
793 "_", | |
794 "image", | |
795 "_", | |
796 ".PEF", | |
797 "_", | |
798 "image", | |
799 "_", | |
800 ".SRW" | |
801 ], | |
802 "env": { | |
803 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
804 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
805 "BUILDTYPE": "Debug", | |
806 "CHROME_HEADLESS": "1", | |
807 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
808 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
809 }, | |
810 "name": "dm" | |
811 }, | |
812 { | |
813 "cmd": [ | |
814 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", | |
815 "--verbose", | |
816 "/storage/emulated/legacy/skiabot/skia_dm", | |
817 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
818 ], | |
819 "env": { | |
820 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
821 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
822 "BUILDTYPE": "Debug", | |
823 "CHROME_HEADLESS": "1", | |
824 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
825 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
826 }, | |
827 "name": "pull skia_dm" | |
828 }, | |
829 { | |
830 "cmd": [ | |
831 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
832 "shell", | |
833 "dumpsys", | |
834 "batteryproperties" | |
835 ], | |
836 "env": { | |
837 "BUILDTYPE": "Debug", | |
838 "CHROME_HEADLESS": "1", | |
839 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
840 }, | |
841 "name": "final battery stats" | |
842 }, | |
843 { | |
844 "cmd": [ | |
845 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
846 "reboot" | |
847 ], | |
848 "env": { | |
849 "BUILDTYPE": "Debug", | |
850 "CHROME_HEADLESS": "1", | |
851 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
852 }, | |
853 "name": "reboot" | |
854 }, | |
855 { | |
856 "cmd": [ | |
857 "sleep", | |
858 "10" | |
859 ], | |
860 "env": { | |
861 "BUILDTYPE": "Debug", | |
862 "CHROME_HEADLESS": "1", | |
863 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
864 }, | |
865 "name": "wait for reboot" | |
866 }, | |
867 { | |
868 "cmd": [ | |
869 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
870 ], | |
871 "env": { | |
872 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
873 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
874 "BUILDTYPE": "Debug", | |
875 "CHROME_HEADLESS": "1", | |
876 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
877 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
878 }, | |
879 "name": "wait for device (3)" | |
880 }, | |
881 { | |
882 "cmd": [ | |
883 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
884 ], | |
885 "env": { | |
886 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
887 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
888 "BUILDTYPE": "Debug", | |
889 "CHROME_HEADLESS": "1", | |
890 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
891 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
892 }, | |
893 "name": "wait for charge (3)" | |
894 }, | |
895 { | |
896 "cmd": [ | |
897 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
898 "kill-server" | |
899 ], | |
900 "env": { | |
901 "BUILDTYPE": "Debug", | |
902 "CHROME_HEADLESS": "1", | |
903 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
904 }, | |
905 "name": "kill-server" | |
906 }, | |
907 { | |
908 "name": "$result", | |
909 "recipe_result": null, | |
910 "status_code": 0 | |
911 } | |
912 ] | |
OLD | NEW |