6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
7 "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
11 "name": "Get downloaded SKP VERSION"
17 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
19 "[START_DIR]/tmp/SKP_VERSION"
22 "name": "write SKP_VERSION"
28 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
29 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
33 "name": "Get downloaded skimage VERSION"
39 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
41 "[START_DIR]/tmp/SK_IMAGE_VERSION"
44 "name": "write SK_IMAGE_VERSION"
50 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
51 "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
55 "name": "Get downloaded SVG VERSION"
61 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
63 "[START_DIR]/tmp/SVG_VERSION"
66 "name": "write SVG_VERSION"
72 "RECIPE_MODULE[build::file]/resources/fileutil.py",
74 "[CUSTOM_[SWARM_OUT_DIR]]/dm"
77 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
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",
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@@@"
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",
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@@@"
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"
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@@@"
175 "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py",
177 "[START_DIR]/out/Debug/dm",
180 "[START_DIR]/skia/resources",
184 "[START_DIR]/skimage/dm",
186 "[START_DIR]/skimage/colorspace",
194 "Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug",
214 "--uninterestingHashesFile",
215 "[START_DIR]/tmp/uninteresting_hashes.txt",
217 "[CUSTOM_[SWARM_OUT_DIR]]/dm",
219 "--randomProcessorTest",
261 "colortype_xfermodes",
269 "fontmgr_bounds_0.75_0",
273 "fontmgr_bounds_1_-0.25",
309 "bleed_alpha_bmp_shader",
321 "filterbitmap_checkerboard_32_32_g8",
325 "filterbitmap_image_mandrill_64",
333 "simpleaaclip_aaclip",
337 "composeshader_bitmap",
341 "scaled_tilemodes_npot",
349 "typefacerendering_pfaMac",
357 "ImageGeneratorExternal_rect",
361 "ImageGeneratorExternal_shader",
373 "bleed_alpha_image_shader",
381 "image-cacherator-from-picture",
385 "image-cacherator-from-picture",
389 "image-cacherator-from-raster",
393 "image-cacherator-from-raster",
397 "image-cacherator-from-ctable",
401 "image-cacherator-from-ctable",
531 "cwd": "[START_DIR]/skia",
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"
539 "name": "symbolized dm"
543 "recipe_result": null,