034a6c1b4f9abb9c0893e78ad13dafe8dc321bb3
[platform/upstream/libSkiaSharp.git] /
1 [
2   {
3     "cmd": [
4       "python",
5       "-u",
6       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
7       "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
8       "/path/to/tmp/"
9     ],
10     "infra_step": true,
11     "name": "Get downloaded SKP VERSION"
12   },
13   {
14     "cmd": [
15       "python",
16       "-u",
17       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
18       "42",
19       "[START_DIR]/tmp/SKP_VERSION"
20     ],
21     "infra_step": true,
22     "name": "write SKP_VERSION"
23   },
24   {
25     "cmd": [
26       "python",
27       "-u",
28       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
29       "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
30       "/path/to/tmp/"
31     ],
32     "infra_step": true,
33     "name": "Get downloaded skimage VERSION"
34   },
35   {
36     "cmd": [
37       "python",
38       "-u",
39       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
40       "42",
41       "[START_DIR]/tmp/SK_IMAGE_VERSION"
42     ],
43     "infra_step": true,
44     "name": "write SK_IMAGE_VERSION"
45   },
46   {
47     "cmd": [
48       "python",
49       "-u",
50       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
51       "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
52       "/path/to/tmp/"
53     ],
54     "infra_step": true,
55     "name": "Get downloaded SVG VERSION"
56   },
57   {
58     "cmd": [
59       "python",
60       "-u",
61       "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
62       "42",
63       "[START_DIR]/tmp/SVG_VERSION"
64     ],
65     "infra_step": true,
66     "name": "write SVG_VERSION"
67   },
68   {
69     "cmd": [
70       "python",
71       "-u",
72       "RECIPE_MODULE[build::file]/resources/fileutil.py",
73       "rmtree",
74       "[CUSTOM_[SWARM_OUT_DIR]]/dm"
75     ],
76     "env": {
77       "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
78     },
79     "infra_step": true,
80     "name": "rmtree dm"
81   },
82   {
83     "cmd": [
84       "python",
85       "-u",
86       "\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",
87       "[CUSTOM_[SWARM_OUT_DIR]]/dm",
88       "511"
89     ],
90     "infra_step": true,
91     "name": "makedirs dm",
92     "~followup_annotations": [
93       "@@@STEP_LOG_LINE@python.inline@@@@",
94       "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
95       "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
96       "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
97       "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
98       "@@@STEP_LOG_LINE@python.inline@  if os.path.exists(path):@@@",
99       "@@@STEP_LOG_LINE@python.inline@    print \"%s exists but is not a dir\" % path@@@",
100       "@@@STEP_LOG_LINE@python.inline@    sys.exit(1)@@@",
101       "@@@STEP_LOG_LINE@python.inline@  os.makedirs(path, mode)@@@",
102       "@@@STEP_LOG_END@python.inline@@@"
103     ]
104   },
105   {
106     "cmd": [
107       "python",
108       "-u",
109       "\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",
110       "[START_DIR]/tmp",
111       "511"
112     ],
113     "infra_step": true,
114     "name": "makedirs tmp_dir",
115     "~followup_annotations": [
116       "@@@STEP_LOG_LINE@python.inline@@@@",
117       "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
118       "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
119       "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
120       "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
121       "@@@STEP_LOG_LINE@python.inline@  if os.path.exists(path):@@@",
122       "@@@STEP_LOG_LINE@python.inline@    print \"%s exists but is not a dir\" % path@@@",
123       "@@@STEP_LOG_LINE@python.inline@    sys.exit(1)@@@",
124       "@@@STEP_LOG_LINE@python.inline@  os.makedirs(path, mode)@@@",
125       "@@@STEP_LOG_END@python.inline@@@"
126     ]
127   },
128   {
129     "cmd": [
130       "python",
131       "-u",
132       "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\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",
133       "[START_DIR]/tmp/uninteresting_hashes.txt"
134     ],
135     "infra_step": true,
136     "name": "get uninteresting hashes",
137     "~followup_annotations": [
138       "@@@STEP_LOG_LINE@python.inline@@@@",
139       "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
140       "@@@STEP_LOG_LINE@python.inline@import math@@@",
141       "@@@STEP_LOG_LINE@python.inline@import socket@@@",
142       "@@@STEP_LOG_LINE@python.inline@import sys@@@",
143       "@@@STEP_LOG_LINE@python.inline@import time@@@",
144       "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
145       "@@@STEP_LOG_LINE@python.inline@@@@",
146       "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hashes'@@@",
147       "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
148       "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
149       "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
150       "@@@STEP_LOG_LINE@python.inline@@@@",
151       "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
152       "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
153       "@@@STEP_LOG_LINE@python.inline@  try:@@@",
154       "@@@STEP_LOG_LINE@python.inline@    with contextlib.closing(@@@",
155       "@@@STEP_LOG_LINE@python.inline@        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
156       "@@@STEP_LOG_LINE@python.inline@      hashes = w.read()@@@",
157       "@@@STEP_LOG_LINE@python.inline@      with open(sys.argv[1], 'w') as f:@@@",
158       "@@@STEP_LOG_LINE@python.inline@        f.write(hashes)@@@",
159       "@@@STEP_LOG_LINE@python.inline@        break@@@",
160       "@@@STEP_LOG_LINE@python.inline@  except Exception as e:@@@",
161       "@@@STEP_LOG_LINE@python.inline@    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
162       "@@@STEP_LOG_LINE@python.inline@    print e@@@",
163       "@@@STEP_LOG_LINE@python.inline@    if retry == RETRIES:@@@",
164       "@@@STEP_LOG_LINE@python.inline@      raise@@@",
165       "@@@STEP_LOG_LINE@python.inline@    waittime = WAIT_BASE * math.pow(2, retry)@@@",
166       "@@@STEP_LOG_LINE@python.inline@    print 'Retry in %d seconds.' % waittime@@@",
167       "@@@STEP_LOG_LINE@python.inline@    time.sleep(waittime)@@@",
168       "@@@STEP_LOG_END@python.inline@@@"
169     ]
170   },
171   {
172     "cmd": [
173       "python",
174       "-u",
175       "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py",
176       "[START_DIR]",
177       "[START_DIR]/out/Debug/dm",
178       "--undefok",
179       "--resourcePath",
180       "[START_DIR]/skia/resources",
181       "--skps",
182       "[START_DIR]/skp",
183       "--images",
184       "[START_DIR]/skimage/dm",
185       "--colorImages",
186       "[START_DIR]/skimage/colorspace",
187       "--nameByHash",
188       "--properties",
189       "gitHash",
190       "abc123",
191       "master",
192       "client.skia",
193       "builder",
194       "Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug",
195       "build_number",
196       "5",
197       "--svgs",
198       "[START_DIR]/svg",
199       "--key",
200       "arch",
201       "x86_64",
202       "compiler",
203       "Clang",
204       "configuration",
205       "Debug",
206       "cpu_or_gpu",
207       "GPU",
208       "cpu_or_gpu_value",
209       "IntelHD405",
210       "model",
211       "NUC5PPYH",
212       "os",
213       "Ubuntu16",
214       "--uninterestingHashesFile",
215       "[START_DIR]/tmp/uninteresting_hashes.txt",
216       "--writePath",
217       "[CUSTOM_[SWARM_OUT_DIR]]/dm",
218       "--nocpu",
219       "--randomProcessorTest",
220       "--config",
221       "8888",
222       "srgb",
223       "pdf",
224       "gl",
225       "gldft",
226       "glsrgb",
227       "glmsaa8",
228       "serialize-8888",
229       "tiles_rt-8888",
230       "pic-8888",
231       "--src",
232       "tests",
233       "gm",
234       "image",
235       "colorImage",
236       "svg",
237       "--blacklist",
238       "glsrgb",
239       "image",
240       "_",
241       "_",
242       "8888",
243       "image",
244       "_",
245       "_",
246       "serialize-8888",
247       "gm",
248       "_",
249       "bleed_image",
250       "serialize-8888",
251       "gm",
252       "_",
253       "c_gms",
254       "serialize-8888",
255       "gm",
256       "_",
257       "colortype",
258       "serialize-8888",
259       "gm",
260       "_",
261       "colortype_xfermodes",
262       "serialize-8888",
263       "gm",
264       "_",
265       "drawfilter",
266       "serialize-8888",
267       "gm",
268       "_",
269       "fontmgr_bounds_0.75_0",
270       "serialize-8888",
271       "gm",
272       "_",
273       "fontmgr_bounds_1_-0.25",
274       "serialize-8888",
275       "gm",
276       "_",
277       "fontmgr_bounds",
278       "serialize-8888",
279       "gm",
280       "_",
281       "fontmgr_match",
282       "serialize-8888",
283       "gm",
284       "_",
285       "fontmgr_iter",
286       "serialize-8888",
287       "gm",
288       "_",
289       "imagemasksubset",
290       "serialize-8888",
291       "gm",
292       "_",
293       "bitmapfilters",
294       "serialize-8888",
295       "gm",
296       "_",
297       "bitmapshaders",
298       "serialize-8888",
299       "gm",
300       "_",
301       "bleed",
302       "serialize-8888",
303       "gm",
304       "_",
305       "bleed_alpha_bmp",
306       "serialize-8888",
307       "gm",
308       "_",
309       "bleed_alpha_bmp_shader",
310       "serialize-8888",
311       "gm",
312       "_",
313       "convex_poly_clip",
314       "serialize-8888",
315       "gm",
316       "_",
317       "extractalpha",
318       "serialize-8888",
319       "gm",
320       "_",
321       "filterbitmap_checkerboard_32_32_g8",
322       "serialize-8888",
323       "gm",
324       "_",
325       "filterbitmap_image_mandrill_64",
326       "serialize-8888",
327       "gm",
328       "_",
329       "shadows",
330       "serialize-8888",
331       "gm",
332       "_",
333       "simpleaaclip_aaclip",
334       "serialize-8888",
335       "gm",
336       "_",
337       "composeshader_bitmap",
338       "serialize-8888",
339       "gm",
340       "_",
341       "scaled_tilemodes_npot",
342       "serialize-8888",
343       "gm",
344       "_",
345       "scaled_tilemodes",
346       "serialize-8888",
347       "gm",
348       "_",
349       "typefacerendering_pfaMac",
350       "serialize-8888",
351       "gm",
352       "_",
353       "parsedpaths",
354       "serialize-8888",
355       "gm",
356       "_",
357       "ImageGeneratorExternal_rect",
358       "serialize-8888",
359       "gm",
360       "_",
361       "ImageGeneratorExternal_shader",
362       "serialize-8888",
363       "gm",
364       "_",
365       "shadow_utils",
366       "serialize-8888",
367       "gm",
368       "_",
369       "bleed_alpha_image",
370       "serialize-8888",
371       "gm",
372       "_",
373       "bleed_alpha_image_shader",
374       "pic-8888",
375       "gm",
376       "_",
377       "drawfilter",
378       "pic-8888",
379       "gm",
380       "_",
381       "image-cacherator-from-picture",
382       "serialize-8888",
383       "gm",
384       "_",
385       "image-cacherator-from-picture",
386       "pic-8888",
387       "gm",
388       "_",
389       "image-cacherator-from-raster",
390       "serialize-8888",
391       "gm",
392       "_",
393       "image-cacherator-from-raster",
394       "pic-8888",
395       "gm",
396       "_",
397       "image-cacherator-from-ctable",
398       "serialize-8888",
399       "gm",
400       "_",
401       "image-cacherator-from-ctable",
402       "pic-8888",
403       "gm",
404       "_",
405       "gamut",
406       "serialize-8888",
407       "gm",
408       "_",
409       "gamut",
410       "pic-8888",
411       "gm",
412       "_",
413       "complexclip4_bw",
414       "serialize-8888",
415       "gm",
416       "_",
417       "complexclip4_bw",
418       "pic-8888",
419       "gm",
420       "_",
421       "complexclip4_aa",
422       "serialize-8888",
423       "gm",
424       "_",
425       "complexclip4_aa",
426       "tiles_rt-8888",
427       "gm",
428       "_",
429       "complexclip4_bw",
430       "tiles_rt-8888",
431       "gm",
432       "_",
433       "complexclip4_aa",
434       "_",
435       "image",
436       "_",
437       "interlaced1.png",
438       "_",
439       "image",
440       "_",
441       "interlaced2.png",
442       "_",
443       "image",
444       "_",
445       "interlaced3.png",
446       "_",
447       "image",
448       "_",
449       ".arw",
450       "_",
451       "image",
452       "_",
453       ".cr2",
454       "_",
455       "image",
456       "_",
457       ".dng",
458       "_",
459       "image",
460       "_",
461       ".nef",
462       "_",
463       "image",
464       "_",
465       ".nrw",
466       "_",
467       "image",
468       "_",
469       ".orf",
470       "_",
471       "image",
472       "_",
473       ".raf",
474       "_",
475       "image",
476       "_",
477       ".rw2",
478       "_",
479       "image",
480       "_",
481       ".pef",
482       "_",
483       "image",
484       "_",
485       ".srw",
486       "_",
487       "image",
488       "_",
489       ".ARW",
490       "_",
491       "image",
492       "_",
493       ".CR2",
494       "_",
495       "image",
496       "_",
497       ".DNG",
498       "_",
499       "image",
500       "_",
501       ".NEF",
502       "_",
503       "image",
504       "_",
505       ".NRW",
506       "_",
507       "image",
508       "_",
509       ".ORF",
510       "_",
511       "image",
512       "_",
513       ".RAF",
514       "_",
515       "image",
516       "_",
517       ".RW2",
518       "_",
519       "image",
520       "_",
521       ".PEF",
522       "_",
523       "image",
524       "_",
525       ".SRW",
526       "glmsaa8",
527       "image",
528       "gen_codec_gpu",
529       "abnormal.wbmp"
530     ],
531     "cwd": "[START_DIR]/skia",
532     "env": {
533       "BUILDTYPE": "Debug",
534       "CHROME_HEADLESS": "1",
535       "LD_LIBRARY_PATH": "[START_DIR]/linux_vulkan_intel_driver_debug",
536       "LIBGL_DRIVERS_PATH": "[START_DIR]/linux_vulkan_intel_driver_debug",
537       "SKIA_OUT": "[START_DIR]/out"
538     },
539     "name": "symbolized dm"
540   },
541   {
542     "name": "$result",
543     "recipe_result": null,
544     "status_code": 0
545   }
546 ]