Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: infra/bots/recipes/swarm_test.expected/download_and_push_svgs.json

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

Powered by Google App Engine
This is Rietveld 408576698