OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "[BUILD]\\scripts\\slave\\kill_processes.py" | |
7 ], | |
8 "name": "taskkill" | |
9 }, | |
10 { | |
11 "cmd": [ | |
12 "python", | |
13 "-u", | |
14 "[BUILD]\\scripts\\slave\\bot_update.py", | |
15 "--master", | |
16 "chromium.fyi", | |
17 "--builder", | |
18 "CrWinClang(asan) tester", | |
19 "--slave", | |
20 "TestSlavename", | |
21 "--spec", | |
22 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://
svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.
org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org
/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, '
deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol
o.chromium.org/chrome/trunk/src'}]", | |
23 "--root", | |
24 "src", | |
25 "--revision_mapping_file", | |
26 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\"
: \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_
revision\", \"src/v8\": \"got_v8_revision\"}", | |
27 "--output_json", | |
28 "/path/to/tmp/json", | |
29 "--revision", | |
30 "src@1111111" | |
31 ], | |
32 "name": "bot_update", | |
33 "~followup_annotations": [ | |
34 "@@@STEP_TEXT@Some step text@@@", | |
35 "@@@STEP_LOG_LINE@json.output@{@@@", | |
36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
37 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
41 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
42 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
43 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
44 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
45 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
46 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
47 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
48 "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision\": \"5e2293dffc3cd
07d37fbedea3b500f0eb650614d\", @@@", | |
49 "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision_cp\": \"refs/heads
/master@{#124383}\", @@@", | |
50 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
51 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
52 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
53 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
54 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
55 "@@@STEP_LOG_LINE@json.output@}@@@", | |
56 "@@@STEP_LOG_END@json.output@@@", | |
57 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
58 "@@@SET_BUILD_PROPERTY@got_webkit_revision@\"5e2293dffc3cd07d37fbedea3b500
f0eb650614d\"@@@", | |
59 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
60 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
61 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
62 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
63 "@@@SET_BUILD_PROPERTY@got_webkit_revision_cp@\"refs/heads/master@{#124383
}\"@@@", | |
64 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
65 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
66 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
67 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
68 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
69 ] | |
70 }, | |
71 { | |
72 "cmd": [ | |
73 "python", | |
74 "-u", | |
75 "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", | |
76 "--version" | |
77 ], | |
78 "name": "swarming.py --version", | |
79 "stdout": "/path/to/tmp/", | |
80 "~followup_annotations": [ | |
81 "@@@STEP_TEXT@0.4.10@@@" | |
82 ] | |
83 }, | |
84 { | |
85 "cmd": [ | |
86 "python", | |
87 "-u", | |
88 "[DEPOT_TOOLS]\\gclient.py", | |
89 "runhooks" | |
90 ], | |
91 "env": { | |
92 "GYP_DEFINES": "component=static_library target_arch=ia32 test_isolation_m
ode=prepare" | |
93 }, | |
94 "name": "gclient runhooks" | |
95 }, | |
96 { | |
97 "cmd": [ | |
98 "python", | |
99 "-u", | |
100 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
101 "[SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.fyi.json", | |
102 "/path/to/tmp/json" | |
103 ], | |
104 "name": "read test spec", | |
105 "~followup_annotations": [ | |
106 "@@@STEP_TEXT@path: [SLAVE_BUILD]\\src\\testing\\buildbot\\chromium.fyi.js
on@@@", | |
107 "@@@STEP_LOG_LINE@json.output@{@@@", | |
108 "@@@STEP_LOG_LINE@json.output@ \"CrWinClang(asan) tester\": {@@@", | |
109 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | |
110 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
111 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | |
112 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | |
113 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
114 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | |
115 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
116 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
117 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
118 "@@@STEP_LOG_LINE@json.output@}@@@", | |
119 "@@@STEP_LOG_END@json.output@@@" | |
120 ] | |
121 }, | |
122 { | |
123 "cmd": [ | |
124 "python", | |
125 "-u", | |
126 "[SLAVE_BUILD]\\src\\testing\\scripts\\get_compile_targets.py", | |
127 "--output", | |
128 "/path/to/tmp/json", | |
129 "--", | |
130 "--build-config-fs", | |
131 "Release", | |
132 "--paths", | |
133 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]\\\\src\"}", | |
134 "--properties", | |
135 "{\"buildername\": \"CrWinClang(asan) tester\", \"buildnumber\": 571, \"sl
avename\": \"TestSlavename\"}" | |
136 ], | |
137 "name": "get compile targets for scripts", | |
138 "~followup_annotations": [ | |
139 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
140 "@@@STEP_LOG_END@json.output@@@" | |
141 ] | |
142 }, | |
143 { | |
144 "cmd": [ | |
145 "python", | |
146 "-u", | |
147 "[BUILD]\\scripts\\slave\\cleanup_temp.py" | |
148 ], | |
149 "name": "cleanup_temp" | |
150 }, | |
151 { | |
152 "cmd": [ | |
153 "python", | |
154 "-u", | |
155 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", | |
156 "[SLAVE_BUILD]\\src\\out\\Release" | |
157 ], | |
158 "name": "rmtree build directory", | |
159 "~followup_annotations": [ | |
160 "@@@STEP_LOG_LINE@python.inline@@@@", | |
161 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
162 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", | |
163 "@@@STEP_LOG_LINE@python.inline@@@@", | |
164 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
165 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
166 "@@@STEP_LOG_END@python.inline@@@" | |
167 ] | |
168 }, | |
169 { | |
170 "cmd": [ | |
171 "python", | |
172 "-u", | |
173 "[BUILD]\\scripts\\slave\\extract_build.py", | |
174 "--target", | |
175 "Release", | |
176 "--build-archive-url", | |
177 "gs://test-domain/test-archive.zip", | |
178 "--factory-properties", | |
179 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"CrWinClang(asan) tester\", \"buildnumber\": 571, \"mastername\"
: \"chromium.fyi\", \"parent_build_archive_url\": \"gs://test-domain/test-archiv
e.zip\", \"parent_buildername\": \"CrWinClang(asan)\", \"parent_got_revision\":
\"1111111\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm
_hashes\": {\"browser_tests\": \"ffffffffffffffffffffffffffffffffffffffff\"}, \"
workdir\": \"/path/to/workdir/TestSlavename\"}", | |
180 "--build-properties", | |
181 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"CrWinClang(asan) tester\", \"buildnumber\": 571, \"mastername\"
: \"chromium.fyi\", \"parent_build_archive_url\": \"gs://test-domain/test-archiv
e.zip\", \"parent_buildername\": \"CrWinClang(asan)\", \"parent_got_revision\":
\"1111111\", \"recipe\": \"chromium\", \"slavename\": \"TestSlavename\", \"swarm
_hashes\": {\"browser_tests\": \"ffffffffffffffffffffffffffffffffffffffff\"}, \"
workdir\": \"/path/to/workdir/TestSlavename\"}" | |
182 ], | |
183 "name": "extract build" | |
184 }, | |
185 { | |
186 "cmd": [ | |
187 "python", | |
188 "-u", | |
189 "[BUILD]\\scripts\\slave\\recipe_modules\\isolate\\resources\\find_isolate
d_tests.py", | |
190 "--build-dir", | |
191 "[SLAVE_BUILD]\\src\\out\\Release", | |
192 "--output-json", | |
193 "/path/to/tmp/json" | |
194 ], | |
195 "name": "find isolated tests", | |
196 "~followup_annotations": [ | |
197 "@@@STEP_LOG_LINE@json.output@{@@@", | |
198 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
199 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
200 "@@@STEP_LOG_LINE@json.output@}@@@", | |
201 "@@@STEP_LOG_END@json.output@@@", | |
202 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
203 ] | |
204 }, | |
205 { | |
206 "cmd": [ | |
207 "python", | |
208 "-u", | |
209 "[BUILD]\\scripts\\slave\\chromium\\run_crash_handler.py", | |
210 "--target", | |
211 "Release" | |
212 ], | |
213 "name": "start_crash_service" | |
214 }, | |
215 { | |
216 "cmd": [ | |
217 "python", | |
218 "-u", | |
219 "[SLAVE_BUILD]\\src\\tools\\swarming_client\\swarming.py", | |
220 "trigger", | |
221 "--swarming", | |
222 "https://chromium-swarm.appspot.com", | |
223 "--isolate-server", | |
224 "https://isolateserver.appspot.com", | |
225 "--priority", | |
226 "25", | |
227 "--shards", | |
228 "1", | |
229 "--task-name", | |
230 "browser_tests/Windows-7-SP1/ffffffffff/CrWinClang(asan) tester/571", | |
231 "--dump-json", | |
232 "/path/to/tmp/json", | |
233 "--expiration", | |
234 "3600", | |
235 "--io-timeout", | |
236 "1200", | |
237 "--hard-timeout", | |
238 "3600", | |
239 "--dimension", | |
240 "cpu", | |
241 "x86-64", | |
242 "--dimension", | |
243 "gpu", | |
244 "none", | |
245 "--dimension", | |
246 "os", | |
247 "Windows-7-SP1", | |
248 "--dimension", | |
249 "pool", | |
250 "Chrome", | |
251 "--tag", | |
252 "buildername:CrWinClang(asan) tester", | |
253 "--tag", | |
254 "buildnumber:571", | |
255 "--tag", | |
256 "data:ffffffffffffffffffffffffffffffffffffffff", | |
257 "--tag", | |
258 "master:chromium.fyi", | |
259 "--tag", | |
260 "name:browser_tests", | |
261 "--tag", | |
262 "os:Windows-7-SP1", | |
263 "--tag", | |
264 "project:chromium", | |
265 "--tag", | |
266 "purpose:CI", | |
267 "--tag", | |
268 "purpose:post-commit", | |
269 "--idempotent", | |
270 "ffffffffffffffffffffffffffffffffffffffff", | |
271 "--", | |
272 "--test-launcher-summary-output=${ISOLATED_OUTDIR}/output.json" | |
273 ], | |
274 "name": "[trigger] browser_tests", | |
275 "~followup_annotations": [ | |
276 "@@@STEP_LOG_LINE@json.output@{@@@", | |
277 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"browser_tests/Window
s-7-SP1/ffffffffff/CrWinClang(asan) tester/571\", @@@", | |
278 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", | |
279 "@@@STEP_LOG_LINE@json.output@ \"browser_tests/Windows-7-SP1/ffffffffff
/CrWinClang(asan) tester/571\": {@@@", | |
280 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", | |
281 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", | |
282 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm
.appspot.com/user/task/10000\"@@@", | |
283 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
284 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
285 "@@@STEP_LOG_LINE@json.output@}@@@", | |
286 "@@@STEP_LOG_END@json.output@@@", | |
287 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@
@@" | |
288 ] | |
289 }, | |
290 { | |
291 "allow_subannotations": true, | |
292 "cmd": [ | |
293 "python", | |
294 "-u", | |
295 "[BUILD]\\scripts\\slave\\recipe_modules\\swarming\\resources\\collect_gte
st_task.py", | |
296 "--swarming-client-dir", | |
297 "[SLAVE_BUILD]\\src\\tools\\swarming_client", | |
298 "--temp-root-dir", | |
299 "[TMP_BASE]", | |
300 "--merged-test-output", | |
301 "/path/to/tmp/json", | |
302 "--", | |
303 "collect", | |
304 "--swarming", | |
305 "https://chromium-swarm.appspot.com", | |
306 "--decorate", | |
307 "--print-status-updates", | |
308 "--shards", | |
309 "1", | |
310 "browser_tests/Windows-7-SP1/ffffffffff/CrWinClang(asan) tester/571" | |
311 ], | |
312 "name": "browser_tests" | |
313 }, | |
314 { | |
315 "cmd": [ | |
316 "python", | |
317 "-u", | |
318 "[BUILD]\\scripts\\slave\\process_dumps.py", | |
319 "--target", | |
320 "Release" | |
321 ], | |
322 "name": "process_dumps" | |
323 } | |
324 ] | |
OLD | NEW |