• 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      "[START_DIR]/build/nanobench",
160      "-i",
161      "[START_DIR]/skia/resources",
162      "--skps",
163      "[START_DIR]/skp",
164      "--images",
165      "[START_DIR]/skimage/nanobench",
166      "--svgs",
167      "[START_DIR]/svg",
168      "--pre_log",
169      "--images",
170      "--gpuStatsDump",
171      "true",
172      "--scales",
173      "1.0",
174      "1.1",
175      "--nocpu",
176      "--config",
177      "commandbuffer",
178      "--match",
179      "~inc0.gif",
180      "~inc1.gif",
181      "~incInterlaced.gif",
182      "~inc0.jpg",
183      "~incGray.jpg",
184      "~inc0.wbmp",
185      "~inc1.wbmp",
186      "~inc0.webp",
187      "~inc1.webp",
188      "~inc0.ico",
189      "~inc1.ico",
190      "~inc0.png",
191      "~inc1.png",
192      "~inc2.png",
193      "~inc12.png",
194      "~inc13.png",
195      "~inc14.png",
196      "~inc0.webp",
197      "~inc1.webp",
198      "--outResultsFile",
199      "[START_DIR]/[SWARM_OUT_DIR]/nanobench_abc123_1337000001.json",
200      "--properties",
201      "gitHash",
202      "abc123",
203      "swarming_bot_id",
204      "skia-bot-123",
205      "swarming_task_id",
206      "123456",
207      "--key",
208      "arch",
209      "x86_64",
210      "compiler",
211      "Clang",
212      "cpu_or_gpu",
213      "GPU",
214      "cpu_or_gpu_value",
215      "IntelIris5100",
216      "extra_config",
217      "CommandBuffer",
218      "model",
219      "MacMini7.1",
220      "os",
221      "Mac10.13"
222    ],
223    "env": {
224      "CHROME_HEADLESS": "1",
225      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
226    },
227    "name": "nanobench"
228  },
229  {
230    "cmd": [
231      "python",
232      "-u",
233      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
234      "--json-output",
235      "/path/to/tmp/json",
236      "ensure-directory",
237      "--mode",
238      "0777",
239      "[START_DIR]/[SWARM_OUT_DIR]"
240    ],
241    "infra_step": true,
242    "name": "makedirs perf_dir"
243  },
244  {
245    "jsonResult": null,
246    "name": "$result"
247  }
248]