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

Side by Side Diff: infra/bots/recipes/swarm_test.expected/download_and_push_skps.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 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
235 "shell",
236 "rm",
237 "-f",
238 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION"
239 ],
240 "env": {
241 "BUILDTYPE": "Debug",
242 "CHROME_HEADLESS": "1",
243 "SKIA_OUT": "[SLAVE_BUILD]/out"
244 },
245 "name": "rm SKP_VERSION"
246 },
247 {
248 "cmd": [
249 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
250 "shell",
251 "rm",
252 "-r",
253 "/storage/emulated/legacy/skiabot/skia_skp/skps"
254 ],
255 "env": {
256 "BUILDTYPE": "Debug",
257 "CHROME_HEADLESS": "1",
258 "SKIA_OUT": "[SLAVE_BUILD]/out"
259 },
260 "name": "rmdir skps"
261 },
262 {
263 "cmd": [
264 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
265 "shell",
266 "if",
267 "[",
268 "-e",
269 "/storage/emulated/legacy/skiabot/skia_skp/skps",
270 "];",
271 "then",
272 "echo",
273 "FILE_EXISTS;",
274 "fi"
275 ],
276 "env": {
277 "BUILDTYPE": "Debug",
278 "CHROME_HEADLESS": "1",
279 "SKIA_OUT": "[SLAVE_BUILD]/out"
280 },
281 "name": "exists skps",
282 "stdout": "/path/to/tmp/"
283 },
284 {
285 "cmd": [
286 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
287 "shell",
288 "mkdir",
289 "-p",
290 "/storage/emulated/legacy/skiabot/skia_skp/skps"
291 ],
292 "env": {
293 "BUILDTYPE": "Debug",
294 "CHROME_HEADLESS": "1",
295 "SKIA_OUT": "[SLAVE_BUILD]/out"
296 },
297 "name": "mkdir skps"
298 },
299 {
300 "cmd": [
301 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed",
302 "--verbose",
303 "[SLAVE_BUILD]/skp",
304 "/storage/emulated/legacy/skiabot/skia_skp/skps"
305 ],
306 "env": {
307 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
308 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
309 "BUILDTYPE": "Debug",
310 "CHROME_HEADLESS": "1",
311 "SKIA_ANDROID_VERBOSE_SETUP": "1",
312 "SKIA_OUT": "[SLAVE_BUILD]/out"
313 },
314 "name": "push skp"
315 },
316 {
317 "cmd": [
318 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
319 "push",
320 "[SLAVE_BUILD]/tmp/SKP_VERSION",
321 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION"
322 ],
323 "env": {
324 "BUILDTYPE": "Debug",
325 "CHROME_HEADLESS": "1",
326 "SKIA_OUT": "[SLAVE_BUILD]/out"
327 },
328 "name": "push SKP_VERSION"
329 },
330 {
331 "cmd": [
332 "python",
333 "-u",
334 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
335 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION",
336 "/path/to/tmp/"
337 ],
338 "name": "Get downloaded skimage VERSION"
339 },
340 {
341 "cmd": [
342 "python",
343 "-u",
344 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
345 "42",
346 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION"
347 ],
348 "name": "write SK_IMAGE_VERSION"
349 },
350 {
351 "cmd": [
352 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
353 "shell",
354 "cat",
355 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION"
356 ],
357 "env": {
358 "BUILDTYPE": "Debug",
359 "CHROME_HEADLESS": "1",
360 "SKIA_OUT": "[SLAVE_BUILD]/out"
361 },
362 "name": "read SK_IMAGE_VERSION",
363 "stdout": "/path/to/tmp/"
364 },
365 {
366 "cmd": [
367 "python",
368 "-u",
369 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
370 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION",
371 "/path/to/tmp/"
372 ],
373 "name": "Get downloaded SVG VERSION"
374 },
375 {
376 "cmd": [
377 "python",
378 "-u",
379 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
380 "42",
381 "[SLAVE_BUILD]/tmp/SVG_VERSION"
382 ],
383 "name": "write SVG_VERSION"
384 },
385 {
386 "cmd": [
387 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
388 "shell",
389 "cat",
390 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION"
391 ],
392 "env": {
393 "BUILDTYPE": "Debug",
394 "CHROME_HEADLESS": "1",
395 "SKIA_OUT": "[SLAVE_BUILD]/out"
396 },
397 "name": "read SVG_VERSION",
398 "stdout": "/path/to/tmp/"
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