• 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      "~^desk_micrographygirlsvg.skp_1.1$",
180      "~inc0.gif",
181      "~inc1.gif",
182      "~incInterlaced.gif",
183      "~inc0.jpg",
184      "~incGray.jpg",
185      "~inc0.wbmp",
186      "~inc1.wbmp",
187      "~inc0.webp",
188      "~inc1.webp",
189      "~inc0.ico",
190      "~inc1.ico",
191      "~inc0.png",
192      "~inc1.png",
193      "~inc2.png",
194      "~inc12.png",
195      "~inc13.png",
196      "~inc14.png",
197      "~inc0.webp",
198      "~inc1.webp",
199      "--outResultsFile",
200      "[START_DIR]/[SWARM_OUT_DIR]/nanobench_abc123_1337000001.json",
201      "--properties",
202      "gitHash",
203      "abc123",
204      "swarming_bot_id",
205      "skia-bot-123",
206      "swarming_task_id",
207      "123456",
208      "--key",
209      "arch",
210      "x86_64",
211      "compiler",
212      "Clang",
213      "cpu_or_gpu",
214      "GPU",
215      "cpu_or_gpu_value",
216      "IntelHD615",
217      "extra_config",
218      "CommandBuffer",
219      "model",
220      "MacBook10.1",
221      "os",
222      "Mac"
223    ],
224    "env": {
225      "CHROME_HEADLESS": "1",
226      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
227    },
228    "name": "nanobench"
229  },
230  {
231    "cmd": [
232      "python",
233      "-u",
234      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
235      "--json-output",
236      "/path/to/tmp/json",
237      "ensure-directory",
238      "--mode",
239      "0777",
240      "[START_DIR]/[SWARM_OUT_DIR]"
241    ],
242    "infra_step": true,
243    "name": "makedirs perf_dir"
244  },
245  {
246    "jsonResult": null,
247    "name": "$result"
248  }
249]