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

Side by Side Diff: infra/bots/recipes/swarm_test.expected/Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address more comments Created 4 years, 4 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 "python",
5 "-u",
6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
7 "/path/to/tmp/json",
8 "Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug"
9 ],
10 "cwd": "[SLAVE_BUILD]/skia",
11 "name": "exec buildbot_spec.py",
12 "~followup_annotations": [
13 "@@@STEP_LOG_LINE@json.output@{@@@",
14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
15 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@",
16 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@",
17 "@@@STEP_LOG_LINE@json.output@ ], @@@",
18 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
19 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"Arm7\", @@@",
20 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
21 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
22 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"GPU\", @@@",
23 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"Mali400\", @@@",
24 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
25 "@@@STEP_LOG_LINE@json.output@ \"model\": \"GalaxyS3\", @@@",
26 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Android\", @@@",
27 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@",
28 "@@@STEP_LOG_LINE@json.output@ }, @@@",
29 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
30 "@@@STEP_LOG_LINE@json.output@ \"device_cfg\": \"arm_v7_neon\", @@@",
31 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
32 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
33 "@@@STEP_LOG_LINE@json.output@ ], @@@",
34 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": true, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
37 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm sk ia_warnings_as_errors=0\"@@@",
38 "@@@STEP_LOG_LINE@json.output@ }, @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
40 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
41 "@@@STEP_LOG_LINE@json.output@ ], @@@",
42 "@@@STEP_LOG_LINE@json.output@ \"product.board\": \"m0\", @@@",
43 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
44 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
45 "@@@STEP_LOG_LINE@json.output@}@@@",
46 "@@@STEP_LOG_END@json.output@@@"
47 ]
48 },
49 {
50 "cmd": [
51 "which",
52 "adb"
53 ],
54 "name": "which adb",
55 "stdout": "/path/to/tmp/",
56 "~followup_annotations": [
57 "step returned non-zero exit code: 1",
58 "@@@STEP_EXCEPTION@@@"
59 ]
60 },
61 {
62 "cmd": [
63 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device"
64 ],
65 "env": {
66 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
67 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
68 "BUILDTYPE": "Debug",
69 "CHROME_HEADLESS": "1",
70 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
71 "SKIA_ANDROID_VERBOSE_SETUP": "1",
72 "SKIA_OUT": "[SLAVE_BUILD]/out"
73 },
74 "name": "wait for device (1)"
75 },
76 {
77 "cmd": [
78 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
79 ],
80 "env": {
81 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
82 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
83 "BUILDTYPE": "Debug",
84 "CHROME_HEADLESS": "1",
85 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
86 "SKIA_ANDROID_VERBOSE_SETUP": "1",
87 "SKIA_OUT": "[SLAVE_BUILD]/out"
88 },
89 "name": "wait for charge (1)"
90 },
91 {
92 "cmd": [
93 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
94 "shell",
95 "echo",
96 "$EXTERNAL_STORAGE"
97 ],
98 "env": {
99 "BUILDTYPE": "Debug",
100 "CHROME_HEADLESS": "1",
101 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
102 "SKIA_OUT": "[SLAVE_BUILD]/out"
103 },
104 "name": "get EXTERNAL_STORAGE dir",
105 "stdout": "/path/to/tmp/"
106 },
107 {
108 "cmd": [
109 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia",
110 "--verbose"
111 ],
112 "env": {
113 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
114 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
115 "BUILDTYPE": "Debug",
116 "CHROME_HEADLESS": "1",
117 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
118 "SKIA_ANDROID_VERBOSE_SETUP": "1",
119 "SKIA_OUT": "[SLAVE_BUILD]/out"
120 },
121 "name": "kill skia"
122 },
123 {
124 "cmd": [
125 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
126 "shell",
127 "dumpsys",
128 "batteryproperties"
129 ],
130 "env": {
131 "BUILDTYPE": "Debug",
132 "CHROME_HEADLESS": "1",
133 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
134 "SKIA_OUT": "[SLAVE_BUILD]/out"
135 },
136 "name": "starting battery stats"
137 },
138 {
139 "cmd": [
140 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed",
141 "--verbose",
142 "[SLAVE_BUILD]/skia/resources",
143 "/storage/emulated/legacy/skiabot/skia_resources"
144 ],
145 "env": {
146 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
147 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
148 "BUILDTYPE": "Debug",
149 "CHROME_HEADLESS": "1",
150 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
151 "SKIA_ANDROID_VERBOSE_SETUP": "1",
152 "SKIA_OUT": "[SLAVE_BUILD]/out"
153 },
154 "name": "push resources"
155 },
156 {
157 "cmd": [
158 "python",
159 "-u",
160 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
161 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION",
162 "/path/to/tmp/"
163 ],
164 "name": "Get downloaded SKP VERSION"
165 },
166 {
167 "cmd": [
168 "python",
169 "-u",
170 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
171 "42",
172 "[SLAVE_BUILD]/tmp/SKP_VERSION"
173 ],
174 "name": "write SKP_VERSION"
175 },
176 {
177 "cmd": [
178 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
179 "shell",
180 "cat",
181 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION"
182 ],
183 "env": {
184 "BUILDTYPE": "Debug",
185 "CHROME_HEADLESS": "1",
186 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
187 "SKIA_OUT": "[SLAVE_BUILD]/out"
188 },
189 "name": "read SKP_VERSION",
190 "stdout": "/path/to/tmp/"
191 },
192 {
193 "cmd": [
194 "python",
195 "-u",
196 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
197 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION",
198 "/path/to/tmp/"
199 ],
200 "name": "Get downloaded skimage VERSION"
201 },
202 {
203 "cmd": [
204 "python",
205 "-u",
206 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
207 "42",
208 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION"
209 ],
210 "name": "write SK_IMAGE_VERSION"
211 },
212 {
213 "cmd": [
214 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
215 "shell",
216 "cat",
217 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION"
218 ],
219 "env": {
220 "BUILDTYPE": "Debug",
221 "CHROME_HEADLESS": "1",
222 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
223 "SKIA_OUT": "[SLAVE_BUILD]/out"
224 },
225 "name": "read SK_IMAGE_VERSION",
226 "stdout": "/path/to/tmp/"
227 },
228 {
229 "cmd": [
230 "python",
231 "-u",
232 "\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",
233 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
234 ],
235 "env": {
236 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts"
237 },
238 "name": "rmtree dm",
239 "~followup_annotations": [
240 "@@@STEP_LOG_LINE@python.inline@@@@",
241 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
242 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
243 "@@@STEP_LOG_LINE@python.inline@@@@",
244 "@@@STEP_LOG_LINE@python.inline@@@@",
245 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
246 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
247 "@@@STEP_LOG_END@python.inline@@@"
248 ]
249 },
250 {
251 "cmd": [
252 "python",
253 "-u",
254 "\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",
255 "[CUSTOM_[SWARM_OUT_DIR]]/dm",
256 "511"
257 ],
258 "name": "makedirs dm",
259 "~followup_annotations": [
260 "@@@STEP_LOG_LINE@python.inline@@@@",
261 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
262 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
263 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
264 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
265 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
266 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
267 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
268 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
269 "@@@STEP_LOG_END@python.inline@@@"
270 ]
271 },
272 {
273 "cmd": [
274 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
275 "shell",
276 "rm",
277 "-r",
278 "/storage/emulated/legacy/skiabot/skia_dm"
279 ],
280 "env": {
281 "BUILDTYPE": "Debug",
282 "CHROME_HEADLESS": "1",
283 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
284 "SKIA_OUT": "[SLAVE_BUILD]/out"
285 },
286 "name": "rmdir skia_dm"
287 },
288 {
289 "cmd": [
290 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
291 "shell",
292 "if",
293 "[",
294 "-e",
295 "/storage/emulated/legacy/skiabot/skia_dm",
296 "];",
297 "then",
298 "echo",
299 "FILE_EXISTS;",
300 "fi"
301 ],
302 "env": {
303 "BUILDTYPE": "Debug",
304 "CHROME_HEADLESS": "1",
305 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
306 "SKIA_OUT": "[SLAVE_BUILD]/out"
307 },
308 "name": "exists skia_dm",
309 "stdout": "/path/to/tmp/"
310 },
311 {
312 "cmd": [
313 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
314 "shell",
315 "mkdir",
316 "-p",
317 "/storage/emulated/legacy/skiabot/skia_dm"
318 ],
319 "env": {
320 "BUILDTYPE": "Debug",
321 "CHROME_HEADLESS": "1",
322 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
323 "SKIA_OUT": "[SLAVE_BUILD]/out"
324 },
325 "name": "mkdir skia_dm"
326 },
327 {
328 "cmd": [
329 "python",
330 "-u",
331 "\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",
332 "[SLAVE_BUILD]/tmp",
333 "511"
334 ],
335 "name": "makedirs tmp_dir",
336 "~followup_annotations": [
337 "@@@STEP_LOG_LINE@python.inline@@@@",
338 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
339 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
340 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
341 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
342 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
343 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
344 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
345 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
346 "@@@STEP_LOG_END@python.inline@@@"
347 ]
348 },
349 {
350 "cmd": [
351 "python",
352 "-u",
353 "\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",
354 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt"
355 ],
356 "cwd": "[SLAVE_BUILD]/skia",
357 "env": {
358 "BUILDTYPE": "Debug",
359 "CHROME_HEADLESS": "1",
360 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
361 "SKIA_OUT": "[SLAVE_BUILD]/out"
362 },
363 "name": "get uninteresting hashes",
364 "~followup_annotations": [
365 "@@@STEP_LOG_LINE@python.inline@@@@",
366 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
367 "@@@STEP_LOG_LINE@python.inline@import math@@@",
368 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
369 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
370 "@@@STEP_LOG_LINE@python.inline@import time@@@",
371 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
372 "@@@STEP_LOG_LINE@python.inline@@@@",
373 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash es'@@@",
374 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
375 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
376 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
377 "@@@STEP_LOG_LINE@python.inline@@@@",
378 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
379 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
380 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
381 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
382 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou t=TIMEOUT)) as w:@@@",
383 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
384 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@ ",
385 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
386 "@@@STEP_LOG_LINE@python.inline@ break@@@",
387 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
388 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has hes from %s:' % HASHES_URL@@@",
389 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
390 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
391 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
392 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@",
393 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@",
394 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
395 "@@@STEP_LOG_END@python.inline@@@"
396 ]
397 },
398 {
399 "cmd": [
400 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
401 "push",
402 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt",
403 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt"
404 ],
405 "env": {
406 "BUILDTYPE": "Debug",
407 "CHROME_HEADLESS": "1",
408 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
409 "SKIA_OUT": "[SLAVE_BUILD]/out"
410 },
411 "name": "push uninteresting_hashes.txt"
412 },
413 {
414 "cmd": [
415 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia",
416 "--verbose",
417 "--logcat",
418 "-d",
419 "arm_v7_neon",
420 "-t",
421 "Debug",
422 "dm",
423 "--undefok",
424 "--resourcePath",
425 "/storage/emulated/legacy/skiabot/skia_resources",
426 "--skps",
427 "/storage/emulated/legacy/skiabot/skia_skp/skps",
428 "--images",
429 "/storage/emulated/legacy/skiabot/skia_images/dm",
430 "--colorImages",
431 "/storage/emulated/legacy/skiabot/skia_images/colorspace",
432 "--nameByHash",
433 "--properties",
434 "gitHash",
435 "abc123",
436 "master",
437 "client.skia",
438 "builder",
439 "Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug",
440 "build_number",
441 "5",
442 "--key",
443 "arch",
444 "Arm7",
445 "compiler",
446 "GCC",
447 "configuration",
448 "Debug",
449 "cpu_or_gpu",
450 "GPU",
451 "cpu_or_gpu_value",
452 "Mali400",
453 "model",
454 "GalaxyS3",
455 "os",
456 "Android",
457 "--uninterestingHashesFile",
458 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt",
459 "--writePath",
460 "/storage/emulated/legacy/skiabot/skia_dm",
461 "--nocpu",
462 "--dummy-flags"
463 ],
464 "env": {
465 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
466 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
467 "BUILDTYPE": "Debug",
468 "CHROME_HEADLESS": "1",
469 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
470 "SKIA_ANDROID_VERBOSE_SETUP": "1",
471 "SKIA_OUT": "[SLAVE_BUILD]/out"
472 },
473 "name": "dm"
474 },
475 {
476 "cmd": [
477 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed",
478 "--verbose",
479 "/storage/emulated/legacy/skiabot/skia_dm",
480 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
481 ],
482 "env": {
483 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
484 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
485 "BUILDTYPE": "Debug",
486 "CHROME_HEADLESS": "1",
487 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
488 "SKIA_ANDROID_VERBOSE_SETUP": "1",
489 "SKIA_OUT": "[SLAVE_BUILD]/out"
490 },
491 "name": "pull skia_dm"
492 },
493 {
494 "cmd": [
495 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
496 "shell",
497 "dumpsys",
498 "batteryproperties"
499 ],
500 "env": {
501 "BUILDTYPE": "Debug",
502 "CHROME_HEADLESS": "1",
503 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
504 "SKIA_OUT": "[SLAVE_BUILD]/out"
505 },
506 "name": "final battery stats"
507 },
508 {
509 "cmd": [
510 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
511 "reboot"
512 ],
513 "env": {
514 "BUILDTYPE": "Debug",
515 "CHROME_HEADLESS": "1",
516 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
517 "SKIA_OUT": "[SLAVE_BUILD]/out"
518 },
519 "name": "reboot"
520 },
521 {
522 "cmd": [
523 "sleep",
524 "10"
525 ],
526 "env": {
527 "BUILDTYPE": "Debug",
528 "CHROME_HEADLESS": "1",
529 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
530 "SKIA_OUT": "[SLAVE_BUILD]/out"
531 },
532 "name": "wait for reboot"
533 },
534 {
535 "cmd": [
536 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device"
537 ],
538 "env": {
539 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
540 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
541 "BUILDTYPE": "Debug",
542 "CHROME_HEADLESS": "1",
543 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
544 "SKIA_ANDROID_VERBOSE_SETUP": "1",
545 "SKIA_OUT": "[SLAVE_BUILD]/out"
546 },
547 "name": "wait for device (2)"
548 },
549 {
550 "cmd": [
551 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
552 ],
553 "env": {
554 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
555 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
556 "BUILDTYPE": "Debug",
557 "CHROME_HEADLESS": "1",
558 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
559 "SKIA_ANDROID_VERBOSE_SETUP": "1",
560 "SKIA_OUT": "[SLAVE_BUILD]/out"
561 },
562 "name": "wait for charge (2)"
563 },
564 {
565 "cmd": [
566 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
567 "kill-server"
568 ],
569 "env": {
570 "BUILDTYPE": "Debug",
571 "CHROME_HEADLESS": "1",
572 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=0",
573 "SKIA_OUT": "[SLAVE_BUILD]/out"
574 },
575 "name": "kill-server"
576 },
577 {
578 "name": "$result",
579 "recipe_result": null,
580 "status_code": 0
581 }
582 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698