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

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Build-Win-MSVC-x86_64-Release-Vulkan.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 "Build-Win-MSVC-x86_64-Release-Vulkan"
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@ \"most\"@@@",
232 "@@@STEP_LOG_LINE@json.output@ ], @@@",
233 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
234 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@",
235 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
236 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Vulkan\", @@@",
237 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
238 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win\", @@@",
239 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
240 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
241 "@@@STEP_LOG_LINE@json.output@ }, @@@",
242 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release_x64\", @@@",
243 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
244 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
245 "@@@STEP_LOG_LINE@json.output@ ], @@@",
246 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
247 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
248 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
249 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/4.8.5/ s kia_arch_type=x86_64 skia_vulkan=1 skia_warnings_as_errors=1 skia_win_debuggers_ path=c:/DbgHelp skia_win_ltcg=0\"@@@",
250 "@@@STEP_LOG_LINE@json.output@ }, @@@",
251 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
252 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
253 "@@@STEP_LOG_LINE@json.output@ ], @@@",
254 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
255 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
256 "@@@STEP_LOG_LINE@json.output@}@@@",
257 "@@@STEP_LOG_END@json.output@@@"
258 ]
259 },
260 {
261 "cmd": [
262 "python",
263 "-u",
264 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
265 "[ROOT]/skia/infra/bots/assets/win_toolchain/VERSION",
266 "/path/to/tmp/"
267 ],
268 "name": "read win_toolchain VERSION"
269 },
270 {
271 "cmd": [
272 "python",
273 "-u",
274 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
275 "[ROOT]/skia/infra/bots/assets/win_vulkan_sdk/VERSION",
276 "/path/to/tmp/"
277 ],
278 "name": "read win_vulkan_sdk VERSION"
279 },
280 {
281 "cmd": [
282 "python",
283 "-u",
284 "\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",
285 "[SLAVE_BUILD]/swarming_temp_dir",
286 "511"
287 ],
288 "name": "makedirs swarming tmp dir",
289 "~followup_annotations": [
290 "@@@STEP_LOG_LINE@python.inline@@@@",
291 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
292 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
293 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
294 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
295 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
296 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
297 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
298 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
299 "@@@STEP_LOG_END@python.inline@@@"
300 ]
301 },
302 {
303 "cmd": [
304 "python",
305 "-u",
306 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
307 "{\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}",
308 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
309 ],
310 "name": "Write compile_skia.isolated.gen.json"
311 },
312 {
313 "cmd": [
314 "python",
315 "-u",
316 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
317 "[SLAVE_BUILD]/swarming.client",
318 "batcharchive",
319 "--dump-json",
320 "/path/to/tmp/json",
321 "--isolate-server",
322 "https://isolateserver.appspot.com",
323 "--verbose",
324 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
325 ],
326 "name": "isolate tests",
327 "~followup_annotations": [
328 "@@@STEP_LOG_LINE@json.output@{@@@",
329 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
330 "@@@STEP_LOG_LINE@json.output@}@@@",
331 "@@@STEP_LOG_END@json.output@@@",
332 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
333 ]
334 },
335 {
336 "cmd": [
337 "python",
338 "-u",
339 "[SLAVE_BUILD]/swarming.client/swarming.py",
340 "trigger",
341 "--swarming",
342 "https://chromium-swarm.appspot.com",
343 "--isolate-server",
344 "https://isolateserver.appspot.com",
345 "--priority",
346 "90",
347 "--shards",
348 "1",
349 "--task-name",
350 "compile_skia/Windows/[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5",
351 "--dump-json",
352 "/path/to/tmp/json",
353 "--expiration",
354 "72000",
355 "--io-timeout",
356 "2400",
357 "--hard-timeout",
358 "14400",
359 "--dimension",
360 "gpu",
361 "none",
362 "--dimension",
363 "os",
364 "Windows",
365 "--dimension",
366 "pool",
367 "Skia",
368 "--tag",
369 "allow_milo:1",
370 "--tag",
371 "buildername:Build-Win-MSVC-x86_64-Release-Vulkan",
372 "--tag",
373 "buildnumber:5",
374 "--tag",
375 "data:[dummy hash for compile_skia]",
376 "--tag",
377 "master:client.skia",
378 "--tag",
379 "name:compile_skia",
380 "--tag",
381 "os:Windows",
382 "--tag",
383 "slavename:skiabot-linux-swarm-000",
384 "--tag",
385 "stepname:compile_skia on Windows",
386 "--idempotent",
387 "--cipd-package",
388 "t:skia/bots/win_toolchain:version:0",
389 "--cipd-package",
390 "win_vulkan_sdk:skia/bots/win_vulkan_sdk:version:0",
391 "[dummy hash for compile_skia]",
392 "--",
393 "--workdir",
394 "../../..",
395 "swarm_compile",
396 "buildername=Build-Win-MSVC-x86_64-Release-Vulkan",
397 "mastername=client.skia.compile",
398 "buildnumber=1",
399 "slavename=skiabot-dummy-compile-slave",
400 "reason=Triggered by Skia swarm_trigger Recipe",
401 "swarm_out_dir=${ISOLATED_OUTDIR}",
402 "revision=abc123"
403 ],
404 "name": "[trigger] compile_skia on Windows",
405 "~followup_annotations": [
406 "@@@STEP_LOG_LINE@json.output@{@@@",
407 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Windows /[dummy has/Build-Win-MSVC-x86_64-Release-Vulkan/5\", @@@",
408 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
409 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Windows/[dummy has/Build- Win-MSVC-x86_64-Release-Vulkan/5\": {@@@",
410 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
411 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
412 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
413 "@@@STEP_LOG_LINE@json.output@ }@@@",
414 "@@@STEP_LOG_LINE@json.output@ }@@@",
415 "@@@STEP_LOG_LINE@json.output@}@@@",
416 "@@@STEP_LOG_END@json.output@@@",
417 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
418 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
419 ]
420 },
421 {
422 "cmd": [
423 "python",
424 "-u",
425 "[SLAVE_BUILD]/swarming.client/swarming.py",
426 "collect",
427 "--swarming",
428 "https://chromium-swarm.appspot.com",
429 "--decorate",
430 "--print-status-updates",
431 "--json",
432 "{\"base_task_name\": \"compile_skia/Windows/[dummy has/Build-Win-MSVC-x86 _64-Release-Vulkan/5\", \"tasks\": {\"compile_skia/Windows/[dummy has/Build-Win- MSVC-x86_64-Release-Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"v iew_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
433 "--task-summary-json",
434 "/path/to/tmp/json"
435 ],
436 "name": "compile_skia on Windows",
437 "~followup_annotations": [
438 "@@@STEP_TEXT@swarming pending 71s@@@",
439 "@@@STEP_LOG_LINE@json.output@{@@@",
440 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
441 "@@@STEP_LOG_LINE@json.output@ {@@@",
442 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
443 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
444 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
445 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
446 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
447 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
448 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
449 "@@@STEP_LOG_LINE@json.output@ ], @@@",
450 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
451 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
452 "@@@STEP_LOG_LINE@json.output@ 0@@@",
453 "@@@STEP_LOG_LINE@json.output@ ], @@@",
454 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
455 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
456 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
457 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
458 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
459 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
460 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
461 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
462 "@@@STEP_LOG_LINE@json.output@ }, @@@",
463 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
464 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
465 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
466 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
467 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
468 "@@@STEP_LOG_LINE@json.output@ ], @@@",
469 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
470 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
471 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
472 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
473 "@@@STEP_LOG_LINE@json.output@ }@@@",
474 "@@@STEP_LOG_LINE@json.output@ ]@@@",
475 "@@@STEP_LOG_LINE@json.output@}@@@",
476 "@@@STEP_LOG_END@json.output@@@",
477 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
478 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
479 ]
480 },
481 {
482 "name": "$result",
483 "recipe_result": null,
484 "status_code": 0
485 }
486 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698