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

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-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 "Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-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@ \"dm\", @@@",
232 "@@@STEP_LOG_LINE@json.output@ \"nanobench\"@@@",
233 "@@@STEP_LOG_LINE@json.output@ ], @@@",
234 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
235 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"Arm64\", @@@",
236 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
237 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
238 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu\": \"GPU\", @@@",
239 "@@@STEP_LOG_LINE@json.output@ \"cpu_or_gpu_value\": \"TegraX1\", @@@",
240 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Vulkan\", @@@",
241 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
242 "@@@STEP_LOG_LINE@json.output@ \"model\": \"NVIDIA_Shield\", @@@",
243 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Android\", @@@",
244 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Test\"@@@",
245 "@@@STEP_LOG_LINE@json.output@ }, @@@",
246 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
247 "@@@STEP_LOG_LINE@json.output@ \"device_cfg\": \"arm64\", @@@",
248 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
249 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
250 "@@@STEP_LOG_LINE@json.output@ ], @@@",
251 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": true, @@@",
252 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": true, @@@",
253 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
254 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm64 skia_vulkan=1 skia_warnings_as_errors=0\"@@@",
255 "@@@STEP_LOG_LINE@json.output@ }, @@@",
256 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
257 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
258 "@@@STEP_LOG_LINE@json.output@ ], @@@",
259 "@@@STEP_LOG_LINE@json.output@ \"product.board\": \"foster\", @@@",
260 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
261 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
262 "@@@STEP_LOG_LINE@json.output@}@@@",
263 "@@@STEP_LOG_END@json.output@@@"
264 ]
265 },
266 {
267 "cmd": [
268 "python",
269 "-u",
270 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
271 "[ROOT]/skia/infra/bots/assets/android_sdk/VERSION",
272 "/path/to/tmp/"
273 ],
274 "name": "read android_sdk VERSION"
275 },
276 {
277 "cmd": [
278 "python",
279 "-u",
280 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
281 "/path/to/tmp/json",
282 "Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan"
283 ],
284 "cwd": "[SLAVE_BUILD]/skia",
285 "name": "exec buildbot_spec.py (2)",
286 "~followup_annotations": [
287 "@@@STEP_LOG_LINE@json.output@{@@@",
288 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
289 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
290 "@@@STEP_LOG_LINE@json.output@ ], @@@",
291 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
292 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
293 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
294 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Android_Vulkan\", @@ @",
295 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
296 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
297 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
298 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"Arm64\"@@@",
299 "@@@STEP_LOG_LINE@json.output@ }, @@@",
300 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
301 "@@@STEP_LOG_LINE@json.output@ \"device_cfg\": \"arm64\", @@@",
302 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
303 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
304 "@@@STEP_LOG_LINE@json.output@ ], @@@",
305 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
306 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
307 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
308 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm64 skia_warnings_as_errors=1\"@@@",
309 "@@@STEP_LOG_LINE@json.output@ }, @@@",
310 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
311 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
312 "@@@STEP_LOG_LINE@json.output@ ], @@@",
313 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
314 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
315 "@@@STEP_LOG_LINE@json.output@}@@@",
316 "@@@STEP_LOG_END@json.output@@@"
317 ]
318 },
319 {
320 "cmd": [
321 "python",
322 "-u",
323 "\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",
324 "[SLAVE_BUILD]/swarming_temp_dir",
325 "511"
326 ],
327 "name": "makedirs swarming tmp dir",
328 "~followup_annotations": [
329 "@@@STEP_LOG_LINE@python.inline@@@@",
330 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
331 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
332 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
333 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
334 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
335 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
336 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
337 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
338 "@@@STEP_LOG_END@python.inline@@@"
339 ]
340 },
341 {
342 "cmd": [
343 "python",
344 "-u",
345 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
346 "{\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 \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blackl ist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps\ ", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BUI LD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
347 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
348 ],
349 "name": "Write compile_skia.isolated.gen.json"
350 },
351 {
352 "cmd": [
353 "python",
354 "-u",
355 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
356 "[SLAVE_BUILD]/swarming.client",
357 "batcharchive",
358 "--dump-json",
359 "/path/to/tmp/json",
360 "--isolate-server",
361 "https://isolateserver.appspot.com",
362 "--verbose",
363 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
364 ],
365 "name": "isolate tests",
366 "~followup_annotations": [
367 "@@@STEP_LOG_LINE@json.output@{@@@",
368 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
369 "@@@STEP_LOG_LINE@json.output@}@@@",
370 "@@@STEP_LOG_END@json.output@@@",
371 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
372 ]
373 },
374 {
375 "cmd": [
376 "python",
377 "-u",
378 "[SLAVE_BUILD]/swarming.client/swarming.py",
379 "trigger",
380 "--swarming",
381 "https://chromium-swarm.appspot.com",
382 "--isolate-server",
383 "https://isolateserver.appspot.com",
384 "--priority",
385 "90",
386 "--shards",
387 "1",
388 "--task-name",
389 "compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1 -Arm64-Debug-Vulkan/5",
390 "--dump-json",
391 "/path/to/tmp/json",
392 "--expiration",
393 "72000",
394 "--io-timeout",
395 "2400",
396 "--hard-timeout",
397 "14400",
398 "--dimension",
399 "gpu",
400 "none",
401 "--dimension",
402 "os",
403 "Ubuntu",
404 "--dimension",
405 "pool",
406 "Skia",
407 "--tag",
408 "allow_milo:1",
409 "--tag",
410 "buildername:Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan ",
411 "--tag",
412 "buildnumber:5",
413 "--tag",
414 "data:[dummy hash for compile_skia]",
415 "--tag",
416 "master:client.skia",
417 "--tag",
418 "name:compile_skia",
419 "--tag",
420 "os:Ubuntu",
421 "--tag",
422 "slavename:skiabot-linux-swarm-000",
423 "--tag",
424 "stepname:compile_skia on Ubuntu",
425 "--idempotent",
426 "--cipd-package",
427 "android_sdk:skia/bots/android_sdk:version:0",
428 "[dummy hash for compile_skia]",
429 "--",
430 "--workdir",
431 "../../..",
432 "swarm_compile",
433 "buildername=Build-Ubuntu-GCC-Arm64-Debug-Android_Vulkan",
434 "mastername=client.skia.compile",
435 "buildnumber=1",
436 "slavename=skiabot-dummy-compile-slave",
437 "reason=Triggered by Skia swarm_trigger Recipe",
438 "swarm_out_dir=${ISOLATED_OUTDIR}",
439 "revision=abc123"
440 ],
441 "name": "[trigger] compile_skia on Ubuntu",
442 "~followup_annotations": [
443 "@@@STEP_LOG_LINE@json.output@{@@@",
444 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ [dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", @@ @",
445 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
446 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Test-An droid-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {@@@",
447 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
448 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
449 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
450 "@@@STEP_LOG_LINE@json.output@ }@@@",
451 "@@@STEP_LOG_LINE@json.output@ }@@@",
452 "@@@STEP_LOG_LINE@json.output@}@@@",
453 "@@@STEP_LOG_END@json.output@@@",
454 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
455 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
456 ]
457 },
458 {
459 "cmd": [
460 "python",
461 "-u",
462 "[SLAVE_BUILD]/swarming.client/swarming.py",
463 "collect",
464 "--swarming",
465 "https://chromium-swarm.appspot.com",
466 "--decorate",
467 "--print-status-updates",
468 "--json",
469 "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Test-Android-GCC-NV IDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", \"tasks\": {\"compile_skia/Ubunt u/[dummy has/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-sw arm.appspot.com/user/task/10000\"}}}",
470 "--task-summary-json",
471 "/path/to/tmp/json"
472 ],
473 "name": "compile_skia on Ubuntu",
474 "~followup_annotations": [
475 "@@@STEP_TEXT@swarming pending 71s@@@",
476 "@@@STEP_LOG_LINE@json.output@{@@@",
477 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
478 "@@@STEP_LOG_LINE@json.output@ {@@@",
479 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
480 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
482 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
483 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
484 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
485 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
486 "@@@STEP_LOG_LINE@json.output@ ], @@@",
487 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
488 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
489 "@@@STEP_LOG_LINE@json.output@ 0@@@",
490 "@@@STEP_LOG_LINE@json.output@ ], @@@",
491 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
492 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
493 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
494 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
495 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
496 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
497 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
498 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
499 "@@@STEP_LOG_LINE@json.output@ }, @@@",
500 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
501 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
502 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
503 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
504 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
505 "@@@STEP_LOG_LINE@json.output@ ], @@@",
506 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
507 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
508 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
509 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
510 "@@@STEP_LOG_LINE@json.output@ }@@@",
511 "@@@STEP_LOG_LINE@json.output@ ]@@@",
512 "@@@STEP_LOG_LINE@json.output@}@@@",
513 "@@@STEP_LOG_END@json.output@@@",
514 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
515 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
516 ]
517 },
518 {
519 "cmd": [
520 "python",
521 "-u",
522 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
523 "[ROOT]/skia/infra/bots/assets/skp/VERSION",
524 "/path/to/tmp/"
525 ],
526 "name": "read skp VERSION"
527 },
528 {
529 "cmd": [
530 "python",
531 "-u",
532 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
533 "[ROOT]/skia/infra/bots/assets/skimage/VERSION",
534 "/path/to/tmp/"
535 ],
536 "name": "read skimage VERSION"
537 },
538 {
539 "cmd": [
540 "python",
541 "-u",
542 "\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",
543 "[SLAVE_BUILD]/swarming_temp_dir",
544 "511"
545 ],
546 "name": "makedirs swarming tmp dir (2)",
547 "~followup_annotations": [
548 "@@@STEP_LOG_LINE@python.inline@@@@",
549 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
550 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
551 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
552 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
553 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
554 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
555 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
556 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
557 "@@@STEP_LOG_END@python.inline@@@"
558 ]
559 },
560 {
561 "cmd": [
562 "python",
563 "-u",
564 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
565 "{\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 \"Android\", \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}",
566 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
567 ],
568 "name": "Write test_skia.isolated.gen.json"
569 },
570 {
571 "cmd": [
572 "python",
573 "-u",
574 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
575 "[SLAVE_BUILD]/swarming.client",
576 "batcharchive",
577 "--dump-json",
578 "/path/to/tmp/json",
579 "--isolate-server",
580 "https://isolateserver.appspot.com",
581 "--verbose",
582 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json"
583 ],
584 "name": "isolate tests (2)",
585 "~followup_annotations": [
586 "@@@STEP_LOG_LINE@json.output@{@@@",
587 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia ]\"@@@",
588 "@@@STEP_LOG_LINE@json.output@}@@@",
589 "@@@STEP_LOG_END@json.output@@@",
590 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test _skia]\"}@@@"
591 ]
592 },
593 {
594 "cmd": [
595 "python",
596 "-u",
597 "\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",
598 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated",
599 "abc123"
600 ],
601 "name": "add_isolated_input",
602 "~followup_annotations": [
603 "@@@STEP_LOG_LINE@python.inline@@@@",
604 "@@@STEP_LOG_LINE@python.inline@import json@@@",
605 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
606 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
607 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
608 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
609 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
610 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
611 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
612 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
613 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
614 "@@@STEP_LOG_END@python.inline@@@"
615 ]
616 },
617 {
618 "cmd": [
619 "python",
620 "-u",
621 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
622 "archive",
623 "--isolate-server",
624 "https://isolateserver.appspot.com",
625 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated"
626 ],
627 "name": "upload new .isolated file for test_skia",
628 "stdout": "/path/to/tmp/"
629 },
630 {
631 "cmd": [
632 "python",
633 "-u",
634 "[SLAVE_BUILD]/swarming.client/swarming.py",
635 "trigger",
636 "--swarming",
637 "https://chromium-swarm.appspot.com",
638 "--isolate-server",
639 "https://isolateserver.appspot.com",
640 "--priority",
641 "90",
642 "--shards",
643 "1",
644 "--task-name",
645 "test_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64 -Debug-Vulkan/5",
646 "--dump-json",
647 "/path/to/tmp/json",
648 "--expiration",
649 "72000",
650 "--io-timeout",
651 "2400",
652 "--hard-timeout",
653 "14400",
654 "--dimension",
655 "device_type",
656 "foster",
657 "--dimension",
658 "os",
659 "Android",
660 "--dimension",
661 "pool",
662 "Skia",
663 "--tag",
664 "allow_milo:1",
665 "--tag",
666 "buildername:Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan ",
667 "--tag",
668 "buildnumber:5",
669 "--tag",
670 "data:def456",
671 "--tag",
672 "master:client.skia",
673 "--tag",
674 "name:test_skia",
675 "--tag",
676 "os:Android",
677 "--tag",
678 "slavename:skiabot-linux-swarm-000",
679 "--tag",
680 "stepname:test_skia on Android",
681 "--cipd-package",
682 "skp:skia/bots/skp:version:0",
683 "--cipd-package",
684 "skimage:skia/bots/skimage:version:0",
685 "def456",
686 "--",
687 "--workdir",
688 "../../..",
689 "swarm_test",
690 "buildername=Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan ",
691 "mastername=client.skia",
692 "buildnumber=5",
693 "slavename=skiabot-linux-swarm-000",
694 "reason=Triggered by Skia swarm_trigger Recipe",
695 "swarm_out_dir=${ISOLATED_OUTDIR}",
696 "revision=abc123"
697 ],
698 "name": "[trigger] test_skia on Android",
699 "~followup_annotations": [
700 "@@@STEP_LOG_LINE@json.output@{@@@",
701 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Android/de f456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", @@@",
702 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
703 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Android/def456/Test-Android- GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {@@@",
704 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
705 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
706 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
707 "@@@STEP_LOG_LINE@json.output@ }@@@",
708 "@@@STEP_LOG_LINE@json.output@ }@@@",
709 "@@@STEP_LOG_LINE@json.output@}@@@",
710 "@@@STEP_LOG_END@json.output@@@",
711 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
712 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
713 ]
714 },
715 {
716 "cmd": [
717 "python",
718 "-u",
719 "\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",
720 "[SLAVE_BUILD]/swarming_temp_dir",
721 "511"
722 ],
723 "name": "makedirs swarming tmp dir (3)",
724 "~followup_annotations": [
725 "@@@STEP_LOG_LINE@python.inline@@@@",
726 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
727 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
728 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
729 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
730 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
731 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
732 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
733 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
734 "@@@STEP_LOG_END@python.inline@@@"
735 ]
736 },
737 {
738 "cmd": [
739 "python",
740 "-u",
741 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
742 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/ bots/perf_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]/sw arming_temp_dir/skia-task-perf_skia.isolated\", \n \"--config-variable\", \n \"OS\", \n \"Android\", \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}",
743 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json"
744 ],
745 "name": "Write perf_skia.isolated.gen.json"
746 },
747 {
748 "cmd": [
749 "python",
750 "-u",
751 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
752 "[SLAVE_BUILD]/swarming.client",
753 "batcharchive",
754 "--dump-json",
755 "/path/to/tmp/json",
756 "--isolate-server",
757 "https://isolateserver.appspot.com",
758 "--verbose",
759 "[SLAVE_BUILD]/swarming_temp_dir/perf_skia.isolated.gen.json"
760 ],
761 "name": "isolate tests (3)",
762 "~followup_annotations": [
763 "@@@STEP_LOG_LINE@json.output@{@@@",
764 "@@@STEP_LOG_LINE@json.output@ \"perf_skia\": \"[dummy hash for perf_skia ]\"@@@",
765 "@@@STEP_LOG_LINE@json.output@}@@@",
766 "@@@STEP_LOG_END@json.output@@@",
767 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"perf_skia\": \"[dummy hash for perf _skia]\"}@@@"
768 ]
769 },
770 {
771 "cmd": [
772 "python",
773 "-u",
774 "\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",
775 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-perf_skia.isolated",
776 "abc123"
777 ],
778 "name": "add_isolated_input (2)",
779 "~followup_annotations": [
780 "@@@STEP_LOG_LINE@python.inline@@@@",
781 "@@@STEP_LOG_LINE@python.inline@import json@@@",
782 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
783 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
784 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
785 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
786 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
787 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
788 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
789 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
790 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
791 "@@@STEP_LOG_END@python.inline@@@"
792 ]
793 },
794 {
795 "cmd": [
796 "python",
797 "-u",
798 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
799 "archive",
800 "--isolate-server",
801 "https://isolateserver.appspot.com",
802 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-perf_skia.isolated"
803 ],
804 "name": "upload new .isolated file for perf_skia",
805 "stdout": "/path/to/tmp/"
806 },
807 {
808 "cmd": [
809 "python",
810 "-u",
811 "[SLAVE_BUILD]/swarming.client/swarming.py",
812 "trigger",
813 "--swarming",
814 "https://chromium-swarm.appspot.com",
815 "--isolate-server",
816 "https://isolateserver.appspot.com",
817 "--priority",
818 "90",
819 "--shards",
820 "1",
821 "--task-name",
822 "perf_skia/Android/def456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64 -Debug-Vulkan/5",
823 "--dump-json",
824 "/path/to/tmp/json",
825 "--expiration",
826 "72000",
827 "--io-timeout",
828 "2400",
829 "--hard-timeout",
830 "14400",
831 "--dimension",
832 "device_type",
833 "foster",
834 "--dimension",
835 "os",
836 "Android",
837 "--dimension",
838 "pool",
839 "Skia",
840 "--tag",
841 "allow_milo:1",
842 "--tag",
843 "buildername:Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan ",
844 "--tag",
845 "buildnumber:5",
846 "--tag",
847 "data:def456",
848 "--tag",
849 "master:client.skia",
850 "--tag",
851 "name:perf_skia",
852 "--tag",
853 "os:Android",
854 "--tag",
855 "slavename:skiabot-linux-swarm-000",
856 "--tag",
857 "stepname:perf_skia on Android",
858 "--cipd-package",
859 "skp:skia/bots/skp:version:0",
860 "--cipd-package",
861 "skimage:skia/bots/skimage:version:0",
862 "def456",
863 "--",
864 "--workdir",
865 "../../..",
866 "swarm_perf",
867 "buildername=Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan ",
868 "mastername=client.skia",
869 "buildnumber=5",
870 "slavename=skiabot-linux-swarm-000",
871 "reason=Triggered by Skia swarm_trigger Recipe",
872 "swarm_out_dir=${ISOLATED_OUTDIR}",
873 "revision=abc123"
874 ],
875 "name": "[trigger] perf_skia on Android",
876 "~followup_annotations": [
877 "@@@STEP_LOG_LINE@json.output@{@@@",
878 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"perf_skia/Android/de f456/Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", @@@",
879 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
880 "@@@STEP_LOG_LINE@json.output@ \"perf_skia/Android/def456/Test-Android- GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {@@@",
881 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
882 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
883 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
884 "@@@STEP_LOG_LINE@json.output@ }@@@",
885 "@@@STEP_LOG_LINE@json.output@ }@@@",
886 "@@@STEP_LOG_LINE@json.output@}@@@",
887 "@@@STEP_LOG_END@json.output@@@",
888 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
889 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
890 ]
891 },
892 {
893 "cmd": [
894 "python",
895 "-u",
896 "\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",
897 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia"
898 ],
899 "env": {
900 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
901 },
902 "name": "rmtree test_skia",
903 "~followup_annotations": [
904 "@@@STEP_LOG_LINE@python.inline@@@@",
905 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
906 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
907 "@@@STEP_LOG_LINE@python.inline@@@@",
908 "@@@STEP_LOG_LINE@python.inline@@@@",
909 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
910 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
911 "@@@STEP_LOG_END@python.inline@@@"
912 ]
913 },
914 {
915 "cmd": [
916 "python",
917 "-u",
918 "[SLAVE_BUILD]/swarming.client/swarming.py",
919 "collect",
920 "--swarming",
921 "https://chromium-swarm.appspot.com",
922 "--decorate",
923 "--print-status-updates",
924 "--json",
925 "{\"base_task_name\": \"test_skia/Android/def456/Test-Android-GCC-NVIDIA_S hield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", \"tasks\": {\"test_skia/Android/def456 /Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {\"shard_ind ex\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot. com/user/task/10000\"}}}",
926 "--task-summary-json",
927 "/path/to/tmp/json",
928 "--task-output-dir",
929 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia"
930 ],
931 "name": "test_skia on Android",
932 "~followup_annotations": [
933 "@@@STEP_TEXT@swarming pending 71s@@@",
934 "@@@STEP_LOG_LINE@json.output@{@@@",
935 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
936 "@@@STEP_LOG_LINE@json.output@ {@@@",
937 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
938 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
939 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
940 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
941 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
942 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
943 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
944 "@@@STEP_LOG_LINE@json.output@ ], @@@",
945 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
946 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
947 "@@@STEP_LOG_LINE@json.output@ 0@@@",
948 "@@@STEP_LOG_LINE@json.output@ ], @@@",
949 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
950 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
951 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
952 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
953 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
954 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
955 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
956 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
957 "@@@STEP_LOG_LINE@json.output@ }, @@@",
958 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
959 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
960 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
961 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
962 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
963 "@@@STEP_LOG_LINE@json.output@ ], @@@",
964 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
965 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
966 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
967 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
968 "@@@STEP_LOG_LINE@json.output@ }@@@",
969 "@@@STEP_LOG_LINE@json.output@ ]@@@",
970 "@@@STEP_LOG_LINE@json.output@}@@@",
971 "@@@STEP_LOG_END@json.output@@@",
972 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
973 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
974 ]
975 },
976 {
977 "cmd": [
978 "python",
979 "-u",
980 "\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",
981 "[SLAVE_BUILD]/dm"
982 ],
983 "env": {
984 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
985 },
986 "name": "rmtree dm",
987 "~followup_annotations": [
988 "@@@STEP_LOG_LINE@python.inline@@@@",
989 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
990 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
991 "@@@STEP_LOG_LINE@python.inline@@@@",
992 "@@@STEP_LOG_LINE@python.inline@@@@",
993 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
994 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
995 "@@@STEP_LOG_END@python.inline@@@"
996 ]
997 },
998 {
999 "cmd": [
1000 "python",
1001 "-u",
1002 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
1003 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/dm",
1004 "[SLAVE_BUILD]/dm",
1005 "0"
1006 ],
1007 "name": "dm_dir"
1008 },
1009 {
1010 "cmd": [
1011 "python",
1012 "-u",
1013 "RECIPE_MODULE[skia::skia]/resources/upload_dm_results.py",
1014 "[SLAVE_BUILD]/dm",
1015 "abc123",
1016 "Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan",
1017 "5",
1018 "",
1019 "[SLAVE_BUILD]/skia/common/py/utils"
1020 ],
1021 "cwd": "[ROOT]/skia",
1022 "env": {
1023 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto",
1024 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto"
1025 },
1026 "name": "Upload DM Results"
1027 },
1028 {
1029 "cmd": [
1030 "python",
1031 "-u",
1032 "\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",
1033 "[SLAVE_BUILD]/swarming_temp_dir/outputs/perf_skia"
1034 ],
1035 "env": {
1036 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts"
1037 },
1038 "name": "rmtree perf_skia",
1039 "~followup_annotations": [
1040 "@@@STEP_LOG_LINE@python.inline@@@@",
1041 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
1042 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
1043 "@@@STEP_LOG_LINE@python.inline@@@@",
1044 "@@@STEP_LOG_LINE@python.inline@@@@",
1045 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
1046 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
1047 "@@@STEP_LOG_END@python.inline@@@"
1048 ]
1049 },
1050 {
1051 "cmd": [
1052 "python",
1053 "-u",
1054 "[SLAVE_BUILD]/swarming.client/swarming.py",
1055 "collect",
1056 "--swarming",
1057 "https://chromium-swarm.appspot.com",
1058 "--decorate",
1059 "--print-status-updates",
1060 "--json",
1061 "{\"base_task_name\": \"perf_skia/Android/def456/Test-Android-GCC-NVIDIA_S hield-GPU-TegraX1-Arm64-Debug-Vulkan/5\", \"tasks\": {\"perf_skia/Android/def456 /Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan/5\": {\"shard_ind ex\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot. com/user/task/10000\"}}}",
1062 "--task-summary-json",
1063 "/path/to/tmp/json",
1064 "--task-output-dir",
1065 "[SLAVE_BUILD]/swarming_temp_dir/outputs/perf_skia"
1066 ],
1067 "name": "perf_skia on Android",
1068 "~followup_annotations": [
1069 "@@@STEP_TEXT@swarming pending 71s@@@",
1070 "@@@STEP_LOG_LINE@json.output@{@@@",
1071 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
1072 "@@@STEP_LOG_LINE@json.output@ {@@@",
1073 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
1074 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
1075 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
1076 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
1077 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
1078 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
1079 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
1080 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1081 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
1082 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
1083 "@@@STEP_LOG_LINE@json.output@ 0@@@",
1084 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1085 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
1086 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
1087 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
1088 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
1089 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
1090 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
1091 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
1092 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
1093 "@@@STEP_LOG_LINE@json.output@ }, @@@",
1094 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
1095 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
1096 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
1097 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
1098 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
1099 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1100 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
1101 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
1102 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
1103 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
1104 "@@@STEP_LOG_LINE@json.output@ }@@@",
1105 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1106 "@@@STEP_LOG_LINE@json.output@}@@@",
1107 "@@@STEP_LOG_END@json.output@@@",
1108 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1109 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
1110 ]
1111 },
1112 {
1113 "name": "$result",
1114 "recipe_result": null,
1115 "status_code": 0
1116 }
1117 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698