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

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit.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 "Housekeeper-PerCommit"
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@ \"frequency\": \"PerCommit\", @@@",
235 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
236 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Housekeeper\"@@@",
237 "@@@STEP_LOG_LINE@json.output@ }, @@@",
238 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
239 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
240 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
241 "@@@STEP_LOG_LINE@json.output@ ], @@@",
242 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
243 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
244 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
245 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_shared_lib=1 ski a_warnings_as_errors=0\"@@@",
246 "@@@STEP_LOG_LINE@json.output@ }, @@@",
247 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
248 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
249 "@@@STEP_LOG_LINE@json.output@ ], @@@",
250 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
251 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
252 "@@@STEP_LOG_LINE@json.output@}@@@",
253 "@@@STEP_LOG_END@json.output@@@"
254 ]
255 },
256 {
257 "cmd": [
258 "python",
259 "-u",
260 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py",
261 "/path/to/tmp/json",
262 "Build-Ubuntu-GCC-x86_64-Release-Shared"
263 ],
264 "cwd": "[SLAVE_BUILD]/skia",
265 "name": "exec buildbot_spec.py (2)",
266 "~followup_annotations": [
267 "@@@STEP_LOG_LINE@json.output@{@@@",
268 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
269 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
270 "@@@STEP_LOG_LINE@json.output@ ], @@@",
271 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
272 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"GCC\", @@@",
273 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
274 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Shared\", @@@",
275 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
276 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Ubuntu\", @@@",
277 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
278 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
279 "@@@STEP_LOG_LINE@json.output@ }, @@@",
280 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
281 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
282 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
283 "@@@STEP_LOG_LINE@json.output@ ], @@@",
284 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
285 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
286 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
287 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_shared_lib=1 skia_warnings_as_errors=1\"@@@",
288 "@@@STEP_LOG_LINE@json.output@ }, @@@",
289 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
290 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
291 "@@@STEP_LOG_LINE@json.output@ ], @@@",
292 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
293 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
294 "@@@STEP_LOG_LINE@json.output@}@@@",
295 "@@@STEP_LOG_END@json.output@@@"
296 ]
297 },
298 {
299 "cmd": [
300 "python",
301 "-u",
302 "\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",
303 "[SLAVE_BUILD]/swarming_temp_dir",
304 "511"
305 ],
306 "name": "makedirs swarming tmp dir",
307 "~followup_annotations": [
308 "@@@STEP_LOG_LINE@python.inline@@@@",
309 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
310 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
311 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
312 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
313 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
314 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
315 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
316 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
317 "@@@STEP_LOG_END@python.inline@@@"
318 ]
319 },
320 {
321 "cmd": [
322 "python",
323 "-u",
324 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
325 "{\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}",
326 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
327 ],
328 "name": "Write compile_skia.isolated.gen.json"
329 },
330 {
331 "cmd": [
332 "python",
333 "-u",
334 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
335 "[SLAVE_BUILD]/swarming.client",
336 "batcharchive",
337 "--dump-json",
338 "/path/to/tmp/json",
339 "--isolate-server",
340 "https://isolateserver.appspot.com",
341 "--verbose",
342 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
343 ],
344 "name": "isolate tests",
345 "~followup_annotations": [
346 "@@@STEP_LOG_LINE@json.output@{@@@",
347 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
348 "@@@STEP_LOG_LINE@json.output@}@@@",
349 "@@@STEP_LOG_END@json.output@@@",
350 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
351 ]
352 },
353 {
354 "cmd": [
355 "python",
356 "-u",
357 "[SLAVE_BUILD]/swarming.client/swarming.py",
358 "trigger",
359 "--swarming",
360 "https://chromium-swarm.appspot.com",
361 "--isolate-server",
362 "https://isolateserver.appspot.com",
363 "--priority",
364 "90",
365 "--shards",
366 "1",
367 "--task-name",
368 "compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5",
369 "--dump-json",
370 "/path/to/tmp/json",
371 "--expiration",
372 "72000",
373 "--io-timeout",
374 "2400",
375 "--hard-timeout",
376 "14400",
377 "--dimension",
378 "gpu",
379 "none",
380 "--dimension",
381 "os",
382 "Ubuntu",
383 "--dimension",
384 "pool",
385 "Skia",
386 "--tag",
387 "allow_milo:1",
388 "--tag",
389 "buildername:Housekeeper-PerCommit",
390 "--tag",
391 "buildnumber:5",
392 "--tag",
393 "data:[dummy hash for compile_skia]",
394 "--tag",
395 "master:client.skia",
396 "--tag",
397 "name:compile_skia",
398 "--tag",
399 "os:Ubuntu",
400 "--tag",
401 "slavename:skiabot-linux-swarm-000",
402 "--tag",
403 "stepname:compile_skia on Ubuntu",
404 "--idempotent",
405 "[dummy hash for compile_skia]",
406 "--",
407 "--workdir",
408 "../../..",
409 "swarm_compile",
410 "buildername=Build-Ubuntu-GCC-x86_64-Release-Shared",
411 "mastername=client.skia.compile",
412 "buildnumber=1",
413 "slavename=skiabot-dummy-compile-slave",
414 "reason=Triggered by Skia swarm_trigger Recipe",
415 "swarm_out_dir=${ISOLATED_OUTDIR}",
416 "revision=abc123"
417 ],
418 "name": "[trigger] compile_skia on Ubuntu",
419 "~followup_annotations": [
420 "@@@STEP_LOG_LINE@json.output@{@@@",
421 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ [dummy has/Housekeeper-PerCommit/5\", @@@",
422 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
423 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Houseke eper-PerCommit/5\": {@@@",
424 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
425 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
426 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
427 "@@@STEP_LOG_LINE@json.output@ }@@@",
428 "@@@STEP_LOG_LINE@json.output@ }@@@",
429 "@@@STEP_LOG_LINE@json.output@}@@@",
430 "@@@STEP_LOG_END@json.output@@@",
431 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
432 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
433 ]
434 },
435 {
436 "cmd": [
437 "python",
438 "-u",
439 "[SLAVE_BUILD]/swarming.client/swarming.py",
440 "collect",
441 "--swarming",
442 "https://chromium-swarm.appspot.com",
443 "--decorate",
444 "--print-status-updates",
445 "--json",
446 "{\"base_task_name\": \"compile_skia/Ubuntu/[dummy has/Housekeeper-PerComm it/5\", \"tasks\": {\"compile_skia/Ubuntu/[dummy has/Housekeeper-PerCommit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-sw arm.appspot.com/user/task/10000\"}}}",
447 "--task-summary-json",
448 "/path/to/tmp/json"
449 ],
450 "name": "compile_skia on Ubuntu",
451 "~followup_annotations": [
452 "@@@STEP_TEXT@swarming pending 71s@@@",
453 "@@@STEP_LOG_LINE@json.output@{@@@",
454 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
455 "@@@STEP_LOG_LINE@json.output@ {@@@",
456 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
457 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
458 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
459 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
460 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
461 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
462 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
463 "@@@STEP_LOG_LINE@json.output@ ], @@@",
464 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
465 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
466 "@@@STEP_LOG_LINE@json.output@ 0@@@",
467 "@@@STEP_LOG_LINE@json.output@ ], @@@",
468 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
469 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
470 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
471 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
472 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
473 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
474 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
475 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
476 "@@@STEP_LOG_LINE@json.output@ }, @@@",
477 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
478 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
479 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
480 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
481 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
482 "@@@STEP_LOG_LINE@json.output@ ], @@@",
483 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
484 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
485 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
486 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
487 "@@@STEP_LOG_LINE@json.output@ }@@@",
488 "@@@STEP_LOG_LINE@json.output@ ]@@@",
489 "@@@STEP_LOG_LINE@json.output@}@@@",
490 "@@@STEP_LOG_END@json.output@@@",
491 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
492 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
493 ]
494 },
495 {
496 "cmd": [
497 "python",
498 "-u",
499 "\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",
500 "[SLAVE_BUILD]/swarming_temp_dir",
501 "511"
502 ],
503 "name": "makedirs swarming tmp dir (2)",
504 "~followup_annotations": [
505 "@@@STEP_LOG_LINE@python.inline@@@@",
506 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
507 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
508 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
509 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
510 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
511 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
512 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
513 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
514 "@@@STEP_LOG_END@python.inline@@@"
515 ]
516 },
517 {
518 "cmd": [
519 "python",
520 "-u",
521 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
522 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/ bots/housekeeper_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BU ILD]/swarming_temp_dir/skia-task-housekeeper_skia.isolated\", \n \"--conf ig-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\" , \n \".git\", \n \"--blacklist\", \n \"out\", \n \" --blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".reci pe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[S LAVE_BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}" ,
523 "[SLAVE_BUILD]/swarming_temp_dir/housekeeper_skia.isolated.gen.json"
524 ],
525 "name": "Write housekeeper_skia.isolated.gen.json"
526 },
527 {
528 "cmd": [
529 "python",
530 "-u",
531 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
532 "[SLAVE_BUILD]/swarming.client",
533 "batcharchive",
534 "--dump-json",
535 "/path/to/tmp/json",
536 "--isolate-server",
537 "https://isolateserver.appspot.com",
538 "--verbose",
539 "[SLAVE_BUILD]/swarming_temp_dir/housekeeper_skia.isolated.gen.json"
540 ],
541 "name": "isolate tests (2)",
542 "~followup_annotations": [
543 "@@@STEP_LOG_LINE@json.output@{@@@",
544 "@@@STEP_LOG_LINE@json.output@ \"housekeeper_skia\": \"[dummy hash for ho usekeeper_skia]\"@@@",
545 "@@@STEP_LOG_LINE@json.output@}@@@",
546 "@@@STEP_LOG_END@json.output@@@",
547 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"housekeeper_skia\": \"[dummy hash f or housekeeper_skia]\"}@@@"
548 ]
549 },
550 {
551 "cmd": [
552 "python",
553 "-u",
554 "\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",
555 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-housekeeper_skia.isolated",
556 "abc123"
557 ],
558 "name": "add_isolated_input",
559 "~followup_annotations": [
560 "@@@STEP_LOG_LINE@python.inline@@@@",
561 "@@@STEP_LOG_LINE@python.inline@import json@@@",
562 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
563 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
564 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
565 "@@@STEP_LOG_LINE@python.inline@if not isolated.get('includes'):@@@",
566 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'] = []@@@",
567 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
568 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
569 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
570 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
571 "@@@STEP_LOG_END@python.inline@@@"
572 ]
573 },
574 {
575 "cmd": [
576 "python",
577 "-u",
578 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
579 "archive",
580 "--isolate-server",
581 "https://isolateserver.appspot.com",
582 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-housekeeper_skia.isolated"
583 ],
584 "name": "upload new .isolated file for housekeeper_skia",
585 "stdout": "/path/to/tmp/"
586 },
587 {
588 "cmd": [
589 "python",
590 "-u",
591 "[SLAVE_BUILD]/swarming.client/swarming.py",
592 "trigger",
593 "--swarming",
594 "https://chromium-swarm.appspot.com",
595 "--isolate-server",
596 "https://isolateserver.appspot.com",
597 "--priority",
598 "90",
599 "--shards",
600 "1",
601 "--task-name",
602 "housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5",
603 "--dump-json",
604 "/path/to/tmp/json",
605 "--expiration",
606 "72000",
607 "--io-timeout",
608 "2400",
609 "--hard-timeout",
610 "14400",
611 "--dimension",
612 "gpu",
613 "none",
614 "--dimension",
615 "os",
616 "Ubuntu",
617 "--dimension",
618 "pool",
619 "Skia",
620 "--tag",
621 "allow_milo:1",
622 "--tag",
623 "buildername:Housekeeper-PerCommit",
624 "--tag",
625 "buildnumber:5",
626 "--tag",
627 "data:def456",
628 "--tag",
629 "master:client.skia",
630 "--tag",
631 "name:housekeeper_skia",
632 "--tag",
633 "os:Ubuntu",
634 "--tag",
635 "slavename:skiabot-linux-swarm-000",
636 "--tag",
637 "stepname:housekeeper_skia on Ubuntu",
638 "def456",
639 "--",
640 "--workdir",
641 "../../..",
642 "swarm_housekeeper",
643 "buildername=Housekeeper-PerCommit",
644 "mastername=client.skia",
645 "buildnumber=5",
646 "slavename=skiabot-linux-swarm-000",
647 "reason=Triggered by Skia swarm_trigger Recipe",
648 "swarm_out_dir=${ISOLATED_OUTDIR}",
649 "revision=abc123"
650 ],
651 "name": "[trigger] housekeeper_skia on Ubuntu",
652 "~followup_annotations": [
653 "@@@STEP_LOG_LINE@json.output@{@@@",
654 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"housekeeper_skia/Ubu ntu/def456/Housekeeper-PerCommit/5\", @@@",
655 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
656 "@@@STEP_LOG_LINE@json.output@ \"housekeeper_skia/Ubuntu/def456/Houseke eper-PerCommit/5\": {@@@",
657 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
658 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
659 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
660 "@@@STEP_LOG_LINE@json.output@ }@@@",
661 "@@@STEP_LOG_LINE@json.output@ }@@@",
662 "@@@STEP_LOG_LINE@json.output@}@@@",
663 "@@@STEP_LOG_END@json.output@@@",
664 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
665 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
666 ]
667 },
668 {
669 "cmd": [
670 "python",
671 "-u",
672 "[SLAVE_BUILD]/swarming.client/swarming.py",
673 "collect",
674 "--swarming",
675 "https://chromium-swarm.appspot.com",
676 "--decorate",
677 "--print-status-updates",
678 "--json",
679 "{\"base_task_name\": \"housekeeper_skia/Ubuntu/def456/Housekeeper-PerComm it/5\", \"tasks\": {\"housekeeper_skia/Ubuntu/def456/Housekeeper-PerCommit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-sw arm.appspot.com/user/task/10000\"}}}",
680 "--task-summary-json",
681 "/path/to/tmp/json"
682 ],
683 "name": "housekeeper_skia on Ubuntu",
684 "~followup_annotations": [
685 "@@@STEP_TEXT@swarming pending 71s@@@",
686 "@@@STEP_LOG_LINE@json.output@{@@@",
687 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
688 "@@@STEP_LOG_LINE@json.output@ {@@@",
689 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
690 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
691 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
692 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
693 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
694 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
695 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
696 "@@@STEP_LOG_LINE@json.output@ ], @@@",
697 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
698 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
699 "@@@STEP_LOG_LINE@json.output@ 0@@@",
700 "@@@STEP_LOG_LINE@json.output@ ], @@@",
701 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
702 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
703 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
704 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
705 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
706 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
707 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
708 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
709 "@@@STEP_LOG_LINE@json.output@ }, @@@",
710 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
711 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
712 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
713 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
714 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
715 "@@@STEP_LOG_LINE@json.output@ ], @@@",
716 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
717 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
718 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
719 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
720 "@@@STEP_LOG_LINE@json.output@ }@@@",
721 "@@@STEP_LOG_LINE@json.output@ ]@@@",
722 "@@@STEP_LOG_LINE@json.output@}@@@",
723 "@@@STEP_LOG_END@json.output@@@",
724 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
725 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
726 ]
727 },
728 {
729 "name": "$result",
730 "recipe_result": null,
731 "status_code": 0
732 }
733 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698