OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "git", | 4 "git", |
5 "remote", | 5 "remote", |
6 "set-url", | 6 "set-url", |
7 "origin", | 7 "origin", |
8 "https://skia.googlesource.com/skia.git" | 8 "https://skia.googlesource.com/skia.git" |
9 ], | 9 ], |
10 "cwd": "[SLAVE_BUILD]/skia", | 10 "cwd": "[CWD]/skia", |
11 "name": "git remote set-url" | 11 "name": "git remote set-url" |
12 }, | 12 }, |
13 { | 13 { |
14 "cmd": [ | 14 "cmd": [ |
15 "git", | 15 "git", |
16 "fetch" | 16 "fetch" |
17 ], | 17 ], |
18 "cwd": "[SLAVE_BUILD]/skia", | 18 "cwd": "[CWD]/skia", |
19 "name": "git fetch" | 19 "name": "git fetch" |
20 }, | 20 }, |
21 { | 21 { |
22 "cmd": [ | 22 "cmd": [ |
23 "git", | 23 "git", |
24 "reset", | 24 "reset", |
25 "--hard", | 25 "--hard", |
26 "abc123" | 26 "abc123" |
27 ], | 27 ], |
28 "cwd": "[SLAVE_BUILD]/skia", | 28 "cwd": "[CWD]/skia", |
29 "name": "git reset" | 29 "name": "git reset" |
30 }, | 30 }, |
31 { | 31 { |
32 "cmd": [ | 32 "cmd": [ |
33 "git", | 33 "git", |
34 "clean", | 34 "clean", |
35 "-d", | 35 "-d", |
36 "-f" | 36 "-f" |
37 ], | 37 ], |
38 "cwd": "[SLAVE_BUILD]/skia", | 38 "cwd": "[CWD]/skia", |
39 "name": "git clean" | 39 "name": "git clean" |
40 }, | 40 }, |
41 { | 41 { |
42 "cmd": [ | 42 "cmd": [ |
43 "python", | 43 "python", |
44 "-u", | 44 "-u", |
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
46 "config", | 46 "config", |
47 "--spec", | 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']" | 48 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/
skia.git'}]\ntarget_os = ['llvm']" |
49 ], | 49 ], |
50 "cwd": "[SLAVE_BUILD]", | |
51 "env": { | 50 "env": { |
52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
53 }, | 52 }, |
54 "name": "gclient setup" | 53 "name": "gclient setup" |
55 }, | 54 }, |
56 { | 55 { |
57 "cmd": [ | 56 "cmd": [ |
58 "python", | 57 "python", |
59 "-u", | 58 "-u", |
60 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 59 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
61 "sync", | 60 "sync", |
62 "--nohooks", | 61 "--nohooks", |
63 "--force", | 62 "--force", |
64 "--verbose", | 63 "--verbose", |
65 "--delete_unversioned_trees", | 64 "--delete_unversioned_trees", |
66 "--revision", | 65 "--revision", |
67 "skia@abc123", | 66 "skia@abc123", |
68 "--output-json", | 67 "--output-json", |
69 "/path/to/tmp/json" | 68 "/path/to/tmp/json" |
70 ], | 69 ], |
71 "cwd": "[SLAVE_BUILD]", | |
72 "env": { | 70 "env": { |
73 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 71 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
74 }, | 72 }, |
75 "name": "gclient sync", | 73 "name": "gclient sync", |
76 "~followup_annotations": [ | 74 "~followup_annotations": [ |
77 "@@@STEP_LOG_LINE@json.output@{@@@", | 75 "@@@STEP_LOG_LINE@json.output@{@@@", |
78 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 76 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
79 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 77 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
80 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 78 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
81 "@@@STEP_LOG_LINE@json.output@ }@@@", | 79 "@@@STEP_LOG_LINE@json.output@ }@@@", |
82 "@@@STEP_LOG_LINE@json.output@ }@@@", | 80 "@@@STEP_LOG_LINE@json.output@ }@@@", |
83 "@@@STEP_LOG_LINE@json.output@}@@@", | 81 "@@@STEP_LOG_LINE@json.output@}@@@", |
84 "@@@STEP_LOG_END@json.output@@@", | 82 "@@@STEP_LOG_END@json.output@@@", |
85 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 83 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
86 ] | 84 ] |
87 }, | 85 }, |
88 { | 86 { |
89 "cmd": [ | 87 "cmd": [ |
90 "python", | 88 "python", |
91 "-u", | 89 "-u", |
92 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | 90 "[CWD]/skia/tools/buildbot_spec.py", |
93 "/path/to/tmp/json", | 91 "/path/to/tmp/json", |
94 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | 92 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
95 ], | 93 ], |
96 "cwd": "[SLAVE_BUILD]/skia", | 94 "cwd": "[CWD]/skia", |
97 "name": "exec buildbot_spec.py", | 95 "name": "exec buildbot_spec.py", |
98 "~followup_annotations": [ | 96 "~followup_annotations": [ |
99 "@@@STEP_LOG_LINE@json.output@{@@@", | 97 "@@@STEP_LOG_LINE@json.output@{@@@", |
100 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 98 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
101 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@", | 99 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@", |
102 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", | 100 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", |
103 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 101 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
104 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 102 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
105 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", | 103 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", |
106 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", | 104 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", |
(...skipping 21 matching lines...) Expand all Loading... |
128 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 126 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
129 "@@@STEP_LOG_LINE@json.output@}@@@", | 127 "@@@STEP_LOG_LINE@json.output@}@@@", |
130 "@@@STEP_LOG_END@json.output@@@" | 128 "@@@STEP_LOG_END@json.output@@@" |
131 ] | 129 ] |
132 }, | 130 }, |
133 { | 131 { |
134 "cmd": [ | 132 "cmd": [ |
135 "make", | 133 "make", |
136 "dm" | 134 "dm" |
137 ], | 135 ], |
138 "cwd": "[SLAVE_BUILD]/skia", | 136 "cwd": "[CWD]/skia", |
139 "env": { | 137 "env": { |
140 "BUILDTYPE": "Debug", | 138 "BUILDTYPE": "Debug", |
141 "CHROME_PATH": "[HOME]/src", | 139 "CHROME_PATH": "[HOME]/src", |
142 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 140 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
143 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" | 141 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
144 }, | 142 }, |
145 "name": "build dm" | 143 "name": "build dm" |
146 }, | 144 }, |
147 { | 145 { |
148 "cmd": [ | 146 "cmd": [ |
149 "make", | 147 "make", |
150 "nanobench" | 148 "nanobench" |
151 ], | 149 ], |
152 "cwd": "[SLAVE_BUILD]/skia", | 150 "cwd": "[CWD]/skia", |
153 "env": { | 151 "env": { |
154 "BUILDTYPE": "Debug", | 152 "BUILDTYPE": "Debug", |
155 "CHROME_PATH": "[HOME]/src", | 153 "CHROME_PATH": "[HOME]/src", |
156 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 154 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
157 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" | 155 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
158 }, | 156 }, |
159 "name": "build nanobench" | 157 "name": "build nanobench" |
160 }, | 158 }, |
161 { | 159 { |
162 "cmd": [ | 160 "cmd": [ |
163 "python", | 161 "python", |
164 "-u", | 162 "-u", |
165 "\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", | 163 "\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", |
166 "[SLAVE_BUILD]/tmp", | 164 "[CWD]/tmp", |
167 "511" | 165 "511" |
168 ], | 166 ], |
169 "cwd": "[SLAVE_BUILD]", | |
170 "name": "makedirs tmp_dir", | 167 "name": "makedirs tmp_dir", |
171 "~followup_annotations": [ | 168 "~followup_annotations": [ |
172 "@@@STEP_LOG_LINE@python.inline@@@@", | 169 "@@@STEP_LOG_LINE@python.inline@@@@", |
173 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 170 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
174 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 171 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
175 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 172 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
176 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 173 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
177 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 174 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
178 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 175 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
179 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 176 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
180 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 177 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
181 "@@@STEP_LOG_END@python.inline@@@" | 178 "@@@STEP_LOG_END@python.inline@@@" |
182 ] | 179 ] |
183 }, | 180 }, |
184 { | 181 { |
185 "cmd": [ | 182 "cmd": [ |
186 "python", | 183 "python", |
187 "-u", | 184 "-u", |
188 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 185 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
189 "[SLAVE_BUILD]/tmp/SKP_VERSION", | 186 "[CWD]/tmp/SKP_VERSION", |
190 "/path/to/tmp/" | 187 "/path/to/tmp/" |
191 ], | 188 ], |
192 "cwd": "[SLAVE_BUILD]", | |
193 "name": "Get downloaded SKP_VERSION" | 189 "name": "Get downloaded SKP_VERSION" |
194 }, | 190 }, |
195 { | 191 { |
196 "cmd": [ | 192 "cmd": [ |
197 "python", | 193 "python", |
198 "-u", | 194 "-u", |
199 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 195 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
200 "[SLAVE_BUILD]/skia/SKP_VERSION", | 196 "[CWD]/skia/SKP_VERSION", |
201 "/path/to/tmp/" | 197 "/path/to/tmp/" |
202 ], | 198 ], |
203 "cwd": "[SLAVE_BUILD]", | |
204 "name": "Get expected SKP_VERSION" | 199 "name": "Get expected SKP_VERSION" |
205 }, | 200 }, |
206 { | 201 { |
207 "cmd": [ | 202 "cmd": [ |
208 "python", | 203 "python", |
209 "-u", | 204 "-u", |
210 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 205 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
211 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", | 206 "[CWD]/tmp/SK_IMAGE_VERSION", |
212 "/path/to/tmp/" | 207 "/path/to/tmp/" |
213 ], | 208 ], |
214 "cwd": "[SLAVE_BUILD]", | |
215 "name": "Get downloaded SK_IMAGE_VERSION", | 209 "name": "Get downloaded SK_IMAGE_VERSION", |
216 "~followup_annotations": [ | 210 "~followup_annotations": [ |
217 "step returned non-zero exit code: 1", | 211 "step returned non-zero exit code: 1", |
218 "@@@STEP_EXCEPTION@@@" | 212 "@@@STEP_EXCEPTION@@@" |
219 ] | 213 ] |
220 }, | 214 }, |
221 { | 215 { |
222 "cmd": [ | 216 "cmd": [ |
223 "python", | 217 "python", |
224 "-u", | 218 "-u", |
225 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 219 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
226 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", | 220 "[CWD]/skia/SK_IMAGE_VERSION", |
227 "/path/to/tmp/" | 221 "/path/to/tmp/" |
228 ], | 222 ], |
229 "cwd": "[SLAVE_BUILD]", | |
230 "name": "Get expected SK_IMAGE_VERSION" | 223 "name": "Get expected SK_IMAGE_VERSION" |
231 }, | 224 }, |
232 { | 225 { |
233 "cmd": [ | 226 "cmd": [ |
234 "python", | 227 "python", |
235 "-u", | 228 "-u", |
236 "\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", | 229 "\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", |
237 "[SLAVE_BUILD]/images" | 230 "[CWD]/images" |
238 ], | 231 ], |
239 "cwd": "[SLAVE_BUILD]", | |
240 "name": "rmtree images", | 232 "name": "rmtree images", |
241 "~followup_annotations": [ | 233 "~followup_annotations": [ |
242 "@@@STEP_LOG_LINE@python.inline@@@@", | 234 "@@@STEP_LOG_LINE@python.inline@@@@", |
243 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 235 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
244 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 236 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
245 "@@@STEP_LOG_LINE@python.inline@@@@", | 237 "@@@STEP_LOG_LINE@python.inline@@@@", |
246 "@@@STEP_LOG_LINE@python.inline@@@@", | 238 "@@@STEP_LOG_LINE@python.inline@@@@", |
247 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 239 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
248 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 240 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
249 "@@@STEP_LOG_END@python.inline@@@" | 241 "@@@STEP_LOG_END@python.inline@@@" |
250 ] | 242 ] |
251 }, | 243 }, |
252 { | 244 { |
253 "cmd": [ | 245 "cmd": [ |
254 "python", | 246 "python", |
255 "-u", | 247 "-u", |
256 "\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", | 248 "\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", |
257 "[SLAVE_BUILD]/images", | 249 "[CWD]/images", |
258 "511" | 250 "511" |
259 ], | 251 ], |
260 "cwd": "[SLAVE_BUILD]", | |
261 "name": "makedirs images", | 252 "name": "makedirs images", |
262 "~followup_annotations": [ | 253 "~followup_annotations": [ |
263 "@@@STEP_LOG_LINE@python.inline@@@@", | 254 "@@@STEP_LOG_LINE@python.inline@@@@", |
264 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 255 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
265 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 256 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
266 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 257 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
267 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 258 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
268 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 259 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
269 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 260 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
270 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 261 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
271 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 262 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
272 "@@@STEP_LOG_END@python.inline@@@" | 263 "@@@STEP_LOG_END@python.inline@@@" |
273 ] | 264 ] |
274 }, | 265 }, |
275 { | 266 { |
276 "cmd": [ | 267 "cmd": [ |
277 "python", | 268 "python", |
278 "-u", | 269 "-u", |
279 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 270 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
280 "--", | 271 "--", |
281 "[DEPOT_TOOLS]/gsutil.py", | 272 "[ROOT]/b/depot_tools/gsutil.py", |
282 "----", | 273 "----", |
283 "cp", | 274 "cp", |
284 "-R", | 275 "-R", |
285 "gs://chromium-skia-gm/skimage/v42/*", | 276 "gs://chromium-skia-gm/skimage/v42/*", |
286 "[SLAVE_BUILD]/images" | 277 "[CWD]/images" |
287 ], | 278 ], |
288 "cwd": "[SLAVE_BUILD]", | |
289 "env": { | 279 "env": { |
290 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | 280 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
291 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" | 281 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" |
292 }, | 282 }, |
293 "name": "gsutil download images" | 283 "name": "gsutil download images" |
294 }, | 284 }, |
295 { | 285 { |
296 "cmd": [ | 286 "cmd": [ |
297 "python", | 287 "python", |
298 "-u", | 288 "-u", |
299 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 289 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
300 "42", | 290 "42", |
301 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" | 291 "[CWD]/tmp/SK_IMAGE_VERSION" |
302 ], | 292 ], |
303 "cwd": "[SLAVE_BUILD]", | |
304 "name": "write SK_IMAGE_VERSION" | 293 "name": "write SK_IMAGE_VERSION" |
305 }, | 294 }, |
306 { | 295 { |
307 "cmd": [ | 296 "cmd": [ |
308 "python", | 297 "python", |
309 "-u", | 298 "-u", |
310 "\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", | 299 "\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", |
311 "[SLAVE_BUILD]/dm" | 300 "[CWD]/dm" |
312 ], | 301 ], |
313 "cwd": "[SLAVE_BUILD]", | |
314 "name": "rmtree dm", | 302 "name": "rmtree dm", |
315 "~followup_annotations": [ | 303 "~followup_annotations": [ |
316 "@@@STEP_LOG_LINE@python.inline@@@@", | 304 "@@@STEP_LOG_LINE@python.inline@@@@", |
317 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 305 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
318 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 306 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
319 "@@@STEP_LOG_LINE@python.inline@@@@", | 307 "@@@STEP_LOG_LINE@python.inline@@@@", |
320 "@@@STEP_LOG_LINE@python.inline@@@@", | 308 "@@@STEP_LOG_LINE@python.inline@@@@", |
321 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 309 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
322 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 310 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
323 "@@@STEP_LOG_END@python.inline@@@" | 311 "@@@STEP_LOG_END@python.inline@@@" |
324 ] | 312 ] |
325 }, | 313 }, |
326 { | 314 { |
327 "cmd": [ | 315 "cmd": [ |
328 "python", | 316 "python", |
329 "-u", | 317 "-u", |
330 "\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", | 318 "\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", |
331 "[SLAVE_BUILD]/dm", | 319 "[CWD]/dm", |
332 "511" | 320 "511" |
333 ], | 321 ], |
334 "cwd": "[SLAVE_BUILD]", | |
335 "name": "makedirs dm", | 322 "name": "makedirs dm", |
336 "~followup_annotations": [ | 323 "~followup_annotations": [ |
337 "@@@STEP_LOG_LINE@python.inline@@@@", | 324 "@@@STEP_LOG_LINE@python.inline@@@@", |
338 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 325 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
339 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 326 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
340 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 327 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
341 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 328 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
342 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 329 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
343 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 330 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
344 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 331 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
345 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 332 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
346 "@@@STEP_LOG_END@python.inline@@@" | 333 "@@@STEP_LOG_END@python.inline@@@" |
347 ] | 334 ] |
348 }, | 335 }, |
349 { | 336 { |
350 "cmd": [ | 337 "cmd": [ |
351 "python", | 338 "python", |
352 "-u", | 339 "-u", |
353 "\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", | 340 "\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", |
354 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | 341 "[CWD]/tmp/uninteresting_hashes.txt" |
355 ], | 342 ], |
356 "cwd": "[SLAVE_BUILD]/skia", | 343 "cwd": "[CWD]/skia", |
357 "env": { | 344 "env": { |
358 "BUILDTYPE": "Debug", | 345 "BUILDTYPE": "Debug", |
359 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 346 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
360 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" | 347 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
361 }, | 348 }, |
362 "name": "get uninteresting hashes", | 349 "name": "get uninteresting hashes", |
363 "~followup_annotations": [ | 350 "~followup_annotations": [ |
364 "@@@STEP_LOG_LINE@python.inline@@@@", | 351 "@@@STEP_LOG_LINE@python.inline@@@@", |
365 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | 352 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", |
366 "@@@STEP_LOG_LINE@python.inline@import math@@@", | 353 "@@@STEP_LOG_LINE@python.inline@import math@@@", |
367 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | 354 "@@@STEP_LOG_LINE@python.inline@import socket@@@", |
368 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 355 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
369 "@@@STEP_LOG_LINE@python.inline@import time@@@", | 356 "@@@STEP_LOG_LINE@python.inline@import time@@@", |
370 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", | 357 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", |
(...skipping 19 matching lines...) Expand all Loading... |
390 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 377 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
391 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", | 378 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", |
392 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", | 379 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", |
393 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", | 380 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", |
394 "@@@STEP_LOG_END@python.inline@@@" | 381 "@@@STEP_LOG_END@python.inline@@@" |
395 ] | 382 ] |
396 }, | 383 }, |
397 { | 384 { |
398 "cmd": [ | 385 "cmd": [ |
399 "catchsegv", | 386 "catchsegv", |
400 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/dm
", | 387 "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/dm", |
401 "--undefok", | 388 "--undefok", |
402 "--resourcePath", | 389 "--resourcePath", |
403 "[SLAVE_BUILD]/skia/resources", | 390 "[CWD]/skia/resources", |
404 "--skps", | 391 "--skps", |
405 "[SLAVE_BUILD]/playback/skps", | 392 "[CWD]/playback/skps", |
406 "--images", | 393 "--images", |
407 "[SLAVE_BUILD]/images/dm", | 394 "[CWD]/images/dm", |
408 "--nameByHash", | 395 "--nameByHash", |
409 "--properties", | 396 "--properties", |
410 "gitHash", | 397 "gitHash", |
411 "164710", | 398 "164710", |
412 "master", | 399 "master", |
413 "client.skia", | 400 "client.skia", |
414 "builder", | 401 "builder", |
415 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | 402 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", |
416 "build_number", | 403 "build_number", |
417 "6", | 404 "6", |
418 "--key", | 405 "--key", |
419 "arch", | 406 "arch", |
420 "x86_64", | 407 "x86_64", |
421 "compiler", | 408 "compiler", |
422 "GCC", | 409 "GCC", |
423 "configuration", | 410 "configuration", |
424 "Debug", | 411 "Debug", |
425 "cpu_or_gpu", | 412 "cpu_or_gpu", |
426 "CPU", | 413 "CPU", |
427 "cpu_or_gpu_value", | 414 "cpu_or_gpu_value", |
428 "AVX2", | 415 "AVX2", |
429 "model", | 416 "model", |
430 "GCE", | 417 "GCE", |
431 "os", | 418 "os", |
432 "Ubuntu", | 419 "Ubuntu", |
433 "--uninterestingHashesFile", | 420 "--uninterestingHashesFile", |
434 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | 421 "[CWD]/tmp/uninteresting_hashes.txt", |
435 "--writePath", | 422 "--writePath", |
436 "[SLAVE_BUILD]/dm", | 423 "[CWD]/dm", |
437 "--nogpu", | 424 "--nogpu", |
438 "--dummy-flags" | 425 "--dummy-flags" |
439 ], | 426 ], |
440 "cwd": "[SLAVE_BUILD]", | |
441 "env": { | 427 "env": { |
442 "BUILDTYPE": "Debug", | 428 "BUILDTYPE": "Debug", |
443 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 429 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
444 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" | 430 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
445 }, | 431 }, |
446 "name": "dm" | 432 "name": "dm" |
447 }, | 433 }, |
448 { | 434 { |
449 "cmd": [ | 435 "cmd": [ |
450 "python", | 436 "python", |
451 "-u", | 437 "-u", |
452 "RECIPE_MODULE[build::skia]/resources/upload_dm_results.py", | 438 "RECIPE_MODULE[build::skia]/resources/upload_dm_results.py", |
453 "[SLAVE_BUILD]/dm", | 439 "[CWD]/dm", |
454 "164710", | 440 "164710", |
455 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | 441 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", |
456 "6", | 442 "6", |
457 "", | 443 "", |
458 "[SLAVE_BUILD]/skia/common/py/utils" | 444 "[CWD]/skia/common/py/utils" |
459 ], | 445 ], |
460 "cwd": "[SLAVE_BUILD]/skia", | 446 "cwd": "[CWD]/skia", |
461 "env": { | 447 "env": { |
462 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | 448 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
463 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", | 449 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto", |
464 "BUILDTYPE": "Debug", | 450 "BUILDTYPE": "Debug", |
465 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 451 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
466 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" | 452 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
467 }, | 453 }, |
468 "name": "Upload DM Results" | 454 "name": "Upload DM Results" |
469 }, | 455 }, |
470 { | 456 { |
471 "cmd": [ | 457 "cmd": [ |
472 "catchsegv", | 458 "catchsegv", |
473 "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/na
nobench", | 459 "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/Debug/nanobench"
, |
474 "--undefok", | 460 "--undefok", |
475 "-i", | 461 "-i", |
476 "[SLAVE_BUILD]/skia/resources", | 462 "[CWD]/skia/resources", |
477 "--skps", | 463 "--skps", |
478 "[SLAVE_BUILD]/playback/skps", | 464 "[CWD]/playback/skps", |
479 "--images", | 465 "--images", |
480 "[SLAVE_BUILD]/images/dm", | 466 "[CWD]/images/dm", |
481 "--nogpu", | 467 "--nogpu", |
482 "--dummy-flags" | 468 "--dummy-flags" |
483 ], | 469 ], |
484 "cwd": "[SLAVE_BUILD]", | |
485 "env": { | 470 "env": { |
486 "BUILDTYPE": "Debug", | 471 "BUILDTYPE": "Debug", |
487 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", | 472 "GYP_DEFINES": "skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0
", |
488 "SKIA_OUT": "[SLAVE_BUILD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-De
bug" | 473 "SKIA_OUT": "[CWD]/skia/out/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" |
489 }, | 474 }, |
490 "name": "nanobench" | 475 "name": "nanobench" |
491 }, | 476 }, |
492 { | 477 { |
493 "name": "$result", | 478 "name": "$result", |
494 "recipe_result": null, | 479 "recipe_result": null, |
495 "status_code": 0 | 480 "status_code": 0 |
496 } | 481 } |
497 ] | 482 ] |
OLD | NEW |