blob: eae55006158721cb100c55a106c26e9f5a064156 [file] [log] [blame]
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -04001[
2 {
3 "cmd": [
4 "python",
5 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -04006 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
9 "copy",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040010 "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
11 "/path/to/tmp/"
12 ],
13 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040014 "name": "Get skp VERSION"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040015 },
16 {
17 "cmd": [
18 "python",
19 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040020 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
21 "--json-output",
22 "/path/to/tmp/json",
23 "copy",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040024 "42",
25 "[START_DIR]\\tmp\\SKP_VERSION"
26 ],
27 "infra_step": true,
28 "name": "write SKP_VERSION"
29 },
30 {
31 "cmd": [
32 "python",
33 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040034 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
35 "--json-output",
36 "/path/to/tmp/json",
37 "copy",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040038 "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
39 "/path/to/tmp/"
40 ],
41 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040042 "name": "Get skimage VERSION"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040043 },
44 {
45 "cmd": [
46 "python",
47 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040048 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
49 "--json-output",
50 "/path/to/tmp/json",
51 "copy",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040052 "42",
53 "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
54 ],
55 "infra_step": true,
56 "name": "write SK_IMAGE_VERSION"
57 },
58 {
59 "cmd": [
60 "python",
61 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040062 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
63 "--json-output",
64 "/path/to/tmp/json",
65 "copy",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040066 "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
67 "/path/to/tmp/"
68 ],
69 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040070 "name": "Get svg VERSION"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040071 },
72 {
73 "cmd": [
74 "python",
75 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040076 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
77 "--json-output",
78 "/path/to/tmp/json",
79 "copy",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040080 "42",
81 "[START_DIR]\\tmp\\SVG_VERSION"
82 ],
83 "infra_step": true,
84 "name": "write SVG_VERSION"
85 },
86 {
87 "cmd": [
88 "python",
89 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040090 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
91 "--json-output",
92 "/path/to/tmp/json",
Eric Boren7bbb26f2018-04-16 07:44:41 -040093 "rmtree",
94 "[START_DIR]\\test"
95 ],
96 "infra_step": true,
97 "name": "rmtree test"
98 },
99 {
100 "cmd": [
101 "python",
102 "-u",
103 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
104 "--json-output",
105 "/path/to/tmp/json",
106 "ensure-directory",
107 "--mode",
108 "0777",
109 "[START_DIR]\\test"
110 ],
111 "infra_step": true,
112 "name": "makedirs test"
113 },
114 {
115 "cmd": [
116 "python",
117 "-u",
118 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
119 "--json-output",
120 "/path/to/tmp/json",
Robert Iannucci8cd50412017-07-07 14:36:58 -0700121 "ensure-directory",
122 "--mode",
123 "0777",
124 "[START_DIR]\\tmp"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400125 ],
126 "infra_step": true,
Robert Iannucci8cd50412017-07-07 14:36:58 -0700127 "name": "makedirs tmp_dir"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400128 },
129 {
130 "cmd": [
131 "python",
132 "-u",
Stephan Altmuellerc19ebc52017-05-30 16:39:17 -0400133 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'\nRETRIES = 5\nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(waittime)\n",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400134 "[START_DIR]\\tmp\\uninteresting_hashes.txt"
135 ],
136 "env": {
137 "BUILDTYPE": "Debug",
138 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700139 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
Eric Boren7bbb26f2018-04-16 07:44:41 -0400140 "SKIA_OUT": "[START_DIR]\\build\\out"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400141 },
142 "infra_step": true,
143 "name": "get uninteresting hashes",
144 "~followup_annotations": [
145 "@@@STEP_LOG_LINE@python.inline@@@@",
146 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
147 "@@@STEP_LOG_LINE@python.inline@import math@@@",
148 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
149 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
150 "@@@STEP_LOG_LINE@python.inline@import time@@@",
151 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
152 "@@@STEP_LOG_LINE@python.inline@@@@",
Stephan Altmuellerc19ebc52017-05-30 16:39:17 -0400153 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400154 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
155 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
156 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
157 "@@@STEP_LOG_LINE@python.inline@@@@",
158 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
159 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
160 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
161 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
162 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
163 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
164 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@",
165 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
166 "@@@STEP_LOG_LINE@python.inline@ break@@@",
167 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
168 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
169 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
170 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
171 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
172 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@",
173 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@",
174 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
175 "@@@STEP_LOG_END@python.inline@@@"
176 ]
177 },
178 {
179 "cmd": [
180 "python",
181 "-u",
182 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
183 ],
184 "name": "get swarming bot id",
185 "stdout": "/path/to/tmp/",
186 "~followup_annotations": [
187 "@@@STEP_LOG_LINE@python.inline@import os@@@",
188 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
189 "@@@STEP_LOG_END@python.inline@@@"
190 ]
191 },
192 {
193 "cmd": [
194 "python",
195 "-u",
196 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
197 ],
198 "name": "get swarming task id",
199 "stdout": "/path/to/tmp/",
200 "~followup_annotations": [
201 "@@@STEP_LOG_LINE@python.inline@import os@@@",
202 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
203 "@@@STEP_LOG_END@python.inline@@@"
204 ]
205 },
206 {
207 "cmd": [
Eric Boren7bbb26f2018-04-16 07:44:41 -0400208 "[START_DIR]\\build\\out\\Debug\\dm",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400209 "--resourcePath",
210 "[START_DIR]\\skia\\resources",
211 "--skps",
212 "[START_DIR]\\skp",
213 "--images",
214 "[START_DIR]\\skimage\\dm",
215 "--colorImages",
216 "[START_DIR]\\skimage\\colorspace",
217 "--nameByHash",
218 "--properties",
219 "gitHash",
220 "abc123",
221 "builder",
Ben Wagner2a5931e2018-03-20 17:13:32 -0400222 "Test-Win8-Clang-Golo-CPU-AVX-x86-Debug-All",
Eric Boren9a9e3872017-11-29 12:33:22 -0500223 "buildbucket_build_id",
224 "123454321",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400225 "swarming_bot_id",
226 "skia-bot-123",
227 "swarming_task_id",
228 "123456",
229 "--svgs",
230 "[START_DIR]\\svg",
231 "--key",
232 "arch",
233 "x86",
234 "compiler",
Ben Wagner2a5931e2018-03-20 17:13:32 -0400235 "Clang",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400236 "configuration",
237 "Debug",
238 "cpu_or_gpu",
239 "CPU",
240 "cpu_or_gpu_value",
241 "AVX",
242 "model",
243 "Golo",
244 "os",
245 "Win8",
246 "--uninterestingHashesFile",
247 "[START_DIR]\\tmp\\uninteresting_hashes.txt",
248 "--writePath",
Eric Boren7bbb26f2018-04-16 07:44:41 -0400249 "[START_DIR]\\[SWARM_OUT_DIR]\\dm",
Mike Klein97d6a7a2017-07-24 10:37:19 -0400250 "--dont_write",
251 "pdf",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400252 "--randomProcessorTest",
253 "--threads",
254 "4",
Ben Wagner32fa5102017-08-10 21:25:55 -0400255 "--nogpu",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400256 "--config",
257 "8888",
258 "srgb",
259 "pdf",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400260 "serialize-8888",
261 "tiles_rt-8888",
262 "pic-8888",
263 "--src",
264 "tests",
265 "gm",
266 "image",
267 "colorImage",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400268 "--blacklist",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400269 "_",
270 "image",
271 "gen_platf",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400272 "pal8os2v2.bmp",
273 "_",
274 "image",
275 "gen_platf",
276 "pal8os2v2-16.bmp",
277 "_",
278 "image",
279 "gen_platf",
280 "rgba32abf.bmp",
281 "_",
282 "image",
283 "gen_platf",
284 "rgb24prof.bmp",
285 "_",
286 "image",
287 "gen_platf",
288 "rgb24lprof.bmp",
289 "_",
290 "image",
291 "gen_platf",
292 "8bpp-pixeldata-cropped.bmp",
293 "_",
294 "image",
295 "gen_platf",
296 "4bpp-pixeldata-cropped.bmp",
297 "_",
298 "image",
299 "gen_platf",
300 "32bpp-pixeldata-cropped.bmp",
301 "_",
302 "image",
303 "gen_platf",
304 "24bpp-pixeldata-cropped.bmp",
305 "_",
306 "image",
307 "gen_platf",
308 "testimgari.jpg",
Leon Scroggins III3a3cf432017-08-18 13:08:16 -0400309 "_",
310 "image",
311 "gen_platf",
312 "rle8-height-negative.bmp",
313 "_",
314 "image",
315 "gen_platf",
316 "rle4-height-negative.bmp",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400317 "serialize-8888",
318 "gm",
319 "_",
320 "bleed_image",
321 "serialize-8888",
322 "gm",
323 "_",
324 "c_gms",
325 "serialize-8888",
326 "gm",
327 "_",
328 "colortype",
329 "serialize-8888",
330 "gm",
331 "_",
332 "colortype_xfermodes",
333 "serialize-8888",
334 "gm",
335 "_",
336 "drawfilter",
337 "serialize-8888",
338 "gm",
339 "_",
340 "fontmgr_bounds_0.75_0",
341 "serialize-8888",
342 "gm",
343 "_",
344 "fontmgr_bounds_1_-0.25",
345 "serialize-8888",
346 "gm",
347 "_",
348 "fontmgr_bounds",
349 "serialize-8888",
350 "gm",
351 "_",
352 "fontmgr_match",
353 "serialize-8888",
354 "gm",
355 "_",
356 "fontmgr_iter",
357 "serialize-8888",
358 "gm",
359 "_",
360 "imagemasksubset",
361 "serialize-8888",
362 "gm",
363 "_",
364 "bitmapfilters",
365 "serialize-8888",
366 "gm",
367 "_",
368 "bitmapshaders",
369 "serialize-8888",
370 "gm",
371 "_",
372 "bleed",
373 "serialize-8888",
374 "gm",
375 "_",
376 "bleed_alpha_bmp",
377 "serialize-8888",
378 "gm",
379 "_",
380 "bleed_alpha_bmp_shader",
381 "serialize-8888",
382 "gm",
383 "_",
384 "convex_poly_clip",
385 "serialize-8888",
386 "gm",
387 "_",
388 "extractalpha",
389 "serialize-8888",
390 "gm",
391 "_",
392 "filterbitmap_checkerboard_32_32_g8",
393 "serialize-8888",
394 "gm",
395 "_",
396 "filterbitmap_image_mandrill_64",
397 "serialize-8888",
398 "gm",
399 "_",
400 "shadows",
401 "serialize-8888",
402 "gm",
403 "_",
404 "simpleaaclip_aaclip",
405 "serialize-8888",
406 "gm",
407 "_",
408 "composeshader_bitmap",
409 "serialize-8888",
410 "gm",
411 "_",
412 "scaled_tilemodes_npot",
413 "serialize-8888",
414 "gm",
415 "_",
416 "scaled_tilemodes",
417 "serialize-8888",
418 "gm",
419 "_",
420 "typefacerendering_pfaMac",
421 "serialize-8888",
422 "gm",
423 "_",
424 "parsedpaths",
425 "serialize-8888",
426 "gm",
427 "_",
428 "ImageGeneratorExternal_rect",
429 "serialize-8888",
430 "gm",
431 "_",
432 "ImageGeneratorExternal_shader",
433 "serialize-8888",
434 "gm",
435 "_",
436 "shadow_utils",
437 "serialize-8888",
438 "gm",
439 "_",
Mike Klein0b78a692017-10-31 17:31:17 -0400440 "all_bitmap_configs",
441 "serialize-8888",
442 "gm",
443 "_",
Matt Sarett9f3dcb32017-05-04 08:53:32 -0400444 "makecolorspace",
445 "serialize-8888",
446 "gm",
447 "_",
Brian Salomon7072e222017-11-29 15:12:45 -0500448 "analytic_antialias_convex",
449 "serialize-8888",
450 "gm",
451 "_",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400452 "bleed_alpha_image",
453 "serialize-8888",
454 "gm",
455 "_",
456 "bleed_alpha_image_shader",
457 "serialize-8888",
458 "gm",
459 "_",
460 "verylargebitmap",
461 "serialize-8888",
462 "gm",
463 "_",
464 "verylarge_picture_image",
465 "pic-8888",
466 "gm",
467 "_",
468 "drawfilter",
469 "pic-8888",
470 "gm",
471 "_",
472 "image-cacherator-from-picture",
473 "serialize-8888",
474 "gm",
475 "_",
476 "image-cacherator-from-picture",
477 "pic-8888",
478 "gm",
479 "_",
480 "image-cacherator-from-raster",
481 "serialize-8888",
482 "gm",
483 "_",
484 "image-cacherator-from-raster",
485 "pic-8888",
486 "gm",
487 "_",
488 "image-cacherator-from-ctable",
489 "serialize-8888",
490 "gm",
491 "_",
492 "image-cacherator-from-ctable",
493 "pic-8888",
494 "gm",
495 "_",
496 "gamut",
497 "serialize-8888",
498 "gm",
499 "_",
500 "gamut",
501 "pic-8888",
502 "gm",
503 "_",
504 "complexclip4_bw",
505 "serialize-8888",
506 "gm",
507 "_",
508 "complexclip4_bw",
509 "pic-8888",
510 "gm",
511 "_",
512 "complexclip4_aa",
513 "serialize-8888",
514 "gm",
515 "_",
516 "complexclip4_aa",
517 "tiles_rt-8888",
518 "gm",
519 "_",
520 "complexclip4_bw",
521 "tiles_rt-8888",
522 "gm",
523 "_",
524 "complexclip4_aa",
525 "_",
526 "image",
Matt Sarett929bfeb2017-05-22 10:34:41 -0400527 "f16",
528 "_",
529 "_",
530 "image",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400531 "_",
Matt Sarett112565e2017-05-22 13:45:15 -0400532 "abnormal.wbmp",
533 "_",
534 "image",
535 "_",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400536 "interlaced1.png",
537 "_",
538 "image",
539 "_",
540 "interlaced2.png",
541 "_",
542 "image",
543 "_",
544 "interlaced3.png",
545 "_",
546 "image",
547 "_",
548 ".arw",
549 "_",
550 "image",
551 "_",
552 ".cr2",
553 "_",
554 "image",
555 "_",
556 ".dng",
557 "_",
558 "image",
559 "_",
560 ".nef",
561 "_",
562 "image",
563 "_",
564 ".nrw",
565 "_",
566 "image",
567 "_",
568 ".orf",
569 "_",
570 "image",
571 "_",
572 ".raf",
573 "_",
574 "image",
575 "_",
576 ".rw2",
577 "_",
578 "image",
579 "_",
580 ".pef",
581 "_",
582 "image",
583 "_",
584 ".srw",
585 "_",
586 "image",
587 "_",
588 ".ARW",
589 "_",
590 "image",
591 "_",
592 ".CR2",
593 "_",
594 "image",
595 "_",
596 ".DNG",
597 "_",
598 "image",
599 "_",
600 ".NEF",
601 "_",
602 "image",
603 "_",
604 ".NRW",
605 "_",
606 "image",
607 "_",
608 ".ORF",
609 "_",
610 "image",
611 "_",
612 ".RAF",
613 "_",
614 "image",
615 "_",
616 ".RW2",
617 "_",
618 "image",
619 "_",
620 ".PEF",
621 "_",
622 "image",
623 "_",
Stephan Altmueller74dac542017-09-11 15:32:21 -0400624 ".SRW",
Mike Kleinc207da82017-11-10 14:24:34 -0500625 "--nonativeFonts",
Stephan Altmueller74dac542017-09-11 15:32:21 -0400626 "--verbose"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400627 ],
628 "env": {
629 "BUILDTYPE": "Debug",
630 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700631 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
Eric Boren7bbb26f2018-04-16 07:44:41 -0400632 "SKIA_OUT": "[START_DIR]\\build\\out"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400633 },
634 "name": "dm"
635 },
636 {
637 "name": "$result",
638 "recipe_result": null,
639 "status_code": 0
640 }
641]