OLD | NEW |
| (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]/mac_gn_dbg", | |
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 "--master", | |
52 "tryserver.webrtc", | |
53 "--builder", | |
54 "mac_gn_dbg", | |
55 "--slave", | |
56 "slavename", | |
57 "--spec", | |
58 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}
, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https
://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]", | |
59 "--root", | |
60 "src", | |
61 "--revision_mapping_file", | |
62 "{\"src\": \"got_revision\"}", | |
63 "--git-cache-dir", | |
64 "[GIT_CACHE]", | |
65 "--issue", | |
66 "666666", | |
67 "--patchset", | |
68 "1", | |
69 "--rietveld_server", | |
70 "https://fake.rietveld.url", | |
71 "--output_json", | |
72 "/path/to/tmp/json", | |
73 "--revision", | |
74 "src@12345", | |
75 "--output_manifest" | |
76 ], | |
77 "cwd": "[BUILDER_CACHE]/mac_gn_dbg", | |
78 "env": { | |
79 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
80 }, | |
81 "name": "bot_update", | |
82 "~followup_annotations": [ | |
83 "@@@STEP_TEXT@Some step text@@@", | |
84 "@@@STEP_LOG_LINE@json.output@{@@@", | |
85 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
86 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
87 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | |
88 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
89 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
90 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
91 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
92 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
93 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
94 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
95 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
96 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
97 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
98 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
99 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\"@@@", | |
100 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
101 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
102 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
103 "@@@STEP_LOG_LINE@json.output@}@@@", | |
104 "@@@STEP_LOG_END@json.output@@@", | |
105 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
106 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
107 ] | |
108 }, | |
109 { | |
110 "cmd": [ | |
111 "python", | |
112 "-u", | |
113 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", | |
114 "[BUILDER_CACHE]/mac_gn_dbg/src/out" | |
115 ], | |
116 "name": "clean test output files" | |
117 }, | |
118 { | |
119 "cmd": [ | |
120 "python", | |
121 "-u", | |
122 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
123 "--show-path", | |
124 "python", | |
125 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | |
126 ], | |
127 "name": "cleanup_temp" | |
128 }, | |
129 { | |
130 "cmd": [], | |
131 "name": "ensure_goma" | |
132 }, | |
133 { | |
134 "cmd": [ | |
135 "python", | |
136 "-u", | |
137 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | |
138 "--platform", | |
139 "mac-amd64", | |
140 "--dest-directory", | |
141 "[SLAVE_BUILD]/cipd", | |
142 "--json-output", | |
143 "/path/to/tmp/json" | |
144 ], | |
145 "name": "ensure_goma.install cipd", | |
146 "~followup_annotations": [ | |
147 "@@@STEP_NEST_LEVEL@1@@@", | |
148 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
149 "@@@STEP_LOG_LINE@json.output@{@@@", | |
150 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
151 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
152 "@@@STEP_LOG_LINE@json.output@}@@@", | |
153 "@@@STEP_LOG_END@json.output@@@" | |
154 ] | |
155 }, | |
156 { | |
157 "cmd": [ | |
158 "[SLAVE_BUILD]/cipd/cipd", | |
159 "ensure", | |
160 "--root", | |
161 "[CACHE]/cipd/goma", | |
162 "--list", | |
163 "infra/tools/cloudtail/mac-amd64 git_revision:c6b17d5aa4fa6396c5f971248120
e0e624c21fb3\ninfra_internal/goma/client/mac-amd64 release", | |
164 "--json-output", | |
165 "/path/to/tmp/json", | |
166 "--service-account-json", | |
167 "/creds/service_accounts/service-account-goma-client.json" | |
168 ], | |
169 "name": "ensure_goma.ensure_installed", | |
170 "~followup_annotations": [ | |
171 "@@@STEP_NEST_LEVEL@1@@@", | |
172 "@@@STEP_LOG_LINE@json.output@{@@@", | |
173 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
174 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
175 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-git_revision:c6b\", @@@", | |
176 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/m
ac-amd64\"@@@", | |
177 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
178 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
179 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
180 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/mac-amd64\"@@@", | |
181 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
182 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
183 "@@@STEP_LOG_LINE@json.output@}@@@", | |
184 "@@@STEP_LOG_END@json.output@@@" | |
185 ] | |
186 }, | |
187 { | |
188 "cmd": [ | |
189 "python", | |
190 "-u", | |
191 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
192 "runhooks" | |
193 ], | |
194 "cwd": "[BUILDER_CACHE]/mac_gn_dbg/src", | |
195 "env": { | |
196 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
197 "GYP_CHROMIUM_NO_ACTION": "1", | |
198 "GYP_DEFINES": "clang=1 component=shared_library dcheck_always_on=1 fastbu
ild=1 ffmpeg_branding=Chrome gomadir='[CACHE]/cipd/goma' rtc_use_h264=1 target_a
rch=x64 use_goma=1", | |
199 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
200 }, | |
201 "name": "gclient runhooks" | |
202 }, | |
203 { | |
204 "cmd": [ | |
205 "python", | |
206 "-u", | |
207 "[BUILDER_CACHE]/mac_gn_dbg/src/tools/mb/mb.py", | |
208 "gen", | |
209 "-m", | |
210 "tryserver.webrtc", | |
211 "-b", | |
212 "mac_gn_dbg", | |
213 "--config-file", | |
214 "[BUILDER_CACHE]/mac_gn_dbg/src/webrtc/build/mb_config.pyl", | |
215 "--goma-dir", | |
216 "[CACHE]/cipd/goma", | |
217 "--gyp-script=[BUILDER_CACHE]/mac_gn_dbg/src/webrtc/build/gyp_webrtc.py", | |
218 "//out/Debug" | |
219 ], | |
220 "cwd": "[BUILDER_CACHE]/mac_gn_dbg/src", | |
221 "env": { | |
222 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
223 }, | |
224 "name": "generate_build_files" | |
225 }, | |
226 { | |
227 "allow_subannotations": true, | |
228 "cmd": [ | |
229 "python", | |
230 "-u", | |
231 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | |
232 "--src-dir", | |
233 "[BUILDER_CACHE]/mac_gn_dbg/src", | |
234 "--output-json", | |
235 "/path/to/tmp/json" | |
236 ], | |
237 "env": { | |
238 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
239 }, | |
240 "name": "clang_revision", | |
241 "~followup_annotations": [ | |
242 "@@@STEP_LOG_LINE@json.output@{@@@", | |
243 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | |
244 "@@@STEP_LOG_LINE@json.output@}@@@", | |
245 "@@@STEP_LOG_END@json.output@@@" | |
246 ] | |
247 }, | |
248 { | |
249 "cmd": [ | |
250 "python", | |
251 "-u", | |
252 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
253 "--show-path", | |
254 "python", | |
255 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | |
256 "--gsutil-py-path", | |
257 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
258 "--ninja-path", | |
259 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | |
260 "--target", | |
261 "Debug", | |
262 "--src-dir", | |
263 "[BUILDER_CACHE]/mac_gn_dbg/src", | |
264 "--goma-cache-dir", | |
265 "[GOMA_CACHE]", | |
266 "--goma-deps-cache-dir", | |
267 "[GOMA_DEPS_CACHE]", | |
268 "--compiler", | |
269 "goma-clang", | |
270 "--goma-jsonstatus", | |
271 "/path/to/tmp/json", | |
272 "--goma-service-account-json-file", | |
273 "/creds/service_accounts/service-account-goma-client.json", | |
274 "--goma-dir", | |
275 "[CACHE]/cipd/goma", | |
276 "--goma-fail-fast", | |
277 "--goma-disable-local-fallback", | |
278 "--", | |
279 "all" | |
280 ], | |
281 "env": { | |
282 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
283 }, | |
284 "name": "compile", | |
285 "~followup_annotations": [ | |
286 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | |
287 "@@@STEP_LOG_END@json.output (invalid)@@@" | |
288 ] | |
289 }, | |
290 { | |
291 "name": "$result", | |
292 "recipe_result": null, | |
293 "status_code": 0 | |
294 } | |
295 ] | |
OLD | NEW |