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

Side by Side Diff: infra/bots/recipes/swarm_test.expected/failed_get_hashes.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
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "which", 4 "adb",
5 "adb" 5 "shell",
6 ], 6 "mkdir",
7 "name": "which adb", 7 "-p",
8 "stdout": "/path/to/tmp/", 8 "/sdcard/revenge_of_the_skiabot/resources"
9 ],
10 "cwd": "[SLAVE_BUILD]/skia",
11 "name": "mkdir /sdcard/revenge_of_the_skiabot/resources"
12 },
13 {
14 "cmd": [
15 "python",
16 "-u",
17 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os. path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os .path.join(device, p, f)])\n",
18 "[SLAVE_BUILD]/skia/resources",
19 "/sdcard/revenge_of_the_skiabot/resources"
20 ],
21 "cwd": "[SLAVE_BUILD]/skia",
22 "name": "push [SLAVE_BUILD]/skia/resources/* /sdcard/revenge_of_the_skiabot/ resources",
9 "~followup_annotations": [ 23 "~followup_annotations": [
10 "step returned non-zero exit code: 1", 24 "@@@STEP_LOG_LINE@python.inline@@@@",
11 "@@@STEP_EXCEPTION@@@" 25 "@@@STEP_LOG_LINE@python.inline@import os@@@",
26 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
27 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
28 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
29 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
30 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
31 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
32 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
33 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
34 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
35 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
36 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@ @@",
37 "@@@STEP_LOG_LINE@python.inline@ os.path.realpat h(os.path.join(host, p, f)),@@@",
38 "@@@STEP_LOG_LINE@python.inline@ os.path.join(de vice, p, f)])@@@",
39 "@@@STEP_LOG_END@python.inline@@@"
12 ] 40 ]
13 }, 41 },
14 { 42 {
15 "cmd": [ 43 "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", 44 "python",
200 "-u", 45 "-u",
201 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 46 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
202 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", 47 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION",
203 "/path/to/tmp/" 48 "/path/to/tmp/"
204 ], 49 ],
205 "name": "Get downloaded SKP VERSION" 50 "name": "Get downloaded SKP VERSION"
206 }, 51 },
207 { 52 {
208 "cmd": [ 53 "cmd": [
209 "python", 54 "python",
210 "-u", 55 "-u",
211 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 56 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
212 "42", 57 "42",
213 "[SLAVE_BUILD]/tmp/SKP_VERSION" 58 "[SLAVE_BUILD]/tmp/SKP_VERSION"
214 ], 59 ],
215 "name": "write SKP_VERSION" 60 "name": "write SKP_VERSION"
216 }, 61 },
217 { 62 {
218 "cmd": [ 63 "cmd": [
219 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 64 "adb",
220 "shell", 65 "shell",
221 "cat", 66 "cat",
222 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" 67 "/sdcard/revenge_of_the_skiabot/SKP_VERSION"
223 ], 68 ],
224 "env": { 69 "cwd": "[SLAVE_BUILD]/skia",
225 "BUILDTYPE": "Debug", 70 "name": "read /sdcard/revenge_of_the_skiabot/SKP_VERSION",
226 "CHROME_HEADLESS": "1",
227 "SKIA_OUT": "[SLAVE_BUILD]/out"
228 },
229 "name": "read SKP_VERSION",
230 "stdout": "/path/to/tmp/" 71 "stdout": "/path/to/tmp/"
231 }, 72 },
232 { 73 {
233 "cmd": [ 74 "cmd": [
75 "adb",
76 "shell",
77 "rm",
78 "-f",
79 "/sdcard/revenge_of_the_skiabot/SKP_VERSION"
80 ],
81 "cwd": "[SLAVE_BUILD]/skia",
82 "name": "rm /sdcard/revenge_of_the_skiabot/SKP_VERSION"
83 },
84 {
85 "cmd": [
86 "adb",
87 "shell",
88 "rm",
89 "-rf",
90 "/sdcard/revenge_of_the_skiabot/skps"
91 ],
92 "cwd": "[SLAVE_BUILD]/skia",
93 "name": "rm /sdcard/revenge_of_the_skiabot/skps"
94 },
95 {
96 "cmd": [
97 "adb",
98 "shell",
99 "mkdir",
100 "-p",
101 "/sdcard/revenge_of_the_skiabot/skps"
102 ],
103 "cwd": "[SLAVE_BUILD]/skia",
104 "name": "mkdir /sdcard/revenge_of_the_skiabot/skps"
105 },
106 {
107 "cmd": [
108 "python",
109 "-u",
110 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os. path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os .path.join(device, p, f)])\n",
111 "[SLAVE_BUILD]/skp",
112 "/sdcard/revenge_of_the_skiabot/skps"
113 ],
114 "cwd": "[SLAVE_BUILD]/skia",
115 "name": "push [SLAVE_BUILD]/skp/* /sdcard/revenge_of_the_skiabot/skps",
116 "~followup_annotations": [
117 "@@@STEP_LOG_LINE@python.inline@@@@",
118 "@@@STEP_LOG_LINE@python.inline@import os@@@",
119 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
120 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
121 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
122 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
123 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
124 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
125 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
126 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
127 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
128 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
129 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@ @@",
130 "@@@STEP_LOG_LINE@python.inline@ os.path.realpat h(os.path.join(host, p, f)),@@@",
131 "@@@STEP_LOG_LINE@python.inline@ os.path.join(de vice, p, f)])@@@",
132 "@@@STEP_LOG_END@python.inline@@@"
133 ]
134 },
135 {
136 "cmd": [
137 "adb",
138 "push",
139 "[SLAVE_BUILD]/tmp/SKP_VERSION",
140 "/sdcard/revenge_of_the_skiabot/SKP_VERSION"
141 ],
142 "cwd": "[SLAVE_BUILD]/skia",
143 "name": "push [SLAVE_BUILD]/tmp/SKP_VERSION /sdcard/revenge_of_the_skiabot/S KP_VERSION"
144 },
145 {
146 "cmd": [
234 "python", 147 "python",
235 "-u", 148 "-u",
236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 149 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
237 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION", 150 "[SLAVE_BUILD]/skia/infra/bots/assets/skimage/VERSION",
238 "/path/to/tmp/" 151 "/path/to/tmp/"
239 ], 152 ],
240 "name": "Get downloaded skimage VERSION" 153 "name": "Get downloaded skimage VERSION"
241 }, 154 },
242 { 155 {
243 "cmd": [ 156 "cmd": [
157 "python",
158 "-u",
159 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
160 "42",
161 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION"
162 ],
163 "name": "write SK_IMAGE_VERSION"
164 },
165 {
166 "cmd": [
167 "adb",
168 "shell",
169 "cat",
170 "/sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
171 ],
172 "cwd": "[SLAVE_BUILD]/skia",
173 "name": "read /sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION",
174 "stdout": "/path/to/tmp/"
175 },
176 {
177 "cmd": [
178 "adb",
179 "shell",
180 "rm",
181 "-f",
182 "/sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
183 ],
184 "cwd": "[SLAVE_BUILD]/skia",
185 "name": "rm /sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
186 },
187 {
188 "cmd": [
189 "adb",
190 "shell",
191 "rm",
192 "-rf",
193 "/sdcard/revenge_of_the_skiabot/images"
194 ],
195 "cwd": "[SLAVE_BUILD]/skia",
196 "name": "rm /sdcard/revenge_of_the_skiabot/images"
197 },
198 {
199 "cmd": [
200 "adb",
201 "shell",
202 "mkdir",
203 "-p",
204 "/sdcard/revenge_of_the_skiabot/images"
205 ],
206 "cwd": "[SLAVE_BUILD]/skia",
207 "name": "mkdir /sdcard/revenge_of_the_skiabot/images"
208 },
209 {
210 "cmd": [
211 "python",
212 "-u",
213 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os. path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os .path.join(device, p, f)])\n",
214 "[SLAVE_BUILD]/skimage",
215 "/sdcard/revenge_of_the_skiabot/images"
216 ],
217 "cwd": "[SLAVE_BUILD]/skia",
218 "name": "push [SLAVE_BUILD]/skimage/* /sdcard/revenge_of_the_skiabot/images" ,
219 "~followup_annotations": [
220 "@@@STEP_LOG_LINE@python.inline@@@@",
221 "@@@STEP_LOG_LINE@python.inline@import os@@@",
222 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
223 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
224 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
225 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
226 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
227 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
228 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
229 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
230 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
231 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
232 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@ @@",
233 "@@@STEP_LOG_LINE@python.inline@ os.path.realpat h(os.path.join(host, p, f)),@@@",
234 "@@@STEP_LOG_LINE@python.inline@ os.path.join(de vice, p, f)])@@@",
235 "@@@STEP_LOG_END@python.inline@@@"
236 ]
237 },
238 {
239 "cmd": [
240 "adb",
241 "push",
242 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION",
243 "/sdcard/revenge_of_the_skiabot/SK_IMAGE_VERSION"
244 ],
245 "cwd": "[SLAVE_BUILD]/skia",
246 "name": "push [SLAVE_BUILD]/tmp/SK_IMAGE_VERSION /sdcard/revenge_of_the_skia bot/SK_IMAGE_VERSION"
247 },
248 {
249 "cmd": [
250 "python",
251 "-u",
252 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
253 "[SLAVE_BUILD]/skia/infra/bots/assets/svg/VERSION",
254 "/path/to/tmp/"
255 ],
256 "name": "Get downloaded SVG VERSION"
257 },
258 {
259 "cmd": [
244 "python", 260 "python",
245 "-u", 261 "-u",
246 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 262 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
247 "42", 263 "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 },
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" 264 "[SLAVE_BUILD]/tmp/SVG_VERSION"
284 ], 265 ],
285 "name": "write SVG_VERSION" 266 "name": "write SVG_VERSION"
286 }, 267 },
287 { 268 {
288 "cmd": [ 269 "cmd": [
289 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 270 "adb",
290 "shell", 271 "shell",
291 "cat", 272 "cat",
292 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SVG_VERSION" 273 "/sdcard/revenge_of_the_skiabot/SVG_VERSION"
293 ], 274 ],
294 "env": { 275 "cwd": "[SLAVE_BUILD]/skia",
295 "BUILDTYPE": "Debug", 276 "name": "read /sdcard/revenge_of_the_skiabot/SVG_VERSION",
296 "CHROME_HEADLESS": "1",
297 "SKIA_OUT": "[SLAVE_BUILD]/out"
298 },
299 "name": "read SVG_VERSION",
300 "stdout": "/path/to/tmp/" 277 "stdout": "/path/to/tmp/"
301 }, 278 },
302 { 279 {
303 "cmd": [ 280 "cmd": [
281 "adb",
282 "shell",
283 "rm",
284 "-f",
285 "/sdcard/revenge_of_the_skiabot/SVG_VERSION"
286 ],
287 "cwd": "[SLAVE_BUILD]/skia",
288 "name": "rm /sdcard/revenge_of_the_skiabot/SVG_VERSION"
289 },
290 {
291 "cmd": [
292 "adb",
293 "shell",
294 "rm",
295 "-rf",
296 "/sdcard/revenge_of_the_skiabot/svgs"
297 ],
298 "cwd": "[SLAVE_BUILD]/skia",
299 "name": "rm /sdcard/revenge_of_the_skiabot/svgs"
300 },
301 {
302 "cmd": [
303 "adb",
304 "shell",
305 "mkdir",
306 "-p",
307 "/sdcard/revenge_of_the_skiabot/svgs"
308 ],
309 "cwd": "[SLAVE_BUILD]/skia",
310 "name": "mkdir /sdcard/revenge_of_the_skiabot/svgs"
311 },
312 {
313 "cmd": [
314 "python",
315 "-u",
316 "\nimport os\nimport subprocess\nimport sys\nhost = sys.argv[1]\ndevice = sys.argv[2]\nfor d, _, fs in os.walk(host):\n p = os.path.relpath(d, host)\n if p != '.' and p.startswith('.'):\n continue\n for f in fs:\n print os. path.join(p,f)\n subprocess.check_call(['adb', 'push',\n os.path.realpath(os.path.join(host, p, f)),\n os .path.join(device, p, f)])\n",
317 "[SLAVE_BUILD]/svg",
318 "/sdcard/revenge_of_the_skiabot/svgs"
319 ],
320 "cwd": "[SLAVE_BUILD]/skia",
321 "name": "push [SLAVE_BUILD]/svg/* /sdcard/revenge_of_the_skiabot/svgs",
322 "~followup_annotations": [
323 "@@@STEP_LOG_LINE@python.inline@@@@",
324 "@@@STEP_LOG_LINE@python.inline@import os@@@",
325 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
326 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
327 "@@@STEP_LOG_LINE@python.inline@host = sys.argv[1]@@@",
328 "@@@STEP_LOG_LINE@python.inline@device = sys.argv[2]@@@",
329 "@@@STEP_LOG_LINE@python.inline@for d, _, fs in os.walk(host):@@@",
330 "@@@STEP_LOG_LINE@python.inline@ p = os.path.relpath(d, host)@@@",
331 "@@@STEP_LOG_LINE@python.inline@ if p != '.' and p.startswith('.'):@@@",
332 "@@@STEP_LOG_LINE@python.inline@ continue@@@",
333 "@@@STEP_LOG_LINE@python.inline@ for f in fs:@@@",
334 "@@@STEP_LOG_LINE@python.inline@ print os.path.join(p,f)@@@",
335 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call(['adb', 'push',@ @@",
336 "@@@STEP_LOG_LINE@python.inline@ os.path.realpat h(os.path.join(host, p, f)),@@@",
337 "@@@STEP_LOG_LINE@python.inline@ os.path.join(de vice, p, f)])@@@",
338 "@@@STEP_LOG_END@python.inline@@@"
339 ]
340 },
341 {
342 "cmd": [
343 "adb",
344 "push",
345 "[SLAVE_BUILD]/tmp/SVG_VERSION",
346 "/sdcard/revenge_of_the_skiabot/SVG_VERSION"
347 ],
348 "cwd": "[SLAVE_BUILD]/skia",
349 "name": "push [SLAVE_BUILD]/tmp/SVG_VERSION /sdcard/revenge_of_the_skiabot/S VG_VERSION"
350 },
351 {
352 "cmd": [
304 "python", 353 "python",
305 "-u", 354 "-u",
306 "\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", 355 "\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",
307 "[CUSTOM_[SWARM_OUT_DIR]]/dm" 356 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
308 ], 357 ],
309 "env": { 358 "env": {
310 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" 359 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts"
311 }, 360 },
312 "name": "rmtree dm", 361 "name": "rmtree dm",
313 "~followup_annotations": [ 362 "~followup_annotations": [
(...skipping 24 matching lines...) Expand all
338 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 387 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
339 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 388 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
340 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 389 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
341 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 390 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
342 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 391 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
343 "@@@STEP_LOG_END@python.inline@@@" 392 "@@@STEP_LOG_END@python.inline@@@"
344 ] 393 ]
345 }, 394 },
346 { 395 {
347 "cmd": [ 396 "cmd": [
348 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 397 "adb",
349 "shell", 398 "shell",
350 "rm", 399 "rm",
351 "-r", 400 "-rf",
352 "/storage/emulated/legacy/skiabot/skia_dm" 401 "/sdcard/revenge_of_the_skiabot/dm_out"
353 ], 402 ],
354 "env": { 403 "cwd": "[SLAVE_BUILD]/skia",
355 "BUILDTYPE": "Debug", 404 "name": "rm /sdcard/revenge_of_the_skiabot/dm_out"
356 "CHROME_HEADLESS": "1",
357 "SKIA_OUT": "[SLAVE_BUILD]/out"
358 },
359 "name": "rmdir skia_dm"
360 }, 405 },
361 { 406 {
362 "cmd": [ 407 "cmd": [
363 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 408 "adb",
364 "shell", 409 "shell",
365 "if", 410 "mkdir",
366 "[", 411 "-p",
367 "-e", 412 "/sdcard/revenge_of_the_skiabot/dm_out"
368 "/storage/emulated/legacy/skiabot/skia_dm",
369 "];",
370 "then",
371 "echo",
372 "FILE_EXISTS;",
373 "fi"
374 ], 413 ],
375 "env": { 414 "cwd": "[SLAVE_BUILD]/skia",
376 "BUILDTYPE": "Debug", 415 "name": "mkdir /sdcard/revenge_of_the_skiabot/dm_out"
377 "CHROME_HEADLESS": "1",
378 "SKIA_OUT": "[SLAVE_BUILD]/out"
379 },
380 "name": "exists skia_dm",
381 "stdout": "/path/to/tmp/"
382 }, 416 },
383 { 417 {
384 "cmd": [ 418 "cmd": [
385 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
386 "shell",
387 "mkdir",
388 "-p",
389 "/storage/emulated/legacy/skiabot/skia_dm"
390 ],
391 "env": {
392 "BUILDTYPE": "Debug",
393 "CHROME_HEADLESS": "1",
394 "SKIA_OUT": "[SLAVE_BUILD]/out"
395 },
396 "name": "mkdir skia_dm"
397 },
398 {
399 "cmd": [
400 "python", 419 "python",
401 "-u", 420 "-u",
402 "\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", 421 "\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",
403 "[SLAVE_BUILD]/tmp", 422 "[SLAVE_BUILD]/tmp",
404 "511" 423 "511"
405 ], 424 ],
406 "name": "makedirs tmp_dir", 425 "name": "makedirs tmp_dir",
407 "~followup_annotations": [ 426 "~followup_annotations": [
408 "@@@STEP_LOG_LINE@python.inline@@@@", 427 "@@@STEP_LOG_LINE@python.inline@@@@",
409 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 428 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
410 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 429 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
411 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 430 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
412 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 431 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
413 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 432 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
414 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 433 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
415 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 434 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
416 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 435 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
417 "@@@STEP_LOG_END@python.inline@@@" 436 "@@@STEP_LOG_END@python.inline@@@"
418 ] 437 ]
419 }, 438 },
420 { 439 {
421 "cmd": [ 440 "cmd": [
422 "python", 441 "python",
423 "-u", 442 "-u",
424 "\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", 443 "\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",
425 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" 444 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt"
426 ], 445 ],
427 "cwd": "[SLAVE_BUILD]/skia", 446 "cwd": "[SLAVE_BUILD]/skia",
428 "env": {
429 "BUILDTYPE": "Debug",
430 "CHROME_HEADLESS": "1",
431 "SKIA_OUT": "[SLAVE_BUILD]/out"
432 },
433 "name": "get uninteresting hashes", 447 "name": "get uninteresting hashes",
434 "~followup_annotations": [ 448 "~followup_annotations": [
435 "step returned non-zero exit code: 1", 449 "step returned non-zero exit code: 1",
436 "@@@STEP_LOG_LINE@python.inline@@@@", 450 "@@@STEP_LOG_LINE@python.inline@@@@",
437 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", 451 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
438 "@@@STEP_LOG_LINE@python.inline@import math@@@", 452 "@@@STEP_LOG_LINE@python.inline@import math@@@",
439 "@@@STEP_LOG_LINE@python.inline@import socket@@@", 453 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
440 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 454 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
441 "@@@STEP_LOG_LINE@python.inline@import time@@@", 455 "@@@STEP_LOG_LINE@python.inline@import time@@@",
442 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", 456 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
(...skipping 19 matching lines...) Expand all
462 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 476 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
463 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@", 477 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret ry)@@@",
464 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@", 478 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim e@@@",
465 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", 479 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
466 "@@@STEP_LOG_END@python.inline@@@", 480 "@@@STEP_LOG_END@python.inline@@@",
467 "@@@STEP_EXCEPTION@@@" 481 "@@@STEP_EXCEPTION@@@"
468 ] 482 ]
469 }, 483 },
470 { 484 {
471 "cmd": [ 485 "cmd": [
472 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 486 "adb",
473 "push", 487 "push",
474 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", 488 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt",
475 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt" 489 "/sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt"
476 ], 490 ],
477 "env": { 491 "cwd": "[SLAVE_BUILD]/skia",
478 "BUILDTYPE": "Debug", 492 "name": "push [SLAVE_BUILD]/tmp/uninteresting_hashes.txt /sdcard/revenge_of_ the_skiabot/uninteresting_hashes.txt"
479 "CHROME_HEADLESS": "1",
480 "SKIA_OUT": "[SLAVE_BUILD]/out"
481 },
482 "name": "push uninteresting_hashes.txt"
483 }, 493 },
484 { 494 {
485 "cmd": [ 495 "cmd": [
486 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_run_skia", 496 "adb",
487 "--verbose", 497 "push",
488 "--logcat", 498 "[SLAVE_BUILD]/out/Debug/dm",
489 "-d", 499 "/data/local/tmp/"
490 "arm_v7_neon",
491 "-t",
492 "Debug",
493 "dm",
494 "--undefok",
495 "--resourcePath",
496 "/storage/emulated/legacy/skiabot/skia_resources",
497 "--skps",
498 "/storage/emulated/legacy/skiabot/skia_skp/skps",
499 "--images",
500 "/storage/emulated/legacy/skiabot/skia_images/dm",
501 "--colorImages",
502 "/storage/emulated/legacy/skiabot/skia_images/colorspace",
503 "--nameByHash",
504 "--properties",
505 "gitHash",
506 "abc123",
507 "master",
508 "client.skia",
509 "builder",
510 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug",
511 "build_number",
512 "6",
513 "--svgs",
514 "/storage/emulated/legacy/skiabot/skia_svg/svgs",
515 "--key",
516 "arch",
517 "Arm7",
518 "compiler",
519 "GCC",
520 "configuration",
521 "Debug",
522 "cpu_or_gpu",
523 "GPU",
524 "cpu_or_gpu_value",
525 "Tegra3",
526 "model",
527 "Nexus7",
528 "os",
529 "Android",
530 "--uninterestingHashesFile",
531 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt",
532 "--writePath",
533 "/storage/emulated/legacy/skiabot/skia_dm",
534 "--nocpu",
535 "--config",
536 "8888",
537 "gpu",
538 "gpusrgb",
539 "serialize-8888",
540 "tiles_rt-8888",
541 "pic-8888",
542 "--src",
543 "tests",
544 "gm",
545 "image",
546 "colorImage",
547 "svg",
548 "--blacklist",
549 "gpusrgb",
550 "image",
551 "_",
552 "_",
553 "_",
554 "test",
555 "_",
556 "GrShape",
557 "serialize-8888",
558 "gm",
559 "_",
560 "bleed_image",
561 "serialize-8888",
562 "gm",
563 "_",
564 "c_gms",
565 "serialize-8888",
566 "gm",
567 "_",
568 "colortype",
569 "serialize-8888",
570 "gm",
571 "_",
572 "colortype_xfermodes",
573 "serialize-8888",
574 "gm",
575 "_",
576 "drawfilter",
577 "serialize-8888",
578 "gm",
579 "_",
580 "fontmgr_bounds_0.75_0",
581 "serialize-8888",
582 "gm",
583 "_",
584 "fontmgr_bounds_1_-0.25",
585 "serialize-8888",
586 "gm",
587 "_",
588 "fontmgr_bounds",
589 "serialize-8888",
590 "gm",
591 "_",
592 "fontmgr_match",
593 "serialize-8888",
594 "gm",
595 "_",
596 "fontmgr_iter",
597 "serialize-8888",
598 "gm",
599 "_",
600 "imagemasksubset",
601 "serialize-8888",
602 "gm",
603 "_",
604 "bitmapfilters",
605 "serialize-8888",
606 "gm",
607 "_",
608 "bitmapshaders",
609 "serialize-8888",
610 "gm",
611 "_",
612 "bleed",
613 "serialize-8888",
614 "gm",
615 "_",
616 "bleed_alpha_bmp",
617 "serialize-8888",
618 "gm",
619 "_",
620 "bleed_alpha_bmp_shader",
621 "serialize-8888",
622 "gm",
623 "_",
624 "convex_poly_clip",
625 "serialize-8888",
626 "gm",
627 "_",
628 "extractalpha",
629 "serialize-8888",
630 "gm",
631 "_",
632 "filterbitmap_checkerboard_32_32_g8",
633 "serialize-8888",
634 "gm",
635 "_",
636 "filterbitmap_image_mandrill_64",
637 "serialize-8888",
638 "gm",
639 "_",
640 "shadows",
641 "serialize-8888",
642 "gm",
643 "_",
644 "simpleaaclip_aaclip",
645 "serialize-8888",
646 "gm",
647 "_",
648 "composeshader_bitmap",
649 "serialize-8888",
650 "gm",
651 "_",
652 "scaled_tilemodes_npot",
653 "serialize-8888",
654 "gm",
655 "_",
656 "scaled_tilemodes",
657 "serialize-8888",
658 "gm",
659 "_",
660 "bleed_alpha_image",
661 "serialize-8888",
662 "gm",
663 "_",
664 "bleed_alpha_image_shader",
665 "serialize-8888",
666 "gm",
667 "_",
668 "verylargebitmap",
669 "serialize-8888",
670 "gm",
671 "_",
672 "verylarge_picture_image",
673 "pic-8888",
674 "gm",
675 "_",
676 "drawfilter",
677 "pic-8888",
678 "gm",
679 "_",
680 "image-cacherator-from-picture",
681 "serialize-8888",
682 "gm",
683 "_",
684 "image-cacherator-from-picture",
685 "pic-8888",
686 "gm",
687 "_",
688 "image-cacherator-from-raster",
689 "serialize-8888",
690 "gm",
691 "_",
692 "image-cacherator-from-raster",
693 "pic-8888",
694 "gm",
695 "_",
696 "image-cacherator-from-ctable",
697 "serialize-8888",
698 "gm",
699 "_",
700 "image-cacherator-from-ctable",
701 "pic-8888",
702 "gm",
703 "_",
704 "gamut",
705 "serialize-8888",
706 "gm",
707 "_",
708 "gamut",
709 "_",
710 "image",
711 "_",
712 "interlaced1.png",
713 "_",
714 "image",
715 "_",
716 "interlaced2.png",
717 "_",
718 "image",
719 "_",
720 "interlaced3.png",
721 "_",
722 "image",
723 "_",
724 ".arw",
725 "_",
726 "image",
727 "_",
728 ".cr2",
729 "_",
730 "image",
731 "_",
732 ".dng",
733 "_",
734 "image",
735 "_",
736 ".nef",
737 "_",
738 "image",
739 "_",
740 ".nrw",
741 "_",
742 "image",
743 "_",
744 ".orf",
745 "_",
746 "image",
747 "_",
748 ".raf",
749 "_",
750 "image",
751 "_",
752 ".rw2",
753 "_",
754 "image",
755 "_",
756 ".pef",
757 "_",
758 "image",
759 "_",
760 ".srw",
761 "_",
762 "image",
763 "_",
764 ".ARW",
765 "_",
766 "image",
767 "_",
768 ".CR2",
769 "_",
770 "image",
771 "_",
772 ".DNG",
773 "_",
774 "image",
775 "_",
776 ".NEF",
777 "_",
778 "image",
779 "_",
780 ".NRW",
781 "_",
782 "image",
783 "_",
784 ".ORF",
785 "_",
786 "image",
787 "_",
788 ".RAF",
789 "_",
790 "image",
791 "_",
792 ".RW2",
793 "_",
794 "image",
795 "_",
796 ".PEF",
797 "_",
798 "image",
799 "_",
800 ".SRW"
801 ], 500 ],
802 "env": { 501 "cwd": "[SLAVE_BUILD]/skia",
803 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk", 502 "name": "push dm"
804 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
805 "BUILDTYPE": "Debug",
806 "CHROME_HEADLESS": "1",
807 "SKIA_ANDROID_VERBOSE_SETUP": "1",
808 "SKIA_OUT": "[SLAVE_BUILD]/out"
809 },
810 "name": "dm"
811 }, 503 },
812 { 504 {
813 "cmd": [ 505 "cmd": [
814 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", 506 "python",
815 "--verbose", 507 "-u",
816 "/storage/emulated/legacy/skiabot/skia_dm", 508 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
817 "[CUSTOM_[SWARM_OUT_DIR]]/dm" 509 "set -x; /data/local/tmp/dm --undefok --resourcePath /sdcard/revenge_of_th e_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/ revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/im ages/colorspace --nameByHash --properties gitHash abc123 master client.skia buil der Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-GN_Android build_number 6 --s vgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang configurat ion Debug cpu_or_gpu GPU cpu_or_gpu_value Tegra3 extra_config GN_Android model N exus7 os Android --uninterestingHashesFile /sdcard/revenge_of_the_skiabot/uninte resting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out --nocpu --c onfig 8888 gpu gpusrgb serialize-8888 tiles_rt-8888 pic-8888 --src tests gm imag e colorImage svg --blacklist gpusrgb image _ _ _ test _ GrShape serialize-8888 g m _ bleed_image serialize-8888 gm _ c_gms serialize-8888 gm _ colortype serializ e-8888 gm _ colortype_xfermodes serialize-8888 gm _ drawfilter serialize-8888 gm _ fontmgr_bounds_0.75_0 serialize-8888 gm _ fontmgr_bounds_1_-0.25 serialize-88 88 gm _ fontmgr_bounds serialize-8888 gm _ fontmgr_match serialize-8888 gm _ fon tmgr_iter serialize-8888 gm _ imagemasksubset serialize-8888 gm _ bitmapfilters serialize-8888 gm _ bitmapshaders serialize-8888 gm _ bleed serialize-8888 gm _ bleed_alpha_bmp serialize-8888 gm _ bleed_alpha_bmp_shader serialize-8888 gm _ c onvex_poly_clip serialize-8888 gm _ extractalpha serialize-8888 gm _ filterbitma p_checkerboard_32_32_g8 serialize-8888 gm _ filterbitmap_image_mandrill_64 seria lize-8888 gm _ shadows serialize-8888 gm _ simpleaaclip_aaclip serialize-8888 gm _ composeshader_bitmap serialize-8888 gm _ scaled_tilemodes_npot serialize-8888 gm _ scaled_tilemodes serialize-8888 gm _ bleed_alpha_image serialize-8888 gm _ bleed_alpha_image_shader serialize-8888 gm _ verylargebitmap serialize-8888 gm _ verylarge_picture_image pic-8888 gm _ drawfilter pic-8888 gm _ image-cacherato r-from-picture serialize-8888 gm _ image-cacherator-from-picture pic-8888 gm _ i mage-cacherator-from-raster serialize-8888 gm _ image-cacherator-from-raster pic -8888 gm _ image-cacherator-from-ctable serialize-8888 gm _ image-cacherator-fro m-ctable pic-8888 gm _ gamut serialize-8888 gm _ gamut _ image _ interlaced1.png _ image _ interlaced2.png _ image _ interlaced3.png _ image _ .arw _ image _ .c r2 _ image _ .dng _ image _ .nef _ image _ .nrw _ image _ .orf _ image _ .raf _ image _ .rw2 _ image _ .pef _ image _ .srw _ image _ .ARW _ image _ .CR2 _ image _ .DNG _ image _ .NEF _ image _ .NRW _ image _ .ORF _ image _ .RAF _ image _ .R W2 _ image _ .PEF _ image _ .SRW; echo $? >/data/local/tmp/rc",
510 "[SLAVE_BUILD]/tmp/dm.sh"
818 ], 511 ],
819 "env": { 512 "name": "write dm.sh"
820 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
821 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
822 "BUILDTYPE": "Debug",
823 "CHROME_HEADLESS": "1",
824 "SKIA_ANDROID_VERBOSE_SETUP": "1",
825 "SKIA_OUT": "[SLAVE_BUILD]/out"
826 },
827 "name": "pull skia_dm"
828 }, 513 },
829 { 514 {
830 "cmd": [ 515 "cmd": [
831 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 516 "adb",
832 "shell", 517 "push",
833 "dumpsys", 518 "[SLAVE_BUILD]/tmp/dm.sh",
834 "batteryproperties" 519 "/data/local/tmp/"
835 ], 520 ],
836 "env": { 521 "cwd": "[SLAVE_BUILD]/skia",
837 "BUILDTYPE": "Debug", 522 "name": "push dm.sh"
838 "CHROME_HEADLESS": "1",
839 "SKIA_OUT": "[SLAVE_BUILD]/out"
840 },
841 "name": "final battery stats"
842 }, 523 },
843 { 524 {
844 "cmd": [ 525 "cmd": [
845 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb", 526 "adb",
527 "logcat",
528 "-c"
529 ],
530 "cwd": "[SLAVE_BUILD]/skia",
531 "name": "clear log"
532 },
533 {
534 "cmd": [
535 "python",
536 "-u",
537 "\nimport subprocess\nimport sys\nbin_dir = sys.argv[1]\nsh = sys.arg v[2]\nsubprocess.check_call(['adb', 'shell', 'sh', bin_dir + sh])\ntry:\n sys.e xit(int(subprocess.check_output(['adb', 'shell', 'cat',\n bin_dir + 'rc'])))\nexcept ValueError:\n print \"Couldn't read the return code. Probably killed for OOM.\"\n sys.exit(1)\n",
538 "/data/local/tmp/",
539 "dm.sh"
540 ],
541 "name": "dm",
542 "~followup_annotations": [
543 "@@@STEP_LOG_LINE@python.inline@@@@",
544 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
545 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
546 "@@@STEP_LOG_LINE@python.inline@bin_dir = sys.argv[1]@@@",
547 "@@@STEP_LOG_LINE@python.inline@sh = sys.argv[2]@@@",
548 "@@@STEP_LOG_LINE@python.inline@subprocess.check_call(['adb', 'shell', 'sh ', bin_dir + sh])@@@",
549 "@@@STEP_LOG_LINE@python.inline@try:@@@",
550 "@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['a db', 'shell', 'cat',@@@",
551 "@@@STEP_LOG_LINE@python.inline@ bi n_dir + 'rc'])))@@@",
552 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@",
553 "@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code. Probably killed for OOM.\"@@@",
554 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
555 "@@@STEP_LOG_END@python.inline@@@"
556 ]
557 },
558 {
559 "cmd": [
560 "adb",
561 "pull",
562 "/sdcard/revenge_of_the_skiabot/dm_out",
563 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
564 ],
565 "cwd": "[SLAVE_BUILD]/skia",
566 "name": "pull /sdcard/revenge_of_the_skiabot/dm_out [CUSTOM_[SWARM_OUT_DIR]] /dm"
567 },
568 {
569 "cmd": [
570 "adb",
571 "logcat",
572 "-d"
573 ],
574 "cwd": "[SLAVE_BUILD]/skia",
575 "name": "dump log"
576 },
577 {
578 "cmd": [
579 "adb",
846 "reboot" 580 "reboot"
847 ], 581 ],
848 "env": { 582 "cwd": "[SLAVE_BUILD]/skia",
849 "BUILDTYPE": "Debug",
850 "CHROME_HEADLESS": "1",
851 "SKIA_OUT": "[SLAVE_BUILD]/out"
852 },
853 "name": "reboot" 583 "name": "reboot"
854 }, 584 },
855 { 585 {
856 "cmd": [ 586 "cmd": [
857 "sleep", 587 "adb",
858 "10"
859 ],
860 "env": {
861 "BUILDTYPE": "Debug",
862 "CHROME_HEADLESS": "1",
863 "SKIA_OUT": "[SLAVE_BUILD]/out"
864 },
865 "name": "wait for reboot"
866 },
867 {
868 "cmd": [
869 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_device"
870 ],
871 "env": {
872 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
873 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
874 "BUILDTYPE": "Debug",
875 "CHROME_HEADLESS": "1",
876 "SKIA_ANDROID_VERBOSE_SETUP": "1",
877 "SKIA_OUT": "[SLAVE_BUILD]/out"
878 },
879 "name": "wait for device (3)"
880 },
881 {
882 "cmd": [
883 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_wait_for_charge"
884 ],
885 "env": {
886 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
887 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
888 "BUILDTYPE": "Debug",
889 "CHROME_HEADLESS": "1",
890 "SKIA_ANDROID_VERBOSE_SETUP": "1",
891 "SKIA_OUT": "[SLAVE_BUILD]/out"
892 },
893 "name": "wait for charge (3)"
894 },
895 {
896 "cmd": [
897 "[SLAVE_BUILD]/android_sdk/android-sdk/platform-tools/adb",
898 "kill-server" 588 "kill-server"
899 ], 589 ],
900 "env": { 590 "cwd": "[SLAVE_BUILD]/skia",
901 "BUILDTYPE": "Debug", 591 "name": "kill adb server"
902 "CHROME_HEADLESS": "1",
903 "SKIA_OUT": "[SLAVE_BUILD]/out"
904 },
905 "name": "kill-server"
906 }, 592 },
907 { 593 {
908 "name": "$result", 594 "name": "$result",
909 "recipe_result": null, 595 "recipe_result": null,
910 "status_code": 0 596 "status_code": 0
911 } 597 }
912 ] 598 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698