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

Side by Side Diff: scripts/slave/recipes/skia/skia.py

Issue 1128823007: Skia recipes: Move Android and ChromeOS config info in from slaves.cfg (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 7 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # Recipe module for Skia builders. 6 # Recipe module for Skia builders.
7 7
8 8
9 from common.skia import builder_name_schema 9 from common.skia import builder_name_schema
10 from slave.skia import slaves_cfg
11 10
12 11
13 DEPS = [ 12 DEPS = [
14 'json', 13 'json',
15 'path', 14 'path',
16 'platform', 15 'platform',
17 'properties', 16 'properties',
18 'raw_io', 17 'raw_io',
19 'skia', 18 'skia',
20 ] 19 ]
21 20
22 21
23 def GenSteps(api): 22 def GenSteps(api):
24 api.skia.gen_steps() 23 api.skia.gen_steps()
25 24
26 25
27 def _getMasterAndSlaveForBuilder(builder): 26 def GenTests(api):
borenet 2015/05/14 17:33:21 I replaced _getMasterAndSlaveForBuilder with this
28 # Filesystem access is okay here because it is executed on the testing 27 builders = {
29 # machine. 28 'client.skia': {
30 import os 29 'skiabot-ipad4-000': [
30 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
31 ],
32 'skiabot-linux-tester-000': [
33 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN',
34 ],
35 'skiabot-macmini-10_8-000': [
36 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Release',
37 ],
38 'skiabot-shuttle-ubuntu12-003': [
39 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug',
40 ],
41 'skiabot-shuttle-ubuntu12-gtx550ti-001': [
42 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
43 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Debug-ZeroGPUCache',
44 ],
45 'skiabot-shuttle-win7-intel-000': [
46 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Release-ANGLE',
47 ],
48 'skiabot-shuttle-win7-intel-bench': [
49 'Perf-Win7-MSVC-ShuttleA-GPU-HD2000-x86_64-Release-Trybot',
50 ],
51 },
52 'client.skia.android': {
53 'skiabot-shuttle-ubuntu12-nexus7-001': [
54 'Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
55 ],
56 },
57 'client.skia.compile': {
58 'skiabot-linux-compile-000': [
59 'Build-Ubuntu-GCC-Arm7-Debug-CrOS_Daisy',
60 'Build-Ubuntu-GCC-x86_64-Release-Mesa',
61 ],
62 },
63 }
31 64
32 masters_path = os.path.join(os.path.realpath(os.path.dirname(__file__)), 65 def AndroidTestData(builder):
33 os.pardir, os.pardir, os.pardir, os.pardir,
34 'masters')
35 adj_builder = builder_name_schema.GetWaterfallBot(builder)
36 for master in os.listdir(masters_path):
37 if master.startswith('master.client.skia'):
38 adj_master = master[len('master.'):]
39 slaves = slaves_cfg.get(adj_master)
40 for slavename in slaves:
41 if adj_builder in slaves[slavename]['builder']:
42 return adj_master, slavename, slaves[slavename]
43
44
45 def GenTests(api):
46 builders = [
47 'Build-Ubuntu-GCC-Arm7-Debug-CrOS_Daisy',
48 'Build-Ubuntu-GCC-x86_64-Debug',
49 'Build-Ubuntu-GCC-x86_64-Release-Mesa',
50 'Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release',
51 'Test-ChromeOS-GCC-Daisy-CPU-NEON-Arm7-Release',
52 'Perf-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Release-Trybot',
53 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Debug',
54 'Test-Android-GCC-Nexus5-GPU-Adreno330-Arm7-Debug',
55 'Test-Android-GCC-Nexus10-GPU-MaliT604-Arm7-Release',
56 'Test-Android-GCC-NexusPlayer-GPU-PowerVR-x86-Debug',
57 'Test-ChromeOS-GCC-Link-CPU-AVX-x86_64-Debug',
58 'Test-Mac10.8-Clang-MacMini4.1-GPU-GeForce320M-x86_64-Debug',
59 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind',
60 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Debug-ZeroGPUCache',
61 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug',
62 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot',
63 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN',
64 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Release',
65 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Release-ANGLE',
66 'Test-Win8-MSVC-ShuttleA-CPU-AVX-x86_64-Debug',
67 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Debug',
68 ]
69
70 def AndroidTestData(builder, slave_cfg):
71 test_data = ( 66 test_data = (
72 api.step_data( 67 api.step_data(
73 'get EXTERNAL_STORAGE dir', 68 'get EXTERNAL_STORAGE dir',
74 stdout=api.raw_io.output('/storage/emulated/legacy')) + 69 stdout=api.raw_io.output('/storage/emulated/legacy')) +
75 api.step_data( 70 api.step_data(
76 'read SKP_VERSION', 71 'read SKP_VERSION',
77 stdout=api.raw_io.output('42')) 72 stdout=api.raw_io.output('42'))
78 ) 73 )
79 if 'Test' in builder: 74 if 'Test' in builder:
80 test_data += ( 75 test_data += (
81 api.step_data( 76 api.step_data(
82 'exists skia_dm', 77 'exists skia_dm',
83 stdout=api.raw_io.output('')) + 78 stdout=api.raw_io.output('')) +
84 api.step_data( 79 api.step_data(
85 'read SKIMAGE_VERSION', 80 'read SKIMAGE_VERSION',
86 stdout=api.raw_io.output('42')) 81 stdout=api.raw_io.output('42'))
87 ) 82 )
88 83
89 if 'Perf' in builder: 84 if 'Perf' in builder:
90 test_data += api.step_data( 85 test_data += api.step_data(
91 'exists skia_perf', 86 'exists skia_perf',
92 stdout=api.raw_io.output('')) 87 stdout=api.raw_io.output(''))
93 return test_data 88 return test_data
94 89
95 for builder in builders: 90 for mastername, slaves in builders.iteritems():
96 mastername, slavename, slave_cfg = _getMasterAndSlaveForBuilder(builder) 91 for slavename, builders_by_slave in slaves.iteritems():
97 test = ( 92 for builder in builders_by_slave:
98 api.test(builder) + 93 test = (
99 api.properties(buildername=builder, 94 api.test(builder) +
100 mastername=mastername, 95 api.properties(buildername=builder,
101 slavename=slavename, 96 mastername=mastername,
102 buildnumber=5, 97 slavename=slavename,
103 revision='abc123') + 98 buildnumber=5,
104 api.path.exists( 99 revision='abc123') +
105 api.path['slave_build'].join('skia'), 100 api.path.exists(
106 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 101 api.path['slave_build'].join('skia'),
107 ) 102 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
108 ) 103 )
109 if 'Test' in builder: 104 )
110 test += api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 105 if 'Test' in builder:
111 stdout=api.raw_io.output('42')) 106 test += api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
112 if 'Android' in builder: 107 stdout=api.raw_io.output('42'))
113 test += api.step_data('has ccache?', retcode=1) 108 if 'Android' in builder:
114 if 'Android' in builder: 109 test += api.step_data('has ccache?', retcode=1)
115 test += AndroidTestData(builder, slave_cfg) 110 if 'Android' in builder:
116 if 'ChromeOS' in builder: 111 test += AndroidTestData(builder)
117 test += api.step_data('read SKP_VERSION', 112 if 'ChromeOS' in builder:
118 stdout=api.raw_io.output('42')) 113 test += api.step_data('read SKP_VERSION',
119 if 'Test' in builder: 114 stdout=api.raw_io.output('42'))
120 test += api.step_data('read SKIMAGE_VERSION', 115 if 'Test' in builder:
121 stdout=api.raw_io.output('42')) 116 test += api.step_data('read SKIMAGE_VERSION',
122 if 'Trybot' in builder: 117 stdout=api.raw_io.output('42'))
123 test += api.properties(issue=500, 118 if 'Trybot' in builder:
124 patchset=1, 119 test += api.properties(issue=500,
125 rietveld='https://codereview.chromium.org') 120 patchset=1,
126 if 'Win' in builder: 121 rietveld='https://codereview.chromium.org')
127 test += api.platform('win', 64) 122 if 'Win' in builder:
128 yield test 123 test += api.platform('win', 64)
124 yield test
129 125
130 builder = 'Test-Ubuntu-GCC-ShuttleA-CPU-AVX-x86_64-Debug-Recipes' 126 builder = 'Test-Ubuntu-GCC-ShuttleA-CPU-AVX-x86_64-Debug-Recipes'
131 yield ( 127 yield (
132 api.test('failed_dm') + 128 api.test('failed_dm') +
133 api.properties(buildername=builder, 129 api.properties(buildername=builder,
134 mastername=mastername, 130 mastername='client.skia',
135 slavename=slavename, 131 slavename='skiabot-linux-tester-000',
136 buildnumber=6) + 132 buildnumber=6) +
137 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 133 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
138 stdout=api.raw_io.output('42')) + 134 stdout=api.raw_io.output('42')) +
139 api.step_data('dm', retcode=1) 135 api.step_data('dm', retcode=1)
140 ) 136 )
141 137
142 yield ( 138 yield (
143 api.test('has_ccache_android') + 139 api.test('has_ccache_android') +
144 api.properties(buildername='Build-Ubuntu-GCC-Arm7-Debug-Android', 140 api.properties(buildername='Build-Ubuntu-GCC-Arm7-Debug-Android',
145 mastername='client.skia.compile', 141 mastername='client.skia.compile',
146 slavename='skiabot-linux-compile-000') + 142 slavename='skiabot-linux-compile-000') +
147 api.step_data('has ccache?', retcode=0, 143 api.step_data('has ccache?', retcode=0,
148 stdout=api.raw_io.output('/usr/bin/ccache')) 144 stdout=api.raw_io.output('/usr/bin/ccache'))
149 ) 145 )
150 146
151 builder = 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug' 147 builder = 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug'
152 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder) 148 master = 'client.skia.android'
149 slave = 'skiabot-shuttle-ubuntu12-nexus7-001'
153 yield ( 150 yield (
154 api.test('failed_get_hashes') + 151 api.test('failed_get_hashes') +
155 api.properties(buildername=builder, 152 api.properties(buildername=builder,
156 mastername=master, 153 mastername=master,
157 slavename=slave, 154 slavename=slave,
158 buildnumber=6, 155 buildnumber=6,
159 revision='abc123') + 156 revision='abc123') +
160 api.step_data('has ccache?', retcode=1) + 157 api.step_data('has ccache?', retcode=1) +
161 AndroidTestData(builder, slave_cfg) + 158 AndroidTestData(builder) +
162 api.step_data('read SKP_VERSION', 159 api.step_data('read SKP_VERSION',
163 stdout=api.raw_io.output('42')) + 160 stdout=api.raw_io.output('42')) +
164 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 161 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
165 stdout=api.raw_io.output('42')) + 162 stdout=api.raw_io.output('42')) +
166 api.step_data('read SKIMAGE_VERSION', 163 api.step_data('read SKIMAGE_VERSION',
167 stdout=api.raw_io.output('42')) + 164 stdout=api.raw_io.output('42')) +
168 api.step_data('get uninteresting hashes', retcode=1) + 165 api.step_data('get uninteresting hashes', retcode=1) +
169 api.path.exists( 166 api.path.exists(
170 api.path['slave_build'].join('skia'), 167 api.path['slave_build'].join('skia'),
171 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 168 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
172 ) 169 )
173 ) 170 )
174 171
175 builder = 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug'
176 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder)
177 yield ( 172 yield (
178 api.test('download_and_push_skps') + 173 api.test('download_and_push_skps') +
179 api.properties(buildername=builder, 174 api.properties(buildername=builder,
180 mastername=master, 175 mastername=master,
181 slavename=slave, 176 slavename=slave,
182 buildnumber=6, 177 buildnumber=6,
183 revision='abc123', 178 revision='abc123',
184 test_downloaded_skp_version='2') + 179 test_downloaded_skp_version='2') +
185 api.step_data('has ccache?', retcode=1) + 180 api.step_data('has ccache?', retcode=1) +
186 AndroidTestData(builder, slave_cfg) + 181 AndroidTestData(builder) +
187 api.step_data('read SKP_VERSION', 182 api.step_data('read SKP_VERSION',
188 stdout=api.raw_io.output('2')) + 183 stdout=api.raw_io.output('2')) +
189 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 184 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
190 stdout=api.raw_io.output('42')) + 185 stdout=api.raw_io.output('42')) +
191 api.step_data('read SKIMAGE_VERSION', 186 api.step_data('read SKIMAGE_VERSION',
192 stdout=api.raw_io.output('42')) + 187 stdout=api.raw_io.output('42')) +
193 api.step_data( 188 api.step_data(
194 'exists skps', 189 'exists skps',
195 stdout=api.raw_io.output('')) + 190 stdout=api.raw_io.output('')) +
196 api.path.exists( 191 api.path.exists(
197 api.path['slave_build'].join('skia'), 192 api.path['slave_build'].join('skia'),
198 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 193 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
199 ) 194 )
200 ) 195 )
201 196
borenet 2015/05/14 17:33:21 I reordered some of the tests below so that they'r
202 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug'
203 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder)
204 yield (
205 api.test('missing_SKP_VERSION_host') +
206 api.properties(buildername=builder,
207 mastername=master,
208 slavename=slave,
209 buildnumber=6,
210 revision='abc123') +
211 api.step_data('Get downloaded SKP_VERSION', retcode=1) +
212 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
213 stdout=api.raw_io.output('42')) +
214 api.path.exists(
215 api.path['slave_build'].join('skia'),
216 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
217 )
218 )
219
220 builder = 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug'
221 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder)
222 yield ( 197 yield (
223 api.test('missing_SKP_VERSION_device') + 198 api.test('missing_SKP_VERSION_device') +
224 api.properties(buildername=builder, 199 api.properties(buildername=builder,
225 mastername=master, 200 mastername=master,
226 slavename=slave, 201 slavename=slave,
227 buildnumber=6, 202 buildnumber=6,
228 revision='abc123') + 203 revision='abc123') +
229 api.step_data('has ccache?', retcode=1) + 204 api.step_data('has ccache?', retcode=1) +
230 AndroidTestData(builder, slave_cfg) + 205 AndroidTestData(builder) +
231 api.step_data('read SKP_VERSION', 206 api.step_data('read SKP_VERSION',
232 retcode=1) + 207 retcode=1) +
233 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 208 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
234 stdout=api.raw_io.output('42')) + 209 stdout=api.raw_io.output('42')) +
235 api.step_data('read SKIMAGE_VERSION', 210 api.step_data('read SKIMAGE_VERSION',
236 stdout=api.raw_io.output('42')) + 211 stdout=api.raw_io.output('42')) +
237 api.step_data( 212 api.step_data(
238 'exists skps', 213 'exists skps',
239 stdout=api.raw_io.output('')) + 214 stdout=api.raw_io.output('')) +
240 api.path.exists( 215 api.path.exists(
241 api.path['slave_build'].join('skia'), 216 api.path['slave_build'].join('skia'),
217 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
218 )
219 )
220
221 yield (
222 api.test('download_and_push_skimage') +
223 api.properties(buildername=builder,
224 mastername=master,
225 slavename=slave,
226 buildnumber=6,
227 revision='abc123',
228 test_downloaded_skimage_version='2') +
229 api.step_data('has ccache?', retcode=1) +
230 AndroidTestData(builder) +
231 api.step_data('read SKP_VERSION',
232 stdout=api.raw_io.output('42')) +
233 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
234 stdout=api.raw_io.output('42')) +
235 api.step_data('read SKIMAGE_VERSION',
236 stdout=api.raw_io.output('2')) +
237 api.step_data(
238 'exists skia_images',
239 stdout=api.raw_io.output('')) +
240 api.path.exists(
241 api.path['slave_build'].join('skia'),
242 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 242 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
243 ) 243 )
244 ) 244 )
245 245
246 builder = 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug'
247 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder)
248 yield ( 246 yield (
249 api.test('download_and_push_skimage') + 247 api.test('missing_SKIMAGE_VERSION_device') +
250 api.properties(buildername=builder, 248 api.properties(buildername=builder,
251 mastername=master, 249 mastername=master,
252 slavename=slave, 250 slavename=slave,
253 buildnumber=6, 251 buildnumber=6,
254 revision='abc123', 252 revision='abc123') +
255 test_downloaded_skimage_version='2') +
256 api.step_data('has ccache?', retcode=1) + 253 api.step_data('has ccache?', retcode=1) +
257 AndroidTestData(builder, slave_cfg) + 254 AndroidTestData(builder) +
258 api.step_data('read SKP_VERSION', 255 api.step_data('read SKP_VERSION',
259 stdout=api.raw_io.output('42')) + 256 stdout=api.raw_io.output('42')) +
260 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 257 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
261 stdout=api.raw_io.output('42')) + 258 stdout=api.raw_io.output('42')) +
262 api.step_data('read SKIMAGE_VERSION', 259 api.step_data('read SKIMAGE_VERSION',
263 stdout=api.raw_io.output('2')) + 260 retcode=1) +
264 api.step_data( 261 api.step_data(
265 'exists skia_images', 262 'exists skia_images',
266 stdout=api.raw_io.output('')) + 263 stdout=api.raw_io.output('')) +
267 api.path.exists( 264 api.path.exists(
268 api.path['slave_build'].join('skia'), 265 api.path['slave_build'].join('skia'),
269 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 266 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
270 ) 267 )
271 ) 268 )
272 269
273 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug' 270 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug'
274 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder) 271 master = 'client.skia'
272 slave = 'skiabot-linux-test-000'
273 yield (
274 api.test('missing_SKP_VERSION_host') +
275 api.properties(buildername=builder,
276 mastername=master,
277 slavename=slave,
278 buildnumber=6,
279 revision='abc123') +
280 api.step_data('Get downloaded SKP_VERSION', retcode=1) +
281 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
282 stdout=api.raw_io.output('42')) +
283 api.path.exists(
284 api.path['slave_build'].join('skia'),
285 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
286 )
287 )
288
275 yield ( 289 yield (
276 api.test('missing_SKIMAGE_VERSION_host') + 290 api.test('missing_SKIMAGE_VERSION_host') +
277 api.properties(buildername=builder, 291 api.properties(buildername=builder,
278 mastername=master, 292 mastername=master,
279 slavename=slave, 293 slavename=slave,
280 buildnumber=6, 294 buildnumber=6,
281 revision='abc123') + 295 revision='abc123') +
282 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED', 296 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
283 stdout=api.raw_io.output('42')) + 297 stdout=api.raw_io.output('42')) +
284 api.step_data('Get downloaded SKIMAGE_VERSION', retcode=1) + 298 api.step_data('Get downloaded SKIMAGE_VERSION', retcode=1) +
285 api.path.exists( 299 api.path.exists(
286 api.path['slave_build'].join('skia'), 300 api.path['slave_build'].join('skia'),
287 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 301 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
288 )
289 )
290
291 builder = 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug'
292 master, slave, slave_cfg = _getMasterAndSlaveForBuilder(builder)
293 yield (
294 api.test('missing_SKIMAGE_VERSION_device') +
295 api.properties(buildername=builder,
296 mastername=master,
297 slavename=slave,
298 buildnumber=6,
299 revision='abc123') +
300 api.step_data('has ccache?', retcode=1) +
301 AndroidTestData(builder, slave_cfg) +
302 api.step_data('read SKP_VERSION',
303 stdout=api.raw_io.output('42')) +
304 api.step_data('gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED',
305 stdout=api.raw_io.output('42')) +
306 api.step_data('read SKIMAGE_VERSION',
307 retcode=1) +
308 api.step_data(
309 'exists skia_images',
310 stdout=api.raw_io.output('')) +
311 api.path.exists(
312 api.path['slave_build'].join('skia'),
313 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
314 ) 302 )
315 ) 303 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698