Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: scripts/slave/recipes/ios/try.expected/swarming.json

Issue 2455433002: Convert chromium.mac, chromium.fyi iOS bots to run tests on Swarming (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « scripts/slave/recipes/ios/try.py ('k') | scripts/slave/recipes/ios/unified_builder_tester.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file",
6 "/path/to/tmp/json"
7 ],
8 "name": "host and tools info",
9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
11 "@@@STEP_LOG_LINE@json.output@{@@@",
12 "@@@STEP_LOG_LINE@json.output@ \"Mac OS X Version\": \"1.2.3\", @@@",
13 "@@@STEP_LOG_LINE@json.output@ \"Xcode Build Version\": \"5D342509a\", @@ @",
14 "@@@STEP_LOG_LINE@json.output@ \"Xcode SDKs\": [@@@",
15 "@@@STEP_LOG_LINE@json.output@ \"fake sdk 1.0\", @@@",
16 "@@@STEP_LOG_LINE@json.output@ \"fake sdk 1.1\", @@@",
17 "@@@STEP_LOG_LINE@json.output@ \"fake sdk 2.0\"@@@",
18 "@@@STEP_LOG_LINE@json.output@ ], @@@",
19 "@@@STEP_LOG_LINE@json.output@ \"Xcode Version\": \"6.7.8\"@@@",
20 "@@@STEP_LOG_LINE@json.output@}@@@",
21 "@@@STEP_LOG_END@json.output@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "\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",
29 "[BUILDER_CACHE]/ios_simulator_swarming",
30 "511"
31 ],
32 "name": "makedirs checkout path",
33 "~followup_annotations": [
34 "@@@STEP_LOG_LINE@python.inline@@@@",
35 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
36 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
37 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
38 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
39 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
40 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
41 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
42 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
43 "@@@STEP_LOG_END@python.inline@@@"
44 ]
45 },
46 {
47 "cmd": [
48 "python",
49 "-u",
50 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
51 "--spec",
52 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/data /firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchplu gins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/frame _rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/data /ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/ data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_tests ': None, 'src/data/page_cycler': None, 'src/data/selenium_core': None, 'src/data /tab_switching': None, 'src/tools/grit/grit/test/data': None, 'src/webkit/data/b mp_decoder': None, 'src/webkit/data/ico_decoder': None, 'src/webkit/data/test_sh ell/plugins': None, 'src/webkit/data/xbm_decoder': None}, 'deps_file': '.DEPS.gi t', 'managed': True, 'name': 'src-internal', 'url': 'https://chrome-internal.goo glesource.com/chrome/src-internal.git'}]\ntarget_os = ['ios']",
53 "--patch_root",
54 "src",
55 "--revision_mapping_file",
56 "{\"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\"}",
57 "--git-cache-dir",
58 "[GIT_CACHE]",
59 "--issue",
60 "123456",
61 "--patchset",
62 "1",
63 "--rietveld_server",
64 "fake://rietveld.url",
65 "--output_json",
66 "/path/to/tmp/json",
67 "--revision",
68 "src@HEAD",
69 "--output_manifest"
70 ],
71 "cwd": "[BUILDER_CACHE]/ios_simulator_swarming",
72 "env": {
73 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
74 },
75 "name": "bot_update",
76 "~followup_annotations": [
77 "@@@STEP_TEXT@Some step text@@@",
78 "@@@STEP_LOG_LINE@json.output@{@@@",
79 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
80 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
81 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@",
82 "@@@STEP_LOG_LINE@json.output@ }, @@@",
83 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
84 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
85 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src .git\", @@@",
86 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
87 "@@@STEP_LOG_LINE@json.output@ }, @@@",
88 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /buildtools.git\", @@@",
90 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635 3cb994259692140934\"@@@",
91 "@@@STEP_LOG_LINE@json.output@ }, @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@",
93 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /native_client.git\", @@@",
94 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26 9b7982aeeefc1b9b50\"@@@",
95 "@@@STEP_LOG_LINE@json.output@ }, @@@",
96 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@",
97 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /third_party/angle.git\", @@@",
98 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a 728eb85b8d7bc6080c\"@@@",
99 "@@@STEP_LOG_LINE@json.output@ }, @@@",
100 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /third_party/webrtc.git\", @@@",
102 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685 96da93418c623137f4\"@@@",
103 "@@@STEP_LOG_LINE@json.output@ }, @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@",
105 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /tools/swarming_client.git\", @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7 59c837980b63b99566\"@@@",
107 "@@@STEP_LOG_LINE@json.output@ }, @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@",
109 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src /v8.git\", @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a 35f03975671d43e399\"@@@",
111 "@@@STEP_LOG_LINE@json.output@ }@@@",
112 "@@@STEP_LOG_LINE@json.output@ }, @@@",
113 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
114 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
115 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
116 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f 77757b9a728eb85b8d7bc6080c\", @@@",
117 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/ master@{#297276}\", @@@",
118 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328 b2809876916353cb994259692140934\", @@@",
119 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h eads/master@{#182578}\", @@@",
120 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
121 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
122 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
123 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\", @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee 5d99f1d4b38ddaa4c759c837980b63b99566\", @@@",
125 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r efs/heads/master@{#276089}\", @@@",
126 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1 32c3a35f03975671d43e399\", @@@",
127 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas ter@{#43426}\", @@@",
128 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546 e61d9268596da93418c623137f4\", @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads /master@{#120644}\"@@@",
130 "@@@STEP_LOG_LINE@json.output@ }, @@@",
131 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
132 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
133 "@@@STEP_LOG_LINE@json.output@}@@@",
134 "@@@STEP_LOG_END@json.output@@@",
135 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee efc1b9b50\"@@@",
136 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4 c759c837980b63b99566\"@@@",
137 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18 2578}\"@@@",
138 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934 18c623137f4\"@@@",
139 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
140 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\ "@@@",
141 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b 8d7bc6080c\"@@@",
142 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671 d43e399\"@@@",
143 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@ @",
144 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master @{#276089}\"@@@",
145 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644 }\"@@@",
146 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" ,
147 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@",
148 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb 994259692140934\"@@@"
149 ]
150 },
151 {
152 "cmd": [
153 "python",
154 "-u",
155 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
156 "[BUILDER_CACHE]/ios_simulator_swarming/src/ios/build/bots/chromium.mac/io s-simulator-swarming.json",
157 "/path/to/tmp/json"
158 ],
159 "name": "read build config",
160 "~followup_annotations": [
161 "@@@STEP_LOG_LINE@json.output@{@@@",
162 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": {@@@",
163 "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 1\": \"fake value 1\", @@@",
164 "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 2\": \"fake value 2\"@ @@",
165 "@@@STEP_LOG_LINE@json.output@ }, @@@",
166 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
167 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"iphonesimulator8.0\", @@@",
168 "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@",
169 "@@@STEP_LOG_LINE@json.output@ {@@@",
170 "@@@STEP_LOG_LINE@json.output@ \"app\": \"fake test\", @@@",
171 "@@@STEP_LOG_LINE@json.output@ \"device type\": \"fake device\", @@@" ,
172 "@@@STEP_LOG_LINE@json.output@ \"os\": \"8.1\"@@@",
173 "@@@STEP_LOG_LINE@json.output@ }@@@",
174 "@@@STEP_LOG_LINE@json.output@ ], @@@",
175 "@@@STEP_LOG_LINE@json.output@ \"xcode version\": \"fake xcode version\"@ @@",
176 "@@@STEP_LOG_LINE@json.output@}@@@",
177 "@@@STEP_LOG_END@json.output@@@"
178 ]
179 },
180 {
181 "cmd": [
182 "echo",
183 "-e",
184 "{\n \"GYP_DEFINES\": {\n \"OS\": \"ios\", \n \"component\": \"stat ic_library\", \n \"fake gyp define 1\": \"fake value 1\", \n \"fake gyp de fine 2\": \"fake value 2\"\n }, \n \"additional_compile_targets\": [\n \"Al l\"\n ], \n \"configuration\": \"Debug\", \n \"env\": {}, \n \"gn_args\": [] , \n \"mastername\": \"chromium.mac\", \n \"mb_type\": null, \n \"sdk\": \"ip honesimulator8.0\", \n \"tests\": [\n {\n \"app\": \"fake test\", \n \"device type\": \"fake device\", \n \"id\": \"0\", \n \"os\": \"8. 1\"\n }\n ], \n \"triggered bots\": {}, \n \"use_analyze\": true, \n \"xc ode version\": \"fake xcode version\"\n}"
185 ],
186 "name": "finalize build config"
187 },
188 {
189 "cmd": [
190 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/find_xcode.py",
191 "--json-file",
192 "/path/to/tmp/json",
193 "--version",
194 "fake xcode version"
195 ],
196 "name": "find xcode",
197 "~followup_annotations": [
198 "@@@STEP_LOG_LINE@json.output@{}@@@",
199 "@@@STEP_LOG_END@json.output@@@"
200 ]
201 },
202 {
203 "cmd": [
204 "python",
205 "-u",
206 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
207 "runhooks"
208 ],
209 "cwd": "[BUILDER_CACHE]/ios_simulator_swarming/src",
210 "env": {
211 "GYP_CROSSCOMPILE": "1",
212 "GYP_DEFINES": "fake gyp define 1=fake value 1 fake gyp define 2=fake valu e 2 component=static_library OS=ios",
213 "GYP_GENERATORS": "ninja",
214 "LANDMINES_VERBOSE": "1",
215 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
216 },
217 "name": "gclient runhooks (with patch)",
218 "~followup_annotations": [
219 "@@@STEP_TEXT@<br />GYP_DEFINES:<br />fake gyp define 1=fake value 1<br /> fake gyp define 2=fake value 2<br />component=static_library<br />OS=ios@@@"
220 ]
221 },
222 {
223 "cmd": [
224 "git",
225 "diff",
226 "--cached",
227 "--name-only"
228 ],
229 "cwd": "[BUILDER_CACHE]/ios_simulator_swarming/src",
230 "name": "git diff to analyze patch",
231 "stdout": "/path/to/tmp/",
232 "~followup_annotations": [
233 "@@@STEP_LOG_LINE@files@foo.cc@@@",
234 "@@@STEP_LOG_END@files@@@"
235 ]
236 },
237 {
238 "cmd": [
239 "python",
240 "-u",
241 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
242 "[BUILDER_CACHE]/ios_simulator_swarming/src/testing/buildbot/trybot_analyz e_config.json",
243 "/path/to/tmp/json"
244 ],
245 "name": "read filter exclusion spec",
246 "~followup_annotations": [
247 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
248 "@@@STEP_LOG_LINE@json.output@{@@@",
249 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
250 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": [@@@",
251 "@@@STEP_LOG_LINE@json.output@ \"f.*\"@@@",
252 "@@@STEP_LOG_LINE@json.output@ ]@@@",
253 "@@@STEP_LOG_LINE@json.output@ }, @@@",
254 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
255 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
256 "@@@STEP_LOG_LINE@json.output@ }, @@@",
257 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
258 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
259 "@@@STEP_LOG_LINE@json.output@ }@@@",
260 "@@@STEP_LOG_LINE@json.output@}@@@",
261 "@@@STEP_LOG_END@json.output@@@"
262 ]
263 },
264 {
265 "cmd": [
266 "python",
267 "-u",
268 "import sys; sys.exit(0)"
269 ],
270 "name": "analyze",
271 "~followup_annotations": [
272 "@@@STEP_TEXT@Analyze disabled: matched exclusion@@@",
273 "@@@STEP_LOG_LINE@excluded_files@foo.cc (regex = 'f.*')@@@",
274 "@@@STEP_LOG_END@excluded_files@@@",
275 "@@@STEP_LOG_LINE@analyze_details@{@@@",
276 "@@@STEP_LOG_LINE@analyze_details@ \"additional_compile_targets\": [@@@",
277 "@@@STEP_LOG_LINE@analyze_details@ \"All\", @@@",
278 "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
279 "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
280 "@@@STEP_LOG_LINE@analyze_details@ \"compile_targets\": [@@@",
281 "@@@STEP_LOG_LINE@analyze_details@ \"All\", @@@",
282 "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
283 "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
284 "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.compile_targets\": [@@ @",
285 "@@@STEP_LOG_LINE@analyze_details@ \"All\", @@@",
286 "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
287 "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
288 "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.test_targets\": [@@@",
289 "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
290 "@@@STEP_LOG_LINE@analyze_details@ ], @@@",
291 "@@@STEP_LOG_LINE@analyze_details@ \"test_targets\": [@@@",
292 "@@@STEP_LOG_LINE@analyze_details@ \"fake test\"@@@",
293 "@@@STEP_LOG_LINE@analyze_details@ ]@@@",
294 "@@@STEP_LOG_LINE@analyze_details@}@@@",
295 "@@@STEP_LOG_END@analyze_details@@@"
296 ]
297 },
298 {
299 "cmd": [
300 "ninja",
301 "-C",
302 "[BUILDER_CACHE]/ios_simulator_swarming/src/out/Debug-iphonesimulator",
303 "All",
304 "fake test"
305 ],
306 "cwd": "[BUILDER_CACHE]/ios_simulator_swarming/src/out/Debug-iphonesimulator ",
307 "name": "compile (with patch)"
308 },
309 {
310 "cmd": [],
311 "name": "bootstrap swarming"
312 },
313 {
314 "cmd": [
315 "python",
316 "-u",
317 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
318 "--path",
319 "[SLAVE_BUILD]/swarming.client",
320 "--url",
321 "https://chromium.googlesource.com/external/swarming.client.git"
322 ],
323 "name": "bootstrap swarming.git setup (swarming_client)",
324 "~followup_annotations": [
325 "@@@STEP_NEST_LEVEL@1@@@"
326 ]
327 },
328 {
329 "cmd": [
330 "git",
331 "retry",
332 "fetch",
333 "origin",
334 "stable"
335 ],
336 "cwd": "[SLAVE_BUILD]/swarming.client",
337 "env": {
338 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
339 },
340 "name": "bootstrap swarming.git fetch (swarming_client)",
341 "~followup_annotations": [
342 "@@@STEP_NEST_LEVEL@1@@@"
343 ]
344 },
345 {
346 "cmd": [
347 "git",
348 "checkout",
349 "-f",
350 "FETCH_HEAD"
351 ],
352 "cwd": "[SLAVE_BUILD]/swarming.client",
353 "name": "bootstrap swarming.git checkout (swarming_client)",
354 "~followup_annotations": [
355 "@@@STEP_NEST_LEVEL@1@@@"
356 ]
357 },
358 {
359 "cmd": [
360 "git",
361 "rev-parse",
362 "HEAD"
363 ],
364 "cwd": "[SLAVE_BUILD]/swarming.client",
365 "name": "bootstrap swarming.read revision",
366 "stdout": "/path/to/tmp/",
367 "~followup_annotations": [
368 "@@@STEP_NEST_LEVEL@1@@@",
369 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
370 ]
371 },
372 {
373 "cmd": [
374 "git",
375 "clean",
376 "-f",
377 "-d",
378 "-x"
379 ],
380 "cwd": "[SLAVE_BUILD]/swarming.client",
381 "name": "bootstrap swarming.git clean (swarming_client)",
382 "~followup_annotations": [
383 "@@@STEP_NEST_LEVEL@1@@@"
384 ]
385 },
386 {
387 "cmd": [
388 "git",
389 "submodule",
390 "sync"
391 ],
392 "cwd": "[SLAVE_BUILD]/swarming.client",
393 "name": "bootstrap swarming.submodule sync (swarming_client)",
394 "~followup_annotations": [
395 "@@@STEP_NEST_LEVEL@1@@@"
396 ]
397 },
398 {
399 "cmd": [
400 "git",
401 "submodule",
402 "update",
403 "--init",
404 "--recursive"
405 ],
406 "cwd": "[SLAVE_BUILD]/swarming.client",
407 "name": "bootstrap swarming.submodule update (swarming_client)",
408 "~followup_annotations": [
409 "@@@STEP_NEST_LEVEL@1@@@"
410 ]
411 },
412 {
413 "cmd": [
414 "python",
415 "-u",
416 "[SLAVE_BUILD]/swarming.client/swarming.py",
417 "--version"
418 ],
419 "name": "bootstrap swarming.swarming.py --version",
420 "stdout": "/path/to/tmp/",
421 "~followup_annotations": [
422 "@@@STEP_NEST_LEVEL@1@@@",
423 "@@@STEP_TEXT@1.2.3@@@"
424 ]
425 },
426 {
427 "cmd": [],
428 "name": "isolate"
429 },
430 {
431 "cmd": [
432 "python",
433 "-u",
434 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
435 "{\n \"conditions\": [\n [\n \"OS == \\\"ios\\\"\", \n {\n \"variables\": {\n \"command\": [\n \"src/ios/build/bo ts/scripts/run.py\", \n \"--app\", \n \"<(app_path)\", \n \"--args-json\", \n \"{\\\"xctest\\\": <(xctest)}\", \n \"--out-dir\", \n \"${ISOLATED_OUTDIR}\", \n \"-- xcode-version\", \n \"<(xcode_version)\", \n \"--iossim\", \n \"src/out/Debug-iphonesimulator/iossim\", \n \"--platf orm\", \n \"<(platform)\", \n \"--version\", \n \"<(version)\"\n ], \n \"files\": [\n \"<(app_path )/\", \n \"src/ios/build/bots/scripts/\", \n \"src/out/Deb ug-iphonesimulator/iossim\"\n ]\n }\n }\n ]\n ]\n}",
436 "[SLAVE_BUILD]/template.isolate"
437 ],
438 "name": "isolate.generate template.isolate",
439 "~followup_annotations": [
440 "@@@STEP_NEST_LEVEL@1@@@",
441 "@@@STEP_LOG_LINE@template.isolate@{@@@",
442 "@@@STEP_LOG_LINE@template.isolate@ \"conditions\": [@@@",
443 "@@@STEP_LOG_LINE@template.isolate@ [@@@",
444 "@@@STEP_LOG_LINE@template.isolate@ \"OS == \\\"ios\\\"\", @@@",
445 "@@@STEP_LOG_LINE@template.isolate@ {@@@",
446 "@@@STEP_LOG_LINE@template.isolate@ \"variables\": {@@@",
447 "@@@STEP_LOG_LINE@template.isolate@ \"command\": [@@@",
448 "@@@STEP_LOG_LINE@template.isolate@ \"src/ios/build/bots/script s/run.py\", @@@",
449 "@@@STEP_LOG_LINE@template.isolate@ \"--app\", @@@",
450 "@@@STEP_LOG_LINE@template.isolate@ \"<(app_path)\", @@@",
451 "@@@STEP_LOG_LINE@template.isolate@ \"--args-json\", @@@",
452 "@@@STEP_LOG_LINE@template.isolate@ \"{\\\"xctest\\\": <(xctest )}\", @@@",
453 "@@@STEP_LOG_LINE@template.isolate@ \"--out-dir\", @@@",
454 "@@@STEP_LOG_LINE@template.isolate@ \"${ISOLATED_OUTDIR}\", @@@ ",
455 "@@@STEP_LOG_LINE@template.isolate@ \"--xcode-version\", @@@",
456 "@@@STEP_LOG_LINE@template.isolate@ \"<(xcode_version)\", @@@",
457 "@@@STEP_LOG_LINE@template.isolate@ \"--iossim\", @@@",
458 "@@@STEP_LOG_LINE@template.isolate@ \"src/out/Debug-iphonesimul ator/iossim\", @@@",
459 "@@@STEP_LOG_LINE@template.isolate@ \"--platform\", @@@",
460 "@@@STEP_LOG_LINE@template.isolate@ \"<(platform)\", @@@",
461 "@@@STEP_LOG_LINE@template.isolate@ \"--version\", @@@",
462 "@@@STEP_LOG_LINE@template.isolate@ \"<(version)\"@@@",
463 "@@@STEP_LOG_LINE@template.isolate@ ], @@@",
464 "@@@STEP_LOG_LINE@template.isolate@ \"files\": [@@@",
465 "@@@STEP_LOG_LINE@template.isolate@ \"<(app_path)/\", @@@",
466 "@@@STEP_LOG_LINE@template.isolate@ \"src/ios/build/bots/script s/\", @@@",
467 "@@@STEP_LOG_LINE@template.isolate@ \"src/out/Debug-iphonesimul ator/iossim\"@@@",
468 "@@@STEP_LOG_LINE@template.isolate@ ]@@@",
469 "@@@STEP_LOG_LINE@template.isolate@ }@@@",
470 "@@@STEP_LOG_LINE@template.isolate@ }@@@",
471 "@@@STEP_LOG_LINE@template.isolate@ ]@@@",
472 "@@@STEP_LOG_LINE@template.isolate@ ]@@@",
473 "@@@STEP_LOG_LINE@template.isolate@}@@@",
474 "@@@STEP_LOG_END@template.isolate@@@"
475 ]
476 },
477 {
478 "cmd": [
479 "python",
480 "-u",
481 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
482 "{\n \"args\": [\n \"--config-variable\", \n \"OS\", \n \"ios\", \n \"--config-variable\", \n \"app_path\", \n \"src/out/Debug-iphonesi mulator/fake test.app\", \n \"--config-variable\", \n \"xcode_version\", \ n \"fake xcode version\", \n \"--config-variable\", \n \"xctest\", \n \"false\", \n \"--isolate\", \n \"[SLAVE_BUILD]/template.isolate\", \n \"--isolated\", \n \"[TMP_BASE]/isolate_tmp_1/0.isolated\", \n \"--path- variable\", \n \"app_path\", \n \"src/out/Debug-iphonesimulator/fake test. app\", \n \"--config-variable\", \n \"platform\", \n \"fake device\", \ n \"--config-variable\", \n \"version\", \n \"8.1\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
483 "[TMP_BASE]/isolate_tmp_1/0.isolate.gen.json"
484 ],
485 "name": "isolate.generate 0.isolate.gen.json",
486 "~followup_annotations": [
487 "@@@STEP_NEST_LEVEL@1@@@",
488 "@@@STEP_TEXT@fake test (fake device iOS 8.1)@@@",
489 "@@@STEP_LOG_LINE@0.isolate.gen.json@{@@@",
490 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"args\": [@@@",
491 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
492 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"OS\", @@@",
493 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"ios\", @@@",
494 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
495 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"app_path\", @@@",
496 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"src/out/Debug-iphonesimulator/f ake test.app\", @@@",
497 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
498 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"xcode_version\", @@@",
499 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"fake xcode version\", @@@",
500 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
501 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"xctest\", @@@",
502 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"false\", @@@",
503 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--isolate\", @@@",
504 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"[SLAVE_BUILD]/template.isolate\ ", @@@",
505 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--isolated\", @@@",
506 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"[TMP_BASE]/isolate_tmp_1/0.isol ated\", @@@",
507 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--path-variable\", @@@",
508 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"app_path\", @@@",
509 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"src/out/Debug-iphonesimulator/f ake test.app\", @@@",
510 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
511 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"platform\", @@@",
512 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"fake device\", @@@",
513 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"--config-variable\", @@@",
514 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"version\", @@@",
515 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"8.1\"@@@",
516 "@@@STEP_LOG_LINE@0.isolate.gen.json@ ], @@@",
517 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"dir\": \"[SLAVE_BUILD]\", @@@",
518 "@@@STEP_LOG_LINE@0.isolate.gen.json@ \"version\": 1@@@",
519 "@@@STEP_LOG_LINE@0.isolate.gen.json@}@@@",
520 "@@@STEP_LOG_END@0.isolate.gen.json@@@"
521 ]
522 },
523 {
524 "cmd": [
525 "[SLAVE_BUILD]/swarming.client/isolate.py",
526 "batcharchive",
527 "--dump-json",
528 "/path/to/tmp/json",
529 "--isolate-server",
530 "https://isolateserver.appspot.com",
531 "[TMP_BASE]/isolate_tmp_1/0.isolate.gen.json"
532 ],
533 "name": "isolate.archive",
534 "~followup_annotations": [
535 "@@@STEP_NEST_LEVEL@1@@@",
536 "@@@STEP_LOG_LINE@json.output@{@@@",
537 "@@@STEP_LOG_LINE@json.output@ \"0\": \"fake-hash-0\"@@@",
538 "@@@STEP_LOG_LINE@json.output@}@@@",
539 "@@@STEP_LOG_END@json.output@@@"
540 ]
541 },
542 {
543 "cmd": [],
544 "name": "trigger"
545 },
546 {
547 "cmd": [
548 "python",
549 "-u",
550 "[SLAVE_BUILD]/swarming.client/swarming.py",
551 "trigger",
552 "--swarming",
553 "https://chromium-swarm.appspot.com",
554 "--isolate-server",
555 "https://isolateserver.appspot.com",
556 "--priority",
557 "200",
558 "--shards",
559 "1",
560 "--task-name",
561 "fake test (fake device iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0",
562 "--dump-json",
563 "/path/to/tmp/json",
564 "--expiration",
565 "3600",
566 "--io-timeout",
567 "1200",
568 "--hard-timeout",
569 "3600",
570 "--dimension",
571 "os",
572 "Mac",
573 "--dimension",
574 "pool",
575 "Chrome",
576 "--dimension",
577 "xcode_version",
578 "fake xcode version",
579 "--tag",
580 "buildername:ios-simulator-swarming",
581 "--tag",
582 "buildnumber:0",
583 "--tag",
584 "data:fake-hash-0",
585 "--tag",
586 "device_type:fake device",
587 "--tag",
588 "ios_version:8.1",
589 "--tag",
590 "master:tryserver.fake",
591 "--tag",
592 "name:fake",
593 "--tag",
594 "os:Mac",
595 "--tag",
596 "platform:simulator",
597 "--tag",
598 "rietveld:fake://rietveld.url/123456/#ps1",
599 "--tag",
600 "slavename:fake-vm",
601 "--tag",
602 "spec_name:tryserver.fake:ios-simulator-swarming:fake test:simulator:fake device:8.1:fake xcode version",
603 "--tag",
604 "stepname:fake test (fake device iOS 8.1) on Mac",
605 "--tag",
606 "test:fake test",
607 "fake-hash-0"
608 ],
609 "name": "trigger.[trigger] fake test (fake device iOS 8.1) on Mac",
610 "~followup_annotations": [
611 "@@@STEP_NEST_LEVEL@1@@@",
612 "@@@STEP_LOG_LINE@json.output@{@@@",
613 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"fake test (fake devi ce iOS 8.1)/Mac/fake-hash-/ios-simulator-swarming/0\", @@@",
614 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
615 "@@@STEP_LOG_LINE@json.output@ \"fake test (fake device iOS 8.1)/Mac/fa ke-hash-/ios-simulator-swarming/0\": {@@@",
616 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
617 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
618 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
619 "@@@STEP_LOG_LINE@json.output@ }@@@",
620 "@@@STEP_LOG_LINE@json.output@ }@@@",
621 "@@@STEP_LOG_LINE@json.output@}@@@",
622 "@@@STEP_LOG_END@json.output@@@",
623 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
624 ]
625 },
626 {
627 "cmd": [
628 "python",
629 "-u",
630 "[SLAVE_BUILD]/swarming.client/swarming.py",
631 "collect",
632 "--swarming",
633 "https://chromium-swarm.appspot.com",
634 "--decorate",
635 "--print-status-updates",
636 "--json",
637 "{\"base_task_name\": \"fake test (fake device iOS 8.1)/Mac/fake-hash-/ios -simulator-swarming/0\", \"tasks\": {\"fake test (fake device iOS 8.1)/Mac/fake- hash-/ios-simulator-swarming/0\": {\"shard_index\": 0, \"task_id\": \"10000\", \ "view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
638 "--task-summary-json",
639 "/path/to/tmp/json",
640 "--task-output-dir",
641 "[TMP_BASE]/0_tmp_2"
642 ],
643 "name": "fake test (fake device iOS 8.1) on Mac",
644 "~followup_annotations": [
645 "@@@STEP_TEXT@swarming pending 71s@@@",
646 "@@@STEP_LOG_LINE@json.output@{@@@",
647 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
648 "@@@STEP_LOG_LINE@json.output@ {@@@",
649 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
650 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
651 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
652 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
653 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
654 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
655 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
656 "@@@STEP_LOG_LINE@json.output@ ], @@@",
657 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
658 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
659 "@@@STEP_LOG_LINE@json.output@ 0@@@",
660 "@@@STEP_LOG_LINE@json.output@ ], @@@",
661 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
662 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
663 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
664 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
665 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
666 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolat eserver.appspot.com\", @@@",
667 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@ ",
668 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
669 "@@@STEP_LOG_LINE@json.output@ }, @@@",
670 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00 \", @@@",
671 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-2 5_01:41:55-os=Windows\", @@@",
672 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
673 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\ ", @@@",
674 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
675 "@@@STEP_LOG_LINE@json.output@ ], @@@",
676 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11. 123\", @@@",
677 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
678 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
679 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
680 "@@@STEP_LOG_LINE@json.output@ }@@@",
681 "@@@STEP_LOG_LINE@json.output@ ]@@@",
682 "@@@STEP_LOG_LINE@json.output@}@@@",
683 "@@@STEP_LOG_END@json.output@@@",
684 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
685 ]
686 },
687 {
688 "name": "$result",
689 "recipe_result": null,
690 "status_code": 0
691 }
692 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/ios/try.py ('k') | scripts/slave/recipes/ios/unified_builder_tester.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698