• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    "env": {
136      "BUILDTYPE": "Debug",
137      "CHROME_HEADLESS": "1",
138      "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
139      "SKIA_OUT": "[START_DIR]/out"
140    },
141    "infra_step": true,
142    "name": "get uninteresting hashes",
143    "~followup_annotations": [
144      "@@@STEP_LOG_LINE@python.inline@@@@",
145      "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
146      "@@@STEP_LOG_LINE@python.inline@import math@@@",
147      "@@@STEP_LOG_LINE@python.inline@import socket@@@",
148      "@@@STEP_LOG_LINE@python.inline@import sys@@@",
149      "@@@STEP_LOG_LINE@python.inline@import time@@@",
150      "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
151      "@@@STEP_LOG_LINE@python.inline@@@@",
152      "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hashes'@@@",
153      "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
154      "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
155      "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
156      "@@@STEP_LOG_LINE@python.inline@@@@",
157      "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
158      "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
159      "@@@STEP_LOG_LINE@python.inline@  try:@@@",
160      "@@@STEP_LOG_LINE@python.inline@    with contextlib.closing(@@@",
161      "@@@STEP_LOG_LINE@python.inline@        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
162      "@@@STEP_LOG_LINE@python.inline@      hashes = w.read()@@@",
163      "@@@STEP_LOG_LINE@python.inline@      with open(sys.argv[1], 'w') as f:@@@",
164      "@@@STEP_LOG_LINE@python.inline@        f.write(hashes)@@@",
165      "@@@STEP_LOG_LINE@python.inline@        break@@@",
166      "@@@STEP_LOG_LINE@python.inline@  except Exception as e:@@@",
167      "@@@STEP_LOG_LINE@python.inline@    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
168      "@@@STEP_LOG_LINE@python.inline@    print e@@@",
169      "@@@STEP_LOG_LINE@python.inline@    if retry == RETRIES:@@@",
170      "@@@STEP_LOG_LINE@python.inline@      raise@@@",
171      "@@@STEP_LOG_LINE@python.inline@    waittime = WAIT_BASE * math.pow(2, retry)@@@",
172      "@@@STEP_LOG_LINE@python.inline@    print 'Retry in %d seconds.' % waittime@@@",
173      "@@@STEP_LOG_LINE@python.inline@    time.sleep(waittime)@@@",
174      "@@@STEP_LOG_END@python.inline@@@"
175    ]
176  },
177  {
178    "cmd": [
179      "[START_DIR]/out/Debug/dm",
180      "--undefok",
181      "--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      "master",
194      "client.skia",
195      "builder",
196      "Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Debug",
197      "build_number",
198      "5",
199      "--svgs",
200      "[START_DIR]/svg",
201      "--key",
202      "arch",
203      "x86_64",
204      "compiler",
205      "Clang",
206      "configuration",
207      "Debug",
208      "cpu_or_gpu",
209      "CPU",
210      "cpu_or_gpu_value",
211      "AVX",
212      "model",
213      "MacMini6.2",
214      "os",
215      "Mac",
216      "--uninterestingHashesFile",
217      "[START_DIR]/tmp/uninteresting_hashes.txt",
218      "--writePath",
219      "[CUSTOM_[SWARM_OUT_DIR]]/dm",
220      "--nogpu",
221      "--randomProcessorTest",
222      "--config",
223      "8888",
224      "srgb",
225      "pdf",
226      "gl",
227      "gldft",
228      "glsrgb",
229      "glmsaa8",
230      "serialize-8888",
231      "tiles_rt-8888",
232      "pic-8888",
233      "glinst",
234      "glinst8",
235      "--src",
236      "tests",
237      "gm",
238      "image",
239      "colorImage",
240      "svg",
241      "--blacklist",
242      "glsrgb",
243      "image",
244      "_",
245      "_",
246      "8888",
247      "image",
248      "_",
249      "_",
250      "_",
251      "image",
252      "gen_platf",
253      "rgba32abf.bmp",
254      "_",
255      "image",
256      "gen_platf",
257      "rgb24prof.bmp",
258      "_",
259      "image",
260      "gen_platf",
261      "rgb24lprof.bmp",
262      "_",
263      "image",
264      "gen_platf",
265      "8bpp-pixeldata-cropped.bmp",
266      "_",
267      "image",
268      "gen_platf",
269      "4bpp-pixeldata-cropped.bmp",
270      "_",
271      "image",
272      "gen_platf",
273      "32bpp-pixeldata-cropped.bmp",
274      "_",
275      "image",
276      "gen_platf",
277      "24bpp-pixeldata-cropped.bmp",
278      "_",
279      "image",
280      "gen_platf",
281      "frame_larger_than_image.gif",
282      "_",
283      "image",
284      "gen_platf",
285      "inc0.png",
286      "_",
287      "image",
288      "gen_platf",
289      "inc1.png",
290      "_",
291      "image",
292      "gen_platf",
293      "inc2.png",
294      "_",
295      "image",
296      "gen_platf",
297      "inc3.png",
298      "_",
299      "image",
300      "gen_platf",
301      "inc4.png",
302      "_",
303      "image",
304      "gen_platf",
305      "inc5.png",
306      "_",
307      "image",
308      "gen_platf",
309      "inc6.png",
310      "_",
311      "image",
312      "gen_platf",
313      "inc7.png",
314      "_",
315      "image",
316      "gen_platf",
317      "inc8.png",
318      "_",
319      "image",
320      "gen_platf",
321      "inc9.png",
322      "_",
323      "image",
324      "gen_platf",
325      "inc10.png",
326      "_",
327      "image",
328      "gen_platf",
329      "inc11.png",
330      "_",
331      "image",
332      "gen_platf",
333      "inc12.png",
334      "_",
335      "image",
336      "gen_platf",
337      "inc13.png",
338      "_",
339      "image",
340      "gen_platf",
341      "inc14.png",
342      "serialize-8888",
343      "gm",
344      "_",
345      "bleed_image",
346      "serialize-8888",
347      "gm",
348      "_",
349      "c_gms",
350      "serialize-8888",
351      "gm",
352      "_",
353      "colortype",
354      "serialize-8888",
355      "gm",
356      "_",
357      "colortype_xfermodes",
358      "serialize-8888",
359      "gm",
360      "_",
361      "drawfilter",
362      "serialize-8888",
363      "gm",
364      "_",
365      "fontmgr_bounds_0.75_0",
366      "serialize-8888",
367      "gm",
368      "_",
369      "fontmgr_bounds_1_-0.25",
370      "serialize-8888",
371      "gm",
372      "_",
373      "fontmgr_bounds",
374      "serialize-8888",
375      "gm",
376      "_",
377      "fontmgr_match",
378      "serialize-8888",
379      "gm",
380      "_",
381      "fontmgr_iter",
382      "serialize-8888",
383      "gm",
384      "_",
385      "imagemasksubset",
386      "serialize-8888",
387      "gm",
388      "_",
389      "bitmapfilters",
390      "serialize-8888",
391      "gm",
392      "_",
393      "bitmapshaders",
394      "serialize-8888",
395      "gm",
396      "_",
397      "bleed",
398      "serialize-8888",
399      "gm",
400      "_",
401      "bleed_alpha_bmp",
402      "serialize-8888",
403      "gm",
404      "_",
405      "bleed_alpha_bmp_shader",
406      "serialize-8888",
407      "gm",
408      "_",
409      "convex_poly_clip",
410      "serialize-8888",
411      "gm",
412      "_",
413      "extractalpha",
414      "serialize-8888",
415      "gm",
416      "_",
417      "filterbitmap_checkerboard_32_32_g8",
418      "serialize-8888",
419      "gm",
420      "_",
421      "filterbitmap_image_mandrill_64",
422      "serialize-8888",
423      "gm",
424      "_",
425      "shadows",
426      "serialize-8888",
427      "gm",
428      "_",
429      "simpleaaclip_aaclip",
430      "serialize-8888",
431      "gm",
432      "_",
433      "composeshader_bitmap",
434      "serialize-8888",
435      "gm",
436      "_",
437      "scaled_tilemodes_npot",
438      "serialize-8888",
439      "gm",
440      "_",
441      "scaled_tilemodes",
442      "serialize-8888",
443      "gm",
444      "_",
445      "typefacerendering_pfaMac",
446      "serialize-8888",
447      "gm",
448      "_",
449      "parsedpaths",
450      "serialize-8888",
451      "gm",
452      "_",
453      "ImageGeneratorExternal_rect",
454      "serialize-8888",
455      "gm",
456      "_",
457      "ImageGeneratorExternal_shader",
458      "serialize-8888",
459      "gm",
460      "_",
461      "shadow_utils",
462      "pic-8888",
463      "gm",
464      "_",
465      "drawfilter",
466      "pic-8888",
467      "gm",
468      "_",
469      "image-cacherator-from-picture",
470      "serialize-8888",
471      "gm",
472      "_",
473      "image-cacherator-from-picture",
474      "pic-8888",
475      "gm",
476      "_",
477      "image-cacherator-from-raster",
478      "serialize-8888",
479      "gm",
480      "_",
481      "image-cacherator-from-raster",
482      "pic-8888",
483      "gm",
484      "_",
485      "image-cacherator-from-ctable",
486      "serialize-8888",
487      "gm",
488      "_",
489      "image-cacherator-from-ctable",
490      "pic-8888",
491      "gm",
492      "_",
493      "gamut",
494      "serialize-8888",
495      "gm",
496      "_",
497      "gamut",
498      "pic-8888",
499      "gm",
500      "_",
501      "complexclip4_bw",
502      "serialize-8888",
503      "gm",
504      "_",
505      "complexclip4_bw",
506      "pic-8888",
507      "gm",
508      "_",
509      "complexclip4_aa",
510      "serialize-8888",
511      "gm",
512      "_",
513      "complexclip4_aa",
514      "tiles_rt-8888",
515      "gm",
516      "_",
517      "complexclip4_bw",
518      "tiles_rt-8888",
519      "gm",
520      "_",
521      "complexclip4_aa"
522    ],
523    "env": {
524      "BUILDTYPE": "Debug",
525      "CHROME_HEADLESS": "1",
526      "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
527      "SKIA_OUT": "[START_DIR]/out"
528    },
529    "name": "dm"
530  },
531  {
532    "name": "$result",
533    "recipe_result": null,
534    "status_code": 0
535  }
536]