• 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      "python",
180      "-u",
181      "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py",
182      "[START_DIR]",
183      "catchsegv",
184      "[START_DIR]/out/Debug/dm",
185      "--undefok",
186      "--resourcePath",
187      "[START_DIR]/skia/resources",
188      "--skps",
189      "[START_DIR]/skp",
190      "--images",
191      "[START_DIR]/skimage/dm",
192      "--colorImages",
193      "[START_DIR]/skimage/colorspace",
194      "--nameByHash",
195      "--properties",
196      "gitHash",
197      "abc123",
198      "master",
199      "client.skia",
200      "builder",
201      "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug",
202      "build_number",
203      "6",
204      "--svgs",
205      "[START_DIR]/svg",
206      "--key",
207      "arch",
208      "x86_64",
209      "compiler",
210      "GCC",
211      "configuration",
212      "Debug",
213      "cpu_or_gpu",
214      "CPU",
215      "cpu_or_gpu_value",
216      "AVX2",
217      "model",
218      "GCE",
219      "os",
220      "Ubuntu",
221      "--uninterestingHashesFile",
222      "[START_DIR]/tmp/uninteresting_hashes.txt",
223      "--writePath",
224      "[CUSTOM_[SWARM_OUT_DIR]]/dm",
225      "--nogpu",
226      "--randomProcessorTest",
227      "--config",
228      "8888",
229      "srgb",
230      "pdf",
231      "gl",
232      "gldft",
233      "glsrgb",
234      "glmsaa8",
235      "565",
236      "f16",
237      "sp-8888",
238      "2ndpic-8888",
239      "lite-8888",
240      "gbr-8888",
241      "serialize-8888",
242      "tiles_rt-8888",
243      "pic-8888",
244      "--src",
245      "tests",
246      "gm",
247      "image",
248      "colorImage",
249      "svg",
250      "--blacklist",
251      "f16",
252      "_",
253      "_",
254      "dstreadshuffle",
255      "glsrgb",
256      "image",
257      "_",
258      "_",
259      "8888",
260      "image",
261      "_",
262      "_",
263      "gbr-8888",
264      "image",
265      "_",
266      "_",
267      "gbr-8888",
268      "colorImage",
269      "_",
270      "_",
271      "serialize-8888",
272      "gm",
273      "_",
274      "bleed_image",
275      "serialize-8888",
276      "gm",
277      "_",
278      "c_gms",
279      "serialize-8888",
280      "gm",
281      "_",
282      "colortype",
283      "serialize-8888",
284      "gm",
285      "_",
286      "colortype_xfermodes",
287      "serialize-8888",
288      "gm",
289      "_",
290      "drawfilter",
291      "serialize-8888",
292      "gm",
293      "_",
294      "fontmgr_bounds_0.75_0",
295      "serialize-8888",
296      "gm",
297      "_",
298      "fontmgr_bounds_1_-0.25",
299      "serialize-8888",
300      "gm",
301      "_",
302      "fontmgr_bounds",
303      "serialize-8888",
304      "gm",
305      "_",
306      "fontmgr_match",
307      "serialize-8888",
308      "gm",
309      "_",
310      "fontmgr_iter",
311      "serialize-8888",
312      "gm",
313      "_",
314      "imagemasksubset",
315      "serialize-8888",
316      "gm",
317      "_",
318      "bitmapfilters",
319      "serialize-8888",
320      "gm",
321      "_",
322      "bitmapshaders",
323      "serialize-8888",
324      "gm",
325      "_",
326      "bleed",
327      "serialize-8888",
328      "gm",
329      "_",
330      "bleed_alpha_bmp",
331      "serialize-8888",
332      "gm",
333      "_",
334      "bleed_alpha_bmp_shader",
335      "serialize-8888",
336      "gm",
337      "_",
338      "convex_poly_clip",
339      "serialize-8888",
340      "gm",
341      "_",
342      "extractalpha",
343      "serialize-8888",
344      "gm",
345      "_",
346      "filterbitmap_checkerboard_32_32_g8",
347      "serialize-8888",
348      "gm",
349      "_",
350      "filterbitmap_image_mandrill_64",
351      "serialize-8888",
352      "gm",
353      "_",
354      "shadows",
355      "serialize-8888",
356      "gm",
357      "_",
358      "simpleaaclip_aaclip",
359      "serialize-8888",
360      "gm",
361      "_",
362      "composeshader_bitmap",
363      "serialize-8888",
364      "gm",
365      "_",
366      "scaled_tilemodes_npot",
367      "serialize-8888",
368      "gm",
369      "_",
370      "scaled_tilemodes",
371      "serialize-8888",
372      "gm",
373      "_",
374      "typefacerendering_pfaMac",
375      "serialize-8888",
376      "gm",
377      "_",
378      "parsedpaths",
379      "serialize-8888",
380      "gm",
381      "_",
382      "ImageGeneratorExternal_rect",
383      "serialize-8888",
384      "gm",
385      "_",
386      "ImageGeneratorExternal_shader",
387      "serialize-8888",
388      "gm",
389      "_",
390      "shadow_utils",
391      "serialize-8888",
392      "gm",
393      "_",
394      "bleed_alpha_image",
395      "serialize-8888",
396      "gm",
397      "_",
398      "bleed_alpha_image_shader",
399      "sp-8888",
400      "gm",
401      "_",
402      "drawfilter",
403      "pic-8888",
404      "gm",
405      "_",
406      "drawfilter",
407      "2ndpic-8888",
408      "gm",
409      "_",
410      "drawfilter",
411      "lite-8888",
412      "gm",
413      "_",
414      "drawfilter",
415      "sp-8888",
416      "gm",
417      "_",
418      "image-cacherator-from-picture",
419      "pic-8888",
420      "gm",
421      "_",
422      "image-cacherator-from-picture",
423      "2ndpic-8888",
424      "gm",
425      "_",
426      "image-cacherator-from-picture",
427      "serialize-8888",
428      "gm",
429      "_",
430      "image-cacherator-from-picture",
431      "sp-8888",
432      "gm",
433      "_",
434      "image-cacherator-from-raster",
435      "pic-8888",
436      "gm",
437      "_",
438      "image-cacherator-from-raster",
439      "2ndpic-8888",
440      "gm",
441      "_",
442      "image-cacherator-from-raster",
443      "serialize-8888",
444      "gm",
445      "_",
446      "image-cacherator-from-raster",
447      "sp-8888",
448      "gm",
449      "_",
450      "image-cacherator-from-ctable",
451      "pic-8888",
452      "gm",
453      "_",
454      "image-cacherator-from-ctable",
455      "2ndpic-8888",
456      "gm",
457      "_",
458      "image-cacherator-from-ctable",
459      "serialize-8888",
460      "gm",
461      "_",
462      "image-cacherator-from-ctable",
463      "sp-8888",
464      "gm",
465      "_",
466      "gamut",
467      "pic-8888",
468      "gm",
469      "_",
470      "gamut",
471      "lite-8888",
472      "gm",
473      "_",
474      "gamut",
475      "2ndpic-8888",
476      "gm",
477      "_",
478      "gamut",
479      "serialize-8888",
480      "gm",
481      "_",
482      "gamut",
483      "sp-8888",
484      "gm",
485      "_",
486      "complexclip4_bw",
487      "pic-8888",
488      "gm",
489      "_",
490      "complexclip4_bw",
491      "lite-8888",
492      "gm",
493      "_",
494      "complexclip4_bw",
495      "2ndpic-8888",
496      "gm",
497      "_",
498      "complexclip4_bw",
499      "serialize-8888",
500      "gm",
501      "_",
502      "complexclip4_bw",
503      "sp-8888",
504      "gm",
505      "_",
506      "complexclip4_aa",
507      "pic-8888",
508      "gm",
509      "_",
510      "complexclip4_aa",
511      "lite-8888",
512      "gm",
513      "_",
514      "complexclip4_aa",
515      "2ndpic-8888",
516      "gm",
517      "_",
518      "complexclip4_aa",
519      "serialize-8888",
520      "gm",
521      "_",
522      "complexclip4_aa",
523      "tiles_rt-8888",
524      "gm",
525      "_",
526      "complexclip4_bw",
527      "tiles_rt-8888",
528      "gm",
529      "_",
530      "complexclip4_aa"
531    ],
532    "cwd": "[START_DIR]/skia",
533    "env": {
534      "BUILDTYPE": "Debug",
535      "CHROME_HEADLESS": "1",
536      "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
537      "SKIA_OUT": "[START_DIR]/out"
538    },
539    "name": "symbolized dm",
540    "~followup_annotations": [
541      "step returned non-zero exit code: 1",
542      "@@@STEP_FAILURE@@@"
543    ]
544  },
545  {
546    "name": "$result",
547    "reason": "Failed build steps: symbolized dm, symbolized dm",
548    "recipe_result": null,
549    "status_code": 1
550  }
551]