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 "BUILDTYPE": "Debug",
137 "CHROME_HEADLESS": "1",
138 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
139 "SKIA_OUT": "[START_DIR]/out"
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@@@"
181 "[START_DIR]/skia/infra/bots/recipe_modules/core/resources/symbolize_stack_trace.py",
184 "[START_DIR]/out/Debug/dm",
187 "[START_DIR]/skia/resources",
191 "[START_DIR]/skimage/dm",
193 "[START_DIR]/skimage/colorspace",
201 "Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-SK_USE_DISCARDABLE_SCALEDIMAGECACHE",
218 "SK_USE_DISCARDABLE_SCALEDIMAGECACHE",
223 "--uninterestingHashesFile",
224 "[START_DIR]/tmp/uninteresting_hashes.txt",
226 "[CUSTOM_[SWARM_OUT_DIR]]/dm",
228 "--randomProcessorTest",
290 "colortype_xfermodes",
298 "fontmgr_bounds_0.75_0",
302 "fontmgr_bounds_1_-0.25",
338 "bleed_alpha_bmp_shader",
350 "filterbitmap_checkerboard_32_32_g8",
354 "filterbitmap_image_mandrill_64",
362 "simpleaaclip_aaclip",
366 "composeshader_bitmap",
370 "scaled_tilemodes_npot",
378 "typefacerendering_pfaMac",
386 "ImageGeneratorExternal_rect",
390 "ImageGeneratorExternal_shader",
402 "bleed_alpha_image_shader",
422 "image-cacherator-from-picture",
426 "image-cacherator-from-picture",
430 "image-cacherator-from-picture",
434 "image-cacherator-from-picture",
438 "image-cacherator-from-raster",
442 "image-cacherator-from-raster",
446 "image-cacherator-from-raster",
450 "image-cacherator-from-raster",
454 "image-cacherator-from-ctable",
458 "image-cacherator-from-ctable",
462 "image-cacherator-from-ctable",
466 "image-cacherator-from-ctable",
536 "cwd": "[START_DIR]/skia",
538 "BUILDTYPE": "Debug",
539 "CHROME_HEADLESS": "1",
540 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
541 "SKIA_OUT": "[START_DIR]/out"
543 "name": "symbolized dm"
547 "recipe_result": null,