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

Side by Side Diff: infra/bots/recipes/swarm_perf.expected/Perf-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Debug.json

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

Powered by Google App Engine
This is Rietveld 408576698