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

Side by Side Diff: infra/bots/recipes/swarm_perf.expected/Perf-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Release.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": "Release",
22 "CHROME_HEADLESS": "1",
23 "SKIA_ANDROID_VERBOSE_SETUP": "1",
24 "SKIA_OUT": "[SLAVE_BUILD]/out"
25 },
26 "name": "wait for device (1)"
27 },
28 {
29 "cmd": [
30 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
31 ],
32 "env": {
33 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
34 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
35 "BUILDTYPE": "Release",
36 "CHROME_HEADLESS": "1",
37 "SKIA_ANDROID_VERBOSE_SETUP": "1",
38 "SKIA_OUT": "[SLAVE_BUILD]/out"
39 },
40 "name": "wait for charge (1)"
41 },
42 {
43 "cmd": [
44 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
45 "shell",
46 "echo",
47 "$EXTERNAL_STORAGE"
48 ],
49 "env": {
50 "BUILDTYPE": "Release",
51 "CHROME_HEADLESS": "1",
52 "SKIA_OUT": "[SLAVE_BUILD]/out"
53 },
54 "name": "get EXTERNAL_STORAGE dir",
55 "stdout": "/path/to/tmp/"
56 },
57 {
58 "cmd": [
59 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
60 "root"
61 ],
62 "env": {
63 "BUILDTYPE": "Release",
64 "CHROME_HEADLESS": "1",
65 "SKIA_OUT": "[SLAVE_BUILD]/out"
66 },
67 "name": "adb root",
68 "stdout": "/path/to/tmp/"
69 },
70 {
71 "cmd": [
72 "sleep",
73 "10"
74 ],
75 "env": {
76 "BUILDTYPE": "Release",
77 "CHROME_HEADLESS": "1",
78 "SKIA_OUT": "[SLAVE_BUILD]/out"
79 },
80 "name": "wait"
81 },
82 {
83 "cmd": [
84 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device"
85 ],
86 "env": {
87 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
88 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
89 "BUILDTYPE": "Release",
90 "CHROME_HEADLESS": "1",
91 "SKIA_ANDROID_VERBOSE_SETUP": "1",
92 "SKIA_OUT": "[SLAVE_BUILD]/out"
93 },
94 "name": "wait for device (2)"
95 },
96 {
97 "cmd": [
98 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
99 ],
100 "env": {
101 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
102 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
103 "BUILDTYPE": "Release",
104 "CHROME_HEADLESS": "1",
105 "SKIA_ANDROID_VERBOSE_SETUP": "1",
106 "SKIA_OUT": "[SLAVE_BUILD]/out"
107 },
108 "name": "wait for charge (2)"
109 },
110 {
111 "cmd": [
112 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia",
113 "--verbose"
114 ],
115 "env": {
116 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
117 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
118 "BUILDTYPE": "Release",
119 "CHROME_HEADLESS": "1",
120 "SKIA_ANDROID_VERBOSE_SETUP": "1",
121 "SKIA_OUT": "[SLAVE_BUILD]/out"
122 },
123 "name": "kill skia"
124 },
125 {
126 "cmd": [
127 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
128 "shell",
129 "stop"
130 ],
131 "env": {
132 "BUILDTYPE": "Release",
133 "CHROME_HEADLESS": "1",
134 "SKIA_OUT": "[SLAVE_BUILD]/out"
135 },
136 "name": "stop shell"
137 },
138 {
139 "cmd": [
140 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
141 "shell",
142 "dumpsys",
143 "batteryproperties"
144 ],
145 "env": {
146 "BUILDTYPE": "Release",
147 "CHROME_HEADLESS": "1",
148 "SKIA_OUT": "[SLAVE_BUILD]/out"
149 },
150 "name": "starting battery stats"
151 },
152 {
153 "cmd": [
154 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
155 "shell",
156 "cat",
157 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
158 ],
159 "env": {
160 "BUILDTYPE": "Release",
161 "CHROME_HEADLESS": "1",
162 "SKIA_OUT": "[SLAVE_BUILD]/out"
163 },
164 "name": "cat scaling_governor"
165 },
166 {
167 "cmd": [
168 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
169 "shell",
170 "cat",
171 "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
172 ],
173 "env": {
174 "BUILDTYPE": "Release",
175 "CHROME_HEADLESS": "1",
176 "SKIA_OUT": "[SLAVE_BUILD]/out"
177 },
178 "name": "cat cpu_freq"
179 },
180 {
181 "cmd": [
182 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed",
183 "--verbose",
184 "[SLAVE_BUILD]/skia/resources",
185 "/storage/emulated/legacy/skiabot/skia_resources"
186 ],
187 "env": {
188 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
189 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
190 "BUILDTYPE": "Release",
191 "CHROME_HEADLESS": "1",
192 "SKIA_ANDROID_VERBOSE_SETUP": "1",
193 "SKIA_OUT": "[SLAVE_BUILD]/out"
194 },
195 "name": "push resources"
196 },
197 {
198 "cmd": [
199 "python",
200 "-u",
201 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
202 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION",
203 "/path/to/tmp/"
204 ],
205 "name": "Get downloaded SKP VERSION"
206 },
207 {
208 "cmd": [
209 "python",
210 "-u",
211 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
212 "42",
213 "[SLAVE_BUILD]/tmp/SKP_VERSION"
214 ],
215 "name": "write SKP_VERSION"
216 },
217 {
218 "cmd": [
219 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
220 "shell",
221 "cat",
222 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION"
223 ],
224 "env": {
225 "BUILDTYPE": "Release",
226 "CHROME_HEADLESS": "1",
227 "SKIA_OUT": "[SLAVE_BUILD]/out"
228 },
229 "name": "read SKP_VERSION",
230 "stdout": "/path/to/tmp/"
231 },
232 {
233 "cmd": [
234 "python",
235 "-u",
236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
237 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION",
238 "/path/to/tmp/"
239 ],
240 "name": "Get downloaded skimage VERSION"
241 },
242 {
243 "cmd": [
244 "python",
245 "-u",
246 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
247 "42",
248 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION"
249 ],
250 "name": "write SK_IMAGE_VERSION"
251 },
252 {
253 "cmd": [
254 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
255 "shell",
256 "cat",
257 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SK_IMAGE_VERSION"
258 ],
259 "env": {
260 "BUILDTYPE": "Release",
261 "CHROME_HEADLESS": "1",
262 "SKIA_OUT": "[SLAVE_BUILD]/out"
263 },
264 "name": "read SK_IMAGE_VERSION",
265 "stdout": "/path/to/tmp/"
266 },
267 {
268 "cmd": [
269 "python",
270 "-u",
271 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
272 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION",
273 "/path/to/tmp/"
274 ],
275 "name": "Get downloaded SVG VERSION"
276 },
277 {
278 "cmd": [
279 "python",
280 "-u",
281 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
282 "42",
283 "[SLAVE_BUILD]/tmp/SVG_VERSION"
284 ],
285 "name": "write SVG_VERSION"
286 },
287 {
288 "cmd": [
289 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
290 "shell",
291 "cat",
292 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION"
293 ],
294 "env": {
295 "BUILDTYPE": "Release",
296 "CHROME_HEADLESS": "1",
297 "SKIA_OUT": "[SLAVE_BUILD]/out"
298 },
299 "name": "read SVG_VERSION",
300 "stdout": "/path/to/tmp/"
301 },
302 {
303 "cmd": [
304 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
305 "shell",
306 "rm",
307 "-r",
308 "/storage/emulated/legacy/skiabot/skia_perf"
309 ],
310 "env": {
311 "BUILDTYPE": "Release",
312 "CHROME_HEADLESS": "1",
313 "SKIA_OUT": "[SLAVE_BUILD]/out"
314 },
315 "name": "rmdir skia_perf"
316 },
317 {
318 "cmd": [
319 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
320 "shell",
321 "if",
322 "[",
323 "-e",
324 "/storage/emulated/legacy/skiabot/skia_perf",
325 "];",
326 "then",
327 "echo",
328 "FILE_EXISTS;",
329 "fi"
330 ],
331 "env": {
332 "BUILDTYPE": "Release",
333 "CHROME_HEADLESS": "1",
334 "SKIA_OUT": "[SLAVE_BUILD]/out"
335 },
336 "name": "exists skia_perf",
337 "stdout": "/path/to/tmp/"
338 },
339 {
340 "cmd": [
341 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
342 "shell",
343 "mkdir",
344 "-p",
345 "/storage/emulated/legacy/skiabot/skia_perf"
346 ],
347 "env": {
348 "BUILDTYPE": "Release",
349 "CHROME_HEADLESS": "1",
350 "SKIA_OUT": "[SLAVE_BUILD]/out"
351 },
352 "name": "mkdir skia_perf"
353 },
354 {
355 "cmd": [
356 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia",
357 "--verbose",
358 "--logcat",
359 "-d",
360 "arm_v7_neon",
361 "-t",
362 "Release",
363 "nanobench",
364 "--undefok",
365 "-i",
366 "/storage/emulated/legacy/skiabot/skia_resources",
367 "--skps",
368 "/storage/emulated/legacy/skiabot/skia_skp/skps",
369 "--images",
370 "/storage/emulated/legacy/skiabot/skia_images/nanobench",
371 "--nocpu",
372 "--pre_log",
373 "--images",
374 "--gpuStatsDump",
375 "true",
376 "--useThermalManager",
377 "1,1,10,1000",
378 "--scales",
379 "1.0",
380 "1.1",
381 "--config",
382 "8888",
383 "gpu",
384 "nonrendering",
385 "angle",
386 "hwui",
387 "f16",
388 "srgb",
389 "msaa4",
390 "nvpr4",
391 "nvprdit4",
392 "esinst",
393 "--match",
394 "~blurroundrect",
395 "~patch_grid",
396 "~desk_carsvg",
397 "~inc0.gif",
398 "~inc1.gif",
399 "~incInterlaced.gif",
400 "~inc0.jpg",
401 "~incGray.jpg",
402 "~inc0.wbmp",
403 "~inc1.wbmp",
404 "~inc0.webp",
405 "~inc1.webp",
406 "~inc0.ico",
407 "~inc1.ico",
408 "~inc0.png",
409 "~inc1.png",
410 "~inc2.png",
411 "~inc12.png",
412 "~inc13.png",
413 "~inc14.png",
414 "~inc0.webp",
415 "~inc1.webp",
416 "--outResultsFile",
417 "/storage/emulated/legacy/skiabot/skia_perf/nanobench_abc123.json",
418 "--properties",
419 "gitHash",
420 "abc123",
421 "build_number",
422 "5",
423 "--key",
424 "arch",
425 "Arm7",
426 "compiler",
427 "GCC",
428 "cpu_or_gpu",
429 "GPU",
430 "cpu_or_gpu_value",
431 "Adreno420",
432 "model",
433 "Nexus6",
434 "os",
435 "Android"
436 ],
437 "env": {
438 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
439 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
440 "BUILDTYPE": "Release",
441 "CHROME_HEADLESS": "1",
442 "SKIA_ANDROID_VERBOSE_SETUP": "1",
443 "SKIA_OUT": "[SLAVE_BUILD]/out"
444 },
445 "name": "nanobench"
446 },
447 {
448 "cmd": [
449 "python",
450 "-u",
451 "\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",
452 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Android-GCC-Nexus6-GPU-Adreno420-A rm7-Release/data",
453 "511"
454 ],
455 "name": "makedirs perf_dir",
456 "~followup_annotations": [
457 "@@@STEP_LOG_LINE@python.inline@@@@",
458 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
459 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
460 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
461 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
462 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
463 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
464 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
465 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
466 "@@@STEP_LOG_END@python.inline@@@"
467 ]
468 },
469 {
470 "cmd": [
471 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed",
472 "--verbose",
473 "/storage/emulated/legacy/skiabot/skia_perf",
474 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Android-GCC-Nexus6-GPU-Adreno420-A rm7-Release/data"
475 ],
476 "env": {
477 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
478 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
479 "BUILDTYPE": "Release",
480 "CHROME_HEADLESS": "1",
481 "SKIA_ANDROID_VERBOSE_SETUP": "1",
482 "SKIA_OUT": "[SLAVE_BUILD]/out"
483 },
484 "name": "pull skia_perf"
485 },
486 {
487 "cmd": [
488 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
489 "shell",
490 "dumpsys",
491 "batteryproperties"
492 ],
493 "env": {
494 "BUILDTYPE": "Release",
495 "CHROME_HEADLESS": "1",
496 "SKIA_OUT": "[SLAVE_BUILD]/out"
497 },
498 "name": "final battery stats"
499 },
500 {
501 "cmd": [
502 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
503 "reboot"
504 ],
505 "env": {
506 "BUILDTYPE": "Release",
507 "CHROME_HEADLESS": "1",
508 "SKIA_OUT": "[SLAVE_BUILD]/out"
509 },
510 "name": "reboot"
511 },
512 {
513 "cmd": [
514 "sleep",
515 "10"
516 ],
517 "env": {
518 "BUILDTYPE": "Release",
519 "CHROME_HEADLESS": "1",
520 "SKIA_OUT": "[SLAVE_BUILD]/out"
521 },
522 "name": "wait for reboot"
523 },
524 {
525 "cmd": [
526 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device"
527 ],
528 "env": {
529 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
530 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
531 "BUILDTYPE": "Release",
532 "CHROME_HEADLESS": "1",
533 "SKIA_ANDROID_VERBOSE_SETUP": "1",
534 "SKIA_OUT": "[SLAVE_BUILD]/out"
535 },
536 "name": "wait for device (3)"
537 },
538 {
539 "cmd": [
540 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
541 ],
542 "env": {
543 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
544 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
545 "BUILDTYPE": "Release",
546 "CHROME_HEADLESS": "1",
547 "SKIA_ANDROID_VERBOSE_SETUP": "1",
548 "SKIA_OUT": "[SLAVE_BUILD]/out"
549 },
550 "name": "wait for charge (3)"
551 },
552 {
553 "cmd": [
554 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
555 "kill-server"
556 ],
557 "env": {
558 "BUILDTYPE": "Release",
559 "CHROME_HEADLESS": "1",
560 "SKIA_OUT": "[SLAVE_BUILD]/out"
561 },
562 "name": "kill-server"
563 },
564 {
565 "name": "$result",
566 "recipe_result": null,
567 "status_code": 0
568 }
569 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698