OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "\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", | |
7 "[BUILDER_CACHE]/linux_layout", | |
8 "511" | |
9 ], | |
10 "name": "makedirs checkout path", | |
11 "~followup_annotations": [ | |
12 "@@@STEP_LOG_LINE@python.inline@@@@", | |
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
21 "@@@STEP_LOG_END@python.inline@@@" | |
22 ] | |
23 }, | |
24 { | |
25 "cmd": [ | |
26 "python", | |
27 "-u", | |
28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
29 "--spec", | |
30 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src
.git'}]", | |
31 "--patch_root", | |
32 "src", | |
33 "--revision_mapping_file", | |
34 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision
\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g
ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/
tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_
revision\"}", | |
35 "--git-cache-dir", | |
36 "[GIT_CACHE]", | |
37 "--output_json", | |
38 "/path/to/tmp/json", | |
39 "--revision", | |
40 "src@HEAD", | |
41 "--output_manifest" | |
42 ], | |
43 "cwd": "[BUILDER_CACHE]/linux_layout", | |
44 "env": { | |
45 "GCLIENT_KILL_GIT_FETCH_AFTER": "1200", | |
46 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
47 }, | |
48 "name": "bot_update", | |
49 "~followup_annotations": [ | |
50 "@@@STEP_TEXT@Some step text@@@", | |
51 "@@@STEP_LOG_LINE@json.output@{@@@", | |
52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
53 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
54 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | |
55 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
56 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
57 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
58 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
59 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
60 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
61 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", | |
62 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/buildtools.git\", @@@", | |
63 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635
3cb994259692140934\"@@@", | |
64 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
65 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
66 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
68 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
69 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
70 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
73 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
74 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
75 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
76 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
77 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
78 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
79 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
80 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
81 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
82 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
83 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
84 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
85 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
86 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
87 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
88 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
89 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
90 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
91 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328
b2809876916353cb994259692140934\", @@@", | |
92 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h
eads/master@{#182578}\", @@@", | |
93 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
94 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
95 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
96 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
97 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
98 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
99 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
100 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
101 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
102 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
103 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
104 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
105 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
106 "@@@STEP_LOG_LINE@json.output@}@@@", | |
107 "@@@STEP_LOG_END@json.output@@@", | |
108 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
109 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
110 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18
2578}\"@@@", | |
111 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
112 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
113 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
114 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
115 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
116 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
117 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
118 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
119 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
120 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | |
121 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | |
122 ] | |
123 }, | |
124 { | |
125 "cmd": [], | |
126 "name": "ensure_goma" | |
127 }, | |
128 { | |
129 "cmd": [ | |
130 "python", | |
131 "-u", | |
132 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | |
133 "--platform", | |
134 "linux-amd64", | |
135 "--dest-directory", | |
136 "[SLAVE_BUILD]/cipd", | |
137 "--json-output", | |
138 "/path/to/tmp/json" | |
139 ], | |
140 "name": "ensure_goma.install cipd", | |
141 "~followup_annotations": [ | |
142 "@@@STEP_NEST_LEVEL@1@@@", | |
143 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
144 "@@@STEP_LOG_LINE@json.output@{@@@", | |
145 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
146 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
147 "@@@STEP_LOG_LINE@json.output@}@@@", | |
148 "@@@STEP_LOG_END@json.output@@@" | |
149 ] | |
150 }, | |
151 { | |
152 "cmd": [ | |
153 "[SLAVE_BUILD]/cipd/cipd", | |
154 "ensure", | |
155 "--root", | |
156 "[CACHE]/cipd/goma", | |
157 "--list", | |
158 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma
/client/linux-amd64 release", | |
159 "--json-output", | |
160 "/path/to/tmp/json", | |
161 "--service-account-json", | |
162 "/creds/service_accounts/service-account-goma-client.json" | |
163 ], | |
164 "name": "ensure_goma.ensure_installed", | |
165 "~followup_annotations": [ | |
166 "@@@STEP_NEST_LEVEL@1@@@", | |
167 "@@@STEP_LOG_LINE@json.output@{@@@", | |
168 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
169 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
170 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-goma_recipe_modu\", @@@", | |
171 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l
inux-amd64\"@@@", | |
172 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
173 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
174 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
175 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", | |
176 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
177 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
178 "@@@STEP_LOG_LINE@json.output@}@@@", | |
179 "@@@STEP_LOG_END@json.output@@@" | |
180 ] | |
181 }, | |
182 { | |
183 "cmd": [ | |
184 "python", | |
185 "-u", | |
186 "[BUILDER_CACHE]/linux_layout/src/tools/swarming_client/swarming.py", | |
187 "--version" | |
188 ], | |
189 "name": "swarming.py --version", | |
190 "stdout": "/path/to/tmp/", | |
191 "~followup_annotations": [ | |
192 "@@@STEP_TEXT@0.8.6@@@" | |
193 ] | |
194 }, | |
195 { | |
196 "cmd": [ | |
197 "python", | |
198 "-u", | |
199 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
200 "runhooks" | |
201 ], | |
202 "cwd": "[BUILDER_CACHE]/linux_layout/src", | |
203 "env": { | |
204 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
205 "GYP_CHROMIUM_NO_ACTION": "1", | |
206 "GYP_DEFINES": "clang=1 component=static_library gomadir='[CACHE]/cipd/gom
a' msan=1 msan_track_origins=2 target_arch=x64 test_isolation_mode=prepare use_g
oma=1 use_prebuilt_instrumented_libraries=1", | |
207 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
208 }, | |
209 "name": "gclient runhooks" | |
210 }, | |
211 { | |
212 "cmd": [ | |
213 "python", | |
214 "-u", | |
215 "[BUILDER_CACHE]/linux_layout/src/testing/scripts/get_compile_targets.py", | |
216 "--output", | |
217 "/path/to/tmp/json", | |
218 "--", | |
219 "--build-config-fs", | |
220 "Release", | |
221 "--paths", | |
222 "{\"checkout\": \"[BUILDER_CACHE]/linux_layout/src\", \"runit.py\": \"RECI
PE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAG
E_REPO[build]/scripts/slave/runtest.py\"}", | |
223 "--properties", | |
224 "{\"buildername\": \"WebKit Linux MSAN\", \"buildnumber\": 571, \"masterna
me\": \"chromium.webkit\", \"slavename\": \"TestSlavename\", \"target_platform\"
: \"linux\"}" | |
225 ], | |
226 "name": "get compile targets for scripts", | |
227 "~followup_annotations": [ | |
228 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
229 "@@@STEP_LOG_END@json.output@@@" | |
230 ] | |
231 }, | |
232 { | |
233 "cmd": [ | |
234 "python", | |
235 "-u", | |
236 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
237 "[BUILDER_CACHE]/linux_layout/src/testing/buildbot/chromium.webkit.json", | |
238 "/path/to/tmp/json" | |
239 ], | |
240 "name": "read test spec (chromium.webkit.json)", | |
241 "~followup_annotations": [ | |
242 "@@@STEP_TEXT@path: [BUILDER_CACHE]/linux_layout/src/testing/buildbot/chro
mium.webkit.json@@@", | |
243 "@@@STEP_LOG_LINE@json.output@{@@@", | |
244 "@@@STEP_LOG_LINE@json.output@ \"WebKit Linux MSAN\": {@@@", | |
245 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | |
246 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
247 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | |
248 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | |
249 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
250 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | |
251 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
252 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
253 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
254 "@@@STEP_LOG_LINE@json.output@}@@@", | |
255 "@@@STEP_LOG_END@json.output@@@" | |
256 ] | |
257 }, | |
258 { | |
259 "cmd": [ | |
260 "python", | |
261 "-u", | |
262 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
263 "--show-path", | |
264 "python", | |
265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
266 ], | |
267 "name": "cleanup_temp" | |
268 }, | |
269 { | |
270 "cmd": [ | |
271 "python", | |
272 "-u", | |
273 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | |
274 "--build-dir", | |
275 "[BUILDER_CACHE]/linux_layout/src/out/Release", | |
276 "--clean-isolated-files" | |
277 ], | |
278 "name": "clean isolated files" | |
279 }, | |
280 { | |
281 "cmd": [ | |
282 "python", | |
283 "-u", | |
284 "[BUILDER_CACHE]/linux_layout/src/tools/mb/mb.py", | |
285 "gen", | |
286 "-m", | |
287 "chromium.webkit", | |
288 "-b", | |
289 "WebKit Linux MSAN", | |
290 "--config-file", | |
291 "[BUILDER_CACHE]/linux_layout/src/tools/mb/mb_config.pyl", | |
292 "--goma-dir", | |
293 "[CACHE]/cipd/goma", | |
294 "--swarming-targets-file", | |
295 "browser_tests\n", | |
296 "//out/Release" | |
297 ], | |
298 "cwd": "[BUILDER_CACHE]/linux_layout/src", | |
299 "env": { | |
300 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
301 }, | |
302 "name": "generate_build_files", | |
303 "~followup_annotations": [ | |
304 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@", | |
305 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" | |
306 ] | |
307 }, | |
308 { | |
309 "allow_subannotations": true, | |
310 "cmd": [ | |
311 "python", | |
312 "-u", | |
313 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | |
314 "--src-dir", | |
315 "[BUILDER_CACHE]/linux_layout/src", | |
316 "--output-json", | |
317 "/path/to/tmp/json" | |
318 ], | |
319 "env": { | |
320 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
321 }, | |
322 "name": "clang_revision", | |
323 "~followup_annotations": [ | |
324 "@@@STEP_LOG_LINE@json.output@{@@@", | |
325 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | |
326 "@@@STEP_LOG_LINE@json.output@}@@@", | |
327 "@@@STEP_LOG_END@json.output@@@" | |
328 ] | |
329 }, | |
330 { | |
331 "cmd": [ | |
332 "python", | |
333 "-u", | |
334 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
335 "--show-path", | |
336 "python", | |
337 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
338 "--gsutil-py-path", | |
339 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
340 "--ninja-path", | |
341 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
342 "--target", | |
343 "Release", | |
344 "--src-dir", | |
345 "[BUILDER_CACHE]/linux_layout/src", | |
346 "--goma-cache-dir", | |
347 "[GOMA_CACHE]", | |
348 "--buildbot-buildername", | |
349 "WebKit Linux MSAN", | |
350 "--buildbot-mastername", | |
351 "chromium.webkit", | |
352 "--buildbot-slavename", | |
353 "TestSlavename", | |
354 "--goma-deps-cache-dir", | |
355 "[GOMA_DEPS_CACHE]", | |
356 "--build-data-dir", | |
357 "[ROOT]/build_data_dir", | |
358 "--compiler", | |
359 "goma-clang", | |
360 "--goma-jsonstatus", | |
361 "/path/to/tmp/json", | |
362 "--goma-service-account-json-file", | |
363 "/creds/service_accounts/service-account-goma-client.json", | |
364 "--goma-dir", | |
365 "[CACHE]/cipd/goma", | |
366 "--", | |
367 "blink_tests", | |
368 "browser_tests", | |
369 "browser_tests_run" | |
370 ], | |
371 "env": { | |
372 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
373 }, | |
374 "name": "compile", | |
375 "~followup_annotations": [ | |
376 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
377 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
378 ] | |
379 }, | |
380 { | |
381 "cmd": [ | |
382 "python", | |
383 "-u", | |
384 "[BUILDER_CACHE]/linux_layout/src/tools/determinism/remove_build_metadata.
py", | |
385 "--build-dir", | |
386 "[BUILDER_CACHE]/linux_layout/src/out/Release" | |
387 ], | |
388 "cwd": "[SLAVE_BUILD]", | |
389 "name": "remove_build_metadata" | |
390 }, | |
391 { | |
392 "cmd": [ | |
393 "python", | |
394 "-u", | |
395 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | |
396 "[BUILDER_CACHE]/linux_layout/src/tools/swarming_client", | |
397 "batcharchive", | |
398 "--dump-json", | |
399 "/path/to/tmp/json", | |
400 "--isolate-server", | |
401 "https://isolateserver.appspot.com", | |
402 "--verbose", | |
403 "[BUILDER_CACHE]/linux_layout/src/out/Release/browser_tests.isolated.gen.j
son" | |
404 ], | |
405 "name": "isolate tests", | |
406 "~followup_annotations": [ | |
407 "@@@STEP_LOG_LINE@json.output@{@@@", | |
408 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows
er_tests]\"@@@", | |
409 "@@@STEP_LOG_LINE@json.output@}@@@", | |
410 "@@@STEP_LOG_END@json.output@@@" | |
411 ] | |
412 }, | |
413 { | |
414 "cmd": [ | |
415 "python", | |
416 "-u", | |
417 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | |
418 "--build-dir", | |
419 "[BUILDER_CACHE]/linux_layout/src/out/Release", | |
420 "--output-json", | |
421 "/path/to/tmp/json" | |
422 ], | |
423 "cwd": "[BUILDER_CACHE]/linux_layout", | |
424 "env": { | |
425 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
426 }, | |
427 "name": "find isolated tests", | |
428 "~followup_annotations": [ | |
429 "@@@STEP_LOG_LINE@json.output@{@@@", | |
430 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
431 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
432 "@@@STEP_LOG_LINE@json.output@}@@@", | |
433 "@@@STEP_LOG_END@json.output@@@", | |
434 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
435 ] | |
436 }, | |
437 { | |
438 "cmd": [ | |
439 "python", | |
440 "-u", | |
441 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | |
442 "browser_tests" | |
443 ], | |
444 "cwd": "[BUILDER_CACHE]/linux_layout", | |
445 "env": { | |
446 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
447 }, | |
448 "name": "[error] browser_tests", | |
449 "~followup_annotations": [ | |
450 "@@@STEP_LOG_LINE@python.inline@@@@", | |
451 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
452 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | |
453 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | |
454 "@@@STEP_LOG_END@python.inline@@@" | |
455 ] | |
456 }, | |
457 { | |
458 "cmd": [ | |
459 "python", | |
460 "-u", | |
461 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
462 "--target", | |
463 "Release", | |
464 "--no-xvfb", | |
465 "--factory-properties", | |
466 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"WebKit Linux MSA
N\", \"buildnumber\": 571, \"gs_acl\": \"public-read\", \"mastername\": \"chromi
um.webkit\", \"parent_buildername\": null, \"path_config\": \"kitchen\", \"recip
e\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/wor
kdir/TestSlavename\"}", | |
467 "--build-properties", | |
468 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
build_data_dir\": \"[ROOT]/build_data_dir\", \"buildername\": \"WebKit Linux MSA
N\", \"buildnumber\": 571, \"gs_acl\": \"public-read\", \"mastername\": \"chromi
um.webkit\", \"parent_buildername\": null, \"path_config\": \"kitchen\", \"recip
e\": \"chromium\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/wor
kdir/TestSlavename\"}", | |
469 "--step-name=webkit_tests", | |
470 "--builder-name=WebKit Linux MSAN", | |
471 "--slave-name=TestSlavename", | |
472 "--build-number=571", | |
473 "--run-python-script", | |
474 "--enable-msan", | |
475 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/layout_test_wrapper.py"
, | |
476 "--target", | |
477 "Release", | |
478 "-o", | |
479 "[SLAVE_BUILD]/layout-test-results", | |
480 "--build-dir", | |
481 "[BUILDER_CACHE]/linux_layout/src/out", | |
482 "--json-test-results", | |
483 "/path/to/tmp/json", | |
484 "--test-results-server", | |
485 "test-results.appspot.com", | |
486 "--build-number", | |
487 "571", | |
488 "--builder-name", | |
489 "WebKit Linux MSAN", | |
490 "--step-name", | |
491 "webkit_tests", | |
492 "--additional-expectations", | |
493 "src/third_party/WebKit/LayoutTests/MSANExpectations", | |
494 "--time-out-ms", | |
495 "66000", | |
496 "--options=--enable-sanitizer" | |
497 ], | |
498 "cwd": "[BUILDER_CACHE]/linux_layout", | |
499 "env": { | |
500 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
501 }, | |
502 "name": "webkit_tests", | |
503 "~followup_annotations": [ | |
504 "@@@STEP_TEXT@<br/>Total executed: 9001<br/>@@@" | |
505 ] | |
506 }, | |
507 { | |
508 "cmd": [ | |
509 "python", | |
510 "-u", | |
511 "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/archive_layout_test_res
ults.py", | |
512 "--results-dir", | |
513 "[SLAVE_BUILD]/layout-test-results", | |
514 "--build-dir", | |
515 "[BUILDER_CACHE]/linux_layout/src/out", | |
516 "--build-number", | |
517 "571", | |
518 "--builder-name", | |
519 "WebKit Linux MSAN", | |
520 "--gs-bucket", | |
521 "gs://chromium-layout-test-archives", | |
522 "--staging-dir", | |
523 "[CACHE]/chrome_staging", | |
524 "--gs-acl", | |
525 "public-read" | |
526 ], | |
527 "cwd": "[BUILDER_CACHE]/linux_layout", | |
528 "env": { | |
529 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
530 }, | |
531 "name": "archive_webkit_tests_results", | |
532 "~followup_annotations": [ | |
533 "@@@STEP_LINK@layout_test_results@https://storage.googleapis.com/chromium-
layout-test-archives/WebKit_Linux_MSAN/571/layout-test-results/results.html@@@", | |
534 "@@@STEP_LINK@(zip)@https://storage.googleapis.com/chromium-layout-test-ar
chives/WebKit_Linux_MSAN/571/layout-test-results.zip@@@" | |
535 ] | |
536 }, | |
537 { | |
538 "cmd": [ | |
539 "python", | |
540 "-u", | |
541 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | |
542 "browser_tests" | |
543 ], | |
544 "cwd": "[BUILDER_CACHE]/linux_layout", | |
545 "env": { | |
546 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
547 }, | |
548 "name": "[collect error] browser_tests", | |
549 "~followup_annotations": [ | |
550 "@@@STEP_LOG_LINE@python.inline@@@@", | |
551 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
552 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | |
553 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | |
554 "@@@STEP_LOG_END@python.inline@@@" | |
555 ] | |
556 }, | |
557 { | |
558 "name": "$result", | |
559 "recipe_result": null, | |
560 "status_code": 0 | |
561 } | |
562 ] | |
OLD | NEW |