blob: abf78697541dc8ad27e053b1a04b60ae82675fdf [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",
Robert Iannucci8cd50412017-07-07 14:36:58 -070093 "ensure-directory",
94 "--mode",
95 "0777",
96 "[START_DIR]\\tmp"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -040097 ],
98 "infra_step": true,
Robert Iannucci8cd50412017-07-07 14:36:58 -070099 "name": "makedirs tmp_dir"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400100 },
101 {
102 "cmd": [
103 "python",
104 "-u",
Stephan Altmuellerc19ebc52017-05-30 16:39:17 -0400105 "\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 -0400106 "[START_DIR]\\tmp\\uninteresting_hashes.txt"
107 ],
108 "env": {
109 "BUILDTYPE": "Debug",
110 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700111 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400112 "SKIA_OUT": "[START_DIR]\\out"
113 },
114 "infra_step": true,
115 "name": "get uninteresting hashes",
116 "~followup_annotations": [
117 "@@@STEP_LOG_LINE@python.inline@@@@",
118 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
119 "@@@STEP_LOG_LINE@python.inline@import math@@@",
120 "@@@STEP_LOG_LINE@python.inline@import socket@@@",
121 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
122 "@@@STEP_LOG_LINE@python.inline@import time@@@",
123 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
124 "@@@STEP_LOG_LINE@python.inline@@@@",
Stephan Altmuellerc19ebc52017-05-30 16:39:17 -0400125 "@@@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 -0400126 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
127 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
128 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
129 "@@@STEP_LOG_LINE@python.inline@@@@",
130 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
131 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
132 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
133 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@",
134 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
135 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@",
136 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@",
137 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@",
138 "@@@STEP_LOG_LINE@python.inline@ break@@@",
139 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@",
140 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
141 "@@@STEP_LOG_LINE@python.inline@ print e@@@",
142 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@",
143 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
144 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, retry)@@@",
145 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittime@@@",
146 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@",
147 "@@@STEP_LOG_END@python.inline@@@"
148 ]
149 },
150 {
151 "cmd": [
152 "python",
153 "-u",
154 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
155 ],
156 "name": "get swarming bot id",
157 "stdout": "/path/to/tmp/",
158 "~followup_annotations": [
159 "@@@STEP_LOG_LINE@python.inline@import os@@@",
160 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
161 "@@@STEP_LOG_END@python.inline@@@"
162 ]
163 },
164 {
165 "cmd": [
166 "python",
167 "-u",
168 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
169 ],
170 "name": "get swarming task id",
171 "stdout": "/path/to/tmp/",
172 "~followup_annotations": [
173 "@@@STEP_LOG_LINE@python.inline@import os@@@",
174 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
175 "@@@STEP_LOG_END@python.inline@@@"
176 ]
177 },
178 {
179 "cmd": [
180 "[START_DIR]\\out\\Debug\\dm",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400181 "--resourcePath",
182 "[START_DIR]\\skia\\resources",
183 "--skps",
184 "[START_DIR]\\skp",
185 "--images",
186 "[START_DIR]\\skimage\\dm",
187 "--colorImages",
188 "[START_DIR]\\skimage\\colorspace",
189 "--nameByHash",
190 "--properties",
191 "gitHash",
192 "abc123",
193 "builder",
Ben Wagner2a5931e2018-03-20 17:13:32 -0400194 "Test-Win8-Clang-Golo-CPU-AVX-x86-Debug-All",
Eric Boren9a9e3872017-11-29 12:33:22 -0500195 "buildbucket_build_id",
196 "123454321",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400197 "swarming_bot_id",
198 "skia-bot-123",
199 "swarming_task_id",
200 "123456",
201 "--svgs",
202 "[START_DIR]\\svg",
203 "--key",
204 "arch",
205 "x86",
206 "compiler",
Ben Wagner2a5931e2018-03-20 17:13:32 -0400207 "Clang",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400208 "configuration",
209 "Debug",
210 "cpu_or_gpu",
211 "CPU",
212 "cpu_or_gpu_value",
213 "AVX",
214 "model",
215 "Golo",
216 "os",
217 "Win8",
218 "--uninterestingHashesFile",
219 "[START_DIR]\\tmp\\uninteresting_hashes.txt",
220 "--writePath",
221 "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
Mike Klein97d6a7a2017-07-24 10:37:19 -0400222 "--dont_write",
223 "pdf",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400224 "--randomProcessorTest",
225 "--threads",
226 "4",
Ben Wagner32fa5102017-08-10 21:25:55 -0400227 "--nogpu",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400228 "--config",
229 "8888",
230 "srgb",
231 "pdf",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400232 "serialize-8888",
233 "tiles_rt-8888",
234 "pic-8888",
235 "--src",
236 "tests",
237 "gm",
238 "image",
239 "colorImage",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400240 "--blacklist",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400241 "_",
242 "image",
243 "gen_platf",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400244 "pal8os2v2.bmp",
245 "_",
246 "image",
247 "gen_platf",
248 "pal8os2v2-16.bmp",
249 "_",
250 "image",
251 "gen_platf",
252 "rgba32abf.bmp",
253 "_",
254 "image",
255 "gen_platf",
256 "rgb24prof.bmp",
257 "_",
258 "image",
259 "gen_platf",
260 "rgb24lprof.bmp",
261 "_",
262 "image",
263 "gen_platf",
264 "8bpp-pixeldata-cropped.bmp",
265 "_",
266 "image",
267 "gen_platf",
268 "4bpp-pixeldata-cropped.bmp",
269 "_",
270 "image",
271 "gen_platf",
272 "32bpp-pixeldata-cropped.bmp",
273 "_",
274 "image",
275 "gen_platf",
276 "24bpp-pixeldata-cropped.bmp",
277 "_",
278 "image",
279 "gen_platf",
280 "testimgari.jpg",
Leon Scroggins III3a3cf432017-08-18 13:08:16 -0400281 "_",
282 "image",
283 "gen_platf",
284 "rle8-height-negative.bmp",
285 "_",
286 "image",
287 "gen_platf",
288 "rle4-height-negative.bmp",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400289 "serialize-8888",
290 "gm",
291 "_",
292 "bleed_image",
293 "serialize-8888",
294 "gm",
295 "_",
296 "c_gms",
297 "serialize-8888",
298 "gm",
299 "_",
300 "colortype",
301 "serialize-8888",
302 "gm",
303 "_",
304 "colortype_xfermodes",
305 "serialize-8888",
306 "gm",
307 "_",
308 "drawfilter",
309 "serialize-8888",
310 "gm",
311 "_",
312 "fontmgr_bounds_0.75_0",
313 "serialize-8888",
314 "gm",
315 "_",
316 "fontmgr_bounds_1_-0.25",
317 "serialize-8888",
318 "gm",
319 "_",
320 "fontmgr_bounds",
321 "serialize-8888",
322 "gm",
323 "_",
324 "fontmgr_match",
325 "serialize-8888",
326 "gm",
327 "_",
328 "fontmgr_iter",
329 "serialize-8888",
330 "gm",
331 "_",
332 "imagemasksubset",
333 "serialize-8888",
334 "gm",
335 "_",
336 "bitmapfilters",
337 "serialize-8888",
338 "gm",
339 "_",
340 "bitmapshaders",
341 "serialize-8888",
342 "gm",
343 "_",
344 "bleed",
345 "serialize-8888",
346 "gm",
347 "_",
348 "bleed_alpha_bmp",
349 "serialize-8888",
350 "gm",
351 "_",
352 "bleed_alpha_bmp_shader",
353 "serialize-8888",
354 "gm",
355 "_",
356 "convex_poly_clip",
357 "serialize-8888",
358 "gm",
359 "_",
360 "extractalpha",
361 "serialize-8888",
362 "gm",
363 "_",
364 "filterbitmap_checkerboard_32_32_g8",
365 "serialize-8888",
366 "gm",
367 "_",
368 "filterbitmap_image_mandrill_64",
369 "serialize-8888",
370 "gm",
371 "_",
372 "shadows",
373 "serialize-8888",
374 "gm",
375 "_",
376 "simpleaaclip_aaclip",
377 "serialize-8888",
378 "gm",
379 "_",
380 "composeshader_bitmap",
381 "serialize-8888",
382 "gm",
383 "_",
384 "scaled_tilemodes_npot",
385 "serialize-8888",
386 "gm",
387 "_",
388 "scaled_tilemodes",
389 "serialize-8888",
390 "gm",
391 "_",
392 "typefacerendering_pfaMac",
393 "serialize-8888",
394 "gm",
395 "_",
396 "parsedpaths",
397 "serialize-8888",
398 "gm",
399 "_",
400 "ImageGeneratorExternal_rect",
401 "serialize-8888",
402 "gm",
403 "_",
404 "ImageGeneratorExternal_shader",
405 "serialize-8888",
406 "gm",
407 "_",
408 "shadow_utils",
409 "serialize-8888",
410 "gm",
411 "_",
Mike Klein0b78a692017-10-31 17:31:17 -0400412 "all_bitmap_configs",
413 "serialize-8888",
414 "gm",
415 "_",
Matt Sarett9f3dcb32017-05-04 08:53:32 -0400416 "makecolorspace",
417 "serialize-8888",
418 "gm",
419 "_",
Brian Salomon7072e222017-11-29 15:12:45 -0500420 "analytic_antialias_convex",
421 "serialize-8888",
422 "gm",
423 "_",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400424 "bleed_alpha_image",
425 "serialize-8888",
426 "gm",
427 "_",
428 "bleed_alpha_image_shader",
429 "serialize-8888",
430 "gm",
431 "_",
432 "verylargebitmap",
433 "serialize-8888",
434 "gm",
435 "_",
436 "verylarge_picture_image",
437 "pic-8888",
438 "gm",
439 "_",
440 "drawfilter",
441 "pic-8888",
442 "gm",
443 "_",
444 "image-cacherator-from-picture",
445 "serialize-8888",
446 "gm",
447 "_",
448 "image-cacherator-from-picture",
449 "pic-8888",
450 "gm",
451 "_",
452 "image-cacherator-from-raster",
453 "serialize-8888",
454 "gm",
455 "_",
456 "image-cacherator-from-raster",
457 "pic-8888",
458 "gm",
459 "_",
460 "image-cacherator-from-ctable",
461 "serialize-8888",
462 "gm",
463 "_",
464 "image-cacherator-from-ctable",
465 "pic-8888",
466 "gm",
467 "_",
468 "gamut",
469 "serialize-8888",
470 "gm",
471 "_",
472 "gamut",
473 "pic-8888",
474 "gm",
475 "_",
476 "complexclip4_bw",
477 "serialize-8888",
478 "gm",
479 "_",
480 "complexclip4_bw",
481 "pic-8888",
482 "gm",
483 "_",
484 "complexclip4_aa",
485 "serialize-8888",
486 "gm",
487 "_",
488 "complexclip4_aa",
489 "tiles_rt-8888",
490 "gm",
491 "_",
492 "complexclip4_bw",
493 "tiles_rt-8888",
494 "gm",
495 "_",
496 "complexclip4_aa",
497 "_",
498 "image",
Matt Sarett929bfeb2017-05-22 10:34:41 -0400499 "f16",
500 "_",
501 "_",
502 "image",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400503 "_",
Matt Sarett112565e2017-05-22 13:45:15 -0400504 "abnormal.wbmp",
505 "_",
506 "image",
507 "_",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400508 "interlaced1.png",
509 "_",
510 "image",
511 "_",
512 "interlaced2.png",
513 "_",
514 "image",
515 "_",
516 "interlaced3.png",
517 "_",
518 "image",
519 "_",
520 ".arw",
521 "_",
522 "image",
523 "_",
524 ".cr2",
525 "_",
526 "image",
527 "_",
528 ".dng",
529 "_",
530 "image",
531 "_",
532 ".nef",
533 "_",
534 "image",
535 "_",
536 ".nrw",
537 "_",
538 "image",
539 "_",
540 ".orf",
541 "_",
542 "image",
543 "_",
544 ".raf",
545 "_",
546 "image",
547 "_",
548 ".rw2",
549 "_",
550 "image",
551 "_",
552 ".pef",
553 "_",
554 "image",
555 "_",
556 ".srw",
557 "_",
558 "image",
559 "_",
560 ".ARW",
561 "_",
562 "image",
563 "_",
564 ".CR2",
565 "_",
566 "image",
567 "_",
568 ".DNG",
569 "_",
570 "image",
571 "_",
572 ".NEF",
573 "_",
574 "image",
575 "_",
576 ".NRW",
577 "_",
578 "image",
579 "_",
580 ".ORF",
581 "_",
582 "image",
583 "_",
584 ".RAF",
585 "_",
586 "image",
587 "_",
588 ".RW2",
589 "_",
590 "image",
591 "_",
592 ".PEF",
593 "_",
594 "image",
595 "_",
Stephan Altmueller74dac542017-09-11 15:32:21 -0400596 ".SRW",
Mike Kleinc207da82017-11-10 14:24:34 -0500597 "--nonativeFonts",
Stephan Altmueller74dac542017-09-11 15:32:21 -0400598 "--verbose"
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400599 ],
600 "env": {
601 "BUILDTYPE": "Debug",
602 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700603 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
Leon Scroggins IIIbb8126d2017-05-02 11:14:31 -0400604 "SKIA_OUT": "[START_DIR]\\out"
605 },
606 "name": "dm"
607 },
608 {
609 "name": "$result",
610 "recipe_result": null,
611 "status_code": 0
612 }
613]