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

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json

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

Powered by Google App Engine
This is Rietveld 408576698