OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "git", | |
5 "remote", | |
6 "set-url", | |
7 "origin", | |
8 "https://skia.googlesource.com/skia.git" | |
9 ], | |
10 "cwd": "[SLAVE_BUILD]/skia", | |
11 "name": "git remote set-url" | |
12 }, | |
13 { | |
14 "cmd": [ | |
15 "git", | |
16 "fetch" | |
17 ], | |
18 "cwd": "[SLAVE_BUILD]/skia", | |
19 "name": "git fetch" | |
20 }, | |
21 { | |
22 "cmd": [ | |
23 "git", | |
24 "reset", | |
25 "--hard", | |
26 "abc123" | |
27 ], | |
28 "cwd": "[SLAVE_BUILD]/skia", | |
29 "name": "git reset" | |
30 }, | |
31 { | |
32 "cmd": [ | |
33 "git", | |
34 "clean", | |
35 "-d", | |
36 "-f" | |
37 ], | |
38 "cwd": "[SLAVE_BUILD]/skia", | |
39 "name": "git clean" | |
40 }, | |
41 { | |
42 "cmd": [ | |
43 "python", | |
44 "-u", | |
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
46 "config", | |
47 "--spec", | |
48 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget
_os = ['llvm']" | |
49 ], | |
50 "cwd": "[SLAVE_BUILD]", | |
51 "env": { | |
52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
53 }, | |
54 "name": "gclient setup" | |
55 }, | |
56 { | |
57 "cmd": [ | |
58 "python", | |
59 "-u", | |
60 "[BUILD]/scripts/slave/gclient_safe_revert.py", | |
61 ".", | |
62 "[DEPOT_TOOLS]/gclient" | |
63 ], | |
64 "cwd": "[SLAVE_BUILD]", | |
65 "name": "gclient revert" | |
66 }, | |
67 { | |
68 "cmd": [ | |
69 "python", | |
70 "-u", | |
71 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
72 "sync", | |
73 "--nohooks", | |
74 "--force", | |
75 "--verbose", | |
76 "--delete_unversioned_trees", | |
77 "--revision", | |
78 "skia@abc123", | |
79 "--output-json", | |
80 "/path/to/tmp/json" | |
81 ], | |
82 "cwd": "[SLAVE_BUILD]", | |
83 "env": { | |
84 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
85 }, | |
86 "name": "gclient sync", | |
87 "~followup_annotations": [ | |
88 "@@@STEP_LOG_LINE@json.output@{@@@", | |
89 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | |
90 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | |
91 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | |
92 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
93 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
94 "@@@STEP_LOG_LINE@json.output@}@@@", | |
95 "@@@STEP_LOG_END@json.output@@@", | |
96 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | |
97 ] | |
98 }, | |
99 { | |
100 "cmd": [ | |
101 "python", | |
102 "-u", | |
103 "[DEPOT_TOOLS]/apply_issue.py", | |
104 "-r", | |
105 "[SLAVE_BUILD]/skia", | |
106 "-i", | |
107 "500", | |
108 "-p", | |
109 "1", | |
110 "-s", | |
111 "https://codereview.chromium.org", | |
112 "--no-auth" | |
113 ], | |
114 "cwd": "[SLAVE_BUILD]", | |
115 "name": "apply_issue", | |
116 "~followup_annotations": [ | |
117 "@@@STEP_LINK@Applied issue 500@https://codereview.chromium.org/500@@@" | |
118 ] | |
119 }, | |
120 { | |
121 "cmd": [ | |
122 "python", | 4 "python", |
123 "-u", | 5 "-u", |
124 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | 6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
125 "/path/to/tmp/json", | 7 "/path/to/tmp/json", |
126 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot" | 8 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot" |
127 ], | 9 ], |
128 "cwd": "[SLAVE_BUILD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
129 "name": "exec buildbot_spec.py", | 11 "name": "exec buildbot_spec.py", |
130 "~followup_annotations": [ | 12 "~followup_annotations": [ |
131 "@@@STEP_LOG_LINE@json.output@{@@@", | 13 "@@@STEP_LOG_LINE@json.output@{@@@", |
132 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 14 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
133 "@@@STEP_LOG_LINE@json.output@ \"dm\"@@@", | 15 "@@@STEP_LOG_LINE@json.output@ \"dm\"@@@", |
134 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 16 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
135 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 17 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
136 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", | 18 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", |
137 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@", | 19 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@", |
138 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Coverage\", @@@", | 20 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Coverage\", @@@", |
139 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@", | 21 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@", |
140 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX2\", @@@", | 22 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX2\", @@@", |
141 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": true, @@@", | 23 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": true, @@@", |
142 "@@@STEP_LOG_LINE@json.output@ \"model\": \"GCE\", @@@", | 24 "@@@STEP_LOG_LINE@json.output@ \"model\": \"GCE\", @@@", |
143 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", | 25 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", |
144 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@", | 26 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@", |
145 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 27 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
146 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Coverage\", @@@", | 28 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Coverage\", @@@", |
147 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", | 29 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", |
148 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | 30 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
149 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 31 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| 32 "@@@STEP_LOG_LINE@json.output@ \"do_compile_steps\": false, @@@", |
150 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", | 33 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", |
151 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@", | 34 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@", |
152 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", |
153 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang-3.6\", @@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang-3.6\", @@@", |
154 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++-3.6\", @@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++-3.6\", @@@", |
155 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64
skia_clang_build=1 skia_gpu=0 skia_warnings_as_errors=0\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64
skia_clang_build=1 skia_gpu=0 skia_warnings_as_errors=0\"@@@", |
156 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 39 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
157 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", |
158 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", |
159 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 42 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
160 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": false, @@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": false, @@@", |
161 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
162 "@@@STEP_LOG_LINE@json.output@}@@@", | 45 "@@@STEP_LOG_LINE@json.output@}@@@", |
163 "@@@STEP_LOG_END@json.output@@@" | 46 "@@@STEP_LOG_END@json.output@@@" |
164 ] | 47 ] |
165 }, | 48 }, |
166 { | 49 { |
167 "cmd": [ | 50 "cmd": [ |
168 "[SLAVE_BUILD]/skia/tools/llvm_coverage_build", | |
169 "dm" | |
170 ], | |
171 "cwd": "[SLAVE_BUILD]/skia", | |
172 "env": { | |
173 "BUILDTYPE": "Coverage", | |
174 "CC": "/usr/bin/clang-3.6", | |
175 "CXX": "/usr/bin/clang++-3.6", | |
176 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | |
177 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-
Coverage-Trybot" | |
178 }, | |
179 "name": "build dm" | |
180 }, | |
181 { | |
182 "cmd": [ | |
183 "python", | |
184 "-u", | |
185 "\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", | |
186 "[SLAVE_BUILD]/tmp", | |
187 "511" | |
188 ], | |
189 "cwd": "[SLAVE_BUILD]", | |
190 "name": "makedirs tmp_dir", | |
191 "~followup_annotations": [ | |
192 "@@@STEP_LOG_LINE@python.inline@@@@", | |
193 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
194 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
195 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
196 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
197 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
198 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
199 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
200 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
201 "@@@STEP_LOG_END@python.inline@@@" | |
202 ] | |
203 }, | |
204 { | |
205 "cmd": [ | |
206 "python", | 51 "python", |
207 "-u", | 52 "-u", |
208 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 53 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
209 "[SLAVE_BUILD]/tmp/SKP_VERSION", | 54 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
210 "/path/to/tmp/" | 55 "/path/to/tmp/" |
211 ], | 56 ], |
212 "cwd": "[SLAVE_BUILD]", | 57 "cwd": "[SLAVE_BUILD]", |
213 "name": "Get downloaded SKP_VERSION" | 58 "name": "Get downloaded SKP_VERSION" |
214 }, | 59 }, |
215 { | 60 { |
216 "cmd": [ | 61 "cmd": [ |
217 "python", | 62 "python", |
218 "-u", | 63 "-u", |
219 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 64 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
220 "[SLAVE_BUILD]/skia/SKP_VERSION", | |
221 "/path/to/tmp/" | |
222 ], | |
223 "cwd": "[SLAVE_BUILD]", | |
224 "name": "Get expected SKP_VERSION" | |
225 }, | |
226 { | |
227 "cmd": [ | |
228 "python", | |
229 "-u", | |
230 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
231 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", | 65 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
232 "/path/to/tmp/" | 66 "/path/to/tmp/" |
233 ], | 67 ], |
234 "cwd": "[SLAVE_BUILD]", | 68 "cwd": "[SLAVE_BUILD]", |
235 "name": "Get downloaded SK_IMAGE_VERSION" | 69 "name": "Get downloaded SK_IMAGE_VERSION" |
236 }, | 70 }, |
237 { | 71 { |
238 "cmd": [ | 72 "cmd": [ |
239 "python", | 73 "[SLAVE_BUILD]/skia/tools/llvm_coverage_build", |
240 "-u", | 74 "dm" |
241 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
242 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", | |
243 "/path/to/tmp/" | |
244 ], | 75 ], |
245 "cwd": "[SLAVE_BUILD]", | 76 "cwd": "[SLAVE_BUILD]/skia", |
246 "name": "Get expected SK_IMAGE_VERSION" | 77 "env": { |
| 78 "BUILDTYPE": "Coverage", |
| 79 "CC": "/usr/bin/clang-3.6", |
| 80 "CHROME_HEADLESS": "1", |
| 81 "CXX": "/usr/bin/clang++-3.6", |
| 82 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", |
| 83 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
| 84 "SKIA_OUT": "[SLAVE_BUILD]/out" |
| 85 }, |
| 86 "name": "build dm" |
247 }, | 87 }, |
248 { | 88 { |
249 "cmd": [ | 89 "cmd": [ |
250 "python", | 90 "python", |
251 "-u", | 91 "-u", |
252 "\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", | 92 "\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", |
253 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results" | 93 "[SLAVE_BUILD]/out/coverage_results" |
254 ], | 94 ], |
255 "cwd": "[SLAVE_BUILD]", | 95 "cwd": "[SLAVE_BUILD]", |
| 96 "env": { |
| 97 "PYTHONPATH": "build/scripts" |
| 98 }, |
256 "name": "rmtree coverage_results", | 99 "name": "rmtree coverage_results", |
257 "~followup_annotations": [ | 100 "~followup_annotations": [ |
258 "@@@STEP_LOG_LINE@python.inline@@@@", | 101 "@@@STEP_LOG_LINE@python.inline@@@@", |
259 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 102 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
260 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 103 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
261 "@@@STEP_LOG_LINE@python.inline@@@@", | 104 "@@@STEP_LOG_LINE@python.inline@@@@", |
262 "@@@STEP_LOG_LINE@python.inline@@@@", | 105 "@@@STEP_LOG_LINE@python.inline@@@@", |
263 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 106 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
264 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 107 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
265 "@@@STEP_LOG_END@python.inline@@@" | 108 "@@@STEP_LOG_END@python.inline@@@" |
266 ] | 109 ] |
267 }, | 110 }, |
268 { | 111 { |
269 "cmd": [ | 112 "cmd": [ |
270 "python", | 113 "python", |
271 "-u", | 114 "-u", |
272 "\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", | 115 "\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", |
273 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results", | 116 "[SLAVE_BUILD]/out/coverage_results", |
274 "511" | 117 "511" |
275 ], | 118 ], |
276 "cwd": "[SLAVE_BUILD]", | 119 "cwd": "[SLAVE_BUILD]", |
277 "name": "makedirs coverage_results", | 120 "name": "makedirs coverage_results", |
278 "~followup_annotations": [ | 121 "~followup_annotations": [ |
279 "@@@STEP_LOG_LINE@python.inline@@@@", | 122 "@@@STEP_LOG_LINE@python.inline@@@@", |
280 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 123 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
281 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 124 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
282 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 125 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
283 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 126 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
284 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 127 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
285 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 128 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
286 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 129 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
287 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 130 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
288 "@@@STEP_LOG_END@python.inline@@@" | 131 "@@@STEP_LOG_END@python.inline@@@" |
289 ] | 132 ] |
290 }, | 133 }, |
291 { | 134 { |
292 "cmd": [ | 135 "cmd": [ |
293 "python", | 136 "python", |
294 "[SLAVE_BUILD]/skia/tools/llvm_coverage_run.py", | 137 "[SLAVE_BUILD]/skia/tools/llvm_coverage_run.py", |
295 "dm", | 138 "dm", |
296 "--undefok", | 139 "--undefok", |
297 "--resourcePath", | 140 "--resourcePath", |
298 "[SLAVE_BUILD]/skia/resources", | 141 "[SLAVE_BUILD]/skia/resources", |
299 "--skps", | 142 "--skps", |
300 "[SLAVE_BUILD]/playback/skps", | 143 "[SLAVE_BUILD]/skps", |
301 "--images", | 144 "--images", |
302 "[SLAVE_BUILD]/images/dm", | 145 "[SLAVE_BUILD]/images/dm", |
303 "--nameByHash", | 146 "--nameByHash", |
304 "--properties", | 147 "--properties", |
305 "gitHash", | 148 "gitHash", |
306 "164710", | 149 "abc123", |
307 "master", | 150 "master", |
308 "client.skia", | 151 "client.skia", |
309 "builder", | 152 "builder", |
310 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", | 153 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", |
311 "build_number", | 154 "build_number", |
312 "5", | 155 "5", |
313 "issue", | 156 "issue", |
314 "500", | 157 "500", |
315 "patchset", | 158 "patchset", |
316 "1", | 159 "1", |
317 "--key", | 160 "--key", |
318 "arch", | 161 "arch", |
319 "x86_64", | 162 "x86_64", |
320 "compiler", | 163 "compiler", |
321 "Clang", | 164 "Clang", |
322 "configuration", | 165 "configuration", |
323 "Coverage", | 166 "Coverage", |
324 "cpu_or_gpu", | 167 "cpu_or_gpu", |
325 "CPU", | 168 "CPU", |
326 "cpu_or_gpu_value", | 169 "cpu_or_gpu_value", |
327 "AVX2", | 170 "AVX2", |
328 "model", | 171 "model", |
329 "GCE", | 172 "GCE", |
330 "os", | 173 "os", |
331 "Ubuntu", | 174 "Ubuntu", |
332 "--nogpu", | 175 "--nogpu", |
333 "--dummy-flags", | 176 "--dummy-flags", |
334 "--outResultsFile", | 177 "--outResultsFile", |
335 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results/164710.cov" | 178 "[SLAVE_BUILD]/out/coverage_results/abc123.cov" |
336 ], | 179 ], |
337 "cwd": "[SLAVE_BUILD]/skia", | 180 "cwd": "[SLAVE_BUILD]/skia", |
338 "env": { | 181 "env": { |
339 "BUILDTYPE": "Coverage", | 182 "BUILDTYPE": "Coverage", |
340 "CC": "/usr/bin/clang-3.6", | 183 "CC": "/usr/bin/clang-3.6", |
| 184 "CHROME_HEADLESS": "1", |
341 "CXX": "/usr/bin/clang++-3.6", | 185 "CXX": "/usr/bin/clang++-3.6", |
342 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | 186 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", |
343 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-
Coverage-Trybot" | 187 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
| 188 "SKIA_OUT": "[SLAVE_BUILD]/out" |
344 }, | 189 }, |
345 "name": "dm" | 190 "name": "dm" |
346 }, | 191 }, |
347 { | 192 { |
348 "cmd": [ | 193 "cmd": [ |
349 "git", | |
350 "show", | |
351 "HEAD", | |
352 "--format=%at", | |
353 "-s" | |
354 ], | |
355 "cwd": "[SLAVE_BUILD]/skia", | |
356 "name": "git show", | |
357 "stdout": "/path/to/tmp/" | |
358 }, | |
359 { | |
360 "cmd": [ | |
361 "python", | 194 "python", |
362 "[SLAVE_BUILD]/skia/tools/parse_llvm_coverage.py", | 195 "[SLAVE_BUILD]/skia/tools/parse_llvm_coverage.py", |
363 "--report", | 196 "--report", |
364 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results/164710.cov", | 197 "[SLAVE_BUILD]/out/coverage_results/abc123.cov", |
365 "--nanobench", | 198 "--nanobench", |
366 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results/nanobench_164710_1408633190.json", | 199 "[SLAVE_BUILD]/out/coverage_results/nanobench_abc123.json", |
367 "--linebyline", | 200 "--linebyline", |
368 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results/coverage_by_line_164710_1408633190.json", | 201 "[SLAVE_BUILD]/out/coverage_results/coverage_by_line_abc123.json", |
369 "--key", | 202 "--key", |
370 "arch", | 203 "arch", |
371 "x86_64", | 204 "x86_64", |
372 "compiler", | 205 "compiler", |
373 "Clang", | 206 "Clang", |
374 "configuration", | 207 "configuration", |
375 "Coverage", | 208 "Coverage", |
376 "cpu_or_gpu", | 209 "cpu_or_gpu", |
377 "CPU", | 210 "CPU", |
378 "cpu_or_gpu_value", | 211 "cpu_or_gpu_value", |
379 "AVX2", | 212 "AVX2", |
380 "model", | 213 "model", |
381 "GCE", | 214 "GCE", |
382 "os", | 215 "os", |
383 "Ubuntu", | 216 "Ubuntu", |
384 "--properties", | 217 "--properties", |
385 "gitHash", | 218 "gitHash", |
386 "164710", | 219 "abc123", |
387 "master", | 220 "master", |
388 "client.skia", | 221 "client.skia", |
389 "builder", | 222 "builder", |
390 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", | 223 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", |
391 "build_number", | 224 "build_number", |
392 "5", | 225 "5", |
393 "issue", | 226 "issue", |
394 "500", | 227 "500", |
395 "patchset", | 228 "patchset", |
396 "1" | 229 "1" |
397 ], | 230 ], |
398 "cwd": "[SLAVE_BUILD]/skia", | 231 "cwd": "[SLAVE_BUILD]/skia", |
399 "env": { | 232 "env": { |
400 "BUILDTYPE": "Coverage", | 233 "BUILDTYPE": "Coverage", |
401 "CC": "/usr/bin/clang-3.6", | 234 "CC": "/usr/bin/clang-3.6", |
| 235 "CHROME_HEADLESS": "1", |
402 "CXX": "/usr/bin/clang++-3.6", | 236 "CXX": "/usr/bin/clang++-3.6", |
403 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | 237 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", |
404 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-
Coverage-Trybot" | 238 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
| 239 "SKIA_OUT": "[SLAVE_BUILD]/out" |
405 }, | 240 }, |
406 "name": "Generate Coverage Data" | 241 "name": "Generate Coverage Data" |
407 }, | 242 }, |
408 { | 243 { |
409 "cmd": [ | 244 "cmd": [ |
410 "python", | 245 "python", |
411 "-u", | 246 "-u", |
412 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 247 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", |
413 "--", | 248 "[SLAVE_BUILD]/out/coverage_results", |
414 "[DEPOT_TOOLS]/gsutil.py", | 249 "/path/to/tmp/json" |
415 "----", | |
416 "cp", | |
417 "-R", | |
418 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results/164710.cov", | |
419 "gs://skia-infra/coverage-raw-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GC
E-CPU-AVX2-x86_64-Coverage-Trybot/5/500/164710.cov" | |
420 ], | 250 ], |
421 "cwd": "[SLAVE_BUILD]", | 251 "cwd": "[SLAVE_BUILD]", |
422 "env": { | 252 "name": "listdir results_dir", |
423 "AWS_CREDENTIAL_FILE": null, | |
424 "BOTO_CONFIG": null, | |
425 "BUILDTYPE": "Coverage", | |
426 "CC": "/usr/bin/clang-3.6", | |
427 "CXX": "/usr/bin/clang++-3.6", | |
428 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | |
429 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-
Coverage-Trybot" | |
430 }, | |
431 "name": "gsutil upload raw coverage data", | |
432 "~followup_annotations": [ | 253 "~followup_annotations": [ |
433 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-infra/co
verage-raw-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverag
e-Trybot/5/500/164710.cov@@@" | 254 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 255 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", |
| 256 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", |
| 257 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 258 "@@@STEP_LOG_END@json.output@@@", |
| 259 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 260 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", |
| 261 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", |
| 262 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", |
| 263 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", |
| 264 "@@@STEP_LOG_END@python.inline@@@" |
434 ] | 265 ] |
435 }, | 266 }, |
436 { | 267 { |
437 "cmd": [ | 268 "cmd": [ |
438 "python", | 269 "python", |
439 "-u", | 270 "-u", |
440 "RECIPE_MODULE[build::skia]/resources/upload_bench_results.py", | 271 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
441 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", | 272 "[SLAVE_BUILD]/out/coverage_results/file 1", |
442 "5", | 273 "[SWARM_OUT_DIR]" |
443 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results", | |
444 "164710", | |
445 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", | |
446 "500" | |
447 ], | 274 ], |
448 "cwd": "[SLAVE_BUILD]/skia", | 275 "cwd": "[SLAVE_BUILD]", |
449 "env": { | 276 "name": "Copy to swarming out" |
450 "BUILDTYPE": "Coverage", | |
451 "CC": "/usr/bin/clang-3.6", | |
452 "CXX": "/usr/bin/clang++-3.6", | |
453 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | |
454 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-
Coverage-Trybot" | |
455 }, | |
456 "name": "upload nanobench coverage results" | |
457 }, | 277 }, |
458 { | 278 { |
459 "cmd": [ | 279 "cmd": [ |
460 "python", | 280 "python", |
461 "-u", | 281 "-u", |
462 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 282 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
463 "--", | 283 "[SLAVE_BUILD]/out/coverage_results/file 2", |
464 "[DEPOT_TOOLS]/gsutil.py", | 284 "[SWARM_OUT_DIR]" |
465 "----", | |
466 "cp", | |
467 "-R", | |
468 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Try
bot/coverage_results/coverage_by_line_164710_1408633190.json", | |
469 "gs://skia-infra/coverage-json-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-G
CE-CPU-AVX2-x86_64-Coverage-Trybot/5/500/coverage_by_line_164710_1408633190.json
" | |
470 ], | 285 ], |
471 "cwd": "[SLAVE_BUILD]", | 286 "cwd": "[SLAVE_BUILD]", |
472 "env": { | 287 "name": "Copy to swarming out (2)" |
473 "AWS_CREDENTIAL_FILE": null, | |
474 "BOTO_CONFIG": null, | |
475 "BUILDTYPE": "Coverage", | |
476 "CC": "/usr/bin/clang-3.6", | |
477 "CXX": "/usr/bin/clang++-3.6", | |
478 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | |
479 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-
Coverage-Trybot" | |
480 }, | |
481 "name": "gsutil upload line-by-line coverage data", | |
482 "~followup_annotations": [ | |
483 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-infra/co
verage-json-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Covera
ge-Trybot/5/500/coverage_by_line_164710_1408633190.json@@@" | |
484 ] | |
485 }, | 288 }, |
486 { | 289 { |
487 "name": "$result", | 290 "name": "$result", |
488 "recipe_result": null, | 291 "recipe_result": null, |
489 "status_code": 0 | 292 "status_code": 0 |
490 } | 293 } |
491 ] | 294 ] |
OLD | NEW |