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

Side by Side Diff: content/test/gpu/generate_buildbot_json.py

Issue 1642293002: Add JSON descriptions for the current chromium.gpu.fyi bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in 6 """Script to generate chromium.gpu.json and chromium.gpu.fyi.json in
7 the src/testing/buildbot directory. Maintaining these files by hand is 7 the src/testing/buildbot directory. Maintaining these files by hand is
8 too unwieldy. 8 too unwieldy.
9 """ 9 """
10 10
11 import copy 11 import copy
12 import json 12 import json
13 import string 13 import string
14 import sys 14 import sys
15 15
16 BUILDERS = [ 16 BUILDERS = [
17 'GPU NextGen Linux Builder', 17 'GPU NextGen Linux Builder',
18 'GPU NextGen Linux Builder (dbg)', 18 'GPU NextGen Linux Builder (dbg)',
19 'GPU NextGen Mac Builder', 19 'GPU NextGen Mac Builder',
20 'GPU NextGen Mac Builder (dbg)', 20 'GPU NextGen Mac Builder (dbg)',
21 'GPU NextGen Win Builder', 21 'GPU NextGen Win Builder',
22 'GPU NextGen Win Builder (dbg)', 22 'GPU NextGen Win Builder (dbg)',
23 'GPU Win Builder',
24 'GPU Win Builder (dbg)',
25 'GPU Mac Builder',
26 'GPU Mac Builder (dbg)',
27 'GPU Linux Builder',
28 'GPU Linux Builder (dbg)',
23 ] 29 ]
24 30
25 TESTERS = { 31 TESTERS = {
26 'Linux NextGen Debug (NVIDIA)': { 32 # FYI bots, matching the order on the waterfall.
33 'Win7 Release (NVIDIA)': {
27 'swarming_dimensions': { 34 'swarming_dimensions': {
28 'gpu': '10de:104a', 35 'gpu': '10de:104a',
29 'os': 'Linux' 36 'os': 'Windows-2008ServerR2-SP1'
37 },
38 'build_config': 'Release',
39 'swarming': True,
40 'os_type': 'win',
41 },
42 'Win7 Debug (NVIDIA)': {
43 'swarming_dimensions': {
44 'gpu': '10de:104a',
45 'os': 'Windows-2008ServerR2-SP1'
30 }, 46 },
31 'build_config': 'Debug', 47 'build_config': 'Debug',
32 'swarming': True, 48 'swarming': True,
33 'os_type': 'linux', 49 'os_type': 'win',
34 }, 50 },
35 'Linux NextGen Release (NVIDIA)': { 51 'Win8 Release (NVIDIA)': {
36 'swarming_dimensions': { 52 'swarming_dimensions': {
37 'gpu': '10de:104a', 53 'gpu': '10de:104a',
38 'os': 'Linux' 54 'os': 'Windows-2012ServerR2-SP0'
39 }, 55 },
40 'build_config': 'Release', 56 'build_config': 'Release',
41 'swarming': True, 57 'swarming': True,
42 'os_type': 'linux', 58 'os_type': 'win',
43 }, 59 },
44 'Mac 10.10 Debug (ATI)': { 60 'Win8 Debug (NVIDIA)': {
45 'swarming_dimensions': { 61 'swarming_dimensions': {
46 'gpu': '1002:679e', 62 'gpu': '10de:104a',
63 'os': 'Windows-2012ServerR2-SP0'
64 },
65 'build_config': 'Debug',
66 'swarming': True,
67 'os_type': 'win',
68 },
69 'Win7 Release (ATI)': {
70 'swarming_dimensions': {
71 'gpu': '1002:6779',
72 'os': 'Windows-2008ServerR2-SP1'
73 },
74 'build_config': 'Release',
75 'swarming': True,
76 'os_type': 'win',
77 },
78 'Win7 Release dEQP (NVIDIA)': {
79 'deqp': True,
80 'swarming_dimensions': {
81 'gpu': '10de:104a',
82 'os': 'Windows-2008ServerR2-SP1'
83 },
84 'build_config': 'Release',
85 'swarming': True,
86 'os_type': 'win',
87 },
88 'Mac 10.10 Release (Intel)': {
89 'swarming_dimensions': {
90 'gpu': '8086:0a2e',
91 'os': 'Mac-10.10'
92 },
93 'build_config': 'Release',
94 'swarming': True,
95 'os_type': 'mac',
96 },
97 'Mac 10.10 Debug (Intel)': {
98 'swarming_dimensions': {
99 'gpu': '8086:0a2e',
47 'os': 'Mac-10.10' 100 'os': 'Mac-10.10'
48 }, 101 },
49 'build_config': 'Debug', 102 'build_config': 'Debug',
50 'swarming': False, 103 'swarming': True,
51 'os_type': 'mac', 104 'os_type': 'mac',
52 }, 105 },
53 'Mac 10.10 Release (ATI)': { 106 'Mac 10.10 Release (ATI)': {
54 'swarming_dimensions': { 107 'swarming_dimensions': {
55 'gpu': '1002:679e', 108 'gpu': '1002:679e',
56 'os': 'Mac-10.10' 109 'os': 'Mac-10.10'
57 }, 110 },
58 'build_config': 'Release', 111 'build_config': 'Release',
112 # This bot is a one-off and doesn't have similar slaves in the
113 # swarming pool.
59 'swarming': False, 114 'swarming': False,
60 'os_type': 'mac', 115 'os_type': 'mac',
61 }, 116 },
62 'Mac NextGen 10.10 Retina Debug (AMD)': { 117 'Mac 10.10 Debug (ATI)': {
118 'swarming_dimensions': {
119 'gpu': '1002:679e',
120 'os': 'Mac-10.10'
121 },
122 'build_config': 'Debug',
123 # This bot is a one-off and doesn't have similar slaves in the
124 # swarming pool.
125 'swarming': False,
126 'os_type': 'mac',
127 },
128 'Mac 10.10 Retina Release (AMD)': {
129 'swarming_dimensions': {
130 'gpu': '1002:6821',
131 'hidpi': '1',
132 'os': 'Mac-10.10'
133 },
134 'build_config': 'Release',
135 'swarming': True,
136 'os_type': 'mac',
137 },
138 'Mac 10.10 Retina Debug (AMD)': {
63 'swarming_dimensions': { 139 'swarming_dimensions': {
64 'gpu': '1002:6821', 140 'gpu': '1002:6821',
65 'hidpi': '1', 141 'hidpi': '1',
66 'os': 'Mac-10.10' 142 'os': 'Mac-10.10'
67 }, 143 },
68 'build_config': 'Debug', 144 'build_config': 'Debug',
69 'swarming': True, 145 'swarming': True,
70 'os_type': 'mac', 146 'os_type': 'mac',
71 }, 147 },
72 'Mac NextGen 10.10 Retina Release (AMD)': { 148 'Linux Release (NVIDIA)': {
73 'swarming_dimensions': { 149 'swarming_dimensions': {
74 'gpu': '1002:6821', 150 'gpu': '10de:104a',
75 'hidpi': '1', 151 'os': 'Linux'
76 'os': 'Mac-10.10'
77 }, 152 },
78 'build_config': 'Release', 153 'build_config': 'Release',
79 'swarming': True, 154 'swarming': True,
80 'os_type': 'mac', 155 'os_type': 'linux',
156 },
157 'Linux Release (Intel)': {
158 'swarming_dimensions': {
159 'gpu': '8086:041a',
160 'os': 'Linux'
161 },
162 'build_config': 'Release',
163 # This bot is a one-off and doesn't have similar slaves in the
164 # swarming pool.
165 'swarming': False,
166 'os_type': 'linux',
167 },
168 'Linux Release (Intel Graphics Stack)': {
169 'swarming_dimensions': {
170 'gpu': '8086:041a',
171 'os': 'Linux'
172 },
173 'build_config': 'Release',
174 # This bot is a one-off and doesn't have similar slaves in the
175 # swarming pool.
176 'swarming': False,
177 'os_type': 'linux',
178 },
179 'Linux Release (ATI)': {
180 'swarming_dimensions': {
181 'gpu': '1002:6779',
182 'os': 'Linux'
183 },
184 'build_config': 'Release',
185 # This bot is a one-off and doesn't have similar slaves in the
186 # swarming pool.
187 'swarming': False,
188 'os_type': 'linux',
189 },
190 'Linux Debug (NVIDIA)': {
191 'swarming_dimensions': {
192 'gpu': '10de:104a',
193 'os': 'Linux'
194 },
195 'build_config': 'Debug',
196 'swarming': True,
197 'os_type': 'linux',
198 },
199 'Linux Release dEQP (NVIDIA)': {
200 'deqp': True,
201 'swarming_dimensions': {
202 'gpu': '10de:104a',
203 'os': 'Linux'
204 },
205 'build_config': 'Release',
206 # TODO(kbr): switch this to use Swarming, and put the physical
207 # machine into the Swarming pool, once we're convinced it's
208 # working well.
209 'swarming': False,
210 'os_type': 'linux',
211 },
212
213 # NextGen bots (to be removed once the above bots are switched to
214 # the Chromium recipe)
215 'Linux NextGen Debug (NVIDIA)': {
216 'swarming_dimensions': {
217 'gpu': '10de:104a',
218 'os': 'Linux'
219 },
220 'build_config': 'Debug',
221 'swarming': True,
222 'os_type': 'linux',
223 },
224 'Linux NextGen Release (NVIDIA)': {
225 'swarming_dimensions': {
226 'gpu': '10de:104a',
227 'os': 'Linux'
228 },
229 'build_config': 'Release',
230 'swarming': True,
231 'os_type': 'linux',
81 }, 232 },
82 'Win7 NextGen Debug (NVIDIA)': { 233 'Win7 NextGen Debug (NVIDIA)': {
83 'swarming_dimensions': { 234 'swarming_dimensions': {
84 'gpu': '10de:104a', 235 'gpu': '10de:104a',
85 'os': 'Windows-2008ServerR2-SP1' 236 'os': 'Windows-2008ServerR2-SP1'
86 }, 237 },
87 'build_config': 'Debug', 238 'build_config': 'Debug',
88 'swarming': True, 239 'swarming': True,
89 'os_type': 'win', 240 'os_type': 'win',
90 }, 241 },
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 '--use-gpu-in-tests', 361 '--use-gpu-in-tests',
211 '--use-angle=gl', 362 '--use-angle=gl',
212 '--disable-gpu-sandbox', 363 '--disable-gpu-sandbox',
213 ], 364 ],
214 'test': 'gles2_conform_test', 365 'test': 'gles2_conform_test',
215 } 366 }
216 } 367 }
217 368
218 DEQP_GTESTS = { 369 DEQP_GTESTS = {
219 'angle_deqp_gles2_tests': {'swarming_shards': 4}, 370 'angle_deqp_gles2_tests': {'swarming_shards': 4},
220 'angle_deqp_gles3_tests': {'swarming_shards': 12}, 371 'angle_deqp_gles3_tests': {'win_only': True, 'swarming_shards': 12},
221 } 372 }
222 373
223 TELEMETRY_TESTS = { 374 TELEMETRY_TESTS = {
224 'context_lost': {}, 375 'context_lost': {},
225 'gpu_process_launch_tests': {'target_name': 'gpu_process'}, 376 'gpu_process_launch_tests': {'target_name': 'gpu_process'},
226 'gpu_rasterization': {}, 377 'gpu_rasterization': {},
227 'hardware_accelerated_feature': {}, 378 'hardware_accelerated_feature': {},
228 'maps_pixel_test': {'target_name': 'maps'}, 379 'maps_pixel_test': {'target_name': 'maps'},
229 'memory_test': {}, 380 'memory_test': {},
230 'pixel_test': { 381 'pixel_test': {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 if isolated_scripts: 554 if isolated_scripts:
404 cur_tests['isolated_scripts'] = sorted( 555 cur_tests['isolated_scripts'] = sorted(
405 isolated_scripts, key=lambda x: x['name']) 556 isolated_scripts, key=lambda x: x['name'])
406 tests[name] = cur_tests 557 tests[name] = cur_tests
407 tests['AAAAA1 AUTOGENERATED FILE DO NOT EDIT'] = {} 558 tests['AAAAA1 AUTOGENERATED FILE DO NOT EDIT'] = {}
408 tests['AAAAA2 See generate_buildbot_json.py to make changes'] = {} 559 tests['AAAAA2 See generate_buildbot_json.py to make changes'] = {}
409 print json.dumps(tests, indent=2, separators=(',', ': '), sort_keys=True) 560 print json.dumps(tests, indent=2, separators=(',', ': '), sort_keys=True)
410 561
411 if __name__ == "__main__": 562 if __name__ == "__main__":
412 sys.exit(generate_all_tests()) 563 sys.exit(generate_all_tests())
OLDNEW
« no previous file with comments | « no previous file | testing/buildbot/chromium.gpu.fyi.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698