OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "git", | 4 "git", |
5 "remote", | 5 "remote", |
6 "set-url", | 6 "set-url", |
7 "origin", | 7 "origin", |
8 "https://skia.googlesource.com/skia.git" | 8 "https://skia.googlesource.com/skia.git" |
9 ], | 9 ], |
10 "cwd": "[CWD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
11 "name": "git remote set-url" | 11 "name": "git remote set-url" |
12 }, | 12 }, |
13 { | 13 { |
14 "cmd": [ | 14 "cmd": [ |
15 "git", | 15 "git", |
16 "fetch" | 16 "fetch" |
17 ], | 17 ], |
18 "cwd": "[CWD]/skia", | 18 "cwd": "[SLAVE_BUILD]/skia", |
19 "name": "git fetch" | 19 "name": "git fetch" |
20 }, | 20 }, |
21 { | 21 { |
22 "cmd": [ | 22 "cmd": [ |
23 "git", | 23 "git", |
24 "reset", | 24 "reset", |
25 "--hard", | 25 "--hard", |
26 "abc123" | 26 "abc123" |
27 ], | 27 ], |
28 "cwd": "[CWD]/skia", | 28 "cwd": "[SLAVE_BUILD]/skia", |
29 "name": "git reset" | 29 "name": "git reset" |
30 }, | 30 }, |
31 { | 31 { |
32 "cmd": [ | 32 "cmd": [ |
33 "git", | 33 "git", |
34 "clean", | 34 "clean", |
35 "-d", | 35 "-d", |
36 "-f" | 36 "-f" |
37 ], | 37 ], |
38 "cwd": "[CWD]/skia", | 38 "cwd": "[SLAVE_BUILD]/skia", |
39 "name": "git clean" | 39 "name": "git clean" |
40 }, | 40 }, |
41 { | 41 { |
42 "cmd": [ | 42 "cmd": [ |
43 "python", | 43 "python", |
44 "-u", | 44 "-u", |
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
46 "config", | 46 "config", |
47 "--spec", | 47 "--spec", |
48 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n
ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l
lvm']" | 48 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'n
ame': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['l
lvm']" |
49 ], | 49 ], |
| 50 "cwd": "[SLAVE_BUILD]", |
50 "env": { | 51 "env": { |
51 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 52 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
52 }, | 53 }, |
53 "name": "gclient setup" | 54 "name": "gclient setup" |
54 }, | 55 }, |
55 { | 56 { |
56 "cmd": [ | 57 "cmd": [ |
57 "python", | 58 "python", |
58 "-u", | 59 "-u", |
59 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", | 60 "[BUILD]/scripts/slave/gclient_safe_revert.py", |
60 ".", | 61 ".", |
61 "[ROOT]/b/depot_tools/gclient" | 62 "[DEPOT_TOOLS]/gclient" |
62 ], | 63 ], |
| 64 "cwd": "[SLAVE_BUILD]", |
63 "name": "gclient revert" | 65 "name": "gclient revert" |
64 }, | 66 }, |
65 { | 67 { |
66 "cmd": [ | 68 "cmd": [ |
67 "python", | 69 "python", |
68 "-u", | 70 "-u", |
69 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 71 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
70 "sync", | 72 "sync", |
71 "--nohooks", | 73 "--nohooks", |
72 "--force", | 74 "--force", |
73 "--verbose", | 75 "--verbose", |
74 "--delete_unversioned_trees", | 76 "--delete_unversioned_trees", |
75 "--revision", | 77 "--revision", |
76 "skia@abc123", | 78 "skia@abc123", |
77 "--output-json", | 79 "--output-json", |
78 "/path/to/tmp/json" | 80 "/path/to/tmp/json" |
79 ], | 81 ], |
| 82 "cwd": "[SLAVE_BUILD]", |
80 "env": { | 83 "env": { |
81 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 84 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
82 }, | 85 }, |
83 "name": "gclient sync", | 86 "name": "gclient sync", |
84 "~followup_annotations": [ | 87 "~followup_annotations": [ |
85 "@@@STEP_LOG_LINE@json.output@{@@@", | 88 "@@@STEP_LOG_LINE@json.output@{@@@", |
86 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 89 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
87 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 90 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
88 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 91 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
89 "@@@STEP_LOG_LINE@json.output@ }@@@", | 92 "@@@STEP_LOG_LINE@json.output@ }@@@", |
90 "@@@STEP_LOG_LINE@json.output@ }@@@", | 93 "@@@STEP_LOG_LINE@json.output@ }@@@", |
91 "@@@STEP_LOG_LINE@json.output@}@@@", | 94 "@@@STEP_LOG_LINE@json.output@}@@@", |
92 "@@@STEP_LOG_END@json.output@@@", | 95 "@@@STEP_LOG_END@json.output@@@", |
93 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 96 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
94 ] | 97 ] |
95 }, | 98 }, |
96 { | 99 { |
97 "cmd": [ | 100 "cmd": [ |
98 "python", | 101 "python", |
99 "-u", | 102 "-u", |
100 "[ROOT]/b/depot_tools/apply_issue.py", | 103 "[DEPOT_TOOLS]/apply_issue.py", |
101 "-r", | 104 "-r", |
102 "[CWD]/skia", | 105 "[SLAVE_BUILD]/skia", |
103 "-i", | 106 "-i", |
104 "500", | 107 "500", |
105 "-p", | 108 "-p", |
106 "1", | 109 "1", |
107 "-s", | 110 "-s", |
108 "https://codereview.chromium.org", | 111 "https://codereview.chromium.org", |
109 "--no-auth" | 112 "--no-auth" |
110 ], | 113 ], |
| 114 "cwd": "[SLAVE_BUILD]", |
111 "name": "apply_issue", | 115 "name": "apply_issue", |
112 "~followup_annotations": [ | 116 "~followup_annotations": [ |
113 "@@@STEP_LINK@Applied issue 500@https://codereview.chromium.org/500@@@" | 117 "@@@STEP_LINK@Applied issue 500@https://codereview.chromium.org/500@@@" |
114 ] | 118 ] |
115 }, | 119 }, |
116 { | 120 { |
117 "cmd": [ | 121 "cmd": [ |
118 "python", | 122 "python", |
119 "-u", | 123 "-u", |
120 "[CWD]/skia/tools/buildbot_spec.py", | 124 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
121 "/path/to/tmp/json", | 125 "/path/to/tmp/json", |
122 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot" | 126 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot" |
123 ], | 127 ], |
124 "cwd": "[CWD]/skia", | 128 "cwd": "[SLAVE_BUILD]/skia", |
125 "name": "exec buildbot_spec.py", | 129 "name": "exec buildbot_spec.py", |
126 "~followup_annotations": [ | 130 "~followup_annotations": [ |
127 "@@@STEP_LOG_LINE@json.output@{@@@", | 131 "@@@STEP_LOG_LINE@json.output@{@@@", |
128 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", | 132 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", |
129 "@@@STEP_LOG_LINE@json.output@ \"dm\"@@@", | 133 "@@@STEP_LOG_LINE@json.output@ \"dm\"@@@", |
130 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 134 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
131 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", | 135 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@", |
132 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", | 136 "@@@STEP_LOG_LINE@json.output@ \"arch\": \"x86_64\", @@@", |
133 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@", | 137 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@", |
134 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Coverage\", @@@", | 138 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Coverage\", @@@", |
(...skipping 24 matching lines...) Expand all Loading... |
159 "@@@STEP_LOG_LINE@json.output@}@@@", | 163 "@@@STEP_LOG_LINE@json.output@}@@@", |
160 "@@@STEP_LOG_END@json.output@@@" | 164 "@@@STEP_LOG_END@json.output@@@" |
161 ] | 165 ] |
162 }, | 166 }, |
163 { | 167 { |
164 "cmd": [ | 168 "cmd": [ |
165 "python", | 169 "python", |
166 "-u", | 170 "-u", |
167 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 171 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
168 "--path", | 172 "--path", |
169 "[CWD]/swarming.client", | 173 "[SLAVE_BUILD]/swarming.client", |
170 "--url", | 174 "--url", |
171 "https://chromium.googlesource.com/external/swarming.client.git" | 175 "https://chromium.googlesource.com/external/swarming.client.git" |
172 ], | 176 ], |
| 177 "cwd": "[SLAVE_BUILD]", |
173 "name": "git setup (swarming_client)" | 178 "name": "git setup (swarming_client)" |
174 }, | 179 }, |
175 { | 180 { |
176 "cmd": [ | 181 "cmd": [ |
177 "git", | 182 "git", |
178 "retry", | 183 "retry", |
179 "fetch", | 184 "fetch", |
180 "origin", | 185 "origin", |
181 "master" | 186 "master" |
182 ], | 187 ], |
183 "cwd": "[CWD]/swarming.client", | 188 "cwd": "[SLAVE_BUILD]/swarming.client", |
184 "name": "git fetch (swarming_client)" | 189 "name": "git fetch (swarming_client)" |
185 }, | 190 }, |
186 { | 191 { |
187 "cmd": [ | 192 "cmd": [ |
188 "git", | 193 "git", |
189 "checkout", | 194 "checkout", |
190 "-f", | 195 "-f", |
191 "FETCH_HEAD" | 196 "FETCH_HEAD" |
192 ], | 197 ], |
193 "cwd": "[CWD]/swarming.client", | 198 "cwd": "[SLAVE_BUILD]/swarming.client", |
194 "name": "git checkout (swarming_client)" | 199 "name": "git checkout (swarming_client)" |
195 }, | 200 }, |
196 { | 201 { |
197 "cmd": [ | 202 "cmd": [ |
198 "git", | 203 "git", |
199 "rev-parse", | 204 "rev-parse", |
200 "HEAD" | 205 "HEAD" |
201 ], | 206 ], |
202 "cwd": "[CWD]/swarming.client", | 207 "cwd": "[SLAVE_BUILD]/swarming.client", |
203 "name": "read revision", | 208 "name": "read revision", |
204 "stdout": "/path/to/tmp/", | 209 "stdout": "/path/to/tmp/", |
205 "~followup_annotations": [ | 210 "~followup_annotations": [ |
206 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 211 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
207 ] | 212 ] |
208 }, | 213 }, |
209 { | 214 { |
210 "cmd": [ | 215 "cmd": [ |
211 "git", | 216 "git", |
212 "clean", | 217 "clean", |
213 "-f", | 218 "-f", |
214 "-d", | 219 "-d", |
215 "-x" | 220 "-x" |
216 ], | 221 ], |
217 "cwd": "[CWD]/swarming.client", | 222 "cwd": "[SLAVE_BUILD]/swarming.client", |
218 "name": "git clean (swarming_client)" | 223 "name": "git clean (swarming_client)" |
219 }, | 224 }, |
220 { | 225 { |
221 "cmd": [ | 226 "cmd": [ |
222 "git", | 227 "git", |
223 "submodule", | 228 "submodule", |
224 "sync" | 229 "sync" |
225 ], | 230 ], |
226 "cwd": "[CWD]/swarming.client", | 231 "cwd": "[SLAVE_BUILD]/swarming.client", |
227 "name": "submodule sync (swarming_client)" | 232 "name": "submodule sync (swarming_client)" |
228 }, | 233 }, |
229 { | 234 { |
230 "cmd": [ | 235 "cmd": [ |
231 "git", | 236 "git", |
232 "submodule", | 237 "submodule", |
233 "update", | 238 "update", |
234 "--init", | 239 "--init", |
235 "--recursive" | 240 "--recursive" |
236 ], | 241 ], |
237 "cwd": "[CWD]/swarming.client", | 242 "cwd": "[SLAVE_BUILD]/swarming.client", |
238 "name": "submodule update (swarming_client)" | 243 "name": "submodule update (swarming_client)" |
239 }, | 244 }, |
240 { | 245 { |
241 "cmd": [ | 246 "cmd": [ |
242 "python", | 247 "python", |
243 "-u", | 248 "-u", |
244 "[CWD]/swarming.client/swarming.py", | 249 "[SLAVE_BUILD]/swarming.client/swarming.py", |
245 "--version" | 250 "--version" |
246 ], | 251 ], |
| 252 "cwd": "[SLAVE_BUILD]", |
247 "name": "swarming.py --version", | 253 "name": "swarming.py --version", |
248 "stdout": "/path/to/tmp/", | 254 "stdout": "/path/to/tmp/", |
249 "~followup_annotations": [ | 255 "~followup_annotations": [ |
250 "@@@STEP_TEXT@0.4.10@@@" | 256 "@@@STEP_TEXT@0.4.10@@@" |
251 ] | 257 ] |
252 }, | 258 }, |
253 { | 259 { |
254 "cmd": [ | 260 "cmd": [ |
255 "download_from_google_storage", | 261 "download_from_google_storage", |
256 "--no_resume", | 262 "--no_resume", |
257 "--platform=linux*", | 263 "--platform=linux*", |
258 "--no_auth", | 264 "--no_auth", |
259 "--bucket", | 265 "--bucket", |
260 "chromium-luci", | 266 "chromium-luci", |
261 "-d", | 267 "-d", |
262 "[CWD]/skia/infra/bots/tools/luci-go/linux64" | 268 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/linux64" |
263 ], | 269 ], |
| 270 "cwd": "[SLAVE_BUILD]", |
264 "name": "download luci-go linux" | 271 "name": "download luci-go linux" |
265 }, | 272 }, |
266 { | 273 { |
267 "cmd": [ | 274 "cmd": [ |
268 "download_from_google_storage", | 275 "download_from_google_storage", |
269 "--no_resume", | 276 "--no_resume", |
270 "--platform=darwin", | 277 "--platform=darwin", |
271 "--no_auth", | 278 "--no_auth", |
272 "--bucket", | 279 "--bucket", |
273 "chromium-luci", | 280 "chromium-luci", |
274 "-d", | 281 "-d", |
275 "[CWD]/skia/infra/bots/tools/luci-go/mac64" | 282 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/mac64" |
276 ], | 283 ], |
| 284 "cwd": "[SLAVE_BUILD]", |
277 "name": "download luci-go mac" | 285 "name": "download luci-go mac" |
278 }, | 286 }, |
279 { | 287 { |
280 "cmd": [ | 288 "cmd": [ |
281 "download_from_google_storage", | 289 "download_from_google_storage", |
282 "--no_resume", | 290 "--no_resume", |
283 "--platform=win32", | 291 "--platform=win32", |
284 "--no_auth", | 292 "--no_auth", |
285 "--bucket", | 293 "--bucket", |
286 "chromium-luci", | 294 "chromium-luci", |
287 "-d", | 295 "-d", |
288 "[CWD]/skia/infra/bots/tools/luci-go/win64" | 296 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go/win64" |
289 ], | 297 ], |
| 298 "cwd": "[SLAVE_BUILD]", |
290 "name": "download luci-go win" | 299 "name": "download luci-go win" |
291 }, | 300 }, |
292 { | 301 { |
293 "cmd": [ | 302 "cmd": [ |
294 "python", | 303 "python", |
295 "-u", | 304 "-u", |
296 "\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", | 305 "\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", |
297 "[CWD]/luci-go" | 306 "[SLAVE_BUILD]/luci-go" |
298 ], | 307 ], |
| 308 "cwd": "[SLAVE_BUILD]", |
299 "name": "rmtree Go binary dir", | 309 "name": "rmtree Go binary dir", |
300 "~followup_annotations": [ | 310 "~followup_annotations": [ |
301 "@@@STEP_LOG_LINE@python.inline@@@@", | 311 "@@@STEP_LOG_LINE@python.inline@@@@", |
302 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 312 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
303 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 313 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
304 "@@@STEP_LOG_LINE@python.inline@@@@", | 314 "@@@STEP_LOG_LINE@python.inline@@@@", |
305 "@@@STEP_LOG_LINE@python.inline@@@@", | 315 "@@@STEP_LOG_LINE@python.inline@@@@", |
306 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 316 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
307 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 317 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
308 "@@@STEP_LOG_END@python.inline@@@" | 318 "@@@STEP_LOG_END@python.inline@@@" |
309 ] | 319 ] |
310 }, | 320 }, |
311 { | 321 { |
312 "cmd": [ | 322 "cmd": [ |
313 "python", | 323 "python", |
314 "-u", | 324 "-u", |
315 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", | 325 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], sy
mlinks=bool(sys.argv[3]))\n", |
316 "[CWD]/skia/infra/bots/tools/luci-go", | 326 "[SLAVE_BUILD]/skia/infra/bots/tools/luci-go", |
317 "[CWD]/luci-go", | 327 "[SLAVE_BUILD]/luci-go", |
318 "0" | 328 "0" |
319 ], | 329 ], |
| 330 "cwd": "[SLAVE_BUILD]", |
320 "name": "Copy Go binary" | 331 "name": "Copy Go binary" |
321 }, | 332 }, |
322 { | 333 { |
323 "cmd": [ | 334 "cmd": [ |
324 "python", | 335 "python", |
325 "-u", | 336 "-u", |
326 "\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", | 337 "\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", |
327 "[ROOT]/b/build/third_party/infra", | 338 "[BUILD]/third_party/infra", |
328 "511" | 339 "511" |
329 ], | 340 ], |
| 341 "cwd": "[SLAVE_BUILD]", |
330 "name": "makedirs third_party_infra", | 342 "name": "makedirs third_party_infra", |
331 "~followup_annotations": [ | 343 "~followup_annotations": [ |
332 "@@@STEP_LOG_LINE@python.inline@@@@", | 344 "@@@STEP_LOG_LINE@python.inline@@@@", |
333 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 345 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
334 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 346 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
335 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 347 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
336 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 348 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
337 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 349 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
338 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 350 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
339 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 351 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
340 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 352 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
341 "@@@STEP_LOG_END@python.inline@@@" | 353 "@@@STEP_LOG_END@python.inline@@@" |
342 ] | 354 ] |
343 }, | 355 }, |
344 { | 356 { |
345 "cmd": [ | 357 "cmd": [ |
346 "python", | 358 "python", |
347 "-u", | 359 "-u", |
348 "\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", | 360 "\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", |
349 "[CWD]/swarming_temp_dir", | 361 "[SLAVE_BUILD]/swarming_temp_dir", |
350 "511" | 362 "511" |
351 ], | 363 ], |
| 364 "cwd": "[SLAVE_BUILD]", |
352 "name": "makedirs swarming tmp dir", | 365 "name": "makedirs swarming tmp dir", |
353 "~followup_annotations": [ | 366 "~followup_annotations": [ |
354 "@@@STEP_LOG_LINE@python.inline@@@@", | 367 "@@@STEP_LOG_LINE@python.inline@@@@", |
355 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 368 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
356 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 369 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
357 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 370 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
358 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 371 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
359 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 372 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
360 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 373 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
361 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 374 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
362 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 375 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
363 "@@@STEP_LOG_END@python.inline@@@" | 376 "@@@STEP_LOG_END@python.inline@@@" |
364 ] | 377 ] |
365 }, | 378 }, |
366 { | 379 { |
367 "cmd": [ | 380 "cmd": [ |
368 "python", | 381 "python", |
369 "-u", | 382 "-u", |
370 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 383 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
371 "{\n \"args\": [\n \"--isolate\", \n \"[ROOT]/b/build/scr
ipts/slave/recipes/skia/swarm_recipe.isolate\", \n \"--isolated\", \n
\"[CWD]/swarming_temp_dir/skia-task-isolate_recipes.isolated\", \n \"
--config-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\"
: \"[ROOT]/b/build/scripts/slave/recipes/skia\", \n \"version\": 1\n}", | 384 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl
ave/recipes/skia/swarm_recipe.isolate\", \n \"--isolated\", \n \"[
SLAVE_BUILD]/swarming_temp_dir/skia-task-isolate_recipes.isolated\", \n \
"--config-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\
": \"[BUILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}", |
372 "[CWD]/swarming_temp_dir/isolate_recipes.isolated.gen.json" | 385 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json" |
373 ], | 386 ], |
| 387 "cwd": "[SLAVE_BUILD]", |
374 "name": "Write isolate_recipes.isolated.gen.json" | 388 "name": "Write isolate_recipes.isolated.gen.json" |
375 }, | 389 }, |
376 { | 390 { |
377 "cmd": [ | 391 "cmd": [ |
378 "python", | 392 "python", |
379 "-u", | 393 "-u", |
380 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 394 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
381 "[CWD]/swarming.client", | 395 "[SLAVE_BUILD]/swarming.client", |
382 "batcharchive", | 396 "batcharchive", |
383 "--dump-json", | 397 "--dump-json", |
384 "/path/to/tmp/json", | 398 "/path/to/tmp/json", |
385 "--isolate-server", | 399 "--isolate-server", |
386 "https://isolateserver.appspot.com", | 400 "https://isolateserver.appspot.com", |
387 "--verbose", | 401 "--verbose", |
388 "[CWD]/swarming_temp_dir/isolate_recipes.isolated.gen.json" | 402 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json" |
389 ], | 403 ], |
| 404 "cwd": "[SLAVE_BUILD]", |
390 "name": "isolate tests", | 405 "name": "isolate tests", |
391 "~followup_annotations": [ | 406 "~followup_annotations": [ |
392 "@@@STEP_LOG_LINE@json.output@{@@@", | 407 "@@@STEP_LOG_LINE@json.output@{@@@", |
393 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso
late_recipes]\"@@@", | 408 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso
late_recipes]\"@@@", |
394 "@@@STEP_LOG_LINE@json.output@}@@@", | 409 "@@@STEP_LOG_LINE@json.output@}@@@", |
395 "@@@STEP_LOG_END@json.output@@@", | 410 "@@@STEP_LOG_END@json.output@@@", |
396 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo
r isolate_recipes]\"}@@@" | 411 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo
r isolate_recipes]\"}@@@" |
397 ] | 412 ] |
398 }, | 413 }, |
399 { | 414 { |
400 "cmd": [ | 415 "cmd": [ |
401 "python", | 416 "python", |
402 "-u", | 417 "-u", |
403 "\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", | 418 "\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", |
404 "[CWD]/tmp", | 419 "[SLAVE_BUILD]/tmp", |
405 "511" | 420 "511" |
406 ], | 421 ], |
| 422 "cwd": "[SLAVE_BUILD]", |
407 "name": "makedirs tmp_dir", | 423 "name": "makedirs tmp_dir", |
408 "~followup_annotations": [ | 424 "~followup_annotations": [ |
409 "@@@STEP_LOG_LINE@python.inline@@@@", | 425 "@@@STEP_LOG_LINE@python.inline@@@@", |
410 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 426 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
411 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 427 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
412 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 428 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
413 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 429 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
414 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 430 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
415 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 431 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
416 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 432 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
417 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 433 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
418 "@@@STEP_LOG_END@python.inline@@@" | 434 "@@@STEP_LOG_END@python.inline@@@" |
419 ] | 435 ] |
420 }, | 436 }, |
421 { | 437 { |
422 "cmd": [ | 438 "cmd": [ |
423 "python", | 439 "python", |
424 "-u", | 440 "-u", |
425 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 441 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
426 "[CWD]/tmp/SKP_VERSION", | 442 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
427 "/path/to/tmp/" | 443 "/path/to/tmp/" |
428 ], | 444 ], |
| 445 "cwd": "[SLAVE_BUILD]", |
429 "name": "Get downloaded SKP_VERSION" | 446 "name": "Get downloaded SKP_VERSION" |
430 }, | 447 }, |
431 { | 448 { |
432 "cmd": [ | 449 "cmd": [ |
433 "python", | 450 "python", |
434 "-u", | 451 "-u", |
435 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 452 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
436 "[CWD]/skia/SKP_VERSION", | 453 "[SLAVE_BUILD]/skia/SKP_VERSION", |
437 "/path/to/tmp/" | 454 "/path/to/tmp/" |
438 ], | 455 ], |
| 456 "cwd": "[SLAVE_BUILD]", |
439 "name": "Get expected SKP_VERSION" | 457 "name": "Get expected SKP_VERSION" |
440 }, | 458 }, |
441 { | 459 { |
442 "cmd": [ | 460 "cmd": [ |
443 "python", | 461 "python", |
444 "-u", | 462 "-u", |
445 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 463 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
446 "[CWD]/tmp/SK_IMAGE_VERSION", | 464 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
447 "/path/to/tmp/" | 465 "/path/to/tmp/" |
448 ], | 466 ], |
| 467 "cwd": "[SLAVE_BUILD]", |
449 "name": "Get downloaded SK_IMAGE_VERSION" | 468 "name": "Get downloaded SK_IMAGE_VERSION" |
450 }, | 469 }, |
451 { | 470 { |
452 "cmd": [ | 471 "cmd": [ |
453 "python", | 472 "python", |
454 "-u", | 473 "-u", |
455 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 474 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
456 "[CWD]/skia/SK_IMAGE_VERSION", | 475 "[SLAVE_BUILD]/skia/SK_IMAGE_VERSION", |
457 "/path/to/tmp/" | 476 "/path/to/tmp/" |
458 ], | 477 ], |
| 478 "cwd": "[SLAVE_BUILD]", |
459 "name": "Get expected SK_IMAGE_VERSION" | 479 "name": "Get expected SK_IMAGE_VERSION" |
460 }, | 480 }, |
461 { | 481 { |
462 "cmd": [ | 482 "cmd": [ |
463 "python", | 483 "python", |
464 "-u", | 484 "-u", |
465 "\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", | 485 "\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", |
466 "[CWD]/swarming_temp_dir", | 486 "[SLAVE_BUILD]/swarming_temp_dir", |
467 "511" | 487 "511" |
468 ], | 488 ], |
| 489 "cwd": "[SLAVE_BUILD]", |
469 "name": "makedirs swarming tmp dir (2)", | 490 "name": "makedirs swarming tmp dir (2)", |
470 "~followup_annotations": [ | 491 "~followup_annotations": [ |
471 "@@@STEP_LOG_LINE@python.inline@@@@", | 492 "@@@STEP_LOG_LINE@python.inline@@@@", |
472 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 493 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
473 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 494 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
474 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 495 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
475 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 496 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
476 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 497 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
477 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 498 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
478 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 499 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
479 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 500 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
480 "@@@STEP_LOG_END@python.inline@@@" | 501 "@@@STEP_LOG_END@python.inline@@@" |
481 ] | 502 ] |
482 }, | 503 }, |
483 { | 504 { |
484 "cmd": [ | 505 "cmd": [ |
485 "python", | 506 "python", |
486 "-u", | 507 "-u", |
487 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 508 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
488 "{\n \"args\": [\n \"--isolate\", \n \"[CWD]/skia/infra/b
ots/coverage_skia.isolate\", \n \"--isolated\", \n \"[CWD]/swarmin
g_temp_dir/skia-task-test_skia.isolated\", \n \"--config-variable\", \n
\"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\
", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n
\"*.pyc\", \n \"--extra-variable\", \n \"WORKDIR\", \n
\"[CWD]\", \n \"--extra-variable\", \n \"BUILD\", \n \"[R
OOT]/b/build\"\n ], \n \"dir\": \"[CWD]\", \n \"version\": 1\n}", | 509 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia
/infra/bots/coverage_skia.isolate\", \n \"--isolated\", \n \"[SLAV
E_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated\", \n \"--config-
variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \
n \".git\", \n \"--blacklist\", \n \"out\", \n \"--b
lacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"WOR
KDIR\", \n \"[SLAVE_BUILD]\", \n \"--extra-variable\", \n \
"BUILD\", \n \"[BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n
\"version\": 1\n}", |
489 "[CWD]/swarming_temp_dir/test_skia.isolated.gen.json" | 510 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" |
490 ], | 511 ], |
| 512 "cwd": "[SLAVE_BUILD]", |
491 "name": "Write test_skia.isolated.gen.json" | 513 "name": "Write test_skia.isolated.gen.json" |
492 }, | 514 }, |
493 { | 515 { |
494 "cmd": [ | 516 "cmd": [ |
495 "python", | 517 "python", |
496 "-u", | 518 "-u", |
497 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 519 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
498 "[CWD]/swarming.client", | 520 "[SLAVE_BUILD]/swarming.client", |
499 "batcharchive", | 521 "batcharchive", |
500 "--dump-json", | 522 "--dump-json", |
501 "/path/to/tmp/json", | 523 "/path/to/tmp/json", |
502 "--isolate-server", | 524 "--isolate-server", |
503 "https://isolateserver.appspot.com", | 525 "https://isolateserver.appspot.com", |
504 "--verbose", | 526 "--verbose", |
505 "[CWD]/swarming_temp_dir/test_skia.isolated.gen.json" | 527 "[SLAVE_BUILD]/swarming_temp_dir/test_skia.isolated.gen.json" |
506 ], | 528 ], |
| 529 "cwd": "[SLAVE_BUILD]", |
507 "name": "isolate tests (2)", | 530 "name": "isolate tests (2)", |
508 "~followup_annotations": [ | 531 "~followup_annotations": [ |
509 "@@@STEP_LOG_LINE@json.output@{@@@", | 532 "@@@STEP_LOG_LINE@json.output@{@@@", |
510 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia
]\"@@@", | 533 "@@@STEP_LOG_LINE@json.output@ \"test_skia\": \"[dummy hash for test_skia
]\"@@@", |
511 "@@@STEP_LOG_LINE@json.output@}@@@", | 534 "@@@STEP_LOG_LINE@json.output@}@@@", |
512 "@@@STEP_LOG_END@json.output@@@", | 535 "@@@STEP_LOG_END@json.output@@@", |
513 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test
_skia]\"}@@@" | 536 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test_skia\": \"[dummy hash for test
_skia]\"}@@@" |
514 ] | 537 ] |
515 }, | 538 }, |
516 { | 539 { |
517 "cmd": [ | 540 "cmd": [ |
518 "python", | 541 "python", |
519 "-u", | 542 "-u", |
520 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso
n.load(f)\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(s
ys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", | 543 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso
n.load(f)\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(s
ys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n", |
521 "[CWD]/swarming_temp_dir/skia-task-test_skia.isolated", | 544 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated", |
522 "[dummy hash for isolate_recipes]" | 545 "[dummy hash for isolate_recipes]" |
523 ], | 546 ], |
| 547 "cwd": "[SLAVE_BUILD]", |
524 "name": "add_isolated_input", | 548 "name": "add_isolated_input", |
525 "~followup_annotations": [ | 549 "~followup_annotations": [ |
526 "@@@STEP_LOG_LINE@python.inline@@@@", | 550 "@@@STEP_LOG_LINE@python.inline@@@@", |
527 "@@@STEP_LOG_LINE@python.inline@import json@@@", | 551 "@@@STEP_LOG_LINE@python.inline@import json@@@", |
528 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 552 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
529 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", | 553 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", |
530 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", | 554 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@", |
531 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", | 555 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@", |
532 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", | 556 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@", |
533 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", | 557 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@", |
534 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", | 558 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@
@", |
535 "@@@STEP_LOG_END@python.inline@@@" | 559 "@@@STEP_LOG_END@python.inline@@@" |
536 ] | 560 ] |
537 }, | 561 }, |
538 { | 562 { |
539 "cmd": [ | 563 "cmd": [ |
540 "python", | 564 "python", |
541 "-u", | 565 "-u", |
542 "[CWD]/swarming.client/isolateserver.py", | 566 "[SLAVE_BUILD]/swarming.client/isolateserver.py", |
543 "archive", | 567 "archive", |
544 "--isolate-server", | 568 "--isolate-server", |
545 "https://isolateserver.appspot.com", | 569 "https://isolateserver.appspot.com", |
546 "[CWD]/swarming_temp_dir/skia-task-test_skia.isolated" | 570 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-test_skia.isolated" |
547 ], | 571 ], |
| 572 "cwd": "[SLAVE_BUILD]", |
548 "name": "upload new .isolated file for test_skia", | 573 "name": "upload new .isolated file for test_skia", |
549 "stdout": "/path/to/tmp/" | 574 "stdout": "/path/to/tmp/" |
550 }, | 575 }, |
551 { | 576 { |
552 "cmd": [ | 577 "cmd": [ |
553 "python", | 578 "python", |
554 "-u", | 579 "-u", |
555 "[CWD]/swarming.client/swarming.py", | 580 "[SLAVE_BUILD]/swarming.client/swarming.py", |
556 "trigger", | 581 "trigger", |
557 "--swarming", | 582 "--swarming", |
558 "https://chromium-swarm.appspot.com", | 583 "https://chromium-swarm.appspot.com", |
559 "--isolate-server", | 584 "--isolate-server", |
560 "https://isolateserver.appspot.com", | 585 "https://isolateserver.appspot.com", |
561 "--priority", | 586 "--priority", |
562 "90", | 587 "90", |
563 "--shards", | 588 "--shards", |
564 "1", | 589 "1", |
565 "--task-name", | 590 "--task-name", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 "buildername=Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", | 633 "buildername=Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", |
609 "mastername=client.skia", | 634 "mastername=client.skia", |
610 "buildnumber=5", | 635 "buildnumber=5", |
611 "slavename=skiabot-linux-swarm-013", | 636 "slavename=skiabot-linux-swarm-013", |
612 "reason=Triggered by Skia swarm_trigger Recipe", | 637 "reason=Triggered by Skia swarm_trigger Recipe", |
613 "swarm_out_dir=${ISOLATED_OUTDIR}", | 638 "swarm_out_dir=${ISOLATED_OUTDIR}", |
614 "patchset=1", | 639 "patchset=1", |
615 "issue=500", | 640 "issue=500", |
616 "revision=164710" | 641 "revision=164710" |
617 ], | 642 ], |
| 643 "cwd": "[SLAVE_BUILD]", |
618 "name": "[trigger] test_skia on Ubuntu", | 644 "name": "[trigger] test_skia on Ubuntu", |
619 "~followup_annotations": [ | 645 "~followup_annotations": [ |
620 "@@@STEP_LOG_LINE@json.output@{@@@", | 646 "@@@STEP_LOG_LINE@json.output@{@@@", |
621 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def
456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\", @@@", | 647 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"test_skia/Ubuntu/def
456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\", @@@", |
622 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", | 648 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", |
623 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-Cl
ang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\": {@@@", | 649 "@@@STEP_LOG_LINE@json.output@ \"test_skia/Ubuntu/def456/Test-Ubuntu-Cl
ang-GCE-CPU-AVX2-x86_64-Coverage-Trybot/5\": {@@@", |
624 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", | 650 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", |
625 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", | 651 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", |
626 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", | 652 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", |
627 "@@@STEP_LOG_LINE@json.output@ }@@@", | 653 "@@@STEP_LOG_LINE@json.output@ }@@@", |
628 "@@@STEP_LOG_LINE@json.output@ }@@@", | 654 "@@@STEP_LOG_LINE@json.output@ }@@@", |
629 "@@@STEP_LOG_LINE@json.output@}@@@", | 655 "@@@STEP_LOG_LINE@json.output@}@@@", |
630 "@@@STEP_LOG_END@json.output@@@", | 656 "@@@STEP_LOG_END@json.output@@@", |
631 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" | 657 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" |
632 ] | 658 ] |
633 }, | 659 }, |
634 { | 660 { |
635 "cmd": [ | 661 "cmd": [ |
636 "python", | 662 "python", |
637 "-u", | 663 "-u", |
638 "\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", | 664 "\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", |
639 "[CWD]/swarming_temp_dir/outputs/test_skia" | 665 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" |
640 ], | 666 ], |
| 667 "cwd": "[SLAVE_BUILD]", |
641 "name": "rmtree results_dir", | 668 "name": "rmtree results_dir", |
642 "~followup_annotations": [ | 669 "~followup_annotations": [ |
643 "@@@STEP_LOG_LINE@python.inline@@@@", | 670 "@@@STEP_LOG_LINE@python.inline@@@@", |
644 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 671 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
645 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 672 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
646 "@@@STEP_LOG_LINE@python.inline@@@@", | 673 "@@@STEP_LOG_LINE@python.inline@@@@", |
647 "@@@STEP_LOG_LINE@python.inline@@@@", | 674 "@@@STEP_LOG_LINE@python.inline@@@@", |
648 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 675 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
649 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 676 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
650 "@@@STEP_LOG_END@python.inline@@@" | 677 "@@@STEP_LOG_END@python.inline@@@" |
651 ] | 678 ] |
652 }, | 679 }, |
653 { | 680 { |
654 "cmd": [ | 681 "cmd": [ |
655 "python", | 682 "python", |
656 "-u", | 683 "-u", |
657 "[CWD]/swarming.client/swarming.py", | 684 "[SLAVE_BUILD]/swarming.client/swarming.py", |
658 "collect", | 685 "collect", |
659 "--swarming", | 686 "--swarming", |
660 "https://chromium-swarm.appspot.com", | 687 "https://chromium-swarm.appspot.com", |
661 "--decorate", | 688 "--decorate", |
662 "--print-status-updates", | 689 "--print-status-updates", |
663 "--shards", | 690 "--shards", |
664 "1", | 691 "1", |
665 "test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Tr
ybot/5", | 692 "test_skia/Ubuntu/def456/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Tr
ybot/5", |
666 "--task-summary-json", | 693 "--task-summary-json", |
667 "/path/to/tmp/json", | 694 "/path/to/tmp/json", |
668 "--task-output-dir", | 695 "--task-output-dir", |
669 "[CWD]/swarming_temp_dir/outputs/test_skia" | 696 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia" |
670 ], | 697 ], |
| 698 "cwd": "[SLAVE_BUILD]", |
671 "name": "test_skia on Ubuntu", | 699 "name": "test_skia on Ubuntu", |
672 "~followup_annotations": [ | 700 "~followup_annotations": [ |
673 "@@@STEP_TEXT@swarming pending 71s@@@", | 701 "@@@STEP_TEXT@swarming pending 71s@@@", |
674 "@@@STEP_LOG_LINE@json.output@{@@@", | 702 "@@@STEP_LOG_LINE@json.output@{@@@", |
675 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", | 703 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", |
676 "@@@STEP_LOG_LINE@json.output@ {@@@", | 704 "@@@STEP_LOG_LINE@json.output@ {@@@", |
677 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", | 705 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", |
678 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", | 706 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", |
679 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", | 707 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0
0.123\", @@@", |
680 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", | 708 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.
123\", @@@", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 ] | 741 ] |
714 }, | 742 }, |
715 { | 743 { |
716 "cmd": [ | 744 "cmd": [ |
717 "git", | 745 "git", |
718 "show", | 746 "show", |
719 "HEAD", | 747 "HEAD", |
720 "--format=%at", | 748 "--format=%at", |
721 "-s" | 749 "-s" |
722 ], | 750 ], |
723 "cwd": "[CWD]/skia", | 751 "cwd": "[SLAVE_BUILD]/skia", |
724 "name": "git show", | 752 "name": "git show", |
725 "stdout": "/path/to/tmp/" | 753 "stdout": "/path/to/tmp/" |
726 }, | 754 }, |
727 { | 755 { |
728 "cmd": [ | 756 "cmd": [ |
729 "python", | 757 "python", |
730 "-u", | 758 "-u", |
731 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 759 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
732 "--", | 760 "--", |
733 "[ROOT]/b/depot_tools/gsutil.py", | 761 "[DEPOT_TOOLS]/gsutil.py", |
734 "----", | 762 "----", |
735 "cp", | 763 "cp", |
736 "[CWD]/swarming_temp_dir/outputs/test_skia/0/164710.cov", | 764 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/164710.cov", |
737 "gs://skia-infra/coverage-raw-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GC
E-CPU-AVX2-x86_64-Coverage-Trybot/5/500/164710.cov" | 765 "gs://skia-infra/coverage-raw-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GC
E-CPU-AVX2-x86_64-Coverage-Trybot/5/500/164710.cov" |
738 ], | 766 ], |
| 767 "cwd": "[SLAVE_BUILD]", |
739 "env": { | 768 "env": { |
740 "AWS_CREDENTIAL_FILE": null, | 769 "AWS_CREDENTIAL_FILE": null, |
741 "BOTO_CONFIG": null | 770 "BOTO_CONFIG": null |
742 }, | 771 }, |
743 "name": "gsutil upload raw coverage data", | 772 "name": "gsutil upload raw coverage data", |
744 "~followup_annotations": [ | 773 "~followup_annotations": [ |
745 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-infra/co
verage-raw-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverag
e-Trybot/5/500/164710.cov@@@" | 774 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-infra/co
verage-raw-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverag
e-Trybot/5/500/164710.cov@@@" |
746 ] | 775 ] |
747 }, | 776 }, |
748 { | 777 { |
749 "cmd": [ | 778 "cmd": [ |
750 "python", | 779 "python", |
751 "-u", | 780 "-u", |
752 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 781 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
753 "[CWD]/swarming_temp_dir/outputs/test_skia/0/nanobench_164710.json", | 782 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/nanobench_164710.json
", |
754 "[CWD]/swarming_temp_dir/outputs/test_skia/0/nanobench_164710_1408633190.j
son" | 783 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/nanobench_164710_1408
633190.json" |
755 ], | 784 ], |
| 785 "cwd": "[SLAVE_BUILD]", |
756 "name": "nanobench JSON" | 786 "name": "nanobench JSON" |
757 }, | 787 }, |
758 { | 788 { |
759 "cmd": [ | 789 "cmd": [ |
760 "python", | 790 "python", |
761 "-u", | 791 "-u", |
762 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 792 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
763 "[CWD]/swarming_temp_dir/outputs/test_skia/0/nanobench_164710.json" | 793 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/nanobench_164710.json
" |
764 ], | 794 ], |
| 795 "cwd": "[SLAVE_BUILD]", |
765 "name": "old nanobench JSON", | 796 "name": "old nanobench JSON", |
766 "~followup_annotations": [ | 797 "~followup_annotations": [ |
767 "@@@STEP_LOG_LINE@python.inline@@@@", | 798 "@@@STEP_LOG_LINE@python.inline@@@@", |
768 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 799 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
769 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 800 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
770 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 801 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
771 "@@@STEP_LOG_END@python.inline@@@" | 802 "@@@STEP_LOG_END@python.inline@@@" |
772 ] | 803 ] |
773 }, | 804 }, |
774 { | 805 { |
775 "cmd": [ | 806 "cmd": [ |
776 "python", | 807 "python", |
777 "-u", | 808 "-u", |
778 "RECIPE_MODULE[build::skia]/resources/upload_bench_results.py", | 809 "RECIPE_MODULE[build::skia]/resources/upload_bench_results.py", |
779 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", | 810 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot", |
780 "5", | 811 "5", |
781 "[CWD]/swarming_temp_dir/outputs/test_skia/0", | 812 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0", |
782 "164710", | 813 "164710", |
783 "[ROOT]/b/depot_tools/third_party/gsutil/gsutil", | 814 "[DEPOT_TOOLS]/third_party/gsutil/gsutil", |
784 "500" | 815 "500" |
785 ], | 816 ], |
786 "cwd": "[CWD]/skia", | 817 "cwd": "[SLAVE_BUILD]/skia", |
787 "env": { | 818 "env": { |
788 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", | 819 "AWS_CREDENTIAL_FILE": "[HOME]/chromium-skia-gm.boto", |
789 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" | 820 "BOTO_CONFIG": "[HOME]/chromium-skia-gm.boto" |
790 }, | 821 }, |
791 "name": "upload nanobench coverage results" | 822 "name": "upload nanobench coverage results" |
792 }, | 823 }, |
793 { | 824 { |
794 "cmd": [ | 825 "cmd": [ |
795 "python", | 826 "python", |
796 "-u", | 827 "-u", |
797 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 828 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
798 "[CWD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_164710.json"
, | 829 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_1647
10.json", |
799 "[CWD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_164710_14086
33190.json" | 830 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_1647
10_1408633190.json" |
800 ], | 831 ], |
| 832 "cwd": "[SLAVE_BUILD]", |
801 "name": "Line-by-line coverage JSON" | 833 "name": "Line-by-line coverage JSON" |
802 }, | 834 }, |
803 { | 835 { |
804 "cmd": [ | 836 "cmd": [ |
805 "python", | 837 "python", |
806 "-u", | 838 "-u", |
807 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 839 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
808 "[CWD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_164710.json" | 840 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_1647
10.json" |
809 ], | 841 ], |
| 842 "cwd": "[SLAVE_BUILD]", |
810 "name": "old line-by-line coverage JSON", | 843 "name": "old line-by-line coverage JSON", |
811 "~followup_annotations": [ | 844 "~followup_annotations": [ |
812 "@@@STEP_LOG_LINE@python.inline@@@@", | 845 "@@@STEP_LOG_LINE@python.inline@@@@", |
813 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 846 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
814 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 847 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
815 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 848 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
816 "@@@STEP_LOG_END@python.inline@@@" | 849 "@@@STEP_LOG_END@python.inline@@@" |
817 ] | 850 ] |
818 }, | 851 }, |
819 { | 852 { |
820 "cmd": [ | 853 "cmd": [ |
821 "python", | 854 "python", |
822 "-u", | 855 "-u", |
823 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 856 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
824 "--", | 857 "--", |
825 "[ROOT]/b/depot_tools/gsutil.py", | 858 "[DEPOT_TOOLS]/gsutil.py", |
826 "----", | 859 "----", |
827 "cp", | 860 "cp", |
828 "[CWD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_164710_14086
33190.json", | 861 "[SLAVE_BUILD]/swarming_temp_dir/outputs/test_skia/0/coverage_by_line_1647
10_1408633190.json", |
829 "gs://skia-infra/coverage-json-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-G
CE-CPU-AVX2-x86_64-Coverage-Trybot/5/500/coverage_by_line_164710_1408633190.json
" | 862 "gs://skia-infra/coverage-json-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-G
CE-CPU-AVX2-x86_64-Coverage-Trybot/5/500/coverage_by_line_164710_1408633190.json
" |
830 ], | 863 ], |
| 864 "cwd": "[SLAVE_BUILD]", |
831 "env": { | 865 "env": { |
832 "AWS_CREDENTIAL_FILE": null, | 866 "AWS_CREDENTIAL_FILE": null, |
833 "BOTO_CONFIG": null | 867 "BOTO_CONFIG": null |
834 }, | 868 }, |
835 "name": "gsutil upload line-by-line coverage data", | 869 "name": "gsutil upload line-by-line coverage data", |
836 "~followup_annotations": [ | 870 "~followup_annotations": [ |
837 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-infra/co
verage-json-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Covera
ge-Trybot/5/500/coverage_by_line_164710_1408633190.json@@@" | 871 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-infra/co
verage-json-v1/trybot/2012/05/14/12/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Covera
ge-Trybot/5/500/coverage_by_line_164710_1408633190.json@@@" |
838 ] | 872 ] |
839 }, | 873 }, |
840 { | 874 { |
841 "name": "$result", | 875 "name": "$result", |
842 "recipe_result": null, | 876 "recipe_result": null, |
843 "status_code": 0 | 877 "status_code": 0 |
844 } | 878 } |
845 ] | 879 ] |
OLD | NEW |