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

Side by Side Diff: infra/bots/recipes/swarm_test.expected/missing_SK_IMAGE_VERSION_device.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 "~followup_annotations": [
267 "step returned non-zero exit code: 1",
268 "@@@STEP_EXCEPTION@@@"
269 ]
270 },
271 {
272 "cmd": [
273 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
274 "shell",
275 "rm",
276 "-f",
277 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION"
278 ],
279 "env": {
280 "BUILDTYPE": "Debug",
281 "CHROME_HEADLESS": "1",
282 "SKIA_OUT": "[SLAVE_BUILD]/out"
283 },
284 "name": "rm SK_IMAGE_VERSION"
285 },
286 {
287 "cmd": [
288 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
289 "shell",
290 "rm",
291 "-r",
292 "/storage/emulated/legacy/skiabot/skia_images"
293 ],
294 "env": {
295 "BUILDTYPE": "Debug",
296 "CHROME_HEADLESS": "1",
297 "SKIA_OUT": "[SLAVE_BUILD]/out"
298 },
299 "name": "rmdir skia_images"
300 },
301 {
302 "cmd": [
303 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
304 "shell",
305 "if",
306 "[",
307 "-e",
308 "/storage/emulated/legacy/skiabot/skia_images",
309 "];",
310 "then",
311 "echo",
312 "FILE_EXISTS;",
313 "fi"
314 ],
315 "env": {
316 "BUILDTYPE": "Debug",
317 "CHROME_HEADLESS": "1",
318 "SKIA_OUT": "[SLAVE_BUILD]/out"
319 },
320 "name": "exists skia_images",
321 "stdout": "/path/to/tmp/"
322 },
323 {
324 "cmd": [
325 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
326 "shell",
327 "mkdir",
328 "-p",
329 "/storage/emulated/legacy/skiabot/skia_images"
330 ],
331 "env": {
332 "BUILDTYPE": "Debug",
333 "CHROME_HEADLESS": "1",
334 "SKIA_OUT": "[SLAVE_BUILD]/out"
335 },
336 "name": "mkdir skia_images"
337 },
338 {
339 "cmd": [
340 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed",
341 "--verbose",
342 "[SLAVE_BUILD]/skimage",
343 "/storage/emulated/legacy/skiabot/skia_images"
344 ],
345 "env": {
346 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
347 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
348 "BUILDTYPE": "Debug",
349 "CHROME_HEADLESS": "1",
350 "SKIA_ANDROID_VERBOSE_SETUP": "1",
351 "SKIA_OUT": "[SLAVE_BUILD]/out"
352 },
353 "name": "push skimage"
354 },
355 {
356 "cmd": [
357 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
358 "push",
359 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION",
360 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION"
361 ],
362 "env": {
363 "BUILDTYPE": "Debug",
364 "CHROME_HEADLESS": "1",
365 "SKIA_OUT": "[SLAVE_BUILD]/out"
366 },
367 "name": "push SK_IMAGE_VERSION"
368 },
369 {
370 "cmd": [
371 "python",
372 "-u",
373 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
374 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION",
375 "/path/to/tmp/"
376 ],
377 "name": "Get downloaded SVG VERSION"
378 },
379 {
380 "cmd": [
381 "python",
382 "-u",
383 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
384 "42",
385 "[SLAVE_BUILD]/tmp/SVG_VERSION"
386 ],
387 "name": "write SVG_VERSION"
388 },
389 {
390 "cmd": [
391 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
392 "shell",
393 "cat",
394 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION"
395 ],
396 "env": {
397 "BUILDTYPE": "Debug",
398 "CHROME_HEADLESS": "1",
399 "SKIA_OUT": "[SLAVE_BUILD]/out"
400 },
401 "name": "read SVG_VERSION",
402 "stdout": "/path/to/tmp/"
403 },
404 {
405 "cmd": [
406 "python",
407 "-u",
408 "\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",
409 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
410 ],
411 "env": {
412 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts"
413 },
414 "name": "rmtree dm",
415 "~followup_annotations": [
416 "@@@STEP_LOG_LINE@python.inline@@@@",
417 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
418 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
419 "@@@STEP_LOG_LINE@python.inline@@@@",
420 "@@@STEP_LOG_LINE@python.inline@@@@",
421 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
422 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
423 "@@@STEP_LOG_END@python.inline@@@"
424 ]
425 },
426 {
427 "cmd": [
428 "python",
429 "-u",
430 "\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",
431 "[CUSTOM_[SWARM_OUT_DIR]]/dm",
432 "511"
433 ],
434 "name": "makedirs dm",
435 "~followup_annotations": [
436 "@@@STEP_LOG_LINE@python.inline@@@@",
437 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
438 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
439 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
440 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
441 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
442 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
443 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
444 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
445 "@@@STEP_LOG_END@python.inline@@@"
446 ]
447 },
448 {
449 "cmd": [
450 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
451 "shell",
452 "rm",
453 "-r",
454 "/storage/emulated/legacy/skiabot/skia_dm"
455 ],
456 "env": {
457 "BUILDTYPE": "Debug",
458 "CHROME_HEADLESS": "1",
459 "SKIA_OUT": "[SLAVE_BUILD]/out"
460 },
461 "name": "rmdir skia_dm"
462 },
463 {
464 "cmd": [
465 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
466 "shell",
467 "if",
468 "[",
469 "-e",
470 "/storage/emulated/legacy/skiabot/skia_dm",
471 "];",
472 "then",
473 "echo",
474 "FILE_EXISTS;",
475 "fi"
476 ],
477 "env": {
478 "BUILDTYPE": "Debug",
479 "CHROME_HEADLESS": "1",
480 "SKIA_OUT": "[SLAVE_BUILD]/out"
481 },
482 "name": "exists skia_dm",
483 "stdout": "/path/to/tmp/"
484 },
485 {
486 "cmd": [
487 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
488 "shell",
489 "mkdir",
490 "-p",
491 "/storage/emulated/legacy/skiabot/skia_dm"
492 ],
493 "env": {
494 "BUILDTYPE": "Debug",
495 "CHROME_HEADLESS": "1",
496 "SKIA_OUT": "[SLAVE_BUILD]/out"
497 },
498 "name": "mkdir skia_dm"
499 },
500 {
501 "cmd": [
502 "python",
503 "-u",
504 "\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",
505 "[SLAVE_BUILD]/tmp",
506 "511"
507 ],
508 "name": "makedirs tmp_dir",
509 "~followup_annotations": [
510 "@@@STEP_LOG_LINE@python.inline@@@@",
511 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
512 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
513 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
514 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
515 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
516 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
517 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
518 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
519 "@@@STEP_LOG_END@python.inline@@@"
520 ]
521 },
522 {
523 "cmd": [
524 "python",
525 "-u",
526 "\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",
527 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt"
528 ],
529 "cwd": "[SLAVE_BUILD]/skia",
530 "env": {
531 "BUILDTYPE": "Debug",
532 "CHROME_HEADLESS": "1",
533 "SKIA_OUT": "[SLAVE_BUILD]/out"
534 },
535 "name": "get uninteresting hashes",
536 "~followup_annotations": [
537 "@@@STEP_LOG_LINE@python.inline@@@@",
538 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
539 "@@@STEP_LOG_LINE@python.inline@import math@@@",
540 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
541 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
542 "@@@STEP_LOG_LINE@python.inline@import time@@@",
543 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
544 "@@@STEP_LOG_LINE@python.inline@@@@",
545 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash es'@@@",
546 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
547 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
548 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
549 "@@@STEP_LOG_LINE@python.inline@@@@",
550 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
551 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
552 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
553 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
554 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou t=TIMEOUT)) as w:@@@",
555 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
556 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@ ",
557 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
558 "@@@STEP_LOG_LINE@python.inline@ break@@@",
559 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
560 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has hes from %s:' % HASHES_URL@@@",
561 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
562 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
563 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
564 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@",
565 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@",
566 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
567 "@@@STEP_LOG_END@python.inline@@@"
568 ]
569 },
570 {
571 "cmd": [
572 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
573 "push",
574 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt",
575 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt"
576 ],
577 "env": {
578 "BUILDTYPE": "Debug",
579 "CHROME_HEADLESS": "1",
580 "SKIA_OUT": "[SLAVE_BUILD]/out"
581 },
582 "name": "push uninteresting_hashes.txt"
583 },
584 {
585 "cmd": [
586 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia",
587 "--verbose",
588 "--logcat",
589 "-d",
590 "arm_v7_neon",
591 "-t",
592 "Debug",
593 "dm",
594 "--undefok",
595 "--resourcePath",
596 "/storage/emulated/legacy/skiabot/skia_resources",
597 "--skps",
598 "/storage/emulated/legacy/skiabot/skia_skp/skps",
599 "--images",
600 "/storage/emulated/legacy/skiabot/skia_images/dm",
601 "--colorImages",
602 "/storage/emulated/legacy/skiabot/skia_images/colorspace",
603 "--nameByHash",
604 "--properties",
605 "gitHash",
606 "abc123",
607 "master",
608 "client.skia",
609 "builder",
610 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug",
611 "build_number",
612 "6",
613 "--svgs",
614 "/storage/emulated/legacy/skiabot/skia_svg/svgs",
615 "--key",
616 "arch",
617 "Arm7",
618 "compiler",
619 "GCC",
620 "configuration",
621 "Debug",
622 "cpu_or_gpu",
623 "GPU",
624 "cpu_or_gpu_value",
625 "Tegra3",
626 "model",
627 "Nexus7",
628 "os",
629 "Android",
630 "--uninterestingHashesFile",
631 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt",
632 "--writePath",
633 "/storage/emulated/legacy/skiabot/skia_dm",
634 "--nocpu",
635 "--config",
636 "8888",
637 "gpu",
638 "gpusrgb",
639 "serialize-8888",
640 "tiles_rt-8888",
641 "pic-8888",
642 "--src",
643 "tests",
644 "gm",
645 "image",
646 "colorImage",
647 "svg",
648 "--blacklist",
649 "gpusrgb",
650 "image",
651 "_",
652 "_",
653 "_",
654 "test",
655 "_",
656 "GrShape",
657 "serialize-8888",
658 "gm",
659 "_",
660 "bleed_image",
661 "serialize-8888",
662 "gm",
663 "_",
664 "c_gms",
665 "serialize-8888",
666 "gm",
667 "_",
668 "colortype",
669 "serialize-8888",
670 "gm",
671 "_",
672 "colortype_xfermodes",
673 "serialize-8888",
674 "gm",
675 "_",
676 "drawfilter",
677 "serialize-8888",
678 "gm",
679 "_",
680 "fontmgr_bounds_0.75_0",
681 "serialize-8888",
682 "gm",
683 "_",
684 "fontmgr_bounds_1_-0.25",
685 "serialize-8888",
686 "gm",
687 "_",
688 "fontmgr_bounds",
689 "serialize-8888",
690 "gm",
691 "_",
692 "fontmgr_match",
693 "serialize-8888",
694 "gm",
695 "_",
696 "fontmgr_iter",
697 "serialize-8888",
698 "gm",
699 "_",
700 "imagemasksubset",
701 "serialize-8888",
702 "gm",
703 "_",
704 "bitmapfilters",
705 "serialize-8888",
706 "gm",
707 "_",
708 "bitmapshaders",
709 "serialize-8888",
710 "gm",
711 "_",
712 "bleed",
713 "serialize-8888",
714 "gm",
715 "_",
716 "bleed_alpha_bmp",
717 "serialize-8888",
718 "gm",
719 "_",
720 "bleed_alpha_bmp_shader",
721 "serialize-8888",
722 "gm",
723 "_",
724 "convex_poly_clip",
725 "serialize-8888",
726 "gm",
727 "_",
728 "extractalpha",
729 "serialize-8888",
730 "gm",
731 "_",
732 "filterbitmap_checkerboard_32_32_g8",
733 "serialize-8888",
734 "gm",
735 "_",
736 "filterbitmap_image_mandrill_64",
737 "serialize-8888",
738 "gm",
739 "_",
740 "shadows",
741 "serialize-8888",
742 "gm",
743 "_",
744 "simpleaaclip_aaclip",
745 "serialize-8888",
746 "gm",
747 "_",
748 "composeshader_bitmap",
749 "serialize-8888",
750 "gm",
751 "_",
752 "scaled_tilemodes_npot",
753 "serialize-8888",
754 "gm",
755 "_",
756 "scaled_tilemodes",
757 "serialize-8888",
758 "gm",
759 "_",
760 "bleed_alpha_image",
761 "serialize-8888",
762 "gm",
763 "_",
764 "bleed_alpha_image_shader",
765 "serialize-8888",
766 "gm",
767 "_",
768 "verylargebitmap",
769 "serialize-8888",
770 "gm",
771 "_",
772 "verylarge_picture_image",
773 "pic-8888",
774 "gm",
775 "_",
776 "drawfilter",
777 "pic-8888",
778 "gm",
779 "_",
780 "image-cacherator-from-picture",
781 "serialize-8888",
782 "gm",
783 "_",
784 "image-cacherator-from-picture",
785 "pic-8888",
786 "gm",
787 "_",
788 "image-cacherator-from-raster",
789 "serialize-8888",
790 "gm",
791 "_",
792 "image-cacherator-from-raster",
793 "pic-8888",
794 "gm",
795 "_",
796 "image-cacherator-from-ctable",
797 "serialize-8888",
798 "gm",
799 "_",
800 "image-cacherator-from-ctable",
801 "pic-8888",
802 "gm",
803 "_",
804 "gamut",
805 "serialize-8888",
806 "gm",
807 "_",
808 "gamut",
809 "_",
810 "image",
811 "_",
812 "interlaced1.png",
813 "_",
814 "image",
815 "_",
816 "interlaced2.png",
817 "_",
818 "image",
819 "_",
820 "interlaced3.png",
821 "_",
822 "image",
823 "_",
824 ".arw",
825 "_",
826 "image",
827 "_",
828 ".cr2",
829 "_",
830 "image",
831 "_",
832 ".dng",
833 "_",
834 "image",
835 "_",
836 ".nef",
837 "_",
838 "image",
839 "_",
840 ".nrw",
841 "_",
842 "image",
843 "_",
844 ".orf",
845 "_",
846 "image",
847 "_",
848 ".raf",
849 "_",
850 "image",
851 "_",
852 ".rw2",
853 "_",
854 "image",
855 "_",
856 ".pef",
857 "_",
858 "image",
859 "_",
860 ".srw",
861 "_",
862 "image",
863 "_",
864 ".ARW",
865 "_",
866 "image",
867 "_",
868 ".CR2",
869 "_",
870 "image",
871 "_",
872 ".DNG",
873 "_",
874 "image",
875 "_",
876 ".NEF",
877 "_",
878 "image",
879 "_",
880 ".NRW",
881 "_",
882 "image",
883 "_",
884 ".ORF",
885 "_",
886 "image",
887 "_",
888 ".RAF",
889 "_",
890 "image",
891 "_",
892 ".RW2",
893 "_",
894 "image",
895 "_",
896 ".PEF",
897 "_",
898 "image",
899 "_",
900 ".SRW"
901 ],
902 "env": {
903 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
904 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
905 "BUILDTYPE": "Debug",
906 "CHROME_HEADLESS": "1",
907 "SKIA_ANDROID_VERBOSE_SETUP": "1",
908 "SKIA_OUT": "[SLAVE_BUILD]/out"
909 },
910 "name": "dm"
911 },
912 {
913 "cmd": [
914 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed",
915 "--verbose",
916 "/storage/emulated/legacy/skiabot/skia_dm",
917 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
918 ],
919 "env": {
920 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
921 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
922 "BUILDTYPE": "Debug",
923 "CHROME_HEADLESS": "1",
924 "SKIA_ANDROID_VERBOSE_SETUP": "1",
925 "SKIA_OUT": "[SLAVE_BUILD]/out"
926 },
927 "name": "pull skia_dm"
928 },
929 {
930 "cmd": [
931 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
932 "shell",
933 "dumpsys",
934 "batteryproperties"
935 ],
936 "env": {
937 "BUILDTYPE": "Debug",
938 "CHROME_HEADLESS": "1",
939 "SKIA_OUT": "[SLAVE_BUILD]/out"
940 },
941 "name": "final battery stats"
942 },
943 {
944 "cmd": [
945 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
946 "reboot"
947 ],
948 "env": {
949 "BUILDTYPE": "Debug",
950 "CHROME_HEADLESS": "1",
951 "SKIA_OUT": "[SLAVE_BUILD]/out"
952 },
953 "name": "reboot"
954 },
955 {
956 "cmd": [
957 "sleep",
958 "10"
959 ],
960 "env": {
961 "BUILDTYPE": "Debug",
962 "CHROME_HEADLESS": "1",
963 "SKIA_OUT": "[SLAVE_BUILD]/out"
964 },
965 "name": "wait for reboot"
966 },
967 {
968 "cmd": [
969 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device"
970 ],
971 "env": {
972 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
973 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
974 "BUILDTYPE": "Debug",
975 "CHROME_HEADLESS": "1",
976 "SKIA_ANDROID_VERBOSE_SETUP": "1",
977 "SKIA_OUT": "[SLAVE_BUILD]/out"
978 },
979 "name": "wait for device (3)"
980 },
981 {
982 "cmd": [
983 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
984 ],
985 "env": {
986 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
987 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
988 "BUILDTYPE": "Debug",
989 "CHROME_HEADLESS": "1",
990 "SKIA_ANDROID_VERBOSE_SETUP": "1",
991 "SKIA_OUT": "[SLAVE_BUILD]/out"
992 },
993 "name": "wait for charge (3)"
994 },
995 {
996 "cmd": [
997 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
998 "kill-server"
999 ],
1000 "env": {
1001 "BUILDTYPE": "Debug",
1002 "CHROME_HEADLESS": "1",
1003 "SKIA_OUT": "[SLAVE_BUILD]/out"
1004 },
1005 "name": "kill-server"
1006 },
1007 {
1008 "name": "$result",
1009 "recipe_result": null,
1010 "status_code": 0
1011 }
1012 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698