• 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      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/tmp"
13    ],
14    "infra_step": true,
15    "name": "makedirs tmp_dir"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "copy",
25      "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
26      "/path/to/tmp/"
27    ],
28    "infra_step": true,
29    "name": "Get skp VERSION"
30  },
31  {
32    "cmd": [
33      "python",
34      "-u",
35      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36      "--json-output",
37      "/path/to/tmp/json",
38      "copy",
39      "42",
40      "[START_DIR]/tmp/SKP_VERSION"
41    ],
42    "infra_step": true,
43    "name": "write SKP_VERSION"
44  },
45  {
46    "cmd": [
47      "python",
48      "-u",
49      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50      "--json-output",
51      "/path/to/tmp/json",
52      "copy",
53      "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
54      "/path/to/tmp/"
55    ],
56    "infra_step": true,
57    "name": "Get skimage VERSION"
58  },
59  {
60    "cmd": [
61      "python",
62      "-u",
63      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
64      "--json-output",
65      "/path/to/tmp/json",
66      "copy",
67      "42",
68      "[START_DIR]/tmp/SK_IMAGE_VERSION"
69    ],
70    "infra_step": true,
71    "name": "write SK_IMAGE_VERSION"
72  },
73  {
74    "cmd": [
75      "python",
76      "-u",
77      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
78      "--json-output",
79      "/path/to/tmp/json",
80      "copy",
81      "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
82      "/path/to/tmp/"
83    ],
84    "infra_step": true,
85    "name": "Get svg VERSION"
86  },
87  {
88    "cmd": [
89      "python",
90      "-u",
91      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
92      "--json-output",
93      "/path/to/tmp/json",
94      "copy",
95      "42",
96      "[START_DIR]/tmp/SVG_VERSION"
97    ],
98    "infra_step": true,
99    "name": "write SVG_VERSION"
100  },
101  {
102    "cmd": [
103      "python",
104      "-u",
105      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
106      "--json-output",
107      "/path/to/tmp/json",
108      "rmtree",
109      "[START_DIR]/test"
110    ],
111    "infra_step": true,
112    "name": "rmtree test"
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]/test"
125    ],
126    "infra_step": true,
127    "name": "makedirs test"
128  },
129  {
130    "cmd": [
131      "python",
132      "-u",
133      "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\nimport urllib2\n\nHASHES_URL = sys.argv[1]\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[2], '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      "https://example.com/hashes.txt",
135      "[START_DIR]/tmp/uninteresting_hashes.txt"
136    ],
137    "env": {
138      "CHROME_HEADLESS": "1",
139      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
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 = sys.argv[1]@@@",
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[2], '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      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
182    ],
183    "name": "get swarming bot id",
184    "stdout": "/path/to/tmp/",
185    "~followup_annotations": [
186      "@@@STEP_LOG_LINE@python.inline@import os@@@",
187      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
188      "@@@STEP_LOG_END@python.inline@@@"
189    ]
190  },
191  {
192    "cmd": [
193      "python",
194      "-u",
195      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
196    ],
197    "name": "get swarming task id",
198    "stdout": "/path/to/tmp/",
199    "~followup_annotations": [
200      "@@@STEP_LOG_LINE@python.inline@import os@@@",
201      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
202      "@@@STEP_LOG_END@python.inline@@@"
203    ]
204  },
205  {
206    "cmd": [
207      "python",
208      "-u",
209      "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
210      "[START_DIR]",
211      "catchsegv",
212      "[START_DIR]/build/dm",
213      "--resourcePath",
214      "[START_DIR]/skia/resources",
215      "--skps",
216      "[START_DIR]/skp",
217      "--images",
218      "[START_DIR]/skimage/dm",
219      "--colorImages",
220      "[START_DIR]/skimage/colorspace",
221      "--nameByHash",
222      "--properties",
223      "gitHash",
224      "abc123",
225      "builder",
226      "Test-Debian9-Clang-NUC7i5BNK-GPU-IntelIris640-x86_64-Debug-All-Vulkan",
227      "buildbucket_build_id",
228      "123454321",
229      "task_id",
230      "task_12345",
231      "swarming_bot_id",
232      "skia-bot-123",
233      "swarming_task_id",
234      "123456",
235      "--svgs",
236      "[START_DIR]/svg",
237      "--key",
238      "arch",
239      "x86_64",
240      "compiler",
241      "Clang",
242      "configuration",
243      "Debug",
244      "cpu_or_gpu",
245      "GPU",
246      "cpu_or_gpu_value",
247      "IntelIris640",
248      "extra_config",
249      "Vulkan",
250      "model",
251      "NUC7i5BNK",
252      "os",
253      "Debian9",
254      "style",
255      "default",
256      "--uninterestingHashesFile",
257      "[START_DIR]/tmp/uninteresting_hashes.txt",
258      "--writePath",
259      "[START_DIR]/[SWARM_OUT_DIR]",
260      "--dont_write",
261      "pdf",
262      "--randomProcessorTest",
263      "--nocpu",
264      "--config",
265      "vk",
266      "--src",
267      "tests",
268      "gm",
269      "image",
270      "colorImage",
271      "svg",
272      "--blacklist",
273      "gltestthreading",
274      "gm",
275      "_",
276      "lcdblendmodes",
277      "gltestthreading",
278      "gm",
279      "_",
280      "lcdoverlap",
281      "gltestthreading",
282      "gm",
283      "_",
284      "textbloblooper",
285      "gltestthreading",
286      "gm",
287      "_",
288      "bleed_alpha_bmp",
289      "gltestthreading",
290      "gm",
291      "_",
292      "bleed_alpha_bmp_shader",
293      "gltestthreading",
294      "gm",
295      "_",
296      "bleed_alpha_image",
297      "gltestthreading",
298      "gm",
299      "_",
300      "bleed_alpha_image_shader",
301      "gltestthreading",
302      "gm",
303      "_",
304      "savelayer_with_backdrop",
305      "gltestthreading",
306      "gm",
307      "_",
308      "persp_shaders_bw",
309      "gltestthreading",
310      "gm",
311      "_",
312      "dftext_blob_persp",
313      "gltestthreading",
314      "gm",
315      "_",
316      "dftext",
317      "gltestthreading",
318      "gm",
319      "_",
320      "orientation",
321      "_",
322      "svg",
323      "_",
324      "svgparse_",
325      "_",
326      "image",
327      "gen_platf",
328      "error",
329      "_",
330      "image",
331      "_",
332      "interlaced1.png",
333      "_",
334      "image",
335      "_",
336      "interlaced2.png",
337      "_",
338      "image",
339      "_",
340      "interlaced3.png",
341      "_",
342      "image",
343      "_",
344      ".arw",
345      "_",
346      "image",
347      "_",
348      ".cr2",
349      "_",
350      "image",
351      "_",
352      ".dng",
353      "_",
354      "image",
355      "_",
356      ".nef",
357      "_",
358      "image",
359      "_",
360      ".nrw",
361      "_",
362      "image",
363      "_",
364      ".orf",
365      "_",
366      "image",
367      "_",
368      ".raf",
369      "_",
370      "image",
371      "_",
372      ".rw2",
373      "_",
374      "image",
375      "_",
376      ".pef",
377      "_",
378      "image",
379      "_",
380      ".srw",
381      "_",
382      "image",
383      "_",
384      ".ARW",
385      "_",
386      "image",
387      "_",
388      ".CR2",
389      "_",
390      "image",
391      "_",
392      ".DNG",
393      "_",
394      "image",
395      "_",
396      ".NEF",
397      "_",
398      "image",
399      "_",
400      ".NRW",
401      "_",
402      "image",
403      "_",
404      ".ORF",
405      "_",
406      "image",
407      "_",
408      ".RAF",
409      "_",
410      "image",
411      "_",
412      ".RW2",
413      "_",
414      "image",
415      "_",
416      ".PEF",
417      "_",
418      "image",
419      "_",
420      ".SRW",
421      "--match",
422      "~VkHeapTests",
423      "~GLPrograms",
424      "--nonativeFonts",
425      "--reduceOpListSplitting",
426      "--verbose"
427    ],
428    "cwd": "[START_DIR]/skia",
429    "env": {
430      "CHROME_HEADLESS": "1",
431      "LD_LIBRARY_PATH": "[START_DIR]/mesa_intel_driver_linux:[START_DIR]/linux_vulkan_sdk/lib",
432      "LIBGL_DRIVERS_PATH": "[START_DIR]/mesa_intel_driver_linux",
433      "PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/linux_vulkan_sdk/bin",
434      "VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json"
435    },
436    "name": "symbolized dm"
437  },
438  {
439    "jsonResult": null,
440    "name": "$result"
441  }
442]