xref: /aosp_15_r20/external/skia/infra/bots/recipes/perf_pathkit.expected/pathkit_trybot.json (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1[
2  {
3    "cmd": [
4      "vpython3",
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      "0o777",
12      "[START_DIR]/[SWARM_OUT_DIR]"
13    ],
14    "infra_step": true,
15    "name": "mkdirs out_dir"
16  },
17  {
18    "cmd": [
19      "python3",
20      "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
21      "SWARMING_BOT_ID"
22    ],
23    "name": "get swarming bot id"
24  },
25  {
26    "cmd": [
27      "python3",
28      "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
29      "SWARMING_TASK_ID"
30    ],
31    "name": "get swarming task id"
32  },
33  {
34    "cmd": [],
35    "name": "Docker setup"
36  },
37  {
38    "cmd": [
39      "python3",
40      "RECIPE_MODULE[skia::docker]/resources/get_uid_gid.py"
41    ],
42    "name": "Docker setup.Get uid and gid",
43    "~followup_annotations": [
44      "@@@STEP_NEST_LEVEL@1@@@"
45    ]
46  },
47  {
48    "cmd": [
49      "vpython3",
50      "-u",
51      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
52      "--json-output",
53      "/path/to/tmp/json",
54      "ensure-directory",
55      "--mode",
56      "0o777",
57      "[START_DIR]/[SWARM_OUT_DIR]"
58    ],
59    "infra_step": true,
60    "name": "Docker setup.mkdirs out_dir",
61    "~followup_annotations": [
62      "@@@STEP_NEST_LEVEL@1@@@"
63    ]
64  },
65  {
66    "cmd": [
67      "chmod",
68      "777",
69      "[START_DIR]/[SWARM_OUT_DIR]"
70    ],
71    "infra_step": true,
72    "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
73    "~followup_annotations": [
74      "@@@STEP_NEST_LEVEL@1@@@"
75    ]
76  },
77  {
78    "cmd": [
79      "chmod",
80      "755",
81      "[START_DIR]"
82    ],
83    "infra_step": true,
84    "name": "Docker setup.chmod 755 [START_DIR]",
85    "~followup_annotations": [
86      "@@@STEP_NEST_LEVEL@1@@@"
87    ]
88  },
89  {
90    "cmd": [
91      "chmod",
92      "0755",
93      "[START_DIR]/skia/infra/pathkit/perf_pathkit.sh"
94    ],
95    "infra_step": true,
96    "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/pathkit/perf_pathkit.sh",
97    "~followup_annotations": [
98      "@@@STEP_NEST_LEVEL@1@@@"
99    ]
100  },
101  {
102    "cmd": [
103      "vpython3",
104      "-u",
105      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
106      "--json-output",
107      "/path/to/tmp/json",
108      "ensure-directory",
109      "--mode",
110      "0o777",
111      "[START_DIR]/skia/modules/pathkit/npm-wasm/bin"
112    ],
113    "infra_step": true,
114    "name": "Docker setup.mkdirs [START_DIR]/skia/modules/pathkit/npm-wasm/bin",
115    "~followup_annotations": [
116      "@@@STEP_NEST_LEVEL@1@@@"
117    ]
118  },
119  {
120    "cmd": [
121      "vpython3",
122      "-u",
123      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
124      "--json-output",
125      "/path/to/tmp/json",
126      "copy",
127      "[START_DIR]/build/pathkit.js",
128      "[START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.js"
129    ],
130    "infra_step": true,
131    "name": "Docker setup.cp [START_DIR]/build/pathkit.js [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.js",
132    "~followup_annotations": [
133      "@@@STEP_NEST_LEVEL@1@@@"
134    ]
135  },
136  {
137    "cmd": [
138      "chmod",
139      "644",
140      "[START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.js"
141    ],
142    "infra_step": true,
143    "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.js",
144    "~followup_annotations": [
145      "@@@STEP_NEST_LEVEL@1@@@"
146    ]
147  },
148  {
149    "cmd": [
150      "vpython3",
151      "-u",
152      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
153      "--json-output",
154      "/path/to/tmp/json",
155      "ensure-directory",
156      "--mode",
157      "0o777",
158      "[START_DIR]/skia/modules/pathkit/npm-wasm/bin"
159    ],
160    "infra_step": true,
161    "name": "Docker setup.mkdirs [START_DIR]/skia/modules/pathkit/npm-wasm/bin (2)",
162    "~followup_annotations": [
163      "@@@STEP_NEST_LEVEL@1@@@"
164    ]
165  },
166  {
167    "cmd": [
168      "vpython3",
169      "-u",
170      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
171      "--json-output",
172      "/path/to/tmp/json",
173      "copy",
174      "[START_DIR]/build/pathkit.wasm",
175      "[START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.wasm"
176    ],
177    "infra_step": true,
178    "name": "Docker setup.cp [START_DIR]/build/pathkit.wasm [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.wasm",
179    "~followup_annotations": [
180      "@@@STEP_NEST_LEVEL@1@@@"
181    ]
182  },
183  {
184    "cmd": [
185      "chmod",
186      "644",
187      "[START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.wasm"
188    ],
189    "infra_step": true,
190    "name": "Docker setup.chmod 644 [START_DIR]/skia/modules/pathkit/npm-wasm/bin/pathkit.wasm",
191    "~followup_annotations": [
192      "@@@STEP_NEST_LEVEL@1@@@"
193    ]
194  },
195  {
196    "cmd": [
197      "chmod",
198      "-R",
199      "a+r",
200      "[START_DIR]/skia"
201    ],
202    "infra_step": true,
203    "name": "Docker setup.chmod -R a+r [START_DIR]/skia",
204    "~followup_annotations": [
205      "@@@STEP_NEST_LEVEL@1@@@"
206    ]
207  },
208  {
209    "cmd": [
210      "docker",
211      "run",
212      "--shm-size=2gb",
213      "--rm",
214      "--user",
215      "13:17",
216      "--mount",
217      "type=bind,source=[START_DIR],target=/SRC",
218      "--mount",
219      "type=bind,source=[START_DIR]/[SWARM_OUT_DIR],target=/OUT",
220      "gcr.io/skia-public/perf-karma-chrome-tests:87.0.4280.88_v1",
221      "/SRC/skia/infra/pathkit/perf_pathkit.sh",
222      "--builder",
223      "Perf-Debian10-EMCC-GCE-CPU-AVX2-wasm-Release-All-PathKit",
224      "--git_hash",
225      "abc123",
226      "--buildbucket_build_id",
227      "",
228      "--bot_id",
229      "",
230      "--task_id",
231      "",
232      "--browser",
233      "Chrome",
234      "--config",
235      "Release",
236      "--source_type",
237      "pathkit",
238      "--issue",
239      "1234",
240      "--patchset",
241      "7"
242    ],
243    "env": {
244      "CHROME_HEADLESS": "1",
245      "DOCKER_CONFIG": "/home/chrome-bot/.docker",
246      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
247    },
248    "name": "Performance tests of PathKit with Docker"
249  },
250  {
251    "name": "$result"
252  }
253]