• 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]/[SWARM_OUT_DIR]"
110    ],
111    "infra_step": true,
112    "name": "rmtree [SWARM_OUT_DIR]"
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]/[SWARM_OUT_DIR]"
125    ],
126    "infra_step": true,
127    "name": "makedirs [SWARM_OUT_DIR]"
128  },
129  {
130    "cmd": [
131      "python",
132      "-u",
133      "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
134    ],
135    "name": "get swarming bot id",
136    "stdout": "/path/to/tmp/",
137    "~followup_annotations": [
138      "@@@STEP_LOG_LINE@python.inline@import os@@@",
139      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
140      "@@@STEP_LOG_END@python.inline@@@"
141    ]
142  },
143  {
144    "cmd": [
145      "python",
146      "-u",
147      "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
148    ],
149    "name": "get swarming task id",
150    "stdout": "/path/to/tmp/",
151    "~followup_annotations": [
152      "@@@STEP_LOG_LINE@python.inline@import os@@@",
153      "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
154      "@@@STEP_LOG_END@python.inline@@@"
155    ]
156  },
157  {
158    "cmd": [
159      "python",
160      "-u",
161      "RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py",
162      "[START_DIR]",
163      "catchsegv",
164      "[START_DIR]/build/nanobench",
165      "-i",
166      "[START_DIR]/skia/resources",
167      "--skps",
168      "[START_DIR]/skp",
169      "--images",
170      "[START_DIR]/skimage/nanobench",
171      "--svgs",
172      "[START_DIR]/svg",
173      "--pre_log",
174      "--images",
175      "--gpuStatsDump",
176      "true",
177      "--scales",
178      "1.0",
179      "1.1",
180      "--nocpu",
181      "--config",
182      "gl",
183      "glsrgb",
184      "gles",
185      "glessrgb",
186      "--reduceOpListSplitting",
187      "--match",
188      "~inc0.gif",
189      "~inc1.gif",
190      "~incInterlaced.gif",
191      "~inc0.jpg",
192      "~incGray.jpg",
193      "~inc0.wbmp",
194      "~inc1.wbmp",
195      "~inc0.webp",
196      "~inc1.webp",
197      "~inc0.ico",
198      "~inc1.ico",
199      "~inc0.png",
200      "~inc1.png",
201      "~inc2.png",
202      "~inc12.png",
203      "~inc13.png",
204      "~inc14.png",
205      "~inc0.webp",
206      "~inc1.webp",
207      "--verbose",
208      "--outResultsFile",
209      "[START_DIR]/[SWARM_OUT_DIR]/nanobench_abc123_1337000001.json",
210      "--properties",
211      "gitHash",
212      "abc123",
213      "swarming_bot_id",
214      "skia-bot-123",
215      "swarming_task_id",
216      "123456",
217      "--key",
218      "arch",
219      "x86_64",
220      "compiler",
221      "Clang",
222      "cpu_or_gpu",
223      "GPU",
224      "cpu_or_gpu_value",
225      "IntelIris640",
226      "model",
227      "NUC7i5BNK",
228      "os",
229      "Debian9"
230    ],
231    "cwd": "[START_DIR]/skia",
232    "env": {
233      "CHROME_HEADLESS": "1",
234      "LD_LIBRARY_PATH": "[START_DIR]/mesa_intel_driver_linux",
235      "LIBGL_DRIVERS_PATH": "[START_DIR]/mesa_intel_driver_linux",
236      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
237      "VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json"
238    },
239    "name": "symbolized nanobench"
240  },
241  {
242    "cmd": [
243      "python",
244      "-u",
245      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
246      "--json-output",
247      "/path/to/tmp/json",
248      "ensure-directory",
249      "--mode",
250      "0777",
251      "[START_DIR]/[SWARM_OUT_DIR]"
252    ],
253    "infra_step": true,
254    "name": "makedirs perf_dir"
255  },
256  {
257    "jsonResult": null,
258    "name": "$result"
259  }
260]