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      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
106    ],
107    "name": "get swarming bot id",
108    "stdout": "/path/to/tmp/",
109    "~followup_annotations": [
110      "@@@STEP_LOG_LINE@python.inline@import os@@@",
111      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
112      "@@@STEP_LOG_END@python.inline@@@"
113    ]
114  },
115  {
116    "cmd": [
117      "python",
118      "-u",
119      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
120    ],
121    "name": "get swarming task id",
122    "stdout": "/path/to/tmp/",
123    "~followup_annotations": [
124      "@@@STEP_LOG_LINE@python.inline@import os@@@",
125      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
126      "@@@STEP_LOG_END@python.inline@@@"
127    ]
128  },
129  {
130    "cmd": [
131      "python",
132      "-u",
133      "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
134      "[START_DIR]",
135      "catchsegv",
136      "[START_DIR]/build/dm",
137      "--resourcePath",
138      "[START_DIR]/skia/resources",
139      "--skps",
140      "[START_DIR]/skp",
141      "--images",
142      "[START_DIR]/skimage/dm",
143      "--colorImages",
144      "[START_DIR]/skimage/colorspace",
145      "--nameByHash",
146      "--properties",
147      "gitHash",
148      "abc123",
149      "builder",
150      "Test-Ubuntu17-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-Vulkan_Coverage",
151      "buildbucket_build_id",
152      "123454321",
153      "swarming_bot_id",
154      "skia-bot-123",
155      "swarming_task_id",
156      "123456",
157      "--svgs",
158      "[START_DIR]/svg",
159      "--key",
160      "arch",
161      "x86_64",
162      "compiler",
163      "Clang",
164      "configuration",
165      "Debug",
166      "cpu_or_gpu",
167      "GPU",
168      "cpu_or_gpu_value",
169      "QuadroP400",
170      "extra_config",
171      "Vulkan_Coverage",
172      "model",
173      "Golo",
174      "os",
175      "Ubuntu17",
176      "--dont_write",
177      "pdf",
178      "--randomProcessorTest",
179      "--nocpu",
180      "--config",
181      "vk",
182      "vk1010102",
183      "--src",
184      "tests",
185      "gm",
186      "image",
187      "colorImage",
188      "svg",
189      "--blacklist",
190      "vk1010102",
191      "image",
192      "_",
193      "_",
194      "_",
195      "svg",
196      "_",
197      "svgparse_",
198      "_",
199      "image",
200      "gen_platf",
201      "error",
202      "_",
203      "image",
204      "_",
205      "interlaced1.png",
206      "_",
207      "image",
208      "_",
209      "interlaced2.png",
210      "_",
211      "image",
212      "_",
213      "interlaced3.png",
214      "_",
215      "image",
216      "_",
217      ".arw",
218      "_",
219      "image",
220      "_",
221      ".cr2",
222      "_",
223      "image",
224      "_",
225      ".dng",
226      "_",
227      "image",
228      "_",
229      ".nef",
230      "_",
231      "image",
232      "_",
233      ".nrw",
234      "_",
235      "image",
236      "_",
237      ".orf",
238      "_",
239      "image",
240      "_",
241      ".raf",
242      "_",
243      "image",
244      "_",
245      ".rw2",
246      "_",
247      "image",
248      "_",
249      ".pef",
250      "_",
251      "image",
252      "_",
253      ".srw",
254      "_",
255      "image",
256      "_",
257      ".ARW",
258      "_",
259      "image",
260      "_",
261      ".CR2",
262      "_",
263      "image",
264      "_",
265      ".DNG",
266      "_",
267      "image",
268      "_",
269      ".NEF",
270      "_",
271      "image",
272      "_",
273      ".NRW",
274      "_",
275      "image",
276      "_",
277      ".ORF",
278      "_",
279      "image",
280      "_",
281      ".RAF",
282      "_",
283      "image",
284      "_",
285      ".RW2",
286      "_",
287      "image",
288      "_",
289      ".PEF",
290      "_",
291      "image",
292      "_",
293      ".SRW",
294      "--nonativeFonts",
295      "--reduceOpListSplitting",
296      "--verbose"
297    ],
298    "cwd": "[START_DIR]/skia",
299    "env": {
300      "CHROME_HEADLESS": "1",
301      "LD_LIBRARY_PATH": "[START_DIR]/linux_vulkan_sdk/lib",
302      "LLVM_PROFILE_FILE": "[START_DIR]/[SWARM_OUT_DIR]/All.profraw",
303      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]:[START_DIR]/linux_vulkan_sdk/bin"
304    },
305    "name": "symbolized dm"
306  },
307  {
308    "jsonResult": null,
309    "name": "$result"
310  }
311]