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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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": "Release", | |
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 "Release", | |
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-Nexus10-GPU-MaliT604-Arm7-Release", | |
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 "Release", | |
520 "cpu_or_gpu", | |
521 "GPU", | |
522 "cpu_or_gpu_value", | |
523 "MaliT604", | |
524 "model", | |
525 "Nexus10", | |
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 "--src", | |
542 "tests", | |
543 "gm", | |
544 "image", | |
545 "colorImage", | |
546 "svg", | |
547 "--blacklist", | |
548 "gpusrgb", | |
549 "image", | |
550 "_", | |
551 "_", | |
552 "_", | |
553 "test", | |
554 "_", | |
555 "GrShape", | |
556 "serialize-8888", | |
557 "gm", | |
558 "_", | |
559 "bleed_image", | |
560 "serialize-8888", | |
561 "gm", | |
562 "_", | |
563 "c_gms", | |
564 "serialize-8888", | |
565 "gm", | |
566 "_", | |
567 "colortype", | |
568 "serialize-8888", | |
569 "gm", | |
570 "_", | |
571 "colortype_xfermodes", | |
572 "serialize-8888", | |
573 "gm", | |
574 "_", | |
575 "drawfilter", | |
576 "serialize-8888", | |
577 "gm", | |
578 "_", | |
579 "fontmgr_bounds_0.75_0", | |
580 "serialize-8888", | |
581 "gm", | |
582 "_", | |
583 "fontmgr_bounds_1_-0.25", | |
584 "serialize-8888", | |
585 "gm", | |
586 "_", | |
587 "fontmgr_bounds", | |
588 "serialize-8888", | |
589 "gm", | |
590 "_", | |
591 "fontmgr_match", | |
592 "serialize-8888", | |
593 "gm", | |
594 "_", | |
595 "fontmgr_iter", | |
596 "serialize-8888", | |
597 "gm", | |
598 "_", | |
599 "imagemasksubset", | |
600 "serialize-8888", | |
601 "gm", | |
602 "_", | |
603 "bitmapfilters", | |
604 "serialize-8888", | |
605 "gm", | |
606 "_", | |
607 "bitmapshaders", | |
608 "serialize-8888", | |
609 "gm", | |
610 "_", | |
611 "bleed", | |
612 "serialize-8888", | |
613 "gm", | |
614 "_", | |
615 "bleed_alpha_bmp", | |
616 "serialize-8888", | |
617 "gm", | |
618 "_", | |
619 "bleed_alpha_bmp_shader", | |
620 "serialize-8888", | |
621 "gm", | |
622 "_", | |
623 "convex_poly_clip", | |
624 "serialize-8888", | |
625 "gm", | |
626 "_", | |
627 "extractalpha", | |
628 "serialize-8888", | |
629 "gm", | |
630 "_", | |
631 "filterbitmap_checkerboard_32_32_g8", | |
632 "serialize-8888", | |
633 "gm", | |
634 "_", | |
635 "filterbitmap_image_mandrill_64", | |
636 "serialize-8888", | |
637 "gm", | |
638 "_", | |
639 "shadows", | |
640 "serialize-8888", | |
641 "gm", | |
642 "_", | |
643 "simpleaaclip_aaclip", | |
644 "serialize-8888", | |
645 "gm", | |
646 "_", | |
647 "composeshader_bitmap", | |
648 "serialize-8888", | |
649 "gm", | |
650 "_", | |
651 "scaled_tilemodes_npot", | |
652 "serialize-8888", | |
653 "gm", | |
654 "_", | |
655 "scaled_tilemodes", | |
656 "serialize-8888", | |
657 "gm", | |
658 "_", | |
659 "bleed_alpha_image", | |
660 "serialize-8888", | |
661 "gm", | |
662 "_", | |
663 "bleed_alpha_image_shader", | |
664 "serialize-8888", | |
665 "gm", | |
666 "_", | |
667 "verylargebitmap", | |
668 "serialize-8888", | |
669 "gm", | |
670 "_", | |
671 "verylarge_picture_image", | |
672 "pic-8888", | |
673 "gm", | |
674 "_", | |
675 "drawfilter", | |
676 "pic-8888", | |
677 "gm", | |
678 "_", | |
679 "image-cacherator-from-picture", | |
680 "serialize-8888", | |
681 "gm", | |
682 "_", | |
683 "image-cacherator-from-picture", | |
684 "pic-8888", | |
685 "gm", | |
686 "_", | |
687 "image-cacherator-from-raster", | |
688 "serialize-8888", | |
689 "gm", | |
690 "_", | |
691 "image-cacherator-from-raster", | |
692 "pic-8888", | |
693 "gm", | |
694 "_", | |
695 "image-cacherator-from-ctable", | |
696 "serialize-8888", | |
697 "gm", | |
698 "_", | |
699 "image-cacherator-from-ctable", | |
700 "pic-8888", | |
701 "gm", | |
702 "_", | |
703 "gamut", | |
704 "serialize-8888", | |
705 "gm", | |
706 "_", | |
707 "gamut", | |
708 "_", | |
709 "image", | |
710 "_", | |
711 "interlaced1.png", | |
712 "_", | |
713 "image", | |
714 "_", | |
715 "interlaced2.png", | |
716 "_", | |
717 "image", | |
718 "_", | |
719 "interlaced3.png", | |
720 "_", | |
721 "image", | |
722 "_", | |
723 ".arw", | |
724 "_", | |
725 "image", | |
726 "_", | |
727 ".cr2", | |
728 "_", | |
729 "image", | |
730 "_", | |
731 ".dng", | |
732 "_", | |
733 "image", | |
734 "_", | |
735 ".nef", | |
736 "_", | |
737 "image", | |
738 "_", | |
739 ".nrw", | |
740 "_", | |
741 "image", | |
742 "_", | |
743 ".orf", | |
744 "_", | |
745 "image", | |
746 "_", | |
747 ".raf", | |
748 "_", | |
749 "image", | |
750 "_", | |
751 ".rw2", | |
752 "_", | |
753 "image", | |
754 "_", | |
755 ".pef", | |
756 "_", | |
757 "image", | |
758 "_", | |
759 ".srw", | |
760 "_", | |
761 "image", | |
762 "_", | |
763 ".ARW", | |
764 "_", | |
765 "image", | |
766 "_", | |
767 ".CR2", | |
768 "_", | |
769 "image", | |
770 "_", | |
771 ".DNG", | |
772 "_", | |
773 "image", | |
774 "_", | |
775 ".NEF", | |
776 "_", | |
777 "image", | |
778 "_", | |
779 ".NRW", | |
780 "_", | |
781 "image", | |
782 "_", | |
783 ".ORF", | |
784 "_", | |
785 "image", | |
786 "_", | |
787 ".RAF", | |
788 "_", | |
789 "image", | |
790 "_", | |
791 ".RW2", | |
792 "_", | |
793 "image", | |
794 "_", | |
795 ".PEF", | |
796 "_", | |
797 "image", | |
798 "_", | |
799 ".SRW", | |
800 "--match", | |
801 "~CopySurface" | |
802 ], | |
803 "env": { | |
804 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
805 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
806 "BUILDTYPE": "Release", | |
807 "CHROME_HEADLESS": "1", | |
808 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
809 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
810 }, | |
811 "name": "dm" | |
812 }, | |
813 { | |
814 "cmd": [ | |
815 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", | |
816 "--verbose", | |
817 "/storage/emulated/legacy/skiabot/skia_dm", | |
818 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
819 ], | |
820 "env": { | |
821 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
822 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
823 "BUILDTYPE": "Release", | |
824 "CHROME_HEADLESS": "1", | |
825 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
826 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
827 }, | |
828 "name": "pull skia_dm" | |
829 }, | |
830 { | |
831 "cmd": [ | |
832 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
833 "shell", | |
834 "dumpsys", | |
835 "batteryproperties" | |
836 ], | |
837 "env": { | |
838 "BUILDTYPE": "Release", | |
839 "CHROME_HEADLESS": "1", | |
840 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
841 }, | |
842 "name": "final battery stats" | |
843 }, | |
844 { | |
845 "cmd": [ | |
846 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
847 "reboot" | |
848 ], | |
849 "env": { | |
850 "BUILDTYPE": "Release", | |
851 "CHROME_HEADLESS": "1", | |
852 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
853 }, | |
854 "name": "reboot" | |
855 }, | |
856 { | |
857 "cmd": [ | |
858 "sleep", | |
859 "10" | |
860 ], | |
861 "env": { | |
862 "BUILDTYPE": "Release", | |
863 "CHROME_HEADLESS": "1", | |
864 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
865 }, | |
866 "name": "wait for reboot" | |
867 }, | |
868 { | |
869 "cmd": [ | |
870 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
871 ], | |
872 "env": { | |
873 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
874 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
875 "BUILDTYPE": "Release", | |
876 "CHROME_HEADLESS": "1", | |
877 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
878 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
879 }, | |
880 "name": "wait for device (3)" | |
881 }, | |
882 { | |
883 "cmd": [ | |
884 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
885 ], | |
886 "env": { | |
887 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
888 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
889 "BUILDTYPE": "Release", | |
890 "CHROME_HEADLESS": "1", | |
891 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
892 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
893 }, | |
894 "name": "wait for charge (3)" | |
895 }, | |
896 { | |
897 "cmd": [ | |
898 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
899 "kill-server" | |
900 ], | |
901 "env": { | |
902 "BUILDTYPE": "Release", | |
903 "CHROME_HEADLESS": "1", | |
904 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
905 }, | |
906 "name": "kill-server" | |
907 }, | |
908 { | |
909 "name": "$result", | |
910 "recipe_result": null, | |
911 "status_code": 0 | |
912 } | |
913 ] | |
OLD | NEW |