OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
7 "--master", | |
8 "chromium.mojo", | |
9 "--builder", | |
10 "Chromium Mojo Android", | |
11 "--slave", | |
12 "TestSlavename", | |
13 "--spec", | |
14 "cache_dir = '[GIT_CACHE]'\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.chr
omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t
runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m
irror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", | |
15 "--root", | |
16 "src", | |
17 "--revision_mapping_file", | |
18 "{\"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\"}", | |
19 "--git-cache-dir", | |
20 "[GIT_CACHE]", | |
21 "--output_json", | |
22 "/path/to/tmp/json", | |
23 "--revision", | |
24 "src@HEAD", | |
25 "--force", | |
26 "--output_manifest" | |
27 ], | |
28 "env": { | |
29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
30 }, | |
31 "name": "bot_update", | |
32 "~followup_annotations": [ | |
33 "@@@STEP_TEXT@Some step text@@@", | |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | |
38 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
41 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
42 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
43 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
44 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", | |
45 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/buildtools.git\", @@@", | |
46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635
3cb994259692140934\"@@@", | |
47 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
48 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
49 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
50 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
51 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
52 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
53 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
54 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
55 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
56 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
57 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
58 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
59 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
60 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
61 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
62 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
63 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
64 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
65 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
66 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
67 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
68 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
69 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
70 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
71 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
72 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
73 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
74 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328
b2809876916353cb994259692140934\", @@@", | |
75 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h
eads/master@{#182578}\", @@@", | |
76 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
77 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
78 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
79 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
80 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
81 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
82 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
83 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
84 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
85 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
86 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
87 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
88 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
89 "@@@STEP_LOG_LINE@json.output@}@@@", | |
90 "@@@STEP_LOG_END@json.output@@@", | |
91 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
92 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
93 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18
2578}\"@@@", | |
94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
95 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
96 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
97 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
98 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
99 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
100 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
101 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
102 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
103 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | |
104 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | |
105 ] | |
106 }, | |
107 { | |
108 "cmd": [], | |
109 "name": "ensure_goma" | |
110 }, | |
111 { | |
112 "cmd": [ | |
113 "python", | |
114 "-u", | |
115 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", | |
116 "--platform", | |
117 "linux-386", | |
118 "--dest-directory", | |
119 "[SLAVE_BUILD]/cipd", | |
120 "--json-output", | |
121 "/path/to/tmp/json" | |
122 ], | |
123 "name": "ensure_goma.install cipd", | |
124 "~followup_annotations": [ | |
125 "@@@STEP_NEST_LEVEL@1@@@", | |
126 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
127 "@@@STEP_LOG_LINE@json.output@{@@@", | |
128 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
129 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
130 "@@@STEP_LOG_LINE@json.output@}@@@", | |
131 "@@@STEP_LOG_END@json.output@@@" | |
132 ] | |
133 }, | |
134 { | |
135 "cmd": [ | |
136 "[SLAVE_BUILD]/cipd/cipd", | |
137 "ensure", | |
138 "--root", | |
139 "[CACHE]/cipd/goma", | |
140 "--list", | |
141 "infra_internal/goma/client/linux-386 release", | |
142 "--json-output", | |
143 "/path/to/tmp/json", | |
144 "--service-account-json", | |
145 "/creds/service_accounts/service-account-goma-client.json" | |
146 ], | |
147 "name": "ensure_goma.ensure_installed", | |
148 "~followup_annotations": [ | |
149 "@@@STEP_NEST_LEVEL@1@@@", | |
150 "@@@STEP_LOG_LINE@json.output@{@@@", | |
151 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
152 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
153 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
154 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-386\"@@@", | |
155 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
156 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
157 "@@@STEP_LOG_LINE@json.output@}@@@", | |
158 "@@@STEP_LOG_END@json.output@@@" | |
159 ] | |
160 }, | |
161 { | |
162 "cmd": [ | |
163 "python", | |
164 "-u", | |
165 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
166 "runhooks" | |
167 ], | |
168 "cwd": "[SLAVE_BUILD]/src", | |
169 "env": { | |
170 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
171 "GYP_CHROMIUM_NO_ACTION": "1", | |
172 "GYP_CROSSCOMPILE": "1", | |
173 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm use_goma=1", | |
174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
175 }, | |
176 "name": "gclient runhooks" | |
177 }, | |
178 { | |
179 "cmd": [ | |
180 "python", | |
181 "-u", | |
182 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", | |
183 "--output", | |
184 "/path/to/tmp/json", | |
185 "--", | |
186 "--build-config-fs", | |
187 "Release", | |
188 "--paths", | |
189 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO
[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s
cripts/slave/runtest.py\"}", | |
190 "--properties", | |
191 "{\"buildername\": \"Chromium Mojo Android\", \"buildnumber\": 571, \"mast
ername\": \"chromium.mojo\", \"slavename\": \"TestSlavename\", \"target_platform
\": \"android\"}" | |
192 ], | |
193 "name": "get compile targets for scripts", | |
194 "~followup_annotations": [ | |
195 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
196 "@@@STEP_LOG_END@json.output@@@" | |
197 ] | |
198 }, | |
199 { | |
200 "cmd": [ | |
201 "python", | |
202 "-u", | |
203 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
204 "[SLAVE_BUILD]/src/testing/buildbot/chromium.mojo.json", | |
205 "/path/to/tmp/json" | |
206 ], | |
207 "name": "read test spec (chromium.mojo.json)", | |
208 "~followup_annotations": [ | |
209 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.mojo.json@
@@", | |
210 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
211 "@@@STEP_LOG_END@json.output@@@" | |
212 ] | |
213 }, | |
214 { | |
215 "cmd": [ | |
216 "python", | |
217 "-u", | |
218 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
219 "--show-path", | |
220 "python", | |
221 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
222 ], | |
223 "name": "cleanup_temp" | |
224 }, | |
225 { | |
226 "cmd": [ | |
227 "python", | |
228 "-u", | |
229 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | |
230 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | |
231 "[SLAVE_BUILD]/src/out/Release/test_logs", | |
232 "[SLAVE_BUILD]/src/out/build_product.zip", | |
233 "[SLAVE_BUILD]/src" | |
234 ], | |
235 "name": "clean local files", | |
236 "~followup_annotations": [ | |
237 "@@@STEP_LOG_LINE@python.inline@@@@", | |
238 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
239 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
240 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
241 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
242 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
243 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
244 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
245 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
246 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
247 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
248 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
249 "@@@STEP_LOG_END@python.inline@@@" | |
250 ] | |
251 }, | |
252 { | |
253 "allow_subannotations": false, | |
254 "cmd": [ | |
255 "[SLAVE_BUILD]/src/build/tree_truth.sh", | |
256 "[SLAVE_BUILD]/src", | |
257 "src" | |
258 ], | |
259 "name": "tree truth steps" | |
260 }, | |
261 { | |
262 "cmd": [ | |
263 "python", | |
264 "-u", | |
265 "[SLAVE_BUILD]/src/tools/mb/mb.py", | |
266 "gen", | |
267 "-m", | |
268 "chromium.mojo", | |
269 "-b", | |
270 "Chromium Mojo Android", | |
271 "--config-file", | |
272 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", | |
273 "--goma-dir", | |
274 "[CACHE]/cipd/goma", | |
275 "//out/Release" | |
276 ], | |
277 "env": { | |
278 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
279 }, | |
280 "name": "generate_build_files" | |
281 }, | |
282 { | |
283 "cmd": [ | |
284 "python", | |
285 "-u", | |
286 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
287 "--show-path", | |
288 "python", | |
289 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
290 "--gsutil-py-path", | |
291 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
292 "--ninja-path", | |
293 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
294 "--target", | |
295 "Release", | |
296 "--src-dir", | |
297 "[SLAVE_BUILD]/src", | |
298 "--goma-cache-dir", | |
299 "[GOMA_CACHE]", | |
300 "--build-tool", | |
301 "ninja", | |
302 "--build-data-dir", | |
303 "[ROOT]/build_data_dir", | |
304 "--compiler", | |
305 "goma", | |
306 "--goma-jsonstatus", | |
307 "/path/to/tmp/json", | |
308 "--goma-service-account-json-file", | |
309 "/creds/service_accounts/service-account-goma-client.json", | |
310 "--goma-dir", | |
311 "[CACHE]/cipd/goma", | |
312 "--" | |
313 ], | |
314 "env": { | |
315 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
316 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
317 }, | |
318 "name": "compile", | |
319 "~followup_annotations": [ | |
320 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
321 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
322 ] | |
323 }, | |
324 { | |
325 "name": "$result", | |
326 "recipe_result": null, | |
327 "status_code": 0 | |
328 } | |
329 ] | |
OLD | NEW |