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

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Test-Win8-MSVC-ShuttleB-CPU-AVX2-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-Win8-MSVC-ShuttleB-CPU-AVX2-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\": \"MSVC\", @@@",
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\": \"AVX2\", @@@",
239 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
240 "@@@STEP_LOG_LINE@json.output@ \"model\": \"ShuttleB\", @@@",
241 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win8\", @@@",
242 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@",
243 "@@@STEP_LOG_LINE@json.output@ }, @@@",
244 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release_x64\", @@@",
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@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/Qt5.1.0/ 5.1.0/msvc2012_64/ skia_arch_type=x86_64 skia_gpu=0 skia_warnings_as_errors=0 sk ia_win_debuggers_path=c:/DbgHelp\"@@@",
252 "@@@STEP_LOG_LINE@json.output@ }, @@@",
253 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
254 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
255 "@@@STEP_LOG_LINE@json.output@ ], @@@",
256 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
257 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
258 "@@@STEP_LOG_LINE@json.output@}@@@",
259 "@@@STEP_LOG_END@json.output@@@"
260 ]
261 },
262 {
263 "cmd": [
264 "python",
265 "-u",
266 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
267 "/path/to/tmp/json",
268 "Build-Win-MSVC-x86_64-Release"
269 ],
270 "cwd": "[SLAVE_BUILD]/skia",
271 "name": "exec buildbot_spec.py (2)",
272 "~followup_annotations": [
273 "@@@STEP_LOG_LINE@json.output@{@@@",
274 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
275 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
276 "@@@STEP_LOG_LINE@json.output@ ], @@@",
277 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
278 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@",
279 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
280 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
281 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win\", @@@",
282 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
283 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
284 "@@@STEP_LOG_LINE@json.output@ }, @@@",
285 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release_x64\", @@@",
286 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
287 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
288 "@@@STEP_LOG_LINE@json.output@ ], @@@",
289 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
290 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
291 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
292 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/4.8.5/ s kia_arch_type=x86_64 skia_warnings_as_errors=1 skia_win_debuggers_path=c:/DbgHel p skia_win_ltcg=0\"@@@",
293 "@@@STEP_LOG_LINE@json.output@ }, @@@",
294 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
295 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
296 "@@@STEP_LOG_LINE@json.output@ ], @@@",
297 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
298 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
299 "@@@STEP_LOG_LINE@json.output@}@@@",
300 "@@@STEP_LOG_END@json.output@@@"
301 ]
302 },
303 {
304 "cmd": [
305 "python",
306 "-u",
307 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
308 "[ROOT]/skia/infra/bots/assets/win_toolchain/VERSION",
309 "/path/to/tmp/"
310 ],
311 "name": "read win_toolchain VERSION"
312 },
313 {
314 "cmd": [
315 "python",
316 "-u",
317 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
318 "[SLAVE_BUILD]/swarming_temp_dir",
319 "511"
320 ],
321 "name": "makedirs swarming tmp dir",
322 "~followup_annotations": [
323 "@@@STEP_LOG_LINE@python.inline@@@@",
324 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
325 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
326 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
327 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
328 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
329 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
330 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
331 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
332 "@@@STEP_LOG_END@python.inline@@@"
333 ]
334 },
335 {
336 "cmd": [
337 "python",
338 "-u",
339 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
340 "{\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 \"Windows\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--black list\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps \", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BU ILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
341 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
342 ],
343 "name": "Write compile_skia.isolated.gen.json"
344 },
345 {
346 "cmd": [
347 "python",
348 "-u",
349 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
350 "[SLAVE_BUILD]/swarming.client",
351 "batcharchive",
352 "--dump-json",
353 "/path/to/tmp/json",
354 "--isolate-server",
355 "https://isolateserver.appspot.com",
356 "--verbose",
357 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
358 ],
359 "name": "isolate tests",
360 "~followup_annotations": [
361 "@@@STEP_LOG_LINE@json.output@{@@@",
362 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
363 "@@@STEP_LOG_LINE@json.output@}@@@",
364 "@@@STEP_LOG_END@json.output@@@",
365 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
366 ]
367 },
368 {
369 "cmd": [
370 "python",
371 "-u",
372 "[SLAVE_BUILD]/swarming.client/swarming.py",
373 "trigger",
374 "--swarming",
375 "https://chromium-swarm.appspot.com",
376 "--isolate-server",
377 "https://isolateserver.appspot.com",
378 "--priority",
379 "90",
380 "--shards",
381 "1",
382 "--task-name",
383 "compile_skia/Windows/[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-R elease/5",
384 "--dump-json",
385 "/path/to/tmp/json",
386 "--expiration",
387 "72000",
388 "--io-timeout",
389 "2400",
390 "--hard-timeout",
391 "14400",
392 "--dimension",
393 "gpu",
394 "none",
395 "--dimension",
396 "os",
397 "Windows",
398 "--dimension",
399 "pool",
400 "Skia",
401 "--tag",
402 "allow_milo:1",
403 "--tag",
404 "buildername:Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release",
405 "--tag",
406 "buildnumber:5",
407 "--tag",
408 "data:[dummy hash for compile_skia]",
409 "--tag",
410 "master:client.skia",
411 "--tag",
412 "name:compile_skia",
413 "--tag",
414 "os:Windows",
415 "--tag",
416 "slavename:skiabot-linux-swarm-000",
417 "--tag",
418 "stepname:compile_skia on Windows",
419 "--idempotent",
420 "--cipd-package",
421 "t:skia/bots/win_toolchain:version:0",
422 "[dummy hash for compile_skia]",
423 "--",
424 "--workdir",
425 "../../..",
426 "swarm_compile",
427 "buildername=Build-Win-MSVC-x86_64-Release",
428 "mastername=client.skia.compile",
429 "buildnumber=1",
430 "slavename=skiabot-dummy-compile-slave",
431 "reason=Triggered by Skia swarm_trigger Recipe",
432 "swarm_out_dir=${ISOLATED_OUTDIR}",
433 "revision=abc123"
434 ],
435 "name": "[trigger] compile_skia on Windows",
436 "~followup_annotations": [
437 "@@@STEP_LOG_LINE@json.output@{@@@",
438 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Windows /[dummy has/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", @@@",
439 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
440 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Windows/[dummy has/Test-W in8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {@@@",
441 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
442 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
443 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
444 "@@@STEP_LOG_LINE@json.output@ }@@@",
445 "@@@STEP_LOG_LINE@json.output@ }@@@",
446 "@@@STEP_LOG_LINE@json.output@}@@@",
447 "@@@STEP_LOG_END@json.output@@@",
448 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
449 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
450 ]
451 },
452 {
453 "cmd": [
454 "python",
455 "-u",
456 "[SLAVE_BUILD]/swarming.client/swarming.py",
457 "collect",
458 "--swarming",
459 "https://chromium-swarm.appspot.com",
460 "--decorate",
461 "--print-status-updates",
462 "--json",
463 "{\"base_task_name\": \"compile_skia/Windows/[dummy has/Test-Win8-MSVC-Shu ttleB-CPU-AVX2-x86_64-Release/5\", \"tasks\": {\"compile_skia/Windows/[dummy has /Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {\"shard_index\": 0, \"tas k_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/ 10000\"}}}",
464 "--task-summary-json",
465 "/path/to/tmp/json"
466 ],
467 "name": "compile_skia on Windows",
468 "~followup_annotations": [
469 "@@@STEP_TEXT@swarming pending 71s@@@",
470 "@@@STEP_LOG_LINE@json.output@{@@@",
471 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
472 "@@@STEP_LOG_LINE@json.output@ {@@@",
473 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
474 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
475 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
476 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
477 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
478 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
479 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
480 "@@@STEP_LOG_LINE@json.output@ ], @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
482 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
483 "@@@STEP_LOG_LINE@json.output@ 0@@@",
484 "@@@STEP_LOG_LINE@json.output@ ], @@@",
485 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
488 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
489 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
490 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
491 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
492 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
493 "@@@STEP_LOG_LINE@json.output@ }, @@@",
494 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
495 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
496 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
497 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
498 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
499 "@@@STEP_LOG_LINE@json.output@ ], @@@",
500 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
501 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
502 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
503 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
504 "@@@STEP_LOG_LINE@json.output@ }@@@",
505 "@@@STEP_LOG_LINE@json.output@ ]@@@",
506 "@@@STEP_LOG_LINE@json.output@}@@@",
507 "@@@STEP_LOG_END@json.output@@@",
508 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
509 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
510 ]
511 },
512 {
513 "cmd": [
514 "python",
515 "-u",
516 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
517 "[ROOT]/skia/infra/bots/assets/skp/VERSION",
518 "/path/to/tmp/"
519 ],
520 "name": "read skp VERSION"
521 },
522 {
523 "cmd": [
524 "python",
525 "-u",
526 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
527 "[ROOT]/skia/infra/bots/assets/skimage/VERSION",
528 "/path/to/tmp/"
529 ],
530 "name": "read skimage VERSION"
531 },
532 {
533 "cmd": [
534 "python",
535 "-u",
536 "\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",
537 "[SLAVE_BUILD]/swarming_temp_dir",
538 "511"
539 ],
540 "name": "makedirs swarming tmp dir (2)",
541 "~followup_annotations": [
542 "@@@STEP_LOG_LINE@python.inline@@@@",
543 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
544 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
545 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
546 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
547 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
548 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
549 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
550 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
551 "@@@STEP_LOG_END@python.inline@@@"
552 ]
553 },
554 {
555 "cmd": [
556 "python",
557 "-u",
558 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
559 "{\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 \"Windows-2008ServerR2-SP1\", \n \"--blackli st\", \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}",
560 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
561 ],
562 "name": "Write test_skia.isolated.gen.json"
563 },
564 {
565 "cmd": [
566 "python",
567 "-u",
568 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
569 "[SLAVE_BUILD]/swarming.client",
570 "batcharchive",
571 "--dump-json",
572 "/path/to/tmp/json",
573 "--isolate-server",
574 "https://isolateserver.appspot.com",
575 "--verbose",
576 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
577 ],
578 "name": "isolate tests (2)",
579 "~followup_annotations": [
580 "@@@STEP_LOG_LINE@json.output@{@@@",
581 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
582 "@@@STEP_LOG_LINE@json.output@}@@@",
583 "@@@STEP_LOG_END@json.output@@@",
584 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
585 ]
586 },
587 {
588 "cmd": [
589 "python",
590 "-u",
591 "\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",
592 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated",
593 "abc123"
594 ],
595 "name": "add_isolated_input",
596 "~followup_annotations": [
597 "@@@STEP_LOG_LINE@python.inline@@@@",
598 "@@@STEP_LOG_LINE@python.inline@import json@@@",
599 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
600 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
601 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
602 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
603 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
604 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
605 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
606 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
607 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
608 "@@@STEP_LOG_END@python.inline@@@"
609 ]
610 },
611 {
612 "cmd": [
613 "python",
614 "-u",
615 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
616 "archive",
617 "--isolate-server",
618 "https://isolateserver.appspot.com",
619 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated"
620 ],
621 "name": "upload new .isolated file for test_skia",
622 "stdout": "/path/to/tmp/"
623 },
624 {
625 "cmd": [
626 "python",
627 "-u",
628 "[SLAVE_BUILD]/swarming.client/swarming.py",
629 "trigger",
630 "--swarming",
631 "https://chromium-swarm.appspot.com",
632 "--isolate-server",
633 "https://isolateserver.appspot.com",
634 "--priority",
635 "90",
636 "--shards",
637 "1",
638 "--task-name",
639 "test_skia/Windows-2008ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX 2-x86_64-Release/5",
640 "--dump-json",
641 "/path/to/tmp/json",
642 "--expiration",
643 "72000",
644 "--io-timeout",
645 "2400",
646 "--hard-timeout",
647 "14400",
648 "--dimension",
649 "cpu",
650 "x86-64",
651 "--dimension",
652 "gpu",
653 "none",
654 "--dimension",
655 "os",
656 "Windows-2008ServerR2-SP1",
657 "--dimension",
658 "pool",
659 "Skia",
660 "--tag",
661 "allow_milo:1",
662 "--tag",
663 "buildername:Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release",
664 "--tag",
665 "buildnumber:5",
666 "--tag",
667 "data:def456",
668 "--tag",
669 "master:client.skia",
670 "--tag",
671 "name:test_skia",
672 "--tag",
673 "os:Windows-2008ServerR2-SP1",
674 "--tag",
675 "slavename:skiabot-linux-swarm-000",
676 "--tag",
677 "stepname:test_skia on Windows-2008ServerR2-SP1",
678 "--cipd-package",
679 "skp:skia/bots/skp:version:0",
680 "--cipd-package",
681 "skimage:skia/bots/skimage:version:0",
682 "def456",
683 "--",
684 "--workdir",
685 "../../..",
686 "swarm_test",
687 "buildername=Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release",
688 "mastername=client.skia",
689 "buildnumber=5",
690 "slavename=skiabot-linux-swarm-000",
691 "reason=Triggered by Skia swarm_trigger Recipe",
692 "swarm_out_dir=${ISOLATED_OUTDIR}",
693 "revision=abc123"
694 ],
695 "name": "[trigger] test_skia on Windows-2008ServerR2-SP1",
696 "~followup_annotations": [
697 "@@@STEP_LOG_LINE@json.output@{@@@",
698 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Windows-20 08ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", @@@",
699 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
700 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Windows-2008ServerR2-SP1/def 456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {@@@",
701 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
702 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
703 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
704 "@@@STEP_LOG_LINE@json.output@ }@@@",
705 "@@@STEP_LOG_LINE@json.output@ }@@@",
706 "@@@STEP_LOG_LINE@json.output@}@@@",
707 "@@@STEP_LOG_END@json.output@@@",
708 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
709 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
710 ]
711 },
712 {
713 "cmd": [
714 "python",
715 "-u",
716 "\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",
717 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia"
718 ],
719 "env": {
720 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
721 },
722 "name": "rmtree test_skia",
723 "~followup_annotations": [
724 "@@@STEP_LOG_LINE@python.inline@@@@",
725 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
726 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
727 "@@@STEP_LOG_LINE@python.inline@@@@",
728 "@@@STEP_LOG_LINE@python.inline@@@@",
729 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
730 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
731 "@@@STEP_LOG_END@python.inline@@@"
732 ]
733 },
734 {
735 "cmd": [
736 "python",
737 "-u",
738 "[SLAVE_BUILD]/swarming.client/swarming.py",
739 "collect",
740 "--swarming",
741 "https://chromium-swarm.appspot.com",
742 "--decorate",
743 "--print-status-updates",
744 "--json",
745 "{\"base_task_name\": \"test_skia/Windows-2008ServerR2-SP1/def456/Test-Win 8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\", \"tasks\": {\"test_skia/Windows-200 8ServerR2-SP1/def456/Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release/5\": {\"sha rd_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.ap pspot.com/user/task/10000\"}}}",
746 "--task-summary-json",
747 "/path/to/tmp/json",
748 "--task-output-dir",
749 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia"
750 ],
751 "name": "test_skia on Windows-2008ServerR2-SP1",
752 "~followup_annotations": [
753 "@@@STEP_TEXT@swarming pending 71s@@@",
754 "@@@STEP_LOG_LINE@json.output@{@@@",
755 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
756 "@@@STEP_LOG_LINE@json.output@ {@@@",
757 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
758 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
759 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
760 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
761 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
762 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
763 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
764 "@@@STEP_LOG_LINE@json.output@ ], @@@",
765 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
766 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
767 "@@@STEP_LOG_LINE@json.output@ 0@@@",
768 "@@@STEP_LOG_LINE@json.output@ ], @@@",
769 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
770 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
771 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
772 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
773 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
774 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
775 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
776 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
777 "@@@STEP_LOG_LINE@json.output@ }, @@@",
778 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
779 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
780 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
781 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
782 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
783 "@@@STEP_LOG_LINE@json.output@ ], @@@",
784 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
785 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
786 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
787 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
788 "@@@STEP_LOG_LINE@json.output@ }@@@",
789 "@@@STEP_LOG_LINE@json.output@ ]@@@",
790 "@@@STEP_LOG_LINE@json.output@}@@@",
791 "@@@STEP_LOG_END@json.output@@@",
792 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
793 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
794 ]
795 },
796 {
797 "cmd": [
798 "python",
799 "-u",
800 "\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",
801 "[SLAVE_BUILD]/dm"
802 ],
803 "env": {
804 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
805 },
806 "name": "rmtree dm",
807 "~followup_annotations": [
808 "@@@STEP_LOG_LINE@python.inline@@@@",
809 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
810 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
811 "@@@STEP_LOG_LINE@python.inline@@@@",
812 "@@@STEP_LOG_LINE@python.inline@@@@",
813 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
814 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
815 "@@@STEP_LOG_END@python.inline@@@"
816 ]
817 },
818 {
819 "cmd": [
820 "python",
821 "-u",
822 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
823 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/dm",
824 "[SLAVE_BUILD]/dm",
825 "0"
826 ],
827 "name": "dm_dir"
828 },
829 {
830 "cmd": [
831 "python",
832 "-u",
833 "RECIPE_MODULE[skia::skia]/resources/upload_dm_results.py",
834 "[SLAVE_BUILD]/dm",
835 "abc123",
836 "Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release",
837 "5",
838 "",
839 "[SLAVE_BUILD]/skia/common/py/utils"
840 ],
841 "cwd": "[ROOT]/skia",
842 "env": {
843 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto",
844 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto"
845 },
846 "name": "Upload DM Results"
847 },
848 {
849 "name": "$result",
850 "recipe_result": null,
851 "status_code": 0
852 }
853 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698