OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "which", | |
5 "adb" | |
6 ], | |
7 "name": "which adb", | |
8 "stdout": "/path/to/tmp/" | |
9 }, | |
10 { | |
11 "cmd": [ | |
12 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
13 ], | |
14 "env": { | |
15 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
16 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
17 "BUILDTYPE": "Debug", | |
18 "CHROME_HEADLESS": "1", | |
19 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
20 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
21 }, | |
22 "name": "wait for device (1)" | |
23 }, | |
24 { | |
25 "cmd": [ | |
26 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
27 ], | |
28 "env": { | |
29 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
30 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
31 "BUILDTYPE": "Debug", | |
32 "CHROME_HEADLESS": "1", | |
33 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
34 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
35 }, | |
36 "name": "wait for charge (1)" | |
37 }, | |
38 { | |
39 "cmd": [ | |
40 "/usr/bin/adb", | |
41 "shell", | |
42 "echo", | |
43 "$EXTERNAL_STORAGE" | |
44 ], | |
45 "env": { | |
46 "BUILDTYPE": "Debug", | |
47 "CHROME_HEADLESS": "1", | |
48 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
49 }, | |
50 "name": "get EXTERNAL_STORAGE dir", | |
51 "stdout": "/path/to/tmp/" | |
52 }, | |
53 { | |
54 "cmd": [ | |
55 "/usr/bin/adb", | |
56 "root" | |
57 ], | |
58 "env": { | |
59 "BUILDTYPE": "Debug", | |
60 "CHROME_HEADLESS": "1", | |
61 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
62 }, | |
63 "name": "adb root", | |
64 "stdout": "/path/to/tmp/" | |
65 }, | |
66 { | |
67 "cmd": [ | |
68 "sleep", | |
69 "10" | |
70 ], | |
71 "env": { | |
72 "BUILDTYPE": "Debug", | |
73 "CHROME_HEADLESS": "1", | |
74 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
75 }, | |
76 "name": "wait" | |
77 }, | |
78 { | |
79 "cmd": [ | |
80 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
81 ], | |
82 "env": { | |
83 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
84 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
85 "BUILDTYPE": "Debug", | |
86 "CHROME_HEADLESS": "1", | |
87 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
88 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
89 }, | |
90 "name": "wait for device (2)" | |
91 }, | |
92 { | |
93 "cmd": [ | |
94 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
95 ], | |
96 "env": { | |
97 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
98 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
99 "BUILDTYPE": "Debug", | |
100 "CHROME_HEADLESS": "1", | |
101 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
102 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
103 }, | |
104 "name": "wait for charge (2)" | |
105 }, | |
106 { | |
107 "cmd": [ | |
108 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia", | |
109 "--verbose" | |
110 ], | |
111 "env": { | |
112 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
113 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
114 "BUILDTYPE": "Debug", | |
115 "CHROME_HEADLESS": "1", | |
116 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
117 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
118 }, | |
119 "name": "kill skia" | |
120 }, | |
121 { | |
122 "cmd": [ | |
123 "/usr/bin/adb", | |
124 "shell", | |
125 "stop" | |
126 ], | |
127 "env": { | |
128 "BUILDTYPE": "Debug", | |
129 "CHROME_HEADLESS": "1", | |
130 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
131 }, | |
132 "name": "stop shell" | |
133 }, | |
134 { | |
135 "cmd": [ | |
136 "/usr/bin/adb", | |
137 "shell", | |
138 "dumpsys", | |
139 "batteryproperties" | |
140 ], | |
141 "env": { | |
142 "BUILDTYPE": "Debug", | |
143 "CHROME_HEADLESS": "1", | |
144 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
145 }, | |
146 "name": "starting battery stats" | |
147 }, | |
148 { | |
149 "cmd": [ | |
150 "/usr/bin/adb", | |
151 "shell", | |
152 "cat", | |
153 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" | |
154 ], | |
155 "env": { | |
156 "BUILDTYPE": "Debug", | |
157 "CHROME_HEADLESS": "1", | |
158 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
159 }, | |
160 "name": "cat scaling_governor" | |
161 }, | |
162 { | |
163 "cmd": [ | |
164 "/usr/bin/adb", | |
165 "shell", | |
166 "cat", | |
167 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" | |
168 ], | |
169 "env": { | |
170 "BUILDTYPE": "Debug", | |
171 "CHROME_HEADLESS": "1", | |
172 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
173 }, | |
174 "name": "cat cpu_freq" | |
175 }, | |
176 { | |
177 "cmd": [ | |
178 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", | |
179 "--verbose", | |
180 "[SLAVE_BUILD]/skia/resources", | |
181 "/storage/emulated/legacy/skiabot/skia_resources" | |
182 ], | |
183 "env": { | |
184 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
185 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
186 "BUILDTYPE": "Debug", | |
187 "CHROME_HEADLESS": "1", | |
188 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
189 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
190 }, | |
191 "name": "push resources" | |
192 }, | |
193 { | |
194 "cmd": [ | |
195 "python", | |
196 "-u", | |
197 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
198 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", | |
199 "/path/to/tmp/" | |
200 ], | |
201 "name": "Get downloaded SKP VERSION" | |
202 }, | |
203 { | |
204 "cmd": [ | |
205 "python", | |
206 "-u", | |
207 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
208 "42", | |
209 "[SLAVE_BUILD]/tmp/SKP_VERSION" | |
210 ], | |
211 "name": "write SKP_VERSION" | |
212 }, | |
213 { | |
214 "cmd": [ | |
215 "/usr/bin/adb", | |
216 "shell", | |
217 "cat", | |
218 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" | |
219 ], | |
220 "env": { | |
221 "BUILDTYPE": "Debug", | |
222 "CHROME_HEADLESS": "1", | |
223 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
224 }, | |
225 "name": "read SKP_VERSION", | |
226 "stdout": "/path/to/tmp/" | |
227 }, | |
228 { | |
229 "cmd": [ | |
230 "python", | |
231 "-u", | |
232 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
233 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", | |
234 "/path/to/tmp/" | |
235 ], | |
236 "name": "Get downloaded skimage VERSION" | |
237 }, | |
238 { | |
239 "cmd": [ | |
240 "python", | |
241 "-u", | |
242 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
243 "42", | |
244 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" | |
245 ], | |
246 "name": "write SK_IMAGE_VERSION" | |
247 }, | |
248 { | |
249 "cmd": [ | |
250 "/usr/bin/adb", | |
251 "shell", | |
252 "cat", | |
253 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION" | |
254 ], | |
255 "env": { | |
256 "BUILDTYPE": "Debug", | |
257 "CHROME_HEADLESS": "1", | |
258 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
259 }, | |
260 "name": "read SK_IMAGE_VERSION", | |
261 "stdout": "/path/to/tmp/" | |
262 }, | |
263 { | |
264 "cmd": [ | |
265 "python", | |
266 "-u", | |
267 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
268 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION", | |
269 "/path/to/tmp/" | |
270 ], | |
271 "name": "Get downloaded SVG VERSION" | |
272 }, | |
273 { | |
274 "cmd": [ | |
275 "python", | |
276 "-u", | |
277 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
278 "42", | |
279 "[SLAVE_BUILD]/tmp/SVG_VERSION" | |
280 ], | |
281 "name": "write SVG_VERSION" | |
282 }, | |
283 { | |
284 "cmd": [ | |
285 "/usr/bin/adb", | |
286 "shell", | |
287 "cat", | |
288 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION" | |
289 ], | |
290 "env": { | |
291 "BUILDTYPE": "Debug", | |
292 "CHROME_HEADLESS": "1", | |
293 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
294 }, | |
295 "name": "read SVG_VERSION", | |
296 "stdout": "/path/to/tmp/" | |
297 }, | |
298 { | |
299 "cmd": [ | |
300 "python", | |
301 "-u", | |
302 "\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", | |
303 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
304 ], | |
305 "env": { | |
306 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" | |
307 }, | |
308 "name": "rmtree dm", | |
309 "~followup_annotations": [ | |
310 "@@@STEP_LOG_LINE@python.inline@@@@", | |
311 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
312 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
313 "@@@STEP_LOG_LINE@python.inline@@@@", | |
314 "@@@STEP_LOG_LINE@python.inline@@@@", | |
315 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
316 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
317 "@@@STEP_LOG_END@python.inline@@@" | |
318 ] | |
319 }, | |
320 { | |
321 "cmd": [ | |
322 "python", | |
323 "-u", | |
324 "\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", | |
325 "[CUSTOM_[SWARM_OUT_DIR]]/dm", | |
326 "511" | |
327 ], | |
328 "name": "makedirs dm", | |
329 "~followup_annotations": [ | |
330 "@@@STEP_LOG_LINE@python.inline@@@@", | |
331 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
332 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
333 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
334 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
335 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
336 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
337 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
338 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
339 "@@@STEP_LOG_END@python.inline@@@" | |
340 ] | |
341 }, | |
342 { | |
343 "cmd": [ | |
344 "/usr/bin/adb", | |
345 "shell", | |
346 "rm", | |
347 "-r", | |
348 "/storage/emulated/legacy/skiabot/skia_dm" | |
349 ], | |
350 "env": { | |
351 "BUILDTYPE": "Debug", | |
352 "CHROME_HEADLESS": "1", | |
353 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
354 }, | |
355 "name": "rmdir skia_dm" | |
356 }, | |
357 { | |
358 "cmd": [ | |
359 "/usr/bin/adb", | |
360 "shell", | |
361 "if", | |
362 "[", | |
363 "-e", | |
364 "/storage/emulated/legacy/skiabot/skia_dm", | |
365 "];", | |
366 "then", | |
367 "echo", | |
368 "FILE_EXISTS;", | |
369 "fi" | |
370 ], | |
371 "env": { | |
372 "BUILDTYPE": "Debug", | |
373 "CHROME_HEADLESS": "1", | |
374 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
375 }, | |
376 "name": "exists skia_dm", | |
377 "stdout": "/path/to/tmp/" | |
378 }, | |
379 { | |
380 "cmd": [ | |
381 "/usr/bin/adb", | |
382 "shell", | |
383 "mkdir", | |
384 "-p", | |
385 "/storage/emulated/legacy/skiabot/skia_dm" | |
386 ], | |
387 "env": { | |
388 "BUILDTYPE": "Debug", | |
389 "CHROME_HEADLESS": "1", | |
390 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
391 }, | |
392 "name": "mkdir skia_dm" | |
393 }, | |
394 { | |
395 "cmd": [ | |
396 "python", | |
397 "-u", | |
398 "\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", | |
399 "[SLAVE_BUILD]/tmp", | |
400 "511" | |
401 ], | |
402 "name": "makedirs tmp_dir", | |
403 "~followup_annotations": [ | |
404 "@@@STEP_LOG_LINE@python.inline@@@@", | |
405 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
406 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
407 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
408 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
409 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
410 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
411 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
412 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
413 "@@@STEP_LOG_END@python.inline@@@" | |
414 ] | |
415 }, | |
416 { | |
417 "cmd": [ | |
418 "python", | |
419 "-u", | |
420 "\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", | |
421 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | |
422 ], | |
423 "cwd": "[SLAVE_BUILD]/skia", | |
424 "env": { | |
425 "BUILDTYPE": "Debug", | |
426 "CHROME_HEADLESS": "1", | |
427 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
428 }, | |
429 "name": "get uninteresting hashes", | |
430 "~followup_annotations": [ | |
431 "@@@STEP_LOG_LINE@python.inline@@@@", | |
432 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | |
433 "@@@STEP_LOG_LINE@python.inline@import math@@@", | |
434 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | |
435 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
436 "@@@STEP_LOG_LINE@python.inline@import time@@@", | |
437 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", | |
438 "@@@STEP_LOG_LINE@python.inline@@@@", | |
439 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash
es'@@@", | |
440 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@", | |
441 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@", | |
442 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@", | |
443 "@@@STEP_LOG_LINE@python.inline@@@@", | |
444 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", | |
445 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@", | |
446 "@@@STEP_LOG_LINE@python.inline@ try:@@@", | |
447 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@", | |
448 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou
t=TIMEOUT)) as w:@@@", | |
449 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@", | |
450 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@
", | |
451 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@", | |
452 "@@@STEP_LOG_LINE@python.inline@ break@@@", | |
453 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@", | |
454 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has
hes from %s:' % HASHES_URL@@@", | |
455 "@@@STEP_LOG_LINE@python.inline@ print e@@@", | |
456 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", | |
457 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | |
458 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", | |
459 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", | |
460 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", | |
461 "@@@STEP_LOG_END@python.inline@@@" | |
462 ] | |
463 }, | |
464 { | |
465 "cmd": [ | |
466 "/usr/bin/adb", | |
467 "push", | |
468 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | |
469 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt" | |
470 ], | |
471 "env": { | |
472 "BUILDTYPE": "Debug", | |
473 "CHROME_HEADLESS": "1", | |
474 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
475 }, | |
476 "name": "push uninteresting_hashes.txt" | |
477 }, | |
478 { | |
479 "cmd": [ | |
480 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia", | |
481 "--verbose", | |
482 "--logcat", | |
483 "-d", | |
484 "arm_v7_neon", | |
485 "-t", | |
486 "Debug", | |
487 "dm", | |
488 "--undefok", | |
489 "--resourcePath", | |
490 "/storage/emulated/legacy/skiabot/skia_resources", | |
491 "--skps", | |
492 "/storage/emulated/legacy/skiabot/skia_skp/skps", | |
493 "--images", | |
494 "/storage/emulated/legacy/skiabot/skia_images/dm", | |
495 "--colorImages", | |
496 "/storage/emulated/legacy/skiabot/skia_images/colorspace", | |
497 "--nameByHash", | |
498 "--properties", | |
499 "gitHash", | |
500 "abc123", | |
501 "master", | |
502 "client.skia", | |
503 "builder", | |
504 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug", | |
505 "build_number", | |
506 "6", | |
507 "--svgs", | |
508 "/storage/emulated/legacy/skiabot/skia_svg/svgs", | |
509 "--key", | |
510 "arch", | |
511 "Arm7", | |
512 "compiler", | |
513 "GCC", | |
514 "configuration", | |
515 "Debug", | |
516 "cpu_or_gpu", | |
517 "GPU", | |
518 "cpu_or_gpu_value", | |
519 "Tegra3", | |
520 "model", | |
521 "Nexus7", | |
522 "os", | |
523 "Android", | |
524 "--uninterestingHashesFile", | |
525 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt", | |
526 "--writePath", | |
527 "/storage/emulated/legacy/skiabot/skia_dm", | |
528 "--nocpu", | |
529 "--config", | |
530 "8888", | |
531 "gpu", | |
532 "gpusrgb", | |
533 "serialize-8888", | |
534 "tiles_rt-8888", | |
535 "pic-8888", | |
536 "--src", | |
537 "tests", | |
538 "gm", | |
539 "image", | |
540 "colorImage", | |
541 "svg", | |
542 "--blacklist", | |
543 "gpusrgb", | |
544 "image", | |
545 "_", | |
546 "_", | |
547 "_", | |
548 "test", | |
549 "_", | |
550 "GrShape", | |
551 "serialize-8888", | |
552 "gm", | |
553 "_", | |
554 "bleed_image", | |
555 "serialize-8888", | |
556 "gm", | |
557 "_", | |
558 "c_gms", | |
559 "serialize-8888", | |
560 "gm", | |
561 "_", | |
562 "colortype", | |
563 "serialize-8888", | |
564 "gm", | |
565 "_", | |
566 "colortype_xfermodes", | |
567 "serialize-8888", | |
568 "gm", | |
569 "_", | |
570 "drawfilter", | |
571 "serialize-8888", | |
572 "gm", | |
573 "_", | |
574 "fontmgr_bounds_0.75_0", | |
575 "serialize-8888", | |
576 "gm", | |
577 "_", | |
578 "fontmgr_bounds_1_-0.25", | |
579 "serialize-8888", | |
580 "gm", | |
581 "_", | |
582 "fontmgr_bounds", | |
583 "serialize-8888", | |
584 "gm", | |
585 "_", | |
586 "fontmgr_match", | |
587 "serialize-8888", | |
588 "gm", | |
589 "_", | |
590 "fontmgr_iter", | |
591 "serialize-8888", | |
592 "gm", | |
593 "_", | |
594 "imagemasksubset", | |
595 "serialize-8888", | |
596 "gm", | |
597 "_", | |
598 "bitmapfilters", | |
599 "serialize-8888", | |
600 "gm", | |
601 "_", | |
602 "bitmapshaders", | |
603 "serialize-8888", | |
604 "gm", | |
605 "_", | |
606 "bleed", | |
607 "serialize-8888", | |
608 "gm", | |
609 "_", | |
610 "bleed_alpha_bmp", | |
611 "serialize-8888", | |
612 "gm", | |
613 "_", | |
614 "bleed_alpha_bmp_shader", | |
615 "serialize-8888", | |
616 "gm", | |
617 "_", | |
618 "convex_poly_clip", | |
619 "serialize-8888", | |
620 "gm", | |
621 "_", | |
622 "extractalpha", | |
623 "serialize-8888", | |
624 "gm", | |
625 "_", | |
626 "filterbitmap_checkerboard_32_32_g8", | |
627 "serialize-8888", | |
628 "gm", | |
629 "_", | |
630 "filterbitmap_image_mandrill_64", | |
631 "serialize-8888", | |
632 "gm", | |
633 "_", | |
634 "shadows", | |
635 "serialize-8888", | |
636 "gm", | |
637 "_", | |
638 "simpleaaclip_aaclip", | |
639 "serialize-8888", | |
640 "gm", | |
641 "_", | |
642 "composeshader_bitmap", | |
643 "serialize-8888", | |
644 "gm", | |
645 "_", | |
646 "scaled_tilemodes_npot", | |
647 "serialize-8888", | |
648 "gm", | |
649 "_", | |
650 "scaled_tilemodes", | |
651 "serialize-8888", | |
652 "gm", | |
653 "_", | |
654 "bleed_alpha_image", | |
655 "serialize-8888", | |
656 "gm", | |
657 "_", | |
658 "bleed_alpha_image_shader", | |
659 "serialize-8888", | |
660 "gm", | |
661 "_", | |
662 "verylargebitmap", | |
663 "serialize-8888", | |
664 "gm", | |
665 "_", | |
666 "verylarge_picture_image", | |
667 "pic-8888", | |
668 "gm", | |
669 "_", | |
670 "drawfilter", | |
671 "pic-8888", | |
672 "gm", | |
673 "_", | |
674 "image-cacherator-from-picture", | |
675 "serialize-8888", | |
676 "gm", | |
677 "_", | |
678 "image-cacherator-from-picture", | |
679 "pic-8888", | |
680 "gm", | |
681 "_", | |
682 "image-cacherator-from-raster", | |
683 "serialize-8888", | |
684 "gm", | |
685 "_", | |
686 "image-cacherator-from-raster", | |
687 "pic-8888", | |
688 "gm", | |
689 "_", | |
690 "image-cacherator-from-ctable", | |
691 "serialize-8888", | |
692 "gm", | |
693 "_", | |
694 "image-cacherator-from-ctable", | |
695 "pic-8888", | |
696 "gm", | |
697 "_", | |
698 "gamut", | |
699 "serialize-8888", | |
700 "gm", | |
701 "_", | |
702 "gamut", | |
703 "_", | |
704 "image", | |
705 "_", | |
706 "interlaced1.png", | |
707 "_", | |
708 "image", | |
709 "_", | |
710 "interlaced2.png", | |
711 "_", | |
712 "image", | |
713 "_", | |
714 "interlaced3.png", | |
715 "_", | |
716 "image", | |
717 "_", | |
718 ".arw", | |
719 "_", | |
720 "image", | |
721 "_", | |
722 ".cr2", | |
723 "_", | |
724 "image", | |
725 "_", | |
726 ".dng", | |
727 "_", | |
728 "image", | |
729 "_", | |
730 ".nef", | |
731 "_", | |
732 "image", | |
733 "_", | |
734 ".nrw", | |
735 "_", | |
736 "image", | |
737 "_", | |
738 ".orf", | |
739 "_", | |
740 "image", | |
741 "_", | |
742 ".raf", | |
743 "_", | |
744 "image", | |
745 "_", | |
746 ".rw2", | |
747 "_", | |
748 "image", | |
749 "_", | |
750 ".pef", | |
751 "_", | |
752 "image", | |
753 "_", | |
754 ".srw", | |
755 "_", | |
756 "image", | |
757 "_", | |
758 ".ARW", | |
759 "_", | |
760 "image", | |
761 "_", | |
762 ".CR2", | |
763 "_", | |
764 "image", | |
765 "_", | |
766 ".DNG", | |
767 "_", | |
768 "image", | |
769 "_", | |
770 ".NEF", | |
771 "_", | |
772 "image", | |
773 "_", | |
774 ".NRW", | |
775 "_", | |
776 "image", | |
777 "_", | |
778 ".ORF", | |
779 "_", | |
780 "image", | |
781 "_", | |
782 ".RAF", | |
783 "_", | |
784 "image", | |
785 "_", | |
786 ".RW2", | |
787 "_", | |
788 "image", | |
789 "_", | |
790 ".PEF", | |
791 "_", | |
792 "image", | |
793 "_", | |
794 ".SRW" | |
795 ], | |
796 "env": { | |
797 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
798 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
799 "BUILDTYPE": "Debug", | |
800 "CHROME_HEADLESS": "1", | |
801 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
802 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
803 }, | |
804 "name": "dm" | |
805 }, | |
806 { | |
807 "cmd": [ | |
808 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", | |
809 "--verbose", | |
810 "/storage/emulated/legacy/skiabot/skia_dm", | |
811 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
812 ], | |
813 "env": { | |
814 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
815 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
816 "BUILDTYPE": "Debug", | |
817 "CHROME_HEADLESS": "1", | |
818 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
819 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
820 }, | |
821 "name": "pull skia_dm" | |
822 }, | |
823 { | |
824 "cmd": [ | |
825 "/usr/bin/adb", | |
826 "shell", | |
827 "dumpsys", | |
828 "batteryproperties" | |
829 ], | |
830 "env": { | |
831 "BUILDTYPE": "Debug", | |
832 "CHROME_HEADLESS": "1", | |
833 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
834 }, | |
835 "name": "final battery stats" | |
836 }, | |
837 { | |
838 "cmd": [ | |
839 "/usr/bin/adb", | |
840 "reboot" | |
841 ], | |
842 "env": { | |
843 "BUILDTYPE": "Debug", | |
844 "CHROME_HEADLESS": "1", | |
845 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
846 }, | |
847 "name": "reboot" | |
848 }, | |
849 { | |
850 "cmd": [ | |
851 "sleep", | |
852 "10" | |
853 ], | |
854 "env": { | |
855 "BUILDTYPE": "Debug", | |
856 "CHROME_HEADLESS": "1", | |
857 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
858 }, | |
859 "name": "wait for reboot" | |
860 }, | |
861 { | |
862 "cmd": [ | |
863 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
864 ], | |
865 "env": { | |
866 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
867 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
868 "BUILDTYPE": "Debug", | |
869 "CHROME_HEADLESS": "1", | |
870 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
871 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
872 }, | |
873 "name": "wait for device (3)" | |
874 }, | |
875 { | |
876 "cmd": [ | |
877 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
878 ], | |
879 "env": { | |
880 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
881 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
882 "BUILDTYPE": "Debug", | |
883 "CHROME_HEADLESS": "1", | |
884 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
885 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
886 }, | |
887 "name": "wait for charge (3)" | |
888 }, | |
889 { | |
890 "cmd": [ | |
891 "/usr/bin/adb", | |
892 "kill-server" | |
893 ], | |
894 "env": { | |
895 "BUILDTYPE": "Debug", | |
896 "CHROME_HEADLESS": "1", | |
897 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
898 }, | |
899 "name": "kill-server" | |
900 }, | |
901 { | |
902 "name": "$result", | |
903 "recipe_result": null, | |
904 "status_code": 0 | |
905 } | |
906 ] | |
OLD | NEW |