Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address more comments Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "git",
5 "rev-parse",
6 "HEAD"
7 ],
8 "cwd": "[ROOT]/skia",
9 "name": "git rev-parse",
10 "stdout": "/path/to/tmp/"
11 },
12 {
13 "cmd": [
14 "python",
15 "-c",
16 "\"print 'abc123'\""
17 ],
18 "name": "got_revision",
19 "~followup_annotations": [
20 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@"
21 ]
22 },
23 {
24 "cmd": [
25 "python",
26 "-u",
27 "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"
28 ],
29 "cwd": "[ROOT]/skia",
30 "name": "fix filemodes",
31 "~followup_annotations": [
32 "@@@STEP_LOG_LINE@python.inline@import os@@@",
33 "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@ @",
34 "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@",
35 "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@",
36 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@",
37 "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@",
38 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@",
39 "@@@STEP_LOG_LINE@python.inline@ else:@@@",
40 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@",
41 "@@@STEP_LOG_END@python.inline@@@"
42 ]
43 },
44 {
45 "cmd": [
46 "python",
47 "-u",
48 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
49 "--path",
50 "[SLAVE_BUILD]/swarming.client",
51 "--url",
52 "https://chromium.googlesource.com/external/swarming.client.git"
53 ],
54 "name": "git setup (swarming_client)"
55 },
56 {
57 "cmd": [
58 "git",
59 "retry",
60 "fetch",
61 "origin",
62 "master"
63 ],
64 "cwd": "[SLAVE_BUILD]/swarming.client",
65 "name": "git fetch (swarming_client)"
66 },
67 {
68 "cmd": [
69 "git",
70 "checkout",
71 "-f",
72 "FETCH_HEAD"
73 ],
74 "cwd": "[SLAVE_BUILD]/swarming.client",
75 "name": "git checkout (swarming_client)"
76 },
77 {
78 "cmd": [
79 "git",
80 "rev-parse",
81 "HEAD"
82 ],
83 "cwd": "[SLAVE_BUILD]/swarming.client",
84 "name": "read revision",
85 "stdout": "/path/to/tmp/",
86 "~followup_annotations": [
87 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
88 ]
89 },
90 {
91 "cmd": [
92 "git",
93 "clean",
94 "-f",
95 "-d",
96 "-x"
97 ],
98 "cwd": "[SLAVE_BUILD]/swarming.client",
99 "name": "git clean (swarming_client)"
100 },
101 {
102 "cmd": [
103 "git",
104 "submodule",
105 "sync"
106 ],
107 "cwd": "[SLAVE_BUILD]/swarming.client",
108 "name": "submodule sync (swarming_client)"
109 },
110 {
111 "cmd": [
112 "git",
113 "submodule",
114 "update",
115 "--init",
116 "--recursive"
117 ],
118 "cwd": "[SLAVE_BUILD]/swarming.client",
119 "name": "submodule update (swarming_client)"
120 },
121 {
122 "cmd": [
123 "python",
124 "-u",
125 "[SLAVE_BUILD]/swarming.client/swarming.py",
126 "--version"
127 ],
128 "name": "swarming.py --version",
129 "stdout": "/path/to/tmp/",
130 "~followup_annotations": [
131 "@@@STEP_TEXT@0.8.6@@@"
132 ]
133 },
134 {
135 "cmd": [
136 "download_from_google_storage",
137 "--no_resume",
138 "--platform=linux*",
139 "--no_auth",
140 "--bucket",
141 "chromium-luci",
142 "-d",
143 "[ROOT]/skia/infra/bots/tools/luci-go/linux64"
144 ],
145 "name": "download luci-go linux"
146 },
147 {
148 "cmd": [
149 "download_from_google_storage",
150 "--no_resume",
151 "--platform=darwin",
152 "--no_auth",
153 "--bucket",
154 "chromium-luci",
155 "-d",
156 "[ROOT]/skia/infra/bots/tools/luci-go/mac64"
157 ],
158 "name": "download luci-go mac"
159 },
160 {
161 "cmd": [
162 "download_from_google_storage",
163 "--no_resume",
164 "--platform=win32",
165 "--no_auth",
166 "--bucket",
167 "chromium-luci",
168 "-d",
169 "[ROOT]/skia/infra/bots/tools/luci-go/win64"
170 ],
171 "name": "download luci-go win"
172 },
173 {
174 "cmd": [
175 "python",
176 "-u",
177 "\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",
178 "[SLAVE_BUILD]/luci-go"
179 ],
180 "env": {
181 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
182 },
183 "name": "rmtree luci-go",
184 "~followup_annotations": [
185 "@@@STEP_LOG_LINE@python.inline@@@@",
186 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
187 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
188 "@@@STEP_LOG_LINE@python.inline@@@@",
189 "@@@STEP_LOG_LINE@python.inline@@@@",
190 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
191 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
192 "@@@STEP_LOG_END@python.inline@@@"
193 ]
194 },
195 {
196 "cmd": [
197 "python",
198 "-u",
199 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
200 "[ROOT]/skia/infra/bots/tools/luci-go",
201 "[SLAVE_BUILD]/luci-go",
202 "0"
203 ],
204 "name": "Copy Go binary"
205 },
206 {
207 "cmd": [
208 "python",
209 "-u",
210 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
211 "--",
212 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
213 "----",
214 "help"
215 ],
216 "name": "gsutil help"
217 },
218 {
219 "cmd": [
220 "python",
221 "-u",
222 "[ROOT]/skia/tools/buildbot_spec.py",
223 "/path/to/tmp/json",
224 "Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release"
225 ],
226 "cwd": "[ROOT]/skia",
227 "name": "exec buildbot_spec.py",
228 "~followup_annotations": [
229 "@@@STEP_LOG_LINE@json.output@{@@@",
230 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
231 "@@@STEP_LOG_LINE@json.output@ \"dm\"@@@",
232 "@@@STEP_LOG_LINE@json.output@ ], @@@",
233 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
234 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@",
235 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@",
236 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
237 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"CPU\", @@@",
238 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"AVX\", @@@",
239 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
240 "@@@STEP_LOG_LINE@json.output@ \"model\": \"MacMini6.2\", @@@",
241 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Mac\", @@@",
242 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@",
243 "@@@STEP_LOG_LINE@json.output@ }, @@@",
244 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
245 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
246 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
247 "@@@STEP_LOG_LINE@json.output@ ], @@@",
248 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
249 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@",
250 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
251 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang\", @@@",
252 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++\", @@@",
253 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_warnings_as_errors=0\"@@@",
254 "@@@STEP_LOG_LINE@json.output@ }, @@@",
255 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
256 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
257 "@@@STEP_LOG_LINE@json.output@ ], @@@",
258 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
259 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
260 "@@@STEP_LOG_LINE@json.output@}@@@",
261 "@@@STEP_LOG_END@json.output@@@"
262 ]
263 },
264 {
265 "cmd": [
266 "python",
267 "-u",
268 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
269 "/path/to/tmp/json",
270 "Build-Mac-Clang-x86_64-Release"
271 ],
272 "cwd": "[SLAVE_BUILD]/skia",
273 "name": "exec buildbot_spec.py (2)",
274 "~followup_annotations": [
275 "@@@STEP_LOG_LINE@json.output@{@@@",
276 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
277 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
278 "@@@STEP_LOG_LINE@json.output@ ], @@@",
279 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
280 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@",
281 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
282 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
283 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Mac\", @@@",
284 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
285 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
286 "@@@STEP_LOG_LINE@json.output@ }, @@@",
287 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
288 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
289 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
290 "@@@STEP_LOG_LINE@json.output@ ], @@@",
291 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
292 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
293 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
294 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang\", @@@",
295 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++\", @@@",
296 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_errors=1\"@@@",
297 "@@@STEP_LOG_LINE@json.output@ }, @@@",
298 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
299 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
300 "@@@STEP_LOG_LINE@json.output@ ], @@@",
301 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
302 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
303 "@@@STEP_LOG_LINE@json.output@}@@@",
304 "@@@STEP_LOG_END@json.output@@@"
305 ]
306 },
307 {
308 "cmd": [
309 "python",
310 "-u",
311 "\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",
312 "[SLAVE_BUILD]/swarming_temp_dir",
313 "511"
314 ],
315 "name": "makedirs swarming tmp dir",
316 "~followup_annotations": [
317 "@@@STEP_LOG_LINE@python.inline@@@@",
318 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
319 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
320 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
321 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
322 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
323 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
324 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
325 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
326 "@@@STEP_LOG_END@python.inline@@@"
327 ]
328 },
329 {
330 "cmd": [
331 "python",
332 "-u",
333 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
334 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/ bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD] /swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-varia ble\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist \", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BUILD] \"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
335 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
336 ],
337 "name": "Write compile_skia.isolated.gen.json"
338 },
339 {
340 "cmd": [
341 "python",
342 "-u",
343 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
344 "[SLAVE_BUILD]/swarming.client",
345 "batcharchive",
346 "--dump-json",
347 "/path/to/tmp/json",
348 "--isolate-server",
349 "https://isolateserver.appspot.com",
350 "--verbose",
351 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
352 ],
353 "name": "isolate tests",
354 "~followup_annotations": [
355 "@@@STEP_LOG_LINE@json.output@{@@@",
356 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
357 "@@@STEP_LOG_LINE@json.output@}@@@",
358 "@@@STEP_LOG_END@json.output@@@",
359 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
360 ]
361 },
362 {
363 "cmd": [
364 "python",
365 "-u",
366 "[SLAVE_BUILD]/swarming.client/swarming.py",
367 "trigger",
368 "--swarming",
369 "https://chromium-swarm.appspot.com",
370 "--isolate-server",
371 "https://isolateserver.appspot.com",
372 "--priority",
373 "90",
374 "--shards",
375 "1",
376 "--task-name",
377 "compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Rele ase/5",
378 "--dump-json",
379 "/path/to/tmp/json",
380 "--expiration",
381 "72000",
382 "--io-timeout",
383 "2400",
384 "--hard-timeout",
385 "14400",
386 "--dimension",
387 "gpu",
388 "none",
389 "--dimension",
390 "os",
391 "Mac",
392 "--dimension",
393 "pool",
394 "Skia",
395 "--tag",
396 "allow_milo:1",
397 "--tag",
398 "buildername:Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release",
399 "--tag",
400 "buildnumber:5",
401 "--tag",
402 "data:[dummy hash for compile_skia]",
403 "--tag",
404 "master:client.skia",
405 "--tag",
406 "name:compile_skia",
407 "--tag",
408 "os:Mac",
409 "--tag",
410 "slavename:skiabot-linux-swarm-000",
411 "--tag",
412 "stepname:compile_skia on Mac",
413 "--idempotent",
414 "[dummy hash for compile_skia]",
415 "--",
416 "--workdir",
417 "../../..",
418 "swarm_compile",
419 "buildername=Build-Mac-Clang-x86_64-Release",
420 "mastername=client.skia.compile",
421 "buildnumber=1",
422 "slavename=skiabot-dummy-compile-slave",
423 "reason=Triggered by Skia swarm_trigger Recipe",
424 "swarm_out_dir=${ISOLATED_OUTDIR}",
425 "revision=abc123"
426 ],
427 "name": "[trigger] compile_skia on Mac",
428 "~followup_annotations": [
429 "@@@STEP_LOG_LINE@json.output@{@@@",
430 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Mac/[du mmy has/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", @@@",
431 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
432 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Mac/[dummy has/Test-Mac-C lang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {@@@",
433 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
434 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
435 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
436 "@@@STEP_LOG_LINE@json.output@ }@@@",
437 "@@@STEP_LOG_LINE@json.output@ }@@@",
438 "@@@STEP_LOG_LINE@json.output@}@@@",
439 "@@@STEP_LOG_END@json.output@@@",
440 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
441 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
442 ]
443 },
444 {
445 "cmd": [
446 "python",
447 "-u",
448 "[SLAVE_BUILD]/swarming.client/swarming.py",
449 "collect",
450 "--swarming",
451 "https://chromium-swarm.appspot.com",
452 "--decorate",
453 "--print-status-updates",
454 "--json",
455 "{\"base_task_name\": \"compile_skia/Mac/[dummy has/Test-Mac-Clang-MacMini 6.2-CPU-AVX-x86_64-Release/5\", \"tasks\": {\"compile_skia/Mac/[dummy has/Test-M ac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\" : \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\ "}}}",
456 "--task-summary-json",
457 "/path/to/tmp/json"
458 ],
459 "name": "compile_skia on Mac",
460 "~followup_annotations": [
461 "@@@STEP_TEXT@swarming pending 71s@@@",
462 "@@@STEP_LOG_LINE@json.output@{@@@",
463 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
464 "@@@STEP_LOG_LINE@json.output@ {@@@",
465 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
466 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
467 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
468 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
469 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
470 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
471 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
472 "@@@STEP_LOG_LINE@json.output@ ], @@@",
473 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
474 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
475 "@@@STEP_LOG_LINE@json.output@ 0@@@",
476 "@@@STEP_LOG_LINE@json.output@ ], @@@",
477 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
478 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
479 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
480 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
481 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
482 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
483 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
484 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
485 "@@@STEP_LOG_LINE@json.output@ }, @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
489 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
490 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
491 "@@@STEP_LOG_LINE@json.output@ ], @@@",
492 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
493 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
494 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
495 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
496 "@@@STEP_LOG_LINE@json.output@ }@@@",
497 "@@@STEP_LOG_LINE@json.output@ ]@@@",
498 "@@@STEP_LOG_LINE@json.output@}@@@",
499 "@@@STEP_LOG_END@json.output@@@",
500 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
501 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
502 ]
503 },
504 {
505 "cmd": [
506 "python",
507 "-u",
508 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
509 "[ROOT]/skia/infra/bots/assets/skp/VERSION",
510 "/path/to/tmp/"
511 ],
512 "name": "read skp VERSION"
513 },
514 {
515 "cmd": [
516 "python",
517 "-u",
518 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
519 "[ROOT]/skia/infra/bots/assets/skimage/VERSION",
520 "/path/to/tmp/"
521 ],
522 "name": "read skimage VERSION"
523 },
524 {
525 "cmd": [
526 "python",
527 "-u",
528 "\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",
529 "[SLAVE_BUILD]/swarming_temp_dir",
530 "511"
531 ],
532 "name": "makedirs swarming tmp dir (2)",
533 "~followup_annotations": [
534 "@@@STEP_LOG_LINE@python.inline@@@@",
535 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
536 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
537 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
538 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
539 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
540 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
541 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
542 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
543 "@@@STEP_LOG_END@python.inline@@@"
544 ]
545 },
546 {
547 "cmd": [
548 "python",
549 "-u",
550 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
551 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/ bots/test_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]/sw arming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Mac\", \n \"--blacklist\", \n \".gi t\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
552 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
553 ],
554 "name": "Write test_skia.isolated.gen.json"
555 },
556 {
557 "cmd": [
558 "python",
559 "-u",
560 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
561 "[SLAVE_BUILD]/swarming.client",
562 "batcharchive",
563 "--dump-json",
564 "/path/to/tmp/json",
565 "--isolate-server",
566 "https://isolateserver.appspot.com",
567 "--verbose",
568 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
569 ],
570 "name": "isolate tests (2)",
571 "~followup_annotations": [
572 "@@@STEP_LOG_LINE@json.output@{@@@",
573 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
574 "@@@STEP_LOG_LINE@json.output@}@@@",
575 "@@@STEP_LOG_END@json.output@@@",
576 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
577 ]
578 },
579 {
580 "cmd": [
581 "python",
582 "-u",
583 "\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",
584 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated",
585 "abc123"
586 ],
587 "name": "add_isolated_input",
588 "~followup_annotations": [
589 "@@@STEP_LOG_LINE@python.inline@@@@",
590 "@@@STEP_LOG_LINE@python.inline@import json@@@",
591 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
592 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
593 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
594 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
595 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
596 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
597 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
598 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
599 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
600 "@@@STEP_LOG_END@python.inline@@@"
601 ]
602 },
603 {
604 "cmd": [
605 "python",
606 "-u",
607 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
608 "archive",
609 "--isolate-server",
610 "https://isolateserver.appspot.com",
611 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated"
612 ],
613 "name": "upload new .isolated file for test_skia",
614 "stdout": "/path/to/tmp/"
615 },
616 {
617 "cmd": [
618 "python",
619 "-u",
620 "[SLAVE_BUILD]/swarming.client/swarming.py",
621 "trigger",
622 "--swarming",
623 "https://chromium-swarm.appspot.com",
624 "--isolate-server",
625 "https://isolateserver.appspot.com",
626 "--priority",
627 "90",
628 "--shards",
629 "1",
630 "--task-name",
631 "test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5",
632 "--dump-json",
633 "/path/to/tmp/json",
634 "--expiration",
635 "72000",
636 "--io-timeout",
637 "2400",
638 "--hard-timeout",
639 "14400",
640 "--dimension",
641 "cpu",
642 "x86-64",
643 "--dimension",
644 "gpu",
645 "none",
646 "--dimension",
647 "os",
648 "Mac",
649 "--dimension",
650 "pool",
651 "Skia",
652 "--tag",
653 "allow_milo:1",
654 "--tag",
655 "buildername:Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release",
656 "--tag",
657 "buildnumber:5",
658 "--tag",
659 "data:def456",
660 "--tag",
661 "master:client.skia",
662 "--tag",
663 "name:test_skia",
664 "--tag",
665 "os:Mac",
666 "--tag",
667 "slavename:skiabot-linux-swarm-000",
668 "--tag",
669 "stepname:test_skia on Mac",
670 "--cipd-package",
671 "skp:skia/bots/skp:version:0",
672 "--cipd-package",
673 "skimage:skia/bots/skimage:version:0",
674 "def456",
675 "--",
676 "--workdir",
677 "../../..",
678 "swarm_test",
679 "buildername=Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release",
680 "mastername=client.skia",
681 "buildnumber=5",
682 "slavename=skiabot-linux-swarm-000",
683 "reason=Triggered by Skia swarm_trigger Recipe",
684 "swarm_out_dir=${ISOLATED_OUTDIR}",
685 "revision=abc123"
686 ],
687 "name": "[trigger] test_skia on Mac",
688 "~followup_annotations": [
689 "@@@STEP_LOG_LINE@json.output@{@@@",
690 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Mac/def456 /Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release/5\", @@@",
691 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
692 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Mac/def456/Test-Mac-Clang-Ma cMini6.2-CPU-AVX-x86_64-Release/5\": {@@@",
693 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
694 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
695 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
696 "@@@STEP_LOG_LINE@json.output@ }@@@",
697 "@@@STEP_LOG_LINE@json.output@ }@@@",
698 "@@@STEP_LOG_LINE@json.output@}@@@",
699 "@@@STEP_LOG_END@json.output@@@",
700 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
701 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
702 ]
703 },
704 {
705 "cmd": [
706 "python",
707 "-u",
708 "\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",
709 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia"
710 ],
711 "env": {
712 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
713 },
714 "name": "rmtree test_skia",
715 "~followup_annotations": [
716 "@@@STEP_LOG_LINE@python.inline@@@@",
717 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
718 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
719 "@@@STEP_LOG_LINE@python.inline@@@@",
720 "@@@STEP_LOG_LINE@python.inline@@@@",
721 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
722 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
723 "@@@STEP_LOG_END@python.inline@@@"
724 ]
725 },
726 {
727 "cmd": [
728 "python",
729 "-u",
730 "[SLAVE_BUILD]/swarming.client/swarming.py",
731 "collect",
732 "--swarming",
733 "https://chromium-swarm.appspot.com",
734 "--decorate",
735 "--print-status-updates",
736 "--json",
737 "{\"base_task_name\": \"test_skia/Mac/def456/Test-Mac-Clang-MacMini6.2-CPU -AVX-x86_64-Release/5\", \"tasks\": {\"test_skia/Mac/def456/Test-Mac-Clang-MacMi ni6.2-CPU-AVX-x86_64-Release/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \ "view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
738 "--task-summary-json",
739 "/path/to/tmp/json",
740 "--task-output-dir",
741 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia"
742 ],
743 "name": "test_skia on Mac",
744 "~followup_annotations": [
745 "@@@STEP_TEXT@swarming pending 71s@@@",
746 "@@@STEP_LOG_LINE@json.output@{@@@",
747 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
748 "@@@STEP_LOG_LINE@json.output@ {@@@",
749 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
750 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
751 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
752 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
753 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
754 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
755 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
756 "@@@STEP_LOG_LINE@json.output@ ], @@@",
757 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
758 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
759 "@@@STEP_LOG_LINE@json.output@ 0@@@",
760 "@@@STEP_LOG_LINE@json.output@ ], @@@",
761 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
762 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
763 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
764 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
765 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
766 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
767 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
768 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
769 "@@@STEP_LOG_LINE@json.output@ }, @@@",
770 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
771 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
772 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
773 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
774 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
775 "@@@STEP_LOG_LINE@json.output@ ], @@@",
776 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
777 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
778 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
779 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
780 "@@@STEP_LOG_LINE@json.output@ }@@@",
781 "@@@STEP_LOG_LINE@json.output@ ]@@@",
782 "@@@STEP_LOG_LINE@json.output@}@@@",
783 "@@@STEP_LOG_END@json.output@@@",
784 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
785 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
786 ]
787 },
788 {
789 "cmd": [
790 "python",
791 "-u",
792 "\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",
793 "[SLAVE_BUILD]/dm"
794 ],
795 "env": {
796 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
797 },
798 "name": "rmtree dm",
799 "~followup_annotations": [
800 "@@@STEP_LOG_LINE@python.inline@@@@",
801 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
802 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
803 "@@@STEP_LOG_LINE@python.inline@@@@",
804 "@@@STEP_LOG_LINE@python.inline@@@@",
805 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
806 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
807 "@@@STEP_LOG_END@python.inline@@@"
808 ]
809 },
810 {
811 "cmd": [
812 "python",
813 "-u",
814 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
815 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/dm",
816 "[SLAVE_BUILD]/dm",
817 "0"
818 ],
819 "name": "dm_dir"
820 },
821 {
822 "cmd": [
823 "python",
824 "-u",
825 "RECIPE_MODULE[skia::skia]/resources/upload_dm_results.py",
826 "[SLAVE_BUILD]/dm",
827 "abc123",
828 "Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release",
829 "5",
830 "",
831 "[SLAVE_BUILD]/skia/common/py/utils"
832 ],
833 "cwd": "[ROOT]/skia",
834 "env": {
835 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto",
836 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto"
837 },
838 "name": "Upload DM Results"
839 },
840 {
841 "name": "$result",
842 "recipe_result": null,
843 "status_code": 0
844 }
845 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698