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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/legacy_android_sdk.json

Issue 2087853002: Revert of Add Swarming task for downloading Android SDK on Skia bots (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « scripts/slave/recipes/skia/swarm_trigger.expected/Wrong_downloaded_SKP_VERSION.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "git",
5 "remote",
6 "set-url",
7 "origin",
8 "https://skia.googlesource.com/skia.git"
9 ],
10 "cwd": "[SLAVE_BUILD]/skia",
11 "name": "git remote set-url"
12 },
13 {
14 "cmd": [
15 "git",
16 "fetch"
17 ],
18 "cwd": "[SLAVE_BUILD]/skia",
19 "name": "git fetch"
20 },
21 {
22 "cmd": [
23 "git",
24 "reset",
25 "--hard",
26 "abc123"
27 ],
28 "cwd": "[SLAVE_BUILD]/skia",
29 "name": "git reset"
30 },
31 {
32 "cmd": [
33 "git",
34 "clean",
35 "-d",
36 "-f"
37 ],
38 "cwd": "[SLAVE_BUILD]/skia",
39 "name": "git clean"
40 },
41 {
42 "cmd": [
43 "python",
44 "-u",
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
46 "config",
47 "--spec",
48 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l lvm']"
49 ],
50 "env": {
51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
52 },
53 "name": "gclient setup"
54 },
55 {
56 "cmd": [
57 "python",
58 "-u",
59 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
60 "sync",
61 "--nohooks",
62 "--force",
63 "--verbose",
64 "--delete_unversioned_trees",
65 "--revision",
66 "skia@abc123",
67 "--output-json",
68 "/path/to/tmp/json"
69 ],
70 "env": {
71 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
72 },
73 "name": "gclient sync",
74 "~followup_annotations": [
75 "@@@STEP_LOG_LINE@json.output@{@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
77 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
78 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
79 "@@@STEP_LOG_LINE@json.output@ }@@@",
80 "@@@STEP_LOG_LINE@json.output@ }@@@",
81 "@@@STEP_LOG_LINE@json.output@}@@@",
82 "@@@STEP_LOG_END@json.output@@@",
83 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
84 ]
85 },
86 {
87 "cmd": [
88 "python",
89 "-u",
90 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
91 "/path/to/tmp/json",
92 "Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan"
93 ],
94 "cwd": "[SLAVE_BUILD]/skia",
95 "name": "exec buildbot_spec.py",
96 "~followup_annotations": [
97 "@@@STEP_LOG_LINE@json.output@{@@@",
98 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
100 "@@@STEP_LOG_LINE@json.output@ ], @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
102 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Android_Vulkan\", @@ @",
105 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"Arm7\"@@@",
109 "@@@STEP_LOG_LINE@json.output@ }, @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"device_cfg\": \"arm_v7_neon\", @@@",
112 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
113 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
114 "@@@STEP_LOG_LINE@json.output@ ], @@@",
115 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
117 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
118 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=arm sk ia_warnings_as_errors=1\"@@@",
119 "@@@STEP_LOG_LINE@json.output@ }, @@@",
120 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
121 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
122 "@@@STEP_LOG_LINE@json.output@ ], @@@",
123 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
125 "@@@STEP_LOG_LINE@json.output@}@@@",
126 "@@@STEP_LOG_END@json.output@@@"
127 ]
128 },
129 {
130 "cmd": [
131 "python",
132 "-u",
133 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
134 "--path",
135 "[SLAVE_BUILD]/swarming.client",
136 "--url",
137 "https://chromium.googlesource.com/external/swarming.client.git"
138 ],
139 "name": "git setup (swarming_client)"
140 },
141 {
142 "cmd": [
143 "git",
144 "retry",
145 "fetch",
146 "origin",
147 "master"
148 ],
149 "cwd": "[SLAVE_BUILD]/swarming.client",
150 "name": "git fetch (swarming_client)"
151 },
152 {
153 "cmd": [
154 "git",
155 "checkout",
156 "-f",
157 "FETCH_HEAD"
158 ],
159 "cwd": "[SLAVE_BUILD]/swarming.client",
160 "name": "git checkout (swarming_client)"
161 },
162 {
163 "cmd": [
164 "git",
165 "rev-parse",
166 "HEAD"
167 ],
168 "cwd": "[SLAVE_BUILD]/swarming.client",
169 "name": "read revision",
170 "stdout": "/path/to/tmp/",
171 "~followup_annotations": [
172 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
173 ]
174 },
175 {
176 "cmd": [
177 "git",
178 "clean",
179 "-f",
180 "-d",
181 "-x"
182 ],
183 "cwd": "[SLAVE_BUILD]/swarming.client",
184 "name": "git clean (swarming_client)"
185 },
186 {
187 "cmd": [
188 "git",
189 "submodule",
190 "sync"
191 ],
192 "cwd": "[SLAVE_BUILD]/swarming.client",
193 "name": "submodule sync (swarming_client)"
194 },
195 {
196 "cmd": [
197 "git",
198 "submodule",
199 "update",
200 "--init",
201 "--recursive"
202 ],
203 "cwd": "[SLAVE_BUILD]/swarming.client",
204 "name": "submodule update (swarming_client)"
205 },
206 {
207 "cmd": [
208 "python",
209 "-u",
210 "[SLAVE_BUILD]/swarming.client/swarming.py",
211 "--version"
212 ],
213 "name": "swarming.py --version",
214 "stdout": "/path/to/tmp/",
215 "~followup_annotations": [
216 "@@@STEP_TEXT@0.4.10@@@"
217 ]
218 },
219 {
220 "cmd": [
221 "download_from_google_storage",
222 "--no_resume",
223 "--platform=linux*",
224 "--no_auth",
225 "--bucket",
226 "chromium-luci",
227 "-d",
228 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/linux64"
229 ],
230 "name": "download luci-go linux"
231 },
232 {
233 "cmd": [
234 "download_from_google_storage",
235 "--no_resume",
236 "--platform=darwin",
237 "--no_auth",
238 "--bucket",
239 "chromium-luci",
240 "-d",
241 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/mac64"
242 ],
243 "name": "download luci-go mac"
244 },
245 {
246 "cmd": [
247 "download_from_google_storage",
248 "--no_resume",
249 "--platform=win32",
250 "--no_auth",
251 "--bucket",
252 "chromium-luci",
253 "-d",
254 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/win64"
255 ],
256 "name": "download luci-go win"
257 },
258 {
259 "cmd": [
260 "python",
261 "-u",
262 "\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",
263 "[SLAVE_BUILD]/luci-go"
264 ],
265 "name": "rmtree Go binary dir",
266 "~followup_annotations": [
267 "@@@STEP_LOG_LINE@python.inline@@@@",
268 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
269 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
270 "@@@STEP_LOG_LINE@python.inline@@@@",
271 "@@@STEP_LOG_LINE@python.inline@@@@",
272 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
273 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
274 "@@@STEP_LOG_END@python.inline@@@"
275 ]
276 },
277 {
278 "cmd": [
279 "python",
280 "-u",
281 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy mlinks=bool(sys.argv[3]))\n",
282 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go",
283 "[SLAVE_BUILD]/luci-go",
284 "0"
285 ],
286 "name": "Copy Go binary"
287 },
288 {
289 "cmd": [
290 "python",
291 "-u",
292 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
293 "--",
294 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
295 "----",
296 "help"
297 ],
298 "name": "gsutil help"
299 },
300 {
301 "cmd": [
302 "python",
303 "-u",
304 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
305 "[BUILD]/third_party/infra",
306 "511"
307 ],
308 "name": "makedirs third_party_infra",
309 "~followup_annotations": [
310 "@@@STEP_LOG_LINE@python.inline@@@@",
311 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
312 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
313 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
314 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
315 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
316 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
317 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
318 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
319 "@@@STEP_LOG_END@python.inline@@@"
320 ]
321 },
322 {
323 "cmd": [
324 "python",
325 "-u",
326 "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"
327 ],
328 "cwd": "[BUILD]",
329 "name": "fix filemodes",
330 "~followup_annotations": [
331 "@@@STEP_LOG_LINE@python.inline@import os@@@",
332 "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@ @",
333 "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@",
334 "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@",
335 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@",
336 "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@",
337 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@",
338 "@@@STEP_LOG_LINE@python.inline@ else:@@@",
339 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0644)@@@",
340 "@@@STEP_LOG_END@python.inline@@@"
341 ]
342 },
343 {
344 "cmd": [
345 "python",
346 "-u",
347 "\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",
348 "[SLAVE_BUILD]/swarming_temp_dir",
349 "511"
350 ],
351 "name": "makedirs swarming tmp dir",
352 "~followup_annotations": [
353 "@@@STEP_LOG_LINE@python.inline@@@@",
354 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
355 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
356 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
357 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
358 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
359 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
360 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
361 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
362 "@@@STEP_LOG_END@python.inline@@@"
363 ]
364 },
365 {
366 "cmd": [
367 "python",
368 "-u",
369 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
370 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl ave/recipes/skia/swarm_recipe.isolate\", \n \"--isolated\", \n \"[ SLAVE_BUILD]/swarming_temp_dir/skia-task-isolate_recipes.isolated\", \n \ "--config-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\ ": \"[BUILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}",
371 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json"
372 ],
373 "name": "Write isolate_recipes.isolated.gen.json"
374 },
375 {
376 "cmd": [
377 "python",
378 "-u",
379 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
380 "[SLAVE_BUILD]/swarming.client",
381 "batcharchive",
382 "--dump-json",
383 "/path/to/tmp/json",
384 "--isolate-server",
385 "https://isolateserver.appspot.com",
386 "--verbose",
387 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json"
388 ],
389 "name": "isolate tests",
390 "~followup_annotations": [
391 "@@@STEP_LOG_LINE@json.output@{@@@",
392 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@",
393 "@@@STEP_LOG_LINE@json.output@}@@@",
394 "@@@STEP_LOG_END@json.output@@@",
395 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@"
396 ]
397 },
398 {
399 "cmd": [
400 "python",
401 "-u",
402 "\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",
403 "[SLAVE_BUILD]/swarming_temp_dir",
404 "511"
405 ],
406 "name": "makedirs swarming tmp dir (2)",
407 "~followup_annotations": [
408 "@@@STEP_LOG_LINE@python.inline@@@@",
409 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
410 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
411 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
412 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
413 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
414 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
415 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
416 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
417 "@@@STEP_LOG_END@python.inline@@@"
418 ]
419 },
420 {
421 "cmd": [
422 "python",
423 "-u",
424 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
425 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl ave/recipes/skia/gsutil.isolate\", \n \"--isolated\", \n \"[SLAVE_ BUILD]/swarming_temp_dir/skia-task-isolate_gsutil.isolated\", \n \"--conf ig-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\": \"[B UILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}",
426 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
427 ],
428 "name": "Write isolate_gsutil.isolated.gen.json"
429 },
430 {
431 "cmd": [
432 "python",
433 "-u",
434 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
435 "[SLAVE_BUILD]/swarming.client",
436 "batcharchive",
437 "--dump-json",
438 "/path/to/tmp/json",
439 "--isolate-server",
440 "https://isolateserver.appspot.com",
441 "--verbose",
442 "[SLAVE_BUILD]/swarming_temp_dir/isolate_gsutil.isolated.gen.json"
443 ],
444 "name": "isolate tests (2)",
445 "~followup_annotations": [
446 "@@@STEP_LOG_LINE@json.output@{@@@",
447 "@@@STEP_LOG_LINE@json.output@ \"isolate_gsutil\": \"[dummy hash for isol ate_gsutil]\"@@@",
448 "@@@STEP_LOG_LINE@json.output@}@@@",
449 "@@@STEP_LOG_END@json.output@@@",
450 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_gsutil\": \"[dummy hash for isolate_gsutil]\"}@@@"
451 ]
452 },
453 {
454 "cmd": [
455 "python",
456 "-u",
457 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
458 "[SLAVE_BUILD]/skia/infra/bots/android_sdk_hash",
459 "/path/to/tmp/"
460 ],
461 "name": "Read android_sdk_hash"
462 },
463 {
464 "cmd": [
465 "python",
466 "-u",
467 "\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",
468 "[SLAVE_BUILD]/swarming_temp_dir",
469 "511"
470 ],
471 "name": "makedirs swarming tmp dir (3)",
472 "~followup_annotations": [
473 "@@@STEP_LOG_LINE@python.inline@@@@",
474 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
475 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
476 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
477 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
478 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
479 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
480 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
481 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
482 "@@@STEP_LOG_END@python.inline@@@"
483 ]
484 },
485 {
486 "cmd": [
487 "python",
488 "-u",
489 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
490 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE _BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi g-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"- -blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"W ORKDIR\", \n \"[SLAVE_BUILD]\", \n \"--extra-variable\", \n \"BUILD\", \n \"[BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
491 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
492 ],
493 "name": "Write compile_skia.isolated.gen.json"
494 },
495 {
496 "cmd": [
497 "python",
498 "-u",
499 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
500 "[SLAVE_BUILD]/swarming.client",
501 "batcharchive",
502 "--dump-json",
503 "/path/to/tmp/json",
504 "--isolate-server",
505 "https://isolateserver.appspot.com",
506 "--verbose",
507 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
508 ],
509 "name": "isolate tests (3)",
510 "~followup_annotations": [
511 "@@@STEP_LOG_LINE@json.output@{@@@",
512 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
513 "@@@STEP_LOG_LINE@json.output@}@@@",
514 "@@@STEP_LOG_END@json.output@@@",
515 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
516 ]
517 },
518 {
519 "cmd": [
520 "python",
521 "-u",
522 "\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",
523 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated",
524 "[dummy hash for isolate_recipes]",
525 "a27a70d73b85191b9e671ff2a44547c3f7cc15ee"
526 ],
527 "name": "add_isolated_input",
528 "~followup_annotations": [
529 "@@@STEP_LOG_LINE@python.inline@@@@",
530 "@@@STEP_LOG_LINE@python.inline@import json@@@",
531 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
532 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
533 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
534 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
535 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
536 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
537 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
538 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
539 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
540 "@@@STEP_LOG_END@python.inline@@@"
541 ]
542 },
543 {
544 "cmd": [
545 "python",
546 "-u",
547 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
548 "archive",
549 "--isolate-server",
550 "https://isolateserver.appspot.com",
551 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated"
552 ],
553 "name": "upload new .isolated file for compile_skia",
554 "stdout": "/path/to/tmp/"
555 },
556 {
557 "cmd": [
558 "python",
559 "-u",
560 "[SLAVE_BUILD]/swarming.client/swarming.py",
561 "trigger",
562 "--swarming",
563 "https://chromium-swarm.appspot.com",
564 "--isolate-server",
565 "https://isolateserver.appspot.com",
566 "--priority",
567 "90",
568 "--shards",
569 "1",
570 "--task-name",
571 "compile_skia/Ubuntu/def456/Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan/5 ",
572 "--dump-json",
573 "/path/to/tmp/json",
574 "--expiration",
575 "72000",
576 "--io-timeout",
577 "1200",
578 "--hard-timeout",
579 "14400",
580 "--dimension",
581 "gpu",
582 "none",
583 "--dimension",
584 "os",
585 "Ubuntu",
586 "--dimension",
587 "pool",
588 "Skia",
589 "--tag",
590 "buildername:Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan",
591 "--tag",
592 "buildnumber:5",
593 "--tag",
594 "data:def456",
595 "--tag",
596 "master:client.skia.compile",
597 "--tag",
598 "name:compile_skia",
599 "--tag",
600 "os:Ubuntu",
601 "--tag",
602 "slavename:skiabot-linux-compile-000",
603 "--tag",
604 "stepname:compile_skia on Ubuntu",
605 "--idempotent",
606 "def456",
607 "--",
608 "--workdir",
609 "../../..",
610 "skia/swarm_compile",
611 "buildername=Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan",
612 "mastername=client.skia.compile",
613 "buildnumber=1",
614 "slavename=skiabot-dummy-compile-slave",
615 "reason=Triggered by Skia swarm_trigger Recipe",
616 "swarm_out_dir=${ISOLATED_OUTDIR}",
617 "revision=164710"
618 ],
619 "name": "[trigger] compile_skia on Ubuntu",
620 "~followup_annotations": [
621 "@@@STEP_LOG_LINE@json.output@{@@@",
622 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ def456/Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan/5\", @@@",
623 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
624 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/def456/Build-Ubunt u-GCC-Arm7-Release-Android_Vulkan/5\": {@@@",
625 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
626 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
627 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
628 "@@@STEP_LOG_LINE@json.output@ }@@@",
629 "@@@STEP_LOG_LINE@json.output@ }@@@",
630 "@@@STEP_LOG_LINE@json.output@}@@@",
631 "@@@STEP_LOG_END@json.output@@@",
632 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
633 ]
634 },
635 {
636 "cmd": [
637 "python",
638 "-u",
639 "[SLAVE_BUILD]/swarming.client/swarming.py",
640 "collect",
641 "--swarming",
642 "https://chromium-swarm.appspot.com",
643 "--decorate",
644 "--print-status-updates",
645 "--shards",
646 "1",
647 "compile_skia/Ubuntu/def456/Build-Ubuntu-GCC-Arm7-Release-Android_Vulkan/5 ",
648 "--task-summary-json",
649 "/path/to/tmp/json"
650 ],
651 "name": "compile_skia on Ubuntu",
652 "~followup_annotations": [
653 "@@@STEP_TEXT@swarming pending 71s@@@",
654 "@@@STEP_LOG_LINE@json.output@{@@@",
655 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
656 "@@@STEP_LOG_LINE@json.output@ {@@@",
657 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
658 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
659 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
660 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
661 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
662 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
663 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
664 "@@@STEP_LOG_LINE@json.output@ ], @@@",
665 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
666 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
667 "@@@STEP_LOG_LINE@json.output@ 0@@@",
668 "@@@STEP_LOG_LINE@json.output@ ], @@@",
669 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
670 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
671 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
672 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
673 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
674 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
675 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
676 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
677 "@@@STEP_LOG_LINE@json.output@ }, @@@",
678 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
679 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
680 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
681 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
682 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
683 "@@@STEP_LOG_LINE@json.output@ ], @@@",
684 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
685 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
686 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
687 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
688 "@@@STEP_LOG_LINE@json.output@ }@@@",
689 "@@@STEP_LOG_LINE@json.output@ ]@@@",
690 "@@@STEP_LOG_LINE@json.output@}@@@",
691 "@@@STEP_LOG_END@json.output@@@",
692 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
693 ]
694 },
695 {
696 "name": "$result",
697 "recipe_result": null,
698 "status_code": 0
699 }
700 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/skia/swarm_trigger.expected/Wrong_downloaded_SKP_VERSION.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698