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