OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "[BUILD]/scripts/slave/cleanup_temp.py" | |
7 ], | |
8 "name": "cleanup_temp" | |
9 }, | |
10 { | |
11 "cmd": [ | |
12 "python", | |
13 "-u", | |
14 "[BUILD]/scripts/slave/bot_update.py", | |
15 "--master", | |
16 "chromium.swarm", | |
17 "--builder", | |
18 "IOS deterministic build", | |
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'}, {'custom_deps': {'src/chrome/test/data/firefo
x2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins':
None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src/chrome/t
est/data/firefox3_searchplugins': 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, 's
rc/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/sele
nium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/test/data
': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_decoder': Non
e, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_decoder': No
ne}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src-internal', 'url': 'svn:/
/svn-mirror.golo.chromium.org/chrome-internal/trunk/src-internal'}]\ntarget_os =
['ios']", | |
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@204787", | |
31 "--force" | |
32 ], | |
33 "name": "bot_update", | |
34 "~followup_annotations": [ | |
35 "@@@STEP_TEXT@Some step text@@@", | |
36 "@@@STEP_LOG_LINE@json.output@{@@@", | |
37 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
41 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
42 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
43 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
44 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
45 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
46 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
47 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
48 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
49 "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision\": \"5e2293dffc3cd
07d37fbedea3b500f0eb650614d\", @@@", | |
50 "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision_cp\": \"refs/heads
/master@{#124383}\", @@@", | |
51 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
52 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
53 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
54 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
55 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
56 "@@@STEP_LOG_LINE@json.output@}@@@", | |
57 "@@@STEP_LOG_END@json.output@@@", | |
58 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
59 "@@@SET_BUILD_PROPERTY@got_webkit_revision@\"5e2293dffc3cd07d37fbedea3b500
f0eb650614d\"@@@", | |
60 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
61 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
62 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
63 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
64 "@@@SET_BUILD_PROPERTY@got_webkit_revision_cp@\"refs/heads/master@{#124383
}\"@@@", | |
65 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
66 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
67 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
68 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
69 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
70 ] | |
71 }, | |
72 { | |
73 "cmd": [ | |
74 "python", | |
75 "-u", | |
76 "[DEPOT_TOOLS]/gclient.py", | |
77 "runhooks" | |
78 ], | |
79 "env": { | |
80 "GYP_CROSSCOMPILE": "1", | |
81 "GYP_DEFINES": "OS=ios chromium_ios_signing=0 component=static_library don
t_embed_build_metadata=1 test_isolation_mode=prepare", | |
82 "GYP_GENERATORS": "ninja", | |
83 "GYP_GENERATOR_FLAGS": "xcode_project_version=3.2" | |
84 }, | |
85 "name": "gclient runhooks" | |
86 }, | |
87 { | |
88 "cmd": [ | |
89 "python", | |
90 "-u", | |
91 "[BUILD]/scripts/slave/compile.py", | |
92 "--target", | |
93 "Release", | |
94 "--src-dir", | |
95 "[SLAVE_BUILD]/src", | |
96 "--build-tool", | |
97 "ninja", | |
98 "--clobber", | |
99 "--", | |
100 "all" | |
101 ], | |
102 "name": "First build" | |
103 }, | |
104 { | |
105 "cmd": [ | |
106 "python", | |
107 "-u", | |
108 "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py", | |
109 "--build-dir", | |
110 "[SLAVE_BUILD]/src/out/Release", | |
111 "--src-dir", | |
112 "[SLAVE_BUILD]/src" | |
113 ], | |
114 "cwd": "[SLAVE_BUILD]", | |
115 "name": "remove_build_metadata", | |
116 "~followup_annotations": [ | |
117 "step returned non-zero exit code: 1", | |
118 "@@@STEP_WARNINGS@@@" | |
119 ] | |
120 }, | |
121 { | |
122 "cmd": [ | |
123 "python", | |
124 "-u", | |
125 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | |
126 "/path/to/tmp/", | |
127 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" | |
128 ], | |
129 "name": "find isolated targets" | |
130 }, | |
131 { | |
132 "cmd": [ | |
133 "python", | |
134 "-u", | |
135 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py", | |
136 "batcharchive", | |
137 "--dump-json", | |
138 "/path/to/tmp/json", | |
139 "--isolate-server", | |
140 "https://isolateserver.appspot.com", | |
141 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", | |
142 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" | |
143 ], | |
144 "name": "isolate tests", | |
145 "~followup_annotations": [ | |
146 "@@@STEP_LOG_LINE@json.output@{@@@", | |
147 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
148 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
149 "@@@STEP_LOG_LINE@json.output@}@@@", | |
150 "@@@STEP_LOG_END@json.output@@@", | |
151 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
152 ] | |
153 }, | |
154 { | |
155 "cmd": [ | |
156 "python", | |
157 "-u", | |
158 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | |
159 "[SLAVE_BUILD]/src/out/Release", | |
160 "[SLAVE_BUILD]/src/out/Release.1" | |
161 ], | |
162 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.1", | |
163 "~followup_annotations": [ | |
164 "@@@STEP_LOG_LINE@python.inline@@@@", | |
165 "@@@STEP_LOG_LINE@python.inline@import os@@@", | |
166 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | |
167 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
168 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | |
169 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | |
170 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | |
171 "@@@STEP_LOG_END@python.inline@@@" | |
172 ] | |
173 }, | |
174 { | |
175 "cmd": [ | |
176 "python", | |
177 "-u", | |
178 "[DEPOT_TOOLS]/gclient.py", | |
179 "runhooks" | |
180 ], | |
181 "env": { | |
182 "GYP_CROSSCOMPILE": "1", | |
183 "GYP_DEFINES": "OS=ios chromium_ios_signing=0 component=static_library don
t_embed_build_metadata=1 test_isolation_mode=prepare", | |
184 "GYP_GENERATORS": "ninja", | |
185 "GYP_GENERATOR_FLAGS": "xcode_project_version=3.2" | |
186 }, | |
187 "name": "gclient runhooks (2)" | |
188 }, | |
189 { | |
190 "cmd": [ | |
191 "python", | |
192 "-u", | |
193 "[BUILD]/scripts/slave/compile.py", | |
194 "--target", | |
195 "Release", | |
196 "--src-dir", | |
197 "[SLAVE_BUILD]/src", | |
198 "--build-tool", | |
199 "ninja", | |
200 "--clobber", | |
201 "--", | |
202 "all" | |
203 ], | |
204 "name": "Second build" | |
205 }, | |
206 { | |
207 "cmd": [ | |
208 "python", | |
209 "-u", | |
210 "RECIPE_MODULE[isolate]/resources/remove_build_metadata.py", | |
211 "--build-dir", | |
212 "[SLAVE_BUILD]/src/out/Release", | |
213 "--src-dir", | |
214 "[SLAVE_BUILD]/src" | |
215 ], | |
216 "cwd": "[SLAVE_BUILD]", | |
217 "name": "remove_build_metadata (2)" | |
218 }, | |
219 { | |
220 "cmd": [ | |
221 "python", | |
222 "-u", | |
223 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('
\\n'.join(glob.glob(sys.argv[2])))\n", | |
224 "/path/to/tmp/", | |
225 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json" | |
226 ], | |
227 "name": "find isolated targets (2)" | |
228 }, | |
229 { | |
230 "cmd": [ | |
231 "python", | |
232 "-u", | |
233 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py", | |
234 "batcharchive", | |
235 "--dump-json", | |
236 "/path/to/tmp/json", | |
237 "--isolate-server", | |
238 "https://isolateserver.appspot.com", | |
239 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json", | |
240 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json" | |
241 ], | |
242 "name": "isolate tests (2)", | |
243 "~followup_annotations": [ | |
244 "@@@STEP_LOG_LINE@json.output@{@@@", | |
245 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | |
246 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | |
247 "@@@STEP_LOG_LINE@json.output@}@@@", | |
248 "@@@STEP_LOG_END@json.output@@@", | |
249 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | |
250 ] | |
251 }, | |
252 { | |
253 "cmd": [ | |
254 "python", | |
255 "-u", | |
256 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n
shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", | |
257 "[SLAVE_BUILD]/src/out/Release", | |
258 "[SLAVE_BUILD]/src/out/Release.2" | |
259 ], | |
260 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", | |
261 "~followup_annotations": [ | |
262 "@@@STEP_LOG_LINE@python.inline@@@@", | |
263 "@@@STEP_LOG_LINE@python.inline@import os@@@", | |
264 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | |
265 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
266 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | |
267 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | |
268 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | |
269 "@@@STEP_LOG_END@python.inline@@@" | |
270 ] | |
271 }, | |
272 { | |
273 "cmd": [ | |
274 "python", | |
275 "-u", | |
276 "RECIPE_MODULE[isolate]/resources/compare_build_artifacts.py", | |
277 "--first-build-dir", | |
278 "[SLAVE_BUILD]/src/out/Release.1", | |
279 "--second-build-dir", | |
280 "[SLAVE_BUILD]/src/out/Release.2", | |
281 "--target-platform", | |
282 "ios" | |
283 ], | |
284 "cwd": "[SLAVE_BUILD]", | |
285 "name": "compare_build_artifacts" | |
286 } | |
287 ] | |
OLD | NEW |