OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
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 = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n
ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l
lvm']" | |
49 ], | |
50 "env": { | |
51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
52 }, | |
53 "name": "gclient setup" | |
54 }, | |
55 { | |
56 "cmd": [ | |
57 "python", | |
58 "-u", | |
59 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
60 "sync", | |
61 "--nohooks", | |
62 "--force", | |
63 "--verbose", | |
64 "--delete_unversioned_trees", | |
65 "--revision", | |
66 "skia@abc123", | |
67 "--output-json", | |
68 "/path/to/tmp/json" | |
69 ], | |
70 "env": { | |
71 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
72 }, | |
73 "name": "gclient sync", | |
74 "~followup_annotations": [ | |
75 "@@@STEP_LOG_LINE@json.output@{@@@", | |
76 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | |
77 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | |
78 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | |
79 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
80 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
81 "@@@STEP_LOG_LINE@json.output@}@@@", | |
82 "@@@STEP_LOG_END@json.output@@@", | |
83 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | |
84 ] | |
85 }, | |
86 { | |
87 "cmd": [ | |
88 "python", | |
89 "-u", | |
90 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | |
91 "--path", | |
92 "[SLAVE_BUILD]/swarming.client", | |
93 "--url", | |
94 "https://chromium.googlesource.com/external/swarming.client.git" | |
95 ], | |
96 "name": "git setup (swarming_client)" | |
97 }, | |
98 { | |
99 "cmd": [ | |
100 "git", | |
101 "retry", | |
102 "fetch", | |
103 "origin", | |
104 "master" | |
105 ], | |
106 "cwd": "[SLAVE_BUILD]/swarming.client", | |
107 "name": "git fetch (swarming_client)" | |
108 }, | |
109 { | |
110 "cmd": [ | |
111 "git", | |
112 "checkout", | |
113 "-f", | |
114 "FETCH_HEAD" | |
115 ], | |
116 "cwd": "[SLAVE_BUILD]/swarming.client", | |
117 "name": "git checkout (swarming_client)" | |
118 }, | |
119 { | |
120 "cmd": [ | |
121 "git", | |
122 "rev-parse", | |
123 "HEAD" | |
124 ], | |
125 "cwd": "[SLAVE_BUILD]/swarming.client", | |
126 "name": "read revision", | |
127 "stdout": "/path/to/tmp/", | |
128 "~followup_annotations": [ | |
129 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | |
130 ] | |
131 }, | |
132 { | |
133 "cmd": [ | |
134 "git", | |
135 "clean", | |
136 "-f", | |
137 "-d", | |
138 "-x" | |
139 ], | |
140 "cwd": "[SLAVE_BUILD]/swarming.client", | |
141 "name": "git clean (swarming_client)" | |
142 }, | |
143 { | |
144 "cmd": [ | |
145 "git", | |
146 "submodule", | |
147 "sync" | |
148 ], | |
149 "cwd": "[SLAVE_BUILD]/swarming.client", | |
150 "name": "submodule sync (swarming_client)" | |
151 }, | |
152 { | |
153 "cmd": [ | |
154 "git", | |
155 "submodule", | |
156 "update", | |
157 "--init", | |
158 "--recursive" | |
159 ], | |
160 "cwd": "[SLAVE_BUILD]/swarming.client", | |
161 "name": "submodule update (swarming_client)" | |
162 }, | |
163 { | |
164 "cmd": [ | |
165 "python", | |
166 "-u", | |
167 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
168 "--version" | |
169 ], | |
170 "name": "swarming.py --version", | |
171 "stdout": "/path/to/tmp/", | |
172 "~followup_annotations": [ | |
173 "@@@STEP_TEXT@0.8.6@@@" | |
174 ] | |
175 }, | |
176 { | |
177 "cmd": [ | |
178 "download_from_google_storage", | |
179 "--no_resume", | |
180 "--platform=linux*", | |
181 "--no_auth", | |
182 "--bucket", | |
183 "chromium-luci", | |
184 "-d", | |
185 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/linux64" | |
186 ], | |
187 "name": "download luci-go linux" | |
188 }, | |
189 { | |
190 "cmd": [ | |
191 "download_from_google_storage", | |
192 "--no_resume", | |
193 "--platform=darwin", | |
194 "--no_auth", | |
195 "--bucket", | |
196 "chromium-luci", | |
197 "-d", | |
198 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/mac64" | |
199 ], | |
200 "name": "download luci-go mac" | |
201 }, | |
202 { | |
203 "cmd": [ | |
204 "download_from_google_storage", | |
205 "--no_resume", | |
206 "--platform=win32", | |
207 "--no_auth", | |
208 "--bucket", | |
209 "chromium-luci", | |
210 "-d", | |
211 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/win64" | |
212 ], | |
213 "name": "download luci-go win" | |
214 }, | |
215 { | |
216 "cmd": [ | |
217 "python", | |
218 "-u", | |
219 "\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", | |
220 "[SLAVE_BUILD]/luci-go" | |
221 ], | |
222 "name": "rmtree Go binary dir", | |
223 "~followup_annotations": [ | |
224 "@@@STEP_LOG_LINE@python.inline@@@@", | |
225 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
226 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
227 "@@@STEP_LOG_LINE@python.inline@@@@", | |
228 "@@@STEP_LOG_LINE@python.inline@@@@", | |
229 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
230 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
231 "@@@STEP_LOG_END@python.inline@@@" | |
232 ] | |
233 }, | |
234 { | |
235 "cmd": [ | |
236 "python", | |
237 "-u", | |
238 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | |
239 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go", | |
240 "[SLAVE_BUILD]/luci-go", | |
241 "0" | |
242 ], | |
243 "name": "Copy Go binary" | |
244 }, | |
245 { | |
246 "cmd": [ | |
247 "python", | |
248 "-u", | |
249 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
250 "--", | |
251 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
252 "----", | |
253 "help" | |
254 ], | |
255 "name": "gsutil help" | |
256 }, | |
257 { | |
258 "cmd": [ | |
259 "python", | |
260 "-u", | |
261 "\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", | |
262 "[BUILD]/third_party/infra", | |
263 "511" | |
264 ], | |
265 "name": "makedirs third_party_infra", | |
266 "~followup_annotations": [ | |
267 "@@@STEP_LOG_LINE@python.inline@@@@", | |
268 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
269 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
270 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
271 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
272 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
273 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
274 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
275 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
276 "@@@STEP_LOG_END@python.inline@@@" | |
277 ] | |
278 }, | |
279 { | |
280 "cmd": [ | |
281 "python", | |
282 "-u", | |
283 "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files
:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access
(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)
\n" | |
284 ], | |
285 "cwd": "[BUILD]", | |
286 "name": "fix filemodes", | |
287 "~followup_annotations": [ | |
288 "@@@STEP_LOG_LINE@python.inline@import os@@@", | |
289 "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@
@", | |
290 "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", | |
291 "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", | |
292 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", | |
293 "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", | |
294 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", | |
295 "@@@STEP_LOG_LINE@python.inline@ else:@@@", | |
296 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@", | |
297 "@@@STEP_LOG_END@python.inline@@@" | |
298 ] | |
299 }, | |
300 { | |
301 "cmd": [ | |
302 "python", | |
303 "-u", | |
304 "\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", | |
305 "[SLAVE_BUILD]/swarming_temp_dir", | |
306 "511" | |
307 ], | |
308 "name": "makedirs swarming tmp dir", | |
309 "~followup_annotations": [ | |
310 "@@@STEP_LOG_LINE@python.inline@@@@", | |
311 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
312 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
313 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
314 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
315 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
316 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
317 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
318 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
319 "@@@STEP_LOG_END@python.inline@@@" | |
320 ] | |
321 }, | |
322 { | |
323 "cmd": [ | |
324 "python", | |
325 "-u", | |
326 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
327 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl
ave/recipes/skia/swarm_recipe.isolate\", \n \"--isolated\", \n \"[
SLAVE_BUILD]/swarming_temp_dir/skia-task-isolate_recipes.isolated\", \n \
"--config-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\
": \"[BUILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}", | |
328 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json" | |
329 ], | |
330 "name": "Write isolate_recipes.isolated.gen.json" | |
331 }, | |
332 { | |
333 "cmd": [ | |
334 "python", | |
335 "-u", | |
336 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
337 "[SLAVE_BUILD]/swarming.client", | |
338 "batcharchive", | |
339 "--dump-json", | |
340 "/path/to/tmp/json", | |
341 "--isolate-server", | |
342 "https://isolateserver.appspot.com", | |
343 "--verbose", | |
344 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json" | |
345 ], | |
346 "name": "isolate tests", | |
347 "~followup_annotations": [ | |
348 "@@@STEP_LOG_LINE@json.output@{@@@", | |
349 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso
late_recipes]\"@@@", | |
350 "@@@STEP_LOG_LINE@json.output@}@@@", | |
351 "@@@STEP_LOG_END@json.output@@@", | |
352 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo
r isolate_recipes]\"}@@@" | |
353 ] | |
354 }, | |
355 { | |
356 "cmd": [ | |
357 "python", | |
358 "-u", | |
359 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | |
360 "/path/to/tmp/json", | |
361 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug" | |
362 ], | |
363 "cwd": "[SLAVE_BUILD]/skia", | |
364 "name": "exec buildbot_spec.py", | |
365 "~followup_annotations": [ | |
366 "@@@STEP_LOG_LINE@json.output@{@@@", | |
367 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | |
368 "@@@STEP_LOG_LINE@json.output@ \"dm\", @@@", | |
369 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@", | |
370 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
371 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | |
372 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", | |
373 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", | |
374 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", | |
375 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@", | |
376 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX2\", @@@", | |
377 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", | |
378 "@@@STEP_LOG_LINE@json.output@ \"model\": \"GCE\", @@@", | |
379 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", | |
380 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@", | |
381 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
382 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", | |
383 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", | |
384 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | |
385 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
386 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": true, @@@", | |
387 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@", | |
388 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", | |
389 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64
skia_gpu=0 skia_warnings_as_errors=0\"@@@", | |
390 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
391 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", | |
392 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | |
393 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
394 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", | |
395 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | |
396 "@@@STEP_LOG_LINE@json.output@}@@@", | |
397 "@@@STEP_LOG_END@json.output@@@" | |
398 ] | |
399 }, | |
400 { | |
401 "cmd": [ | |
402 "python", | |
403 "-u", | |
404 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | |
405 "/path/to/tmp/json", | |
406 "Build-Ubuntu-GCC-x86_64-Debug" | |
407 ], | |
408 "cwd": "[SLAVE_BUILD]/skia", | |
409 "name": "exec buildbot_spec.py (2)", | |
410 "~followup_annotations": [ | |
411 "@@@STEP_LOG_LINE@json.output@{@@@", | |
412 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | |
413 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", | |
414 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
415 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | |
416 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@", | |
417 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", | |
418 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@", | |
419 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@", | |
420 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@", | |
421 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@", | |
422 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
423 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", | |
424 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@", | |
425 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | |
426 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
427 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@", | |
428 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@", | |
429 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", | |
430 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64
skia_warnings_as_errors=1\"@@@", | |
431 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
432 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@", | |
433 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@", | |
434 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
435 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@", | |
436 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | |
437 "@@@STEP_LOG_LINE@json.output@}@@@", | |
438 "@@@STEP_LOG_END@json.output@@@" | |
439 ] | |
440 }, | |
441 { | |
442 "cmd": [ | |
443 "python", | |
444 "-u", | |
445 "\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", | |
446 "[SLAVE_BUILD]/swarming_temp_dir", | |
447 "511" | |
448 ], | |
449 "name": "makedirs swarming tmp dir (2)", | |
450 "~followup_annotations": [ | |
451 "@@@STEP_LOG_LINE@python.inline@@@@", | |
452 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
453 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
454 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
455 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
456 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
457 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
458 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
459 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
460 "@@@STEP_LOG_END@python.inline@@@" | |
461 ] | |
462 }, | |
463 { | |
464 "cmd": [ | |
465 "python", | |
466 "-u", | |
467 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
468 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia
/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE
_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi
g-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\",
\n \".git\", \n \"--blacklist\", \n \"out\", \n \"-
-blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"W
ORKDIR\", \n \"[SLAVE_BUILD]\", \n \"--extra-variable\", \n
\"BUILD\", \n \"[BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n
\"version\": 1\n}", | |
469 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" | |
470 ], | |
471 "name": "Write compile_skia.isolated.gen.json" | |
472 }, | |
473 { | |
474 "cmd": [ | |
475 "python", | |
476 "-u", | |
477 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
478 "[SLAVE_BUILD]/swarming.client", | |
479 "batcharchive", | |
480 "--dump-json", | |
481 "/path/to/tmp/json", | |
482 "--isolate-server", | |
483 "https://isolateserver.appspot.com", | |
484 "--verbose", | |
485 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" | |
486 ], | |
487 "name": "isolate tests (2)", | |
488 "~followup_annotations": [ | |
489 "@@@STEP_LOG_LINE@json.output@{@@@", | |
490 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil
e_skia]\"@@@", | |
491 "@@@STEP_LOG_LINE@json.output@}@@@", | |
492 "@@@STEP_LOG_END@json.output@@@", | |
493 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c
ompile_skia]\"}@@@" | |
494 ] | |
495 }, | |
496 { | |
497 "cmd": [ | |
498 "python", | |
499 "-u", | |
500 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso
n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h
in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w')
as f:\n json.dump(isolated, f, sort_keys=True)\n", | |
501 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated", | |
502 "[dummy hash for isolate_recipes]" | |
503 ], | |
504 "name": "add_isolated_input", | |
505 "~followup_annotations": [ | |
506 "@@@STEP_LOG_LINE@python.inline@@@@", | |
507 "@@@STEP_LOG_LINE@python.inline@import json@@@", | |
508 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
509 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", | |
510 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", | |
511 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", | |
512 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", | |
513 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", | |
514 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", | |
515 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", | |
516 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", | |
517 "@@@STEP_LOG_END@python.inline@@@" | |
518 ] | |
519 }, | |
520 { | |
521 "cmd": [ | |
522 "python", | |
523 "-u", | |
524 "[SLAVE_BUILD]/swarming.client/isolateserver.py", | |
525 "archive", | |
526 "--isolate-server", | |
527 "https://isolateserver.appspot.com", | |
528 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated" | |
529 ], | |
530 "name": "upload new .isolated file for compile_skia", | |
531 "stdout": "/path/to/tmp/" | |
532 }, | |
533 { | |
534 "cmd": [ | |
535 "python", | |
536 "-u", | |
537 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
538 "trigger", | |
539 "--swarming", | |
540 "https://chromium-swarm.appspot.com", | |
541 "--isolate-server", | |
542 "https://isolateserver.appspot.com", | |
543 "--priority", | |
544 "90", | |
545 "--shards", | |
546 "1", | |
547 "--task-name", | |
548 "compile_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5", | |
549 "--dump-json", | |
550 "/path/to/tmp/json", | |
551 "--expiration", | |
552 "72000", | |
553 "--io-timeout", | |
554 "2400", | |
555 "--hard-timeout", | |
556 "14400", | |
557 "--dimension", | |
558 "gpu", | |
559 "none", | |
560 "--dimension", | |
561 "os", | |
562 "Ubuntu", | |
563 "--dimension", | |
564 "pool", | |
565 "Skia", | |
566 "--tag", | |
567 "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | |
568 "--tag", | |
569 "buildnumber:5", | |
570 "--tag", | |
571 "data:def456", | |
572 "--tag", | |
573 "master:client.skia", | |
574 "--tag", | |
575 "name:compile_skia", | |
576 "--tag", | |
577 "os:Ubuntu", | |
578 "--tag", | |
579 "slavename:skiabot-linux-compile-000", | |
580 "--tag", | |
581 "stepname:compile_skia on Ubuntu", | |
582 "--idempotent", | |
583 "def456", | |
584 "--", | |
585 "--workdir", | |
586 "../../..", | |
587 "skia/swarm_compile", | |
588 "buildername=Build-Ubuntu-GCC-x86_64-Debug", | |
589 "mastername=client.skia.compile", | |
590 "buildnumber=1", | |
591 "slavename=skiabot-dummy-compile-slave", | |
592 "reason=Triggered by Skia swarm_trigger Recipe", | |
593 "swarm_out_dir=${ISOLATED_OUTDIR}", | |
594 "revision=164710" | |
595 ], | |
596 "name": "[trigger] compile_skia on Ubuntu", | |
597 "~followup_annotations": [ | |
598 "@@@STEP_LOG_LINE@json.output@{@@@", | |
599 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/
def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", @@@", | |
600 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", | |
601 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/def456/Test-Ubuntu
-GCC-GCE-CPU-AVX2-x86_64-Debug/5\": {@@@", | |
602 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", | |
603 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", | |
604 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", | |
605 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
606 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
607 "@@@STEP_LOG_LINE@json.output@}@@@", | |
608 "@@@STEP_LOG_END@json.output@@@", | |
609 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" | |
610 ] | |
611 }, | |
612 { | |
613 "cmd": [ | |
614 "python", | |
615 "-u", | |
616 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
617 "collect", | |
618 "--swarming", | |
619 "https://chromium-swarm.appspot.com", | |
620 "--decorate", | |
621 "--print-status-updates", | |
622 "--json", | |
623 "{\"base_task_name\": \"compile_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU
-AVX2-x86_64-Debug/5\", \"tasks\": {\"compile_skia/Ubuntu/def456/Test-Ubuntu-GCC
-GCE-CPU-AVX2-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"v
iew_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", | |
624 "--task-summary-json", | |
625 "/path/to/tmp/json" | |
626 ], | |
627 "name": "compile_skia on Ubuntu", | |
628 "~followup_annotations": [ | |
629 "@@@STEP_TEXT@swarming pending 71s@@@", | |
630 "@@@STEP_LOG_LINE@json.output@{@@@", | |
631 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", | |
632 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
633 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", | |
634 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", | |
635 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", | |
636 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", | |
637 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", | |
638 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", | |
639 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", | |
640 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
641 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", | |
642 "@@@STEP_LOG_LINE@json.output@ 0, @@@", | |
643 "@@@STEP_LOG_LINE@json.output@ 0@@@", | |
644 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
645 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", | |
646 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", | |
647 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", | |
648 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", | |
649 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", | |
650 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", | |
651 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", | |
652 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", | |
653 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
654 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", | |
655 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", | |
656 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", | |
657 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", | |
658 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", | |
659 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
660 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", | |
661 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", | |
662 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", | |
663 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", | |
664 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
665 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
666 "@@@STEP_LOG_LINE@json.output@}@@@", | |
667 "@@@STEP_LOG_END@json.output@@@", | |
668 "@@@STEP_LINK@shard #0 isolated out@blah@@@" | |
669 ] | |
670 }, | |
671 { | |
672 "cmd": [ | |
673 "python", | |
674 "-u", | |
675 "\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", | |
676 "[SLAVE_BUILD]/tmp", | |
677 "511" | |
678 ], | |
679 "name": "makedirs tmp_dir", | |
680 "~followup_annotations": [ | |
681 "@@@STEP_LOG_LINE@python.inline@@@@", | |
682 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
683 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
684 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
685 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
686 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
687 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
688 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
689 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
690 "@@@STEP_LOG_END@python.inline@@@" | |
691 ] | |
692 }, | |
693 { | |
694 "cmd": [ | |
695 "python", | |
696 "-u", | |
697 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
698 "[SLAVE_BUILD]/tmp/SKP_VERSION", | |
699 "/path/to/tmp/" | |
700 ], | |
701 "name": "Get downloaded SKP_VERSION" | |
702 }, | |
703 { | |
704 "cmd": [ | |
705 "python", | |
706 "-u", | |
707 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
708 "[SLAVE_BUILD]/skia/SKP_VERSION", | |
709 "/path/to/tmp/" | |
710 ], | |
711 "name": "Get expected SKP_VERSION" | |
712 }, | |
713 { | |
714 "cmd": [ | |
715 "python", | |
716 "-u", | |
717 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
718 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", | |
719 "/path/to/tmp/" | |
720 ], | |
721 "name": "Get downloaded SK_IMAGE_VERSION", | |
722 "~followup_annotations": [ | |
723 "step returned non-zero exit code: 1", | |
724 "@@@STEP_EXCEPTION@@@" | |
725 ] | |
726 }, | |
727 { | |
728 "cmd": [ | |
729 "python", | |
730 "-u", | |
731 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
732 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", | |
733 "/path/to/tmp/" | |
734 ], | |
735 "name": "Get expected SK_IMAGE_VERSION" | |
736 }, | |
737 { | |
738 "cmd": [ | |
739 "python", | |
740 "-u", | |
741 "\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", | |
742 "[SLAVE_BUILD]/images" | |
743 ], | |
744 "name": "rmtree images", | |
745 "~followup_annotations": [ | |
746 "@@@STEP_LOG_LINE@python.inline@@@@", | |
747 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
748 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
749 "@@@STEP_LOG_LINE@python.inline@@@@", | |
750 "@@@STEP_LOG_LINE@python.inline@@@@", | |
751 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
752 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
753 "@@@STEP_LOG_END@python.inline@@@" | |
754 ] | |
755 }, | |
756 { | |
757 "cmd": [ | |
758 "python", | |
759 "-u", | |
760 "\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", | |
761 "[SLAVE_BUILD]/images", | |
762 "511" | |
763 ], | |
764 "name": "makedirs images", | |
765 "~followup_annotations": [ | |
766 "@@@STEP_LOG_LINE@python.inline@@@@", | |
767 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
768 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
769 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
770 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
771 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
772 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
773 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
774 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
775 "@@@STEP_LOG_END@python.inline@@@" | |
776 ] | |
777 }, | |
778 { | |
779 "cmd": [ | |
780 "python", | |
781 "-u", | |
782 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
783 "--", | |
784 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
785 "----", | |
786 "cp", | |
787 "-R", | |
788 "gs://chromium-skia-gm/skimage/v42/*", | |
789 "[SLAVE_BUILD]/images" | |
790 ], | |
791 "env": { | |
792 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | |
793 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" | |
794 }, | |
795 "name": "gsutil download images" | |
796 }, | |
797 { | |
798 "cmd": [ | |
799 "python", | |
800 "-u", | |
801 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
802 "42", | |
803 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION" | |
804 ], | |
805 "name": "write SK_IMAGE_VERSION" | |
806 }, | |
807 { | |
808 "cmd": [ | |
809 "python", | |
810 "-u", | |
811 "\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", | |
812 "[SLAVE_BUILD]/swarming_temp_dir", | |
813 "511" | |
814 ], | |
815 "name": "makedirs swarming tmp dir (3)", | |
816 "~followup_annotations": [ | |
817 "@@@STEP_LOG_LINE@python.inline@@@@", | |
818 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
819 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
820 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
821 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
822 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
823 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
824 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
825 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
826 "@@@STEP_LOG_END@python.inline@@@" | |
827 ] | |
828 }, | |
829 { | |
830 "cmd": [ | |
831 "python", | |
832 "-u", | |
833 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
834 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia
/infra/bots/test_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BU
ILD]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-vari
able\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n
\".git\", \n \"--blacklist\", \n \"out\", \n \"--black
list\", \n \"*.pyc\", \n \"--extra-variable\", \n \"WORKDIR
\", \n \"[SLAVE_BUILD]\", \n \"--extra-variable\", \n \"BUI
LD\", \n \"[BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"ve
rsion\": 1\n}", | |
835 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" | |
836 ], | |
837 "name": "Write test_skia.isolated.gen.json" | |
838 }, | |
839 { | |
840 "cmd": [ | |
841 "python", | |
842 "-u", | |
843 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
844 "[SLAVE_BUILD]/swarming.client", | |
845 "batcharchive", | |
846 "--dump-json", | |
847 "/path/to/tmp/json", | |
848 "--isolate-server", | |
849 "https://isolateserver.appspot.com", | |
850 "--verbose", | |
851 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" | |
852 ], | |
853 "name": "isolate tests (3)", | |
854 "~followup_annotations": [ | |
855 "@@@STEP_LOG_LINE@json.output@{@@@", | |
856 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia
]\"@@@", | |
857 "@@@STEP_LOG_LINE@json.output@}@@@", | |
858 "@@@STEP_LOG_END@json.output@@@", | |
859 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test
_skia]\"}@@@" | |
860 ] | |
861 }, | |
862 { | |
863 "cmd": [ | |
864 "python", | |
865 "-u", | |
866 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso
n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h
in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w')
as f:\n json.dump(isolated, f, sort_keys=True)\n", | |
867 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated", | |
868 "[dummy hash for isolate_recipes]", | |
869 "abc123" | |
870 ], | |
871 "name": "add_isolated_input (2)", | |
872 "~followup_annotations": [ | |
873 "@@@STEP_LOG_LINE@python.inline@@@@", | |
874 "@@@STEP_LOG_LINE@python.inline@import json@@@", | |
875 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
876 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", | |
877 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", | |
878 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", | |
879 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", | |
880 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", | |
881 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", | |
882 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", | |
883 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", | |
884 "@@@STEP_LOG_END@python.inline@@@" | |
885 ] | |
886 }, | |
887 { | |
888 "cmd": [ | |
889 "python", | |
890 "-u", | |
891 "[SLAVE_BUILD]/swarming.client/isolateserver.py", | |
892 "archive", | |
893 "--isolate-server", | |
894 "https://isolateserver.appspot.com", | |
895 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated" | |
896 ], | |
897 "name": "upload new .isolated file for test_skia", | |
898 "stdout": "/path/to/tmp/" | |
899 }, | |
900 { | |
901 "cmd": [ | |
902 "python", | |
903 "-u", | |
904 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
905 "trigger", | |
906 "--swarming", | |
907 "https://chromium-swarm.appspot.com", | |
908 "--isolate-server", | |
909 "https://isolateserver.appspot.com", | |
910 "--priority", | |
911 "90", | |
912 "--shards", | |
913 "1", | |
914 "--task-name", | |
915 "test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5", | |
916 "--dump-json", | |
917 "/path/to/tmp/json", | |
918 "--expiration", | |
919 "72000", | |
920 "--io-timeout", | |
921 "2400", | |
922 "--hard-timeout", | |
923 "14400", | |
924 "--dimension", | |
925 "cpu", | |
926 "x86-64-avx2", | |
927 "--dimension", | |
928 "gpu", | |
929 "none", | |
930 "--dimension", | |
931 "os", | |
932 "Ubuntu", | |
933 "--dimension", | |
934 "pool", | |
935 "Skia", | |
936 "--tag", | |
937 "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | |
938 "--tag", | |
939 "buildnumber:5", | |
940 "--tag", | |
941 "data:def456", | |
942 "--tag", | |
943 "master:client.skia", | |
944 "--tag", | |
945 "name:test_skia", | |
946 "--tag", | |
947 "os:Ubuntu", | |
948 "--tag", | |
949 "slavename:skiabot-linux-compile-000", | |
950 "--tag", | |
951 "stepname:test_skia on Ubuntu", | |
952 "def456", | |
953 "--", | |
954 "--workdir", | |
955 "../../..", | |
956 "skia/swarm_test", | |
957 "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | |
958 "mastername=client.skia", | |
959 "buildnumber=5", | |
960 "slavename=skiabot-linux-compile-000", | |
961 "reason=Triggered by Skia swarm_trigger Recipe", | |
962 "swarm_out_dir=${ISOLATED_OUTDIR}", | |
963 "revision=164710" | |
964 ], | |
965 "name": "[trigger] test_skia on Ubuntu", | |
966 "~followup_annotations": [ | |
967 "@@@STEP_LOG_LINE@json.output@{@@@", | |
968 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def
456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", @@@", | |
969 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", | |
970 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-GC
C-GCE-CPU-AVX2-x86_64-Debug/5\": {@@@", | |
971 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", | |
972 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", | |
973 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", | |
974 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
975 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
976 "@@@STEP_LOG_LINE@json.output@}@@@", | |
977 "@@@STEP_LOG_END@json.output@@@", | |
978 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" | |
979 ] | |
980 }, | |
981 { | |
982 "cmd": [ | |
983 "python", | |
984 "-u", | |
985 "\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", | |
986 "[SLAVE_BUILD]/swarming_temp_dir", | |
987 "511" | |
988 ], | |
989 "name": "makedirs swarming tmp dir (4)", | |
990 "~followup_annotations": [ | |
991 "@@@STEP_LOG_LINE@python.inline@@@@", | |
992 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
993 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
994 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
995 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
996 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
997 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
998 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
999 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
1000 "@@@STEP_LOG_END@python.inline@@@" | |
1001 ] | |
1002 }, | |
1003 { | |
1004 "cmd": [ | |
1005 "python", | |
1006 "-u", | |
1007 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
1008 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia
/infra/bots/perf_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BU
ILD]/swarming_temp_dir/skia-task-perf_skia.isolated\", \n \"--config-vari
able\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n
\".git\", \n \"--blacklist\", \n \"out\", \n \"--black
list\", \n \"*.pyc\", \n \"--extra-variable\", \n \"WORKDIR
\", \n \"[SLAVE_BUILD]\", \n \"--extra-variable\", \n \"BUI
LD\", \n \"[BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"ve
rsion\": 1\n}", | |
1009 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json" | |
1010 ], | |
1011 "name": "Write perf_skia.isolated.gen.json" | |
1012 }, | |
1013 { | |
1014 "cmd": [ | |
1015 "python", | |
1016 "-u", | |
1017 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
1018 "[SLAVE_BUILD]/swarming.client", | |
1019 "batcharchive", | |
1020 "--dump-json", | |
1021 "/path/to/tmp/json", | |
1022 "--isolate-server", | |
1023 "https://isolateserver.appspot.com", | |
1024 "--verbose", | |
1025 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json" | |
1026 ], | |
1027 "name": "isolate tests (4)", | |
1028 "~followup_annotations": [ | |
1029 "@@@STEP_LOG_LINE@json.output@{@@@", | |
1030 "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia
]\"@@@", | |
1031 "@@@STEP_LOG_LINE@json.output@}@@@", | |
1032 "@@@STEP_LOG_END@json.output@@@", | |
1033 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf
_skia]\"}@@@" | |
1034 ] | |
1035 }, | |
1036 { | |
1037 "cmd": [ | |
1038 "python", | |
1039 "-u", | |
1040 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso
n.load(f)\nif not isolated.get('includes'):\n isolated['includes'] = []\nfor h
in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(sys.argv[1], 'w')
as f:\n json.dump(isolated, f, sort_keys=True)\n", | |
1041 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-perf_skia.isolated", | |
1042 "[dummy hash for isolate_recipes]", | |
1043 "abc123" | |
1044 ], | |
1045 "name": "add_isolated_input (3)", | |
1046 "~followup_annotations": [ | |
1047 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1048 "@@@STEP_LOG_LINE@python.inline@import json@@@", | |
1049 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
1050 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", | |
1051 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", | |
1052 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@", | |
1053 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@", | |
1054 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", | |
1055 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", | |
1056 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", | |
1057 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", | |
1058 "@@@STEP_LOG_END@python.inline@@@" | |
1059 ] | |
1060 }, | |
1061 { | |
1062 "cmd": [ | |
1063 "python", | |
1064 "-u", | |
1065 "[SLAVE_BUILD]/swarming.client/isolateserver.py", | |
1066 "archive", | |
1067 "--isolate-server", | |
1068 "https://isolateserver.appspot.com", | |
1069 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-perf_skia.isolated" | |
1070 ], | |
1071 "name": "upload new .isolated file for perf_skia", | |
1072 "stdout": "/path/to/tmp/" | |
1073 }, | |
1074 { | |
1075 "cmd": [ | |
1076 "python", | |
1077 "-u", | |
1078 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
1079 "trigger", | |
1080 "--swarming", | |
1081 "https://chromium-swarm.appspot.com", | |
1082 "--isolate-server", | |
1083 "https://isolateserver.appspot.com", | |
1084 "--priority", | |
1085 "90", | |
1086 "--shards", | |
1087 "1", | |
1088 "--task-name", | |
1089 "perf_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5", | |
1090 "--dump-json", | |
1091 "/path/to/tmp/json", | |
1092 "--expiration", | |
1093 "72000", | |
1094 "--io-timeout", | |
1095 "2400", | |
1096 "--hard-timeout", | |
1097 "14400", | |
1098 "--dimension", | |
1099 "cpu", | |
1100 "x86-64-avx2", | |
1101 "--dimension", | |
1102 "gpu", | |
1103 "none", | |
1104 "--dimension", | |
1105 "os", | |
1106 "Ubuntu", | |
1107 "--dimension", | |
1108 "pool", | |
1109 "Skia", | |
1110 "--tag", | |
1111 "buildername:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | |
1112 "--tag", | |
1113 "buildnumber:5", | |
1114 "--tag", | |
1115 "data:def456", | |
1116 "--tag", | |
1117 "master:client.skia", | |
1118 "--tag", | |
1119 "name:perf_skia", | |
1120 "--tag", | |
1121 "os:Ubuntu", | |
1122 "--tag", | |
1123 "slavename:skiabot-linux-compile-000", | |
1124 "--tag", | |
1125 "stepname:perf_skia on Ubuntu", | |
1126 "def456", | |
1127 "--", | |
1128 "--workdir", | |
1129 "../../..", | |
1130 "skia/swarm_perf", | |
1131 "buildername=Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | |
1132 "mastername=client.skia", | |
1133 "buildnumber=5", | |
1134 "slavename=skiabot-linux-compile-000", | |
1135 "reason=Triggered by Skia swarm_trigger Recipe", | |
1136 "swarm_out_dir=${ISOLATED_OUTDIR}", | |
1137 "revision=164710" | |
1138 ], | |
1139 "name": "[trigger] perf_skia on Ubuntu", | |
1140 "~followup_annotations": [ | |
1141 "@@@STEP_LOG_LINE@json.output@{@@@", | |
1142 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"perf_skia/Ubuntu/def
456/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/5\", @@@", | |
1143 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", | |
1144 "@@@STEP_LOG_LINE@json.output@ \"perf_skia/Ubuntu/def456/Test-Ubuntu-GC
C-GCE-CPU-AVX2-x86_64-Debug/5\": {@@@", | |
1145 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", | |
1146 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", | |
1147 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", | |
1148 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
1149 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
1150 "@@@STEP_LOG_LINE@json.output@}@@@", | |
1151 "@@@STEP_LOG_END@json.output@@@", | |
1152 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" | |
1153 ] | |
1154 }, | |
1155 { | |
1156 "cmd": [ | |
1157 "python", | |
1158 "-u", | |
1159 "\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", | |
1160 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" | |
1161 ], | |
1162 "name": "rmtree results_dir", | |
1163 "~followup_annotations": [ | |
1164 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1165 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
1166 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
1167 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1168 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1169 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
1170 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
1171 "@@@STEP_LOG_END@python.inline@@@" | |
1172 ] | |
1173 }, | |
1174 { | |
1175 "cmd": [ | |
1176 "python", | |
1177 "-u", | |
1178 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
1179 "collect", | |
1180 "--swarming", | |
1181 "https://chromium-swarm.appspot.com", | |
1182 "--decorate", | |
1183 "--print-status-updates", | |
1184 "--json", | |
1185 "{\"base_task_name\": \"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AV
X2-x86_64-Debug/5\", \"tasks\": {\"test_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-C
PU-AVX2-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_ur
l\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", | |
1186 "--task-summary-json", | |
1187 "/path/to/tmp/json", | |
1188 "--task-output-dir", | |
1189 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" | |
1190 ], | |
1191 "name": "test_skia on Ubuntu", | |
1192 "~followup_annotations": [ | |
1193 "@@@STEP_TEXT@swarming pending 71s@@@", | |
1194 "@@@STEP_LOG_LINE@json.output@{@@@", | |
1195 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", | |
1196 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
1197 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", | |
1198 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", | |
1199 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", | |
1200 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", | |
1201 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", | |
1202 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", | |
1203 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", | |
1204 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
1205 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", | |
1206 "@@@STEP_LOG_LINE@json.output@ 0, @@@", | |
1207 "@@@STEP_LOG_LINE@json.output@ 0@@@", | |
1208 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
1209 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", | |
1210 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", | |
1211 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", | |
1212 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", | |
1213 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", | |
1214 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", | |
1215 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", | |
1216 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", | |
1217 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
1218 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", | |
1219 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", | |
1220 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", | |
1221 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", | |
1222 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", | |
1223 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
1224 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", | |
1225 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", | |
1226 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", | |
1227 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", | |
1228 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
1229 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
1230 "@@@STEP_LOG_LINE@json.output@}@@@", | |
1231 "@@@STEP_LOG_END@json.output@@@", | |
1232 "@@@STEP_LINK@shard #0 isolated out@blah@@@" | |
1233 ] | |
1234 }, | |
1235 { | |
1236 "cmd": [ | |
1237 "python", | |
1238 "-u", | |
1239 "\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", | |
1240 "[SLAVE_BUILD]/dm" | |
1241 ], | |
1242 "name": "rmtree dm_dir", | |
1243 "~followup_annotations": [ | |
1244 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1245 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
1246 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
1247 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1248 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1249 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
1250 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
1251 "@@@STEP_LOG_END@python.inline@@@" | |
1252 ] | |
1253 }, | |
1254 { | |
1255 "cmd": [ | |
1256 "python", | |
1257 "-u", | |
1258 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | |
1259 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/dm", | |
1260 "[SLAVE_BUILD]/dm", | |
1261 "0" | |
1262 ], | |
1263 "name": "dm_dir" | |
1264 }, | |
1265 { | |
1266 "cmd": [ | |
1267 "python", | |
1268 "-u", | |
1269 "RECIPE_MODULE[build::skia]/resources/upload_dm_results.py", | |
1270 "[SLAVE_BUILD]/dm", | |
1271 "164710", | |
1272 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug", | |
1273 "5", | |
1274 "", | |
1275 "[SLAVE_BUILD]/skia/common/py/utils" | |
1276 ], | |
1277 "cwd": "[SLAVE_BUILD]/skia", | |
1278 "env": { | |
1279 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | |
1280 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" | |
1281 }, | |
1282 "name": "Upload DM Results" | |
1283 }, | |
1284 { | |
1285 "cmd": [ | |
1286 "python", | |
1287 "-u", | |
1288 "\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", | |
1289 "[SLAVE_BUILD]/swarming_temp_dir/outputs/perf_skia" | |
1290 ], | |
1291 "name": "rmtree results_dir (2)", | |
1292 "~followup_annotations": [ | |
1293 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1294 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
1295 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
1296 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1297 "@@@STEP_LOG_LINE@python.inline@@@@", | |
1298 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
1299 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
1300 "@@@STEP_LOG_END@python.inline@@@" | |
1301 ] | |
1302 }, | |
1303 { | |
1304 "cmd": [ | |
1305 "python", | |
1306 "-u", | |
1307 "[SLAVE_BUILD]/swarming.client/swarming.py", | |
1308 "collect", | |
1309 "--swarming", | |
1310 "https://chromium-swarm.appspot.com", | |
1311 "--decorate", | |
1312 "--print-status-updates", | |
1313 "--json", | |
1314 "{\"base_task_name\": \"perf_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-CPU-AV
X2-x86_64-Debug/5\", \"tasks\": {\"perf_skia/Ubuntu/def456/Test-Ubuntu-GCC-GCE-C
PU-AVX2-x86_64-Debug/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_ur
l\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}", | |
1315 "--task-summary-json", | |
1316 "/path/to/tmp/json", | |
1317 "--task-output-dir", | |
1318 "[SLAVE_BUILD]/swarming_temp_dir/outputs/perf_skia" | |
1319 ], | |
1320 "name": "perf_skia on Ubuntu", | |
1321 "~followup_annotations": [ | |
1322 "@@@STEP_TEXT@swarming pending 71s@@@", | |
1323 "@@@STEP_LOG_LINE@json.output@{@@@", | |
1324 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", | |
1325 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
1326 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", | |
1327 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", | |
1328 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", | |
1329 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", | |
1330 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", | |
1331 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@", | |
1332 "@@@STEP_LOG_LINE@json.output@ 31.5@@@", | |
1333 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
1334 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@", | |
1335 "@@@STEP_LOG_LINE@json.output@ 0, @@@", | |
1336 "@@@STEP_LOG_LINE@json.output@ 0@@@", | |
1337 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
1338 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@", | |
1339 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@", | |
1340 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@", | |
1341 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@", | |
1342 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", | |
1343 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat
eserver.appspot.com\", @@@", | |
1344 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@
", | |
1345 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@", | |
1346 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
1347 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00
\", @@@", | |
1348 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2
5_01:41:55-os=Windows\", @@@", | |
1349 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@", | |
1350 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\
", @@@", | |
1351 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@", | |
1352 "@@@STEP_LOG_LINE@json.output@ ], @@@", | |
1353 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.
123\", @@@", | |
1354 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@", | |
1355 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@", | |
1356 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@", | |
1357 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
1358 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
1359 "@@@STEP_LOG_LINE@json.output@}@@@", | |
1360 "@@@STEP_LOG_END@json.output@@@", | |
1361 "@@@STEP_LINK@shard #0 isolated out@blah@@@" | |
1362 ] | |
1363 }, | |
1364 { | |
1365 "name": "$result", | |
1366 "recipe_result": null, | |
1367 "status_code": 0 | |
1368 } | |
1369 ] | |
OLD | NEW |