• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "copy",
10      "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
11      "/path/to/tmp/"
12    ],
13    "infra_step": true,
14    "name": "Get downloaded SKP VERSION"
15  },
16  {
17    "cmd": [
18      "python",
19      "-u",
20      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
21      "--json-output",
22      "/path/to/tmp/json",
23      "copy",
24      "42",
25      "[START_DIR]\\tmp\\SKP_VERSION"
26    ],
27    "infra_step": true,
28    "name": "write SKP_VERSION"
29  },
30  {
31    "cmd": [
32      "python",
33      "-u",
34      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
35      "--json-output",
36      "/path/to/tmp/json",
37      "copy",
38      "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
39      "/path/to/tmp/"
40    ],
41    "infra_step": true,
42    "name": "Get downloaded skimage VERSION"
43  },
44  {
45    "cmd": [
46      "python",
47      "-u",
48      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
49      "--json-output",
50      "/path/to/tmp/json",
51      "copy",
52      "42",
53      "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
54    ],
55    "infra_step": true,
56    "name": "write SK_IMAGE_VERSION"
57  },
58  {
59    "cmd": [
60      "python",
61      "-u",
62      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
63      "--json-output",
64      "/path/to/tmp/json",
65      "copy",
66      "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
67      "/path/to/tmp/"
68    ],
69    "infra_step": true,
70    "name": "Get downloaded SVG VERSION"
71  },
72  {
73    "cmd": [
74      "python",
75      "-u",
76      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
77      "--json-output",
78      "/path/to/tmp/json",
79      "copy",
80      "42",
81      "[START_DIR]\\tmp\\SVG_VERSION"
82    ],
83    "infra_step": true,
84    "name": "write SVG_VERSION"
85  },
86  {
87    "cmd": [
88      "python",
89      "-u",
90      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
91      "--json-output",
92      "/path/to/tmp/json",
93      "rmtree",
94      "[CUSTOM_[SWARM_OUT_DIR]]\\dm"
95    ],
96    "infra_step": true,
97    "name": "rmtree dm"
98  },
99  {
100    "cmd": [
101      "python",
102      "-u",
103      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
104      "--json-output",
105      "/path/to/tmp/json",
106      "ensure-directory",
107      "--mode",
108      "0777",
109      "[CUSTOM_[SWARM_OUT_DIR]]\\dm"
110    ],
111    "infra_step": true,
112    "name": "makedirs dm"
113  },
114  {
115    "cmd": [
116      "python",
117      "-u",
118      "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
119      "--json-output",
120      "/path/to/tmp/json",
121      "ensure-directory",
122      "--mode",
123      "0777",
124      "[START_DIR]\\tmp"
125    ],
126    "infra_step": true,
127    "name": "makedirs tmp_dir"
128  },
129  {
130    "cmd": [
131      "python",
132      "-u",
133      "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'\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",
134      "[START_DIR]\\tmp\\uninteresting_hashes.txt"
135    ],
136    "env": {
137      "BUILDTYPE": "Debug_x64",
138      "CHROME_HEADLESS": "1",
139      "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
140      "SKIA_OUT": "[START_DIR]\\out"
141    },
142    "infra_step": true,
143    "name": "get uninteresting hashes",
144    "~followup_annotations": [
145      "@@@STEP_LOG_LINE@python.inline@@@@",
146      "@@@STEP_LOG_LINE@python.inline@import contextlib@@@",
147      "@@@STEP_LOG_LINE@python.inline@import math@@@",
148      "@@@STEP_LOG_LINE@python.inline@import socket@@@",
149      "@@@STEP_LOG_LINE@python.inline@import sys@@@",
150      "@@@STEP_LOG_LINE@python.inline@import time@@@",
151      "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
152      "@@@STEP_LOG_LINE@python.inline@@@@",
153      "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://storage.googleapis.com/skia-infra-gm/hash_files/gold-prod-hashes.txt'@@@",
154      "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@",
155      "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@",
156      "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@",
157      "@@@STEP_LOG_LINE@python.inline@@@@",
158      "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@",
159      "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@",
160      "@@@STEP_LOG_LINE@python.inline@  try:@@@",
161      "@@@STEP_LOG_LINE@python.inline@    with contextlib.closing(@@@",
162      "@@@STEP_LOG_LINE@python.inline@        urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:@@@",
163      "@@@STEP_LOG_LINE@python.inline@      hashes = w.read()@@@",
164      "@@@STEP_LOG_LINE@python.inline@      with open(sys.argv[1], 'w') as f:@@@",
165      "@@@STEP_LOG_LINE@python.inline@        f.write(hashes)@@@",
166      "@@@STEP_LOG_LINE@python.inline@        break@@@",
167      "@@@STEP_LOG_LINE@python.inline@  except Exception as e:@@@",
168      "@@@STEP_LOG_LINE@python.inline@    print 'Failed to get uninteresting hashes from %s:' % HASHES_URL@@@",
169      "@@@STEP_LOG_LINE@python.inline@    print e@@@",
170      "@@@STEP_LOG_LINE@python.inline@    if retry == RETRIES:@@@",
171      "@@@STEP_LOG_LINE@python.inline@      raise@@@",
172      "@@@STEP_LOG_LINE@python.inline@    waittime = WAIT_BASE * math.pow(2, retry)@@@",
173      "@@@STEP_LOG_LINE@python.inline@    print 'Retry in %d seconds.' % waittime@@@",
174      "@@@STEP_LOG_LINE@python.inline@    time.sleep(waittime)@@@",
175      "@@@STEP_LOG_END@python.inline@@@"
176    ]
177  },
178  {
179    "cmd": [
180      "python",
181      "-u",
182      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
183    ],
184    "name": "get swarming bot id",
185    "stdout": "/path/to/tmp/",
186    "~followup_annotations": [
187      "@@@STEP_LOG_LINE@python.inline@import os@@@",
188      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
189      "@@@STEP_LOG_END@python.inline@@@"
190    ]
191  },
192  {
193    "cmd": [
194      "python",
195      "-u",
196      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
197    ],
198    "name": "get swarming task id",
199    "stdout": "/path/to/tmp/",
200    "~followup_annotations": [
201      "@@@STEP_LOG_LINE@python.inline@import os@@@",
202      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
203      "@@@STEP_LOG_END@python.inline@@@"
204    ]
205  },
206  {
207    "cmd": [
208      "[START_DIR]\\out\\Debug_x64\\dm",
209      "--undefok",
210      "--resourcePath",
211      "[START_DIR]\\skia\\resources",
212      "--skps",
213      "[START_DIR]\\skp",
214      "--images",
215      "[START_DIR]\\skimage\\dm",
216      "--colorImages",
217      "[START_DIR]\\skimage\\colorspace",
218      "--nameByHash",
219      "--properties",
220      "gitHash",
221      "abc123",
222      "builder",
223      "Test-Win10-MSVC-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-ANGLE",
224      "swarming_bot_id",
225      "skia-bot-123",
226      "swarming_task_id",
227      "123456",
228      "--svgs",
229      "[START_DIR]\\svg",
230      "--key",
231      "arch",
232      "x86_64",
233      "compiler",
234      "MSVC",
235      "configuration",
236      "Debug",
237      "cpu_or_gpu",
238      "GPU",
239      "cpu_or_gpu_value",
240      "IntelIris540",
241      "extra_config",
242      "ANGLE",
243      "model",
244      "NUC6i5SYK",
245      "os",
246      "Win10",
247      "--uninterestingHashesFile",
248      "[START_DIR]\\tmp\\uninteresting_hashes.txt",
249      "--writePath",
250      "[CUSTOM_[SWARM_OUT_DIR]]\\dm",
251      "--nocpu",
252      "--randomProcessorTest",
253      "--config",
254      "angle_d3d11_es2",
255      "angle_d3d9_es2",
256      "angle_gl_es2",
257      "angle_d3d11_es3",
258      "--src",
259      "tests",
260      "gm",
261      "image",
262      "colorImage",
263      "svg",
264      "--blacklist",
265      "_",
266      "image",
267      "gen_platf",
268      "rle8-height-negative.bmp",
269      "_",
270      "image",
271      "gen_platf",
272      "rle4-height-negative.bmp",
273      "_",
274      "image",
275      "gen_platf",
276      "pal8os2v2.bmp",
277      "_",
278      "image",
279      "gen_platf",
280      "pal8os2v2-16.bmp",
281      "_",
282      "image",
283      "gen_platf",
284      "rgba32abf.bmp",
285      "_",
286      "image",
287      "gen_platf",
288      "rgb24prof.bmp",
289      "_",
290      "image",
291      "gen_platf",
292      "rgb24lprof.bmp",
293      "_",
294      "image",
295      "gen_platf",
296      "8bpp-pixeldata-cropped.bmp",
297      "_",
298      "image",
299      "gen_platf",
300      "4bpp-pixeldata-cropped.bmp",
301      "_",
302      "image",
303      "gen_platf",
304      "32bpp-pixeldata-cropped.bmp",
305      "_",
306      "image",
307      "gen_platf",
308      "24bpp-pixeldata-cropped.bmp",
309      "_",
310      "image",
311      "gen_platf",
312      "testimgari.jpg",
313      "_",
314      "image",
315      "_",
316      "interlaced1.png",
317      "_",
318      "image",
319      "_",
320      "interlaced2.png",
321      "_",
322      "image",
323      "_",
324      "interlaced3.png",
325      "_",
326      "image",
327      "_",
328      ".arw",
329      "_",
330      "image",
331      "_",
332      ".cr2",
333      "_",
334      "image",
335      "_",
336      ".dng",
337      "_",
338      "image",
339      "_",
340      ".nef",
341      "_",
342      "image",
343      "_",
344      ".nrw",
345      "_",
346      "image",
347      "_",
348      ".orf",
349      "_",
350      "image",
351      "_",
352      ".raf",
353      "_",
354      "image",
355      "_",
356      ".rw2",
357      "_",
358      "image",
359      "_",
360      ".pef",
361      "_",
362      "image",
363      "_",
364      ".srw",
365      "_",
366      "image",
367      "_",
368      ".ARW",
369      "_",
370      "image",
371      "_",
372      ".CR2",
373      "_",
374      "image",
375      "_",
376      ".DNG",
377      "_",
378      "image",
379      "_",
380      ".NEF",
381      "_",
382      "image",
383      "_",
384      ".NRW",
385      "_",
386      "image",
387      "_",
388      ".ORF",
389      "_",
390      "image",
391      "_",
392      ".RAF",
393      "_",
394      "image",
395      "_",
396      ".RW2",
397      "_",
398      "image",
399      "_",
400      ".PEF",
401      "_",
402      "image",
403      "_",
404      ".SRW",
405      "angle_d3d9_es2",
406      "gm",
407      "_",
408      "multipicturedraw_invpathclip_simple",
409      "angle_d3d9_es2",
410      "gm",
411      "_",
412      "multipicturedraw_noclip_simple",
413      "angle_d3d9_es2",
414      "gm",
415      "_",
416      "multipicturedraw_pathclip_simple",
417      "angle_d3d9_es2",
418      "gm",
419      "_",
420      "multipicturedraw_rectclip_simple",
421      "angle_d3d9_es2",
422      "gm",
423      "_",
424      "multipicturedraw_rrectclip_simple",
425      "angle_d3d9_es2",
426      "gm",
427      "_",
428      "discard",
429      "angle_d3d11_es2",
430      "gm",
431      "_",
432      "multipicturedraw_invpathclip_simple",
433      "angle_d3d11_es2",
434      "gm",
435      "_",
436      "multipicturedraw_noclip_simple",
437      "angle_d3d11_es2",
438      "gm",
439      "_",
440      "multipicturedraw_pathclip_simple",
441      "angle_d3d11_es2",
442      "gm",
443      "_",
444      "multipicturedraw_rectclip_simple",
445      "angle_d3d11_es2",
446      "gm",
447      "_",
448      "multipicturedraw_rrectclip_simple",
449      "angle_d3d11_es2",
450      "gm",
451      "_",
452      "discard",
453      "angle_gl_es2",
454      "gm",
455      "_",
456      "multipicturedraw_invpathclip_simple",
457      "angle_gl_es2",
458      "gm",
459      "_",
460      "multipicturedraw_noclip_simple",
461      "angle_gl_es2",
462      "gm",
463      "_",
464      "multipicturedraw_pathclip_simple",
465      "angle_gl_es2",
466      "gm",
467      "_",
468      "multipicturedraw_rectclip_simple",
469      "angle_gl_es2",
470      "gm",
471      "_",
472      "multipicturedraw_rrectclip_simple",
473      "angle_gl_es2",
474      "gm",
475      "_",
476      "discard"
477    ],
478    "env": {
479      "BUILDTYPE": "Debug_x64",
480      "CHROME_HEADLESS": "1",
481      "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
482      "SKIA_OUT": "[START_DIR]\\out"
483    },
484    "name": "dm"
485  },
486  {
487    "name": "$result",
488    "recipe_result": null,
489    "status_code": 0
490  }
491]