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...) Expand all 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 "~followup_annotations": [ | 194 "~followup_annotations": [ |
191 "step returned non-zero exit code: 1", | 195 "step returned non-zero exit code: 1", |
192 "@@@STEP_EXCEPTION@@@" | 196 "@@@STEP_EXCEPTION@@@" |
193 ] | 197 ] |
194 }, | 198 }, |
195 { | 199 { |
196 "cmd": [ | 200 "cmd": [ |
197 "python", | 201 "python", |
198 "-u", | 202 "-u", |
199 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 203 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
200 "[CWD]/skia/SKP_VERSION", | 204 "[SLAVE_BUILD]/skia/SKP_VERSION", |
201 "/path/to/tmp/" | 205 "/path/to/tmp/" |
202 ], | 206 ], |
| 207 "cwd": "[SLAVE_BUILD]", |
203 "name": "Get expected SKP_VERSION" | 208 "name": "Get expected SKP_VERSION" |
204 }, | 209 }, |
205 { | 210 { |
206 "cmd": [ | 211 "cmd": [ |
207 "python", | 212 "python", |
208 "-u", | 213 "-u", |
209 "\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", | 214 "\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", |
210 "[CWD]/playback/skps" | 215 "[SLAVE_BUILD]/playback/skps" |
211 ], | 216 ], |
| 217 "cwd": "[SLAVE_BUILD]", |
212 "name": "rmtree skps", | 218 "name": "rmtree skps", |
213 "~followup_annotations": [ | 219 "~followup_annotations": [ |
214 "@@@STEP_LOG_LINE@python.inline@@@@", | 220 "@@@STEP_LOG_LINE@python.inline@@@@", |
215 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 221 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
216 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 222 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
217 "@@@STEP_LOG_LINE@python.inline@@@@", | 223 "@@@STEP_LOG_LINE@python.inline@@@@", |
218 "@@@STEP_LOG_LINE@python.inline@@@@", | 224 "@@@STEP_LOG_LINE@python.inline@@@@", |
219 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 225 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
220 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 226 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
221 "@@@STEP_LOG_END@python.inline@@@" | 227 "@@@STEP_LOG_END@python.inline@@@" |
222 ] | 228 ] |
223 }, | 229 }, |
224 { | 230 { |
225 "cmd": [ | 231 "cmd": [ |
226 "python", | 232 "python", |
227 "-u", | 233 "-u", |
228 "\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", | 234 "\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", |
229 "[CWD]/playback/skps", | 235 "[SLAVE_BUILD]/playback/skps", |
230 "511" | 236 "511" |
231 ], | 237 ], |
| 238 "cwd": "[SLAVE_BUILD]", |
232 "name": "makedirs skps", | 239 "name": "makedirs skps", |
233 "~followup_annotations": [ | 240 "~followup_annotations": [ |
234 "@@@STEP_LOG_LINE@python.inline@@@@", | 241 "@@@STEP_LOG_LINE@python.inline@@@@", |
235 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 242 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
236 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 243 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
237 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 244 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
238 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 245 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
239 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 246 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
240 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 247 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
241 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 248 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
242 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 249 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
243 "@@@STEP_LOG_END@python.inline@@@" | 250 "@@@STEP_LOG_END@python.inline@@@" |
244 ] | 251 ] |
245 }, | 252 }, |
246 { | 253 { |
247 "cmd": [ | 254 "cmd": [ |
248 "python", | 255 "python", |
249 "-u", | 256 "-u", |
250 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 257 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
251 "--", | 258 "--", |
252 "[ROOT]/b/depot_tools/gsutil.py", | 259 "[DEPOT_TOOLS]/gsutil.py", |
253 "----", | 260 "----", |
254 "cp", | 261 "cp", |
255 "-R", | 262 "-R", |
256 "gs://chromium-skia-gm/playback_42/skps/*", | 263 "gs://chromium-skia-gm/playback_42/skps/*", |
257 "[CWD]/playback/skps" | 264 "[SLAVE_BUILD]/playback/skps" |
258 ], | 265 ], |
| 266 "cwd": "[SLAVE_BUILD]", |
259 "env": { | 267 "env": { |
260 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | 268 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
261 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" | 269 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" |
262 }, | 270 }, |
263 "name": "gsutil download skps" | 271 "name": "gsutil download skps" |
264 }, | 272 }, |
265 { | 273 { |
266 "cmd": [ | 274 "cmd": [ |
267 "python", | 275 "python", |
268 "-u", | 276 "-u", |
269 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 277 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
270 "42", | 278 "42", |
271 "[CWD]/tmp/SKP_VERSION" | 279 "[SLAVE_BUILD]/tmp/SKP_VERSION" |
272 ], | 280 ], |
| 281 "cwd": "[SLAVE_BUILD]", |
273 "name": "write SKP_VERSION" | 282 "name": "write SKP_VERSION" |
274 }, | 283 }, |
275 { | 284 { |
276 "cmd": [ | 285 "cmd": [ |
277 "python", | 286 "python", |
278 "-u", | 287 "-u", |
279 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 288 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
280 "[CWD]/tmp/SK_IMAGE_VERSION", | 289 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
281 "/path/to/tmp/" | 290 "/path/to/tmp/" |
282 ], | 291 ], |
| 292 "cwd": "[SLAVE_BUILD]", |
283 "name": "Get downloaded SK_IMAGE_VERSION" | 293 "name": "Get downloaded SK_IMAGE_VERSION" |
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 "[CWD]/skia/SK_IMAGE_VERSION", | 300 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", |
291 "/path/to/tmp/" | 301 "/path/to/tmp/" |
292 ], | 302 ], |
| 303 "cwd": "[SLAVE_BUILD]", |
293 "name": "Get expected SK_IMAGE_VERSION" | 304 "name": "Get expected 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...) Expand all 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 |