• 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": "Release_x64",
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\\Release_x64\\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-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release-Trybot",
197      "build_number",
198      "5",
199      "issue",
200      "500",
201      "patchset",
202      "1",
203      "patch_storage",
204      "rietveld",
205      "--svgs",
206      "[START_DIR]\\svg",
207      "--key",
208      "arch",
209      "x86_64",
210      "compiler",
211      "MSVC",
212      "configuration",
213      "Release",
214      "cpu_or_gpu",
215      "CPU",
216      "cpu_or_gpu_value",
217      "AVX2",
218      "model",
219      "ShuttleB",
220      "os",
221      "Win8",
222      "--uninterestingHashesFile",
223      "[START_DIR]\\tmp\\uninteresting_hashes.txt",
224      "--writePath",
225      "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
226      "--nogpu",
227      "--randomProcessorTest",
228      "--config",
229      "8888",
230      "srgb",
231      "pdf",
232      "gl",
233      "gldft",
234      "glsrgb",
235      "glmsaa8",
236      "serialize-8888",
237      "tiles_rt-8888",
238      "pic-8888",
239      "--src",
240      "tests",
241      "gm",
242      "image",
243      "colorImage",
244      "svg",
245      "--blacklist",
246      "glsrgb",
247      "image",
248      "_",
249      "_",
250      "8888",
251      "image",
252      "_",
253      "_",
254      "_",
255      "image",
256      "gen_platf",
257      "rle8-height-negative.bmp",
258      "_",
259      "image",
260      "gen_platf",
261      "rle4-height-negative.bmp",
262      "_",
263      "image",
264      "gen_platf",
265      "pal8os2v2.bmp",
266      "_",
267      "image",
268      "gen_platf",
269      "pal8os2v2-16.bmp",
270      "_",
271      "image",
272      "gen_platf",
273      "rgba32abf.bmp",
274      "_",
275      "image",
276      "gen_platf",
277      "rgb24prof.bmp",
278      "_",
279      "image",
280      "gen_platf",
281      "rgb24lprof.bmp",
282      "_",
283      "image",
284      "gen_platf",
285      "8bpp-pixeldata-cropped.bmp",
286      "_",
287      "image",
288      "gen_platf",
289      "4bpp-pixeldata-cropped.bmp",
290      "_",
291      "image",
292      "gen_platf",
293      "32bpp-pixeldata-cropped.bmp",
294      "_",
295      "image",
296      "gen_platf",
297      "24bpp-pixeldata-cropped.bmp",
298      "_",
299      "image",
300      "gen_platf",
301      "testimgari.jpg",
302      "_",
303      "gm",
304      "_",
305      "composeshader_bitmap",
306      "_",
307      "gm",
308      "_",
309      "fontscalerdistortable",
310      "_",
311      "svg",
312      "_",
313      "Nebraska-StateSeal.svg",
314      "serialize-8888",
315      "gm",
316      "_",
317      "bleed_image",
318      "serialize-8888",
319      "gm",
320      "_",
321      "c_gms",
322      "serialize-8888",
323      "gm",
324      "_",
325      "colortype",
326      "serialize-8888",
327      "gm",
328      "_",
329      "colortype_xfermodes",
330      "serialize-8888",
331      "gm",
332      "_",
333      "drawfilter",
334      "serialize-8888",
335      "gm",
336      "_",
337      "fontmgr_bounds_0.75_0",
338      "serialize-8888",
339      "gm",
340      "_",
341      "fontmgr_bounds_1_-0.25",
342      "serialize-8888",
343      "gm",
344      "_",
345      "fontmgr_bounds",
346      "serialize-8888",
347      "gm",
348      "_",
349      "fontmgr_match",
350      "serialize-8888",
351      "gm",
352      "_",
353      "fontmgr_iter",
354      "serialize-8888",
355      "gm",
356      "_",
357      "imagemasksubset",
358      "serialize-8888",
359      "gm",
360      "_",
361      "bitmapfilters",
362      "serialize-8888",
363      "gm",
364      "_",
365      "bitmapshaders",
366      "serialize-8888",
367      "gm",
368      "_",
369      "bleed",
370      "serialize-8888",
371      "gm",
372      "_",
373      "bleed_alpha_bmp",
374      "serialize-8888",
375      "gm",
376      "_",
377      "bleed_alpha_bmp_shader",
378      "serialize-8888",
379      "gm",
380      "_",
381      "convex_poly_clip",
382      "serialize-8888",
383      "gm",
384      "_",
385      "extractalpha",
386      "serialize-8888",
387      "gm",
388      "_",
389      "filterbitmap_checkerboard_32_32_g8",
390      "serialize-8888",
391      "gm",
392      "_",
393      "filterbitmap_image_mandrill_64",
394      "serialize-8888",
395      "gm",
396      "_",
397      "shadows",
398      "serialize-8888",
399      "gm",
400      "_",
401      "simpleaaclip_aaclip",
402      "serialize-8888",
403      "gm",
404      "_",
405      "composeshader_bitmap",
406      "serialize-8888",
407      "gm",
408      "_",
409      "scaled_tilemodes_npot",
410      "serialize-8888",
411      "gm",
412      "_",
413      "scaled_tilemodes",
414      "serialize-8888",
415      "gm",
416      "_",
417      "typefacerendering_pfaMac",
418      "serialize-8888",
419      "gm",
420      "_",
421      "parsedpaths",
422      "serialize-8888",
423      "gm",
424      "_",
425      "ImageGeneratorExternal_rect",
426      "serialize-8888",
427      "gm",
428      "_",
429      "ImageGeneratorExternal_shader",
430      "serialize-8888",
431      "gm",
432      "_",
433      "shadow_utils",
434      "serialize-8888",
435      "gm",
436      "_",
437      "bleed_alpha_image",
438      "serialize-8888",
439      "gm",
440      "_",
441      "bleed_alpha_image_shader",
442      "serialize-8888",
443      "gm",
444      "_",
445      "verylargebitmap",
446      "serialize-8888",
447      "gm",
448      "_",
449      "verylarge_picture_image",
450      "pic-8888",
451      "gm",
452      "_",
453      "drawfilter",
454      "pic-8888",
455      "gm",
456      "_",
457      "image-cacherator-from-picture",
458      "serialize-8888",
459      "gm",
460      "_",
461      "image-cacherator-from-picture",
462      "pic-8888",
463      "gm",
464      "_",
465      "image-cacherator-from-raster",
466      "serialize-8888",
467      "gm",
468      "_",
469      "image-cacherator-from-raster",
470      "pic-8888",
471      "gm",
472      "_",
473      "image-cacherator-from-ctable",
474      "serialize-8888",
475      "gm",
476      "_",
477      "image-cacherator-from-ctable",
478      "pic-8888",
479      "gm",
480      "_",
481      "gamut",
482      "serialize-8888",
483      "gm",
484      "_",
485      "gamut",
486      "pic-8888",
487      "gm",
488      "_",
489      "complexclip4_bw",
490      "serialize-8888",
491      "gm",
492      "_",
493      "complexclip4_bw",
494      "pic-8888",
495      "gm",
496      "_",
497      "complexclip4_aa",
498      "serialize-8888",
499      "gm",
500      "_",
501      "complexclip4_aa",
502      "tiles_rt-8888",
503      "gm",
504      "_",
505      "complexclip4_bw",
506      "tiles_rt-8888",
507      "gm",
508      "_",
509      "complexclip4_aa",
510      "--noRAW_threading"
511    ],
512    "env": {
513      "BUILDTYPE": "Release_x64",
514      "CHROME_HEADLESS": "1",
515      "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
516      "SKIA_OUT": "[START_DIR]\\out"
517    },
518    "name": "dm"
519  },
520  {
521    "name": "$result",
522    "recipe_result": null,
523    "status_code": 0
524  }
525]