OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
| 4 "python", |
| 5 "-u", |
| 6 "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = js
on.load(f)\n\nprint json.dumps(content, indent=2)\n", |
| 7 "{\"buildername\": \"Build-Win-MSVC-x86_64-Release-Vulkan\", \"buildnumber
\": 5, \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\"
: \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-sw
arm-000\"}" |
| 8 ], |
| 9 "name": "print properties", |
| 10 "~followup_annotations": [ |
| 11 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 12 "@@@STEP_LOG_LINE@python.inline@import json@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@print json.dumps(content, indent=2)@@@", |
| 19 "@@@STEP_LOG_END@python.inline@@@" |
| 20 ] |
| 21 }, |
| 22 { |
| 23 "cmd": [ |
4 "git", | 24 "git", |
5 "rev-parse", | 25 "rev-parse", |
6 "HEAD" | 26 "HEAD" |
7 ], | 27 ], |
8 "cwd": "[ROOT]/skia", | 28 "cwd": "[SLAVE_BUILD]/skia", |
9 "name": "git rev-parse", | 29 "name": "git rev-parse", |
10 "stdout": "/path/to/tmp/" | 30 "stdout": "/path/to/tmp/" |
11 }, | 31 }, |
12 { | 32 { |
13 "cmd": [ | 33 "cmd": [ |
14 "python", | 34 "python", |
15 "-c", | 35 "-c", |
16 "\"print 'abc123'\"" | 36 "\"print 'abc123'\"" |
17 ], | 37 ], |
18 "name": "got_revision", | 38 "name": "got_revision", |
19 "~followup_annotations": [ | 39 "~followup_annotations": [ |
20 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" | 40 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" |
21 ] | 41 ] |
22 }, | 42 }, |
23 { | 43 { |
24 "cmd": [ | 44 "cmd": [ |
25 "python", | 45 "python", |
26 "-u", | 46 "-u", |
| 47 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 48 "", |
| 49 "[SLAVE_BUILD]/.gclient" |
| 50 ], |
| 51 "name": "write .gclient" |
| 52 }, |
| 53 { |
| 54 "cmd": [ |
| 55 "python", |
| 56 "-u", |
27 "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files
:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access
(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)
\n" | 57 "import os\nfor r, _, files in os.walk(os.getcwd()):\n for fname in files
:\n f = os.path.join(r, fname)\n if os.path.isfile(f):\n if os.access
(f, os.X_OK):\n os.chmod(f, 0755)\n else:\n os.chmod(f, 0644)
\n" |
28 ], | 58 ], |
29 "cwd": "[ROOT]/skia", | 59 "cwd": "[SLAVE_BUILD]/skia", |
30 "name": "fix filemodes", | 60 "name": "fix filemodes", |
31 "~followup_annotations": [ | 61 "~followup_annotations": [ |
32 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 62 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
33 "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@
@", | 63 "@@@STEP_LOG_LINE@python.inline@for r, _, files in os.walk(os.getcwd()):@@
@", |
34 "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", | 64 "@@@STEP_LOG_LINE@python.inline@ for fname in files:@@@", |
35 "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", | 65 "@@@STEP_LOG_LINE@python.inline@ f = os.path.join(r, fname)@@@", |
36 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", | 66 "@@@STEP_LOG_LINE@python.inline@ if os.path.isfile(f):@@@", |
37 "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", | 67 "@@@STEP_LOG_LINE@python.inline@ if os.access(f, os.X_OK):@@@", |
38 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", | 68 "@@@STEP_LOG_LINE@python.inline@ os.chmod(f, 0755)@@@", |
39 "@@@STEP_LOG_LINE@python.inline@ else:@@@", | 69 "@@@STEP_LOG_LINE@python.inline@ else:@@@", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 }, | 163 }, |
134 { | 164 { |
135 "cmd": [ | 165 "cmd": [ |
136 "download_from_google_storage", | 166 "download_from_google_storage", |
137 "--no_resume", | 167 "--no_resume", |
138 "--platform=linux*", | 168 "--platform=linux*", |
139 "--no_auth", | 169 "--no_auth", |
140 "--bucket", | 170 "--bucket", |
141 "chromium-luci", | 171 "chromium-luci", |
142 "-d", | 172 "-d", |
143 "[ROOT]/skia/infra/bots/tools/luci-go/linux64" | 173 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/linux64" |
144 ], | 174 ], |
145 "name": "download luci-go linux" | 175 "name": "download luci-go linux" |
146 }, | 176 }, |
147 { | 177 { |
148 "cmd": [ | 178 "cmd": [ |
149 "download_from_google_storage", | 179 "download_from_google_storage", |
150 "--no_resume", | 180 "--no_resume", |
151 "--platform=darwin", | 181 "--platform=darwin", |
152 "--no_auth", | 182 "--no_auth", |
153 "--bucket", | 183 "--bucket", |
154 "chromium-luci", | 184 "chromium-luci", |
155 "-d", | 185 "-d", |
156 "[ROOT]/skia/infra/bots/tools/luci-go/mac64" | 186 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/mac64" |
157 ], | 187 ], |
158 "name": "download luci-go mac" | 188 "name": "download luci-go mac" |
159 }, | 189 }, |
160 { | 190 { |
161 "cmd": [ | 191 "cmd": [ |
162 "download_from_google_storage", | 192 "download_from_google_storage", |
163 "--no_resume", | 193 "--no_resume", |
164 "--platform=win32", | 194 "--platform=win32", |
165 "--no_auth", | 195 "--no_auth", |
166 "--bucket", | 196 "--bucket", |
167 "chromium-luci", | 197 "chromium-luci", |
168 "-d", | 198 "-d", |
169 "[ROOT]/skia/infra/bots/tools/luci-go/win64" | 199 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/win64" |
170 ], | 200 ], |
171 "name": "download luci-go win" | 201 "name": "download luci-go win" |
172 }, | 202 }, |
173 { | 203 { |
174 "cmd": [ | 204 "cmd": [ |
175 "python", | 205 "python", |
176 "-u", | 206 "-u", |
177 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 207 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
178 "[SLAVE_BUILD]/luci-go" | 208 "[SLAVE_BUILD]/luci-go" |
179 ], | 209 ], |
180 "env": { | 210 "env": { |
181 "PYTHONPATH": "[ROOT]/skia/infra/bots/.recipe_deps/build/scripts" | 211 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" |
182 }, | 212 }, |
183 "name": "rmtree luci-go", | 213 "name": "rmtree luci-go", |
184 "~followup_annotations": [ | 214 "~followup_annotations": [ |
185 "@@@STEP_LOG_LINE@python.inline@@@@", | 215 "@@@STEP_LOG_LINE@python.inline@@@@", |
186 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 216 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
187 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 217 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
188 "@@@STEP_LOG_LINE@python.inline@@@@", | 218 "@@@STEP_LOG_LINE@python.inline@@@@", |
189 "@@@STEP_LOG_LINE@python.inline@@@@", | 219 "@@@STEP_LOG_LINE@python.inline@@@@", |
190 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 220 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
191 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 221 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
192 "@@@STEP_LOG_END@python.inline@@@" | 222 "@@@STEP_LOG_END@python.inline@@@" |
193 ] | 223 ] |
194 }, | 224 }, |
195 { | 225 { |
196 "cmd": [ | 226 "cmd": [ |
197 "python", | 227 "python", |
198 "-u", | 228 "-u", |
199 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | 229 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
200 "[ROOT]/skia/infra/bots/tools/luci-go", | 230 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go", |
201 "[SLAVE_BUILD]/luci-go", | 231 "[SLAVE_BUILD]/luci-go", |
202 "0" | 232 "0" |
203 ], | 233 ], |
204 "name": "Copy Go binary" | 234 "name": "Copy Go binary" |
205 }, | 235 }, |
206 { | 236 { |
207 "cmd": [ | 237 "cmd": [ |
208 "python", | 238 "python", |
209 "-u", | 239 "-u", |
210 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 240 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
211 "--", | 241 "--", |
212 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 242 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
213 "----", | 243 "----", |
214 "help" | 244 "help" |
215 ], | 245 ], |
216 "name": "gsutil help" | 246 "name": "gsutil help" |
217 }, | 247 }, |
218 { | 248 { |
219 "cmd": [ | 249 "cmd": [ |
220 "python", | 250 "python", |
221 "-u", | 251 "-u", |
222 "[ROOT]/skia/tools/buildbot_spec.py", | 252 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
223 "/path/to/tmp/json", | 253 "/path/to/tmp/json", |
224 "Build-Win-MSVC-x86_64-Release-Vulkan" | 254 "Build-Win-MSVC-x86_64-Release-Vulkan" |
225 ], | 255 ], |
226 "cwd": "[ROOT]/skia", | 256 "cwd": "[SLAVE_BUILD]/skia", |
227 "name": "exec buildbot_spec.py", | 257 "name": "exec buildbot_spec.py", |
228 "~followup_annotations": [ | 258 "~followup_annotations": [ |
229 "@@@STEP_LOG_LINE@json.output@{@@@", | 259 "@@@STEP_LOG_LINE@json.output@{@@@", |
230 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 260 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
231 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", | 261 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", |
232 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 262 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
233 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 263 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
234 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@", | 264 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@", |
235 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", | 265 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@", |
236 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Vulkan\", @@@", | 266 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"Vulkan\", @@@", |
(...skipping 18 matching lines...) Expand all Loading... |
255 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", | 285 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@", |
256 "@@@STEP_LOG_LINE@json.output@}@@@", | 286 "@@@STEP_LOG_LINE@json.output@}@@@", |
257 "@@@STEP_LOG_END@json.output@@@" | 287 "@@@STEP_LOG_END@json.output@@@" |
258 ] | 288 ] |
259 }, | 289 }, |
260 { | 290 { |
261 "cmd": [ | 291 "cmd": [ |
262 "python", | 292 "python", |
263 "-u", | 293 "-u", |
264 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 294 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
265 "[ROOT]/skia/infra/bots/assets/win_toolchain/VERSION", | 295 "[SLAVE_BUILD]/skia/infra/bots/assets/win_toolchain/VERSION", |
266 "/path/to/tmp/" | 296 "/path/to/tmp/" |
267 ], | 297 ], |
268 "name": "read win_toolchain VERSION" | 298 "name": "read win_toolchain VERSION" |
269 }, | 299 }, |
270 { | 300 { |
271 "cmd": [ | 301 "cmd": [ |
272 "python", | 302 "python", |
273 "-u", | 303 "-u", |
274 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 304 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
275 "[ROOT]/skia/infra/bots/assets/win_vulkan_sdk/VERSION", | 305 "[SLAVE_BUILD]/skia/infra/bots/assets/win_vulkan_sdk/VERSION", |
276 "/path/to/tmp/" | 306 "/path/to/tmp/" |
277 ], | 307 ], |
278 "name": "read win_vulkan_sdk VERSION" | 308 "name": "read win_vulkan_sdk VERSION" |
279 }, | 309 }, |
280 { | 310 { |
281 "cmd": [ | 311 "cmd": [ |
282 "python", | 312 "python", |
283 "-u", | 313 "-u", |
284 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 314 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
285 "[SLAVE_BUILD]/swarming_temp_dir", | 315 "[SLAVE_BUILD]/swarming_temp_dir", |
(...skipping 11 matching lines...) Expand all Loading... |
297 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 327 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
298 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 328 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
299 "@@@STEP_LOG_END@python.inline@@@" | 329 "@@@STEP_LOG_END@python.inline@@@" |
300 ] | 330 ] |
301 }, | 331 }, |
302 { | 332 { |
303 "cmd": [ | 333 "cmd": [ |
304 "python", | 334 "python", |
305 "-u", | 335 "-u", |
306 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 336 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
307 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/skia/infra/
bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_BUILD]
/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--config-varia
ble\", \n \"OS\", \n \"Windows\", \n \"--blacklist\", \n
\".git\", \n \"--blacklist\", \n \"out\", \n \"--black
list\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_deps
\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_BU
ILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}", | 337 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia
/infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE
_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi
g-variable\", \n \"OS\", \n \"Windows\", \n \"--blacklist\"
, \n \".git\", \n \"--blacklist\", \n \"out\", \n \"
--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".reci
pe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[S
LAVE_BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}"
, |
308 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" | 338 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" |
309 ], | 339 ], |
310 "name": "Write compile_skia.isolated.gen.json" | 340 "name": "Write compile_skia.isolated.gen.json" |
311 }, | 341 }, |
312 { | 342 { |
313 "cmd": [ | 343 "cmd": [ |
314 "python", | 344 "python", |
315 "-u", | 345 "-u", |
316 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 346 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
317 "[SLAVE_BUILD]/swarming.client", | 347 "[SLAVE_BUILD]/swarming.client", |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 "@@@STEP_LINK@shard #0 isolated out@blah@@@", | 509 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
480 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" | 510 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" |
481 ] | 511 ] |
482 }, | 512 }, |
483 { | 513 { |
484 "name": "$result", | 514 "name": "$result", |
485 "recipe_result": null, | 515 "recipe_result": null, |
486 "status_code": 0 | 516 "status_code": 0 |
487 } | 517 } |
488 ] | 518 ] |
OLD | NEW |