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