92d070b99568f504b752d5dc89f0b5d1d32fed82
[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/Release/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-NUC-GPU-IntelIris540-x86_64-Release",
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       "Release",
206       "cpu_or_gpu",
207       "GPU",
208       "cpu_or_gpu_value",
209       "IntelIris540",
210       "model",
211       "NUC",
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       "serialize-8888",
228       "tiles_rt-8888",
229       "pic-8888",
230       "--src",
231       "tests",
232       "gm",
233       "image",
234       "colorImage",
235       "svg",
236       "--blacklist",
237       "glsrgb",
238       "image",
239       "_",
240       "_",
241       "8888",
242       "image",
243       "_",
244       "_",
245       "serialize-8888",
246       "gm",
247       "_",
248       "bleed_image",
249       "serialize-8888",
250       "gm",
251       "_",
252       "c_gms",
253       "serialize-8888",
254       "gm",
255       "_",
256       "colortype",
257       "serialize-8888",
258       "gm",
259       "_",
260       "colortype_xfermodes",
261       "serialize-8888",
262       "gm",
263       "_",
264       "drawfilter",
265       "serialize-8888",
266       "gm",
267       "_",
268       "fontmgr_bounds_0.75_0",
269       "serialize-8888",
270       "gm",
271       "_",
272       "fontmgr_bounds_1_-0.25",
273       "serialize-8888",
274       "gm",
275       "_",
276       "fontmgr_bounds",
277       "serialize-8888",
278       "gm",
279       "_",
280       "fontmgr_match",
281       "serialize-8888",
282       "gm",
283       "_",
284       "fontmgr_iter",
285       "serialize-8888",
286       "gm",
287       "_",
288       "imagemasksubset",
289       "serialize-8888",
290       "gm",
291       "_",
292       "bitmapfilters",
293       "serialize-8888",
294       "gm",
295       "_",
296       "bitmapshaders",
297       "serialize-8888",
298       "gm",
299       "_",
300       "bleed",
301       "serialize-8888",
302       "gm",
303       "_",
304       "bleed_alpha_bmp",
305       "serialize-8888",
306       "gm",
307       "_",
308       "bleed_alpha_bmp_shader",
309       "serialize-8888",
310       "gm",
311       "_",
312       "convex_poly_clip",
313       "serialize-8888",
314       "gm",
315       "_",
316       "extractalpha",
317       "serialize-8888",
318       "gm",
319       "_",
320       "filterbitmap_checkerboard_32_32_g8",
321       "serialize-8888",
322       "gm",
323       "_",
324       "filterbitmap_image_mandrill_64",
325       "serialize-8888",
326       "gm",
327       "_",
328       "shadows",
329       "serialize-8888",
330       "gm",
331       "_",
332       "simpleaaclip_aaclip",
333       "serialize-8888",
334       "gm",
335       "_",
336       "composeshader_bitmap",
337       "serialize-8888",
338       "gm",
339       "_",
340       "scaled_tilemodes_npot",
341       "serialize-8888",
342       "gm",
343       "_",
344       "scaled_tilemodes",
345       "serialize-8888",
346       "gm",
347       "_",
348       "typefacerendering_pfaMac",
349       "serialize-8888",
350       "gm",
351       "_",
352       "parsedpaths",
353       "serialize-8888",
354       "gm",
355       "_",
356       "ImageGeneratorExternal_rect",
357       "serialize-8888",
358       "gm",
359       "_",
360       "ImageGeneratorExternal_shader",
361       "serialize-8888",
362       "gm",
363       "_",
364       "shadow_utils",
365       "serialize-8888",
366       "gm",
367       "_",
368       "bleed_alpha_image",
369       "serialize-8888",
370       "gm",
371       "_",
372       "bleed_alpha_image_shader",
373       "pic-8888",
374       "gm",
375       "_",
376       "drawfilter",
377       "pic-8888",
378       "gm",
379       "_",
380       "image-cacherator-from-picture",
381       "serialize-8888",
382       "gm",
383       "_",
384       "image-cacherator-from-picture",
385       "pic-8888",
386       "gm",
387       "_",
388       "image-cacherator-from-raster",
389       "serialize-8888",
390       "gm",
391       "_",
392       "image-cacherator-from-raster",
393       "pic-8888",
394       "gm",
395       "_",
396       "image-cacherator-from-ctable",
397       "serialize-8888",
398       "gm",
399       "_",
400       "image-cacherator-from-ctable",
401       "pic-8888",
402       "gm",
403       "_",
404       "gamut",
405       "serialize-8888",
406       "gm",
407       "_",
408       "gamut",
409       "pic-8888",
410       "gm",
411       "_",
412       "complexclip4_bw",
413       "serialize-8888",
414       "gm",
415       "_",
416       "complexclip4_bw",
417       "pic-8888",
418       "gm",
419       "_",
420       "complexclip4_aa",
421       "serialize-8888",
422       "gm",
423       "_",
424       "complexclip4_aa",
425       "tiles_rt-8888",
426       "gm",
427       "_",
428       "complexclip4_bw",
429       "tiles_rt-8888",
430       "gm",
431       "_",
432       "complexclip4_aa",
433       "_",
434       "image",
435       "_",
436       "interlaced1.png",
437       "_",
438       "image",
439       "_",
440       "interlaced2.png",
441       "_",
442       "image",
443       "_",
444       "interlaced3.png",
445       "_",
446       "image",
447       "_",
448       ".arw",
449       "_",
450       "image",
451       "_",
452       ".cr2",
453       "_",
454       "image",
455       "_",
456       ".dng",
457       "_",
458       "image",
459       "_",
460       ".nef",
461       "_",
462       "image",
463       "_",
464       ".nrw",
465       "_",
466       "image",
467       "_",
468       ".orf",
469       "_",
470       "image",
471       "_",
472       ".raf",
473       "_",
474       "image",
475       "_",
476       ".rw2",
477       "_",
478       "image",
479       "_",
480       ".pef",
481       "_",
482       "image",
483       "_",
484       ".srw",
485       "_",
486       "image",
487       "_",
488       ".ARW",
489       "_",
490       "image",
491       "_",
492       ".CR2",
493       "_",
494       "image",
495       "_",
496       ".DNG",
497       "_",
498       "image",
499       "_",
500       ".NEF",
501       "_",
502       "image",
503       "_",
504       ".NRW",
505       "_",
506       "image",
507       "_",
508       ".ORF",
509       "_",
510       "image",
511       "_",
512       ".RAF",
513       "_",
514       "image",
515       "_",
516       ".RW2",
517       "_",
518       "image",
519       "_",
520       ".PEF",
521       "_",
522       "image",
523       "_",
524       ".SRW"
525     ],
526     "cwd": "[START_DIR]/skia",
527     "env": {
528       "BUILDTYPE": "Release",
529       "CHROME_HEADLESS": "1",
530       "LD_LIBRARY_PATH": "[START_DIR]/linux_vulkan_intel_driver_release",
531       "LIBGL_DRIVERS_PATH": "[START_DIR]/linux_vulkan_intel_driver_release",
532       "SKIA_OUT": "[START_DIR]/out"
533     },
534     "name": "symbolized dm"
535   },
536   {
537     "name": "$result",
538     "recipe_result": null,
539     "status_code": 0
540   }
541 ]