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 "x86", | |
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-NexusPlayer-CPU-SSE4-x86-Release", | |
509 "build_number", | |
510 "5", | |
511 "--svgs", | |
512 "/storage/emulated/legacy/skiabot/skia_svg/svgs", | |
513 "--key", | |
514 "arch", | |
515 "x86", | |
516 "compiler", | |
517 "GCC", | |
518 "configuration", | |
519 "Release", | |
520 "cpu_or_gpu", | |
521 "CPU", | |
522 "cpu_or_gpu_value", | |
523 "SSE4", | |
524 "model", | |
525 "NexusPlayer", | |
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 "--nogpu", | |
533 "--config", | |
534 "8888", | |
535 "gpu", | |
536 "gpusrgb", | |
537 "--src", | |
538 "tests", | |
539 "gm", | |
540 "image", | |
541 "colorImage", | |
542 "svg", | |
543 "--blacklist", | |
544 "gpusrgb", | |
545 "image", | |
546 "_", | |
547 "_", | |
548 "_", | |
549 "test", | |
550 "_", | |
551 "GrShape", | |
552 "--match", | |
553 "~ResourceCache", | |
554 "--noRAW_threading" | |
555 ], | |
556 "env": { | |
557 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
558 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
559 "BUILDTYPE": "Release", | |
560 "CHROME_HEADLESS": "1", | |
561 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
562 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
563 }, | |
564 "name": "dm" | |
565 }, | |
566 { | |
567 "cmd": [ | |
568 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", | |
569 "--verbose", | |
570 "/storage/emulated/legacy/skiabot/skia_dm", | |
571 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
572 ], | |
573 "env": { | |
574 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
575 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
576 "BUILDTYPE": "Release", | |
577 "CHROME_HEADLESS": "1", | |
578 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
579 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
580 }, | |
581 "name": "pull skia_dm" | |
582 }, | |
583 { | |
584 "cmd": [ | |
585 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
586 "shell", | |
587 "dumpsys", | |
588 "batteryproperties" | |
589 ], | |
590 "env": { | |
591 "BUILDTYPE": "Release", | |
592 "CHROME_HEADLESS": "1", | |
593 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
594 }, | |
595 "name": "final battery stats" | |
596 }, | |
597 { | |
598 "cmd": [ | |
599 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
600 "reboot" | |
601 ], | |
602 "env": { | |
603 "BUILDTYPE": "Release", | |
604 "CHROME_HEADLESS": "1", | |
605 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
606 }, | |
607 "name": "reboot" | |
608 }, | |
609 { | |
610 "cmd": [ | |
611 "sleep", | |
612 "10" | |
613 ], | |
614 "env": { | |
615 "BUILDTYPE": "Release", | |
616 "CHROME_HEADLESS": "1", | |
617 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
618 }, | |
619 "name": "wait for reboot" | |
620 }, | |
621 { | |
622 "cmd": [ | |
623 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device" | |
624 ], | |
625 "env": { | |
626 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
627 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
628 "BUILDTYPE": "Release", | |
629 "CHROME_HEADLESS": "1", | |
630 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
631 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
632 }, | |
633 "name": "wait for device (3)" | |
634 }, | |
635 { | |
636 "cmd": [ | |
637 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge" | |
638 ], | |
639 "env": { | |
640 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
641 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk", | |
642 "BUILDTYPE": "Release", | |
643 "CHROME_HEADLESS": "1", | |
644 "SKIA_ANDROID_VERBOSE_SETUP": "1", | |
645 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
646 }, | |
647 "name": "wait for charge (3)" | |
648 }, | |
649 { | |
650 "cmd": [ | |
651 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", | |
652 "kill-server" | |
653 ], | |
654 "env": { | |
655 "BUILDTYPE": "Release", | |
656 "CHROME_HEADLESS": "1", | |
657 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
658 }, | |
659 "name": "kill-server" | |
660 }, | |
661 { | |
662 "name": "$result", | |
663 "recipe_result": null, | |
664 "status_code": 0 | |
665 } | |
666 ] | |
OLD | NEW |