OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "chromium.webrtc.fyi", | 8 "chromium.webrtc.fyi", |
9 "--builder", | 9 "--builder", |
10 "Mac GN", | 10 "Mac GN", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\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.c
hromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src',
'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]", | 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'}]", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/libjingle/
source/talk\": \"got_libjingle_revision\", \"src/third_party/libvpx/source\": \"
got_libvpx_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"sr
c/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v
8_revision\"}", | 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/libjingle/
source/talk\": \"got_libjingle_revision\", \"src/third_party/libvpx/source\": \"
got_libvpx_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"sr
c/tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v
8_revision\"}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "src@HEAD", | 24 "src@HEAD", |
25 "--revision", | 25 "--revision", |
26 "src/third_party/libjingle/source/talk@HEAD", | 26 "src/third_party/libjingle/source/talk@HEAD", |
27 "--revision", | 27 "--revision", |
28 "src/third_party/webrtc@HEAD", | 28 "src/third_party/webrtc@HEAD", |
29 "--force", | 29 "--force", |
30 "--output_manifest" | 30 "--output_manifest" |
31 ], | 31 ], |
| 32 "cwd": "[SLAVE_BUILD]", |
32 "env": { | 33 "env": { |
33 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 34 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
34 }, | 35 }, |
35 "name": "bot_update", | 36 "name": "bot_update", |
36 "~followup_annotations": [ | 37 "~followup_annotations": [ |
37 "@@@STEP_TEXT@Some step text@@@", | 38 "@@@STEP_TEXT@Some step text@@@", |
38 "@@@STEP_LOG_LINE@json.output@{@@@", | 39 "@@@STEP_LOG_LINE@json.output@{@@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
40 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\", @@@", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | 114 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", |
114 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 115 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
115 "@@@SET_BUILD_PROPERTY@got_libvpx_revision_cp@\"refs/heads/master@{#11245}
\"@@@", | 116 "@@@SET_BUILD_PROPERTY@got_libvpx_revision_cp@\"refs/heads/master@{#11245}
\"@@@", |
116 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | 117 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, |
117 "@@@SET_BUILD_PROPERTY@got_libjingle_revision_cp@\"refs/heads/master@{#134
440}\"@@@", | 118 "@@@SET_BUILD_PROPERTY@got_libjingle_revision_cp@\"refs/heads/master@{#134
440}\"@@@", |
118 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 119 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
119 ] | 120 ] |
120 }, | 121 }, |
121 { | 122 { |
122 "cmd": [], | 123 "cmd": [], |
| 124 "cwd": "[SLAVE_BUILD]", |
123 "name": "ensure_goma" | 125 "name": "ensure_goma" |
124 }, | 126 }, |
125 { | 127 { |
126 "cmd": [ | 128 "cmd": [ |
127 "python", | 129 "python", |
128 "-u", | 130 "-u", |
129 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", | 131 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
130 "--platform", | 132 "--platform", |
131 "mac-amd64", | 133 "mac-amd64", |
132 "--dest-directory", | 134 "--dest-directory", |
133 "[CWD]/cipd", | 135 "[SLAVE_BUILD]/cipd", |
134 "--json-output", | 136 "--json-output", |
135 "/path/to/tmp/json" | 137 "/path/to/tmp/json" |
136 ], | 138 ], |
| 139 "cwd": "[SLAVE_BUILD]", |
137 "name": "ensure_goma.install cipd", | 140 "name": "ensure_goma.install cipd", |
138 "~followup_annotations": [ | 141 "~followup_annotations": [ |
139 "@@@STEP_NEST_LEVEL@1@@@", | 142 "@@@STEP_NEST_LEVEL@1@@@", |
140 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | 143 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
141 "@@@STEP_LOG_LINE@json.output@{@@@", | 144 "@@@STEP_LOG_LINE@json.output@{@@@", |
142 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\",
@@@", | 145 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", |
143 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | 146 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
144 "@@@STEP_LOG_LINE@json.output@}@@@", | 147 "@@@STEP_LOG_LINE@json.output@}@@@", |
145 "@@@STEP_LOG_END@json.output@@@" | 148 "@@@STEP_LOG_END@json.output@@@" |
146 ] | 149 ] |
147 }, | 150 }, |
148 { | 151 { |
149 "cmd": [ | 152 "cmd": [ |
150 "fake_slave_build/cipd", | 153 "[SLAVE_BUILD]/cipd/cipd", |
151 "ensure", | 154 "ensure", |
152 "--root", | 155 "--root", |
153 "[ROOT]/b/build/slave/cache/cipd/goma", | 156 "[CACHE]/cipd/goma", |
154 "--list", | 157 "--list", |
155 "infra_internal/goma/client/mac-amd64 release", | 158 "infra_internal/goma/client/mac-amd64 release", |
156 "--json-output", | 159 "--json-output", |
157 "/path/to/tmp/json", | 160 "/path/to/tmp/json", |
158 "--service-account-json", | 161 "--service-account-json", |
159 "/creds/service_accounts/service-account-goma-client.json" | 162 "/creds/service_accounts/service-account-goma-client.json" |
160 ], | 163 ], |
| 164 "cwd": "[SLAVE_BUILD]", |
161 "name": "ensure_goma.ensure_installed", | 165 "name": "ensure_goma.ensure_installed", |
162 "~followup_annotations": [ | 166 "~followup_annotations": [ |
163 "@@@STEP_NEST_LEVEL@1@@@", | 167 "@@@STEP_NEST_LEVEL@1@@@", |
164 "@@@STEP_LOG_LINE@json.output@{@@@", | 168 "@@@STEP_LOG_LINE@json.output@{@@@", |
165 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | 169 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
166 "@@@STEP_LOG_LINE@json.output@ {@@@", | 170 "@@@STEP_LOG_LINE@json.output@ {@@@", |
167 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | 171 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
168 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/mac-amd64\"@@@", | 172 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/mac-amd64\"@@@", |
169 "@@@STEP_LOG_LINE@json.output@ }@@@", | 173 "@@@STEP_LOG_LINE@json.output@ }@@@", |
170 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 174 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
171 "@@@STEP_LOG_LINE@json.output@}@@@", | 175 "@@@STEP_LOG_LINE@json.output@}@@@", |
172 "@@@STEP_LOG_END@json.output@@@" | 176 "@@@STEP_LOG_END@json.output@@@" |
173 ] | 177 ] |
174 }, | 178 }, |
175 { | 179 { |
176 "cmd": [ | 180 "cmd": [ |
177 "python", | 181 "python", |
178 "-u", | 182 "-u", |
179 "[CWD]/src/tools/swarming_client/swarming.py", | 183 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
180 "--version" | 184 "--version" |
181 ], | 185 ], |
| 186 "cwd": "[SLAVE_BUILD]", |
182 "name": "swarming.py --version", | 187 "name": "swarming.py --version", |
183 "stdout": "/path/to/tmp/", | 188 "stdout": "/path/to/tmp/", |
184 "~followup_annotations": [ | 189 "~followup_annotations": [ |
185 "@@@STEP_TEXT@0.4.10@@@" | 190 "@@@STEP_TEXT@0.4.10@@@" |
186 ] | 191 ] |
187 }, | 192 }, |
188 { | 193 { |
189 "cmd": [ | 194 "cmd": [ |
190 "python", | 195 "python", |
191 "-u", | 196 "-u", |
192 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 197 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
193 "runhooks" | 198 "runhooks" |
194 ], | 199 ], |
| 200 "cwd": "[SLAVE_BUILD]", |
195 "env": { | 201 "env": { |
196 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 202 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
197 "GYP_CHROMIUM_NO_ACTION": "1", | 203 "GYP_CHROMIUM_NO_ACTION": "1", |
198 "GYP_DEFINES": "clang=1 component=static_library gomadir='[ROOT]/b/build/s
lave/cache/cipd/goma' target_arch=x64 test_isolation_mode=prepare use_goma=1", | 204 "GYP_DEFINES": "clang=1 component=static_library gomadir='[CACHE]/cipd/gom
a' target_arch=x64 test_isolation_mode=prepare use_goma=1", |
199 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 205 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
200 }, | 206 }, |
201 "name": "gclient runhooks" | 207 "name": "gclient runhooks" |
202 }, | 208 }, |
203 { | 209 { |
204 "cmd": [ | 210 "cmd": [ |
205 "python", | 211 "python", |
206 "-u", | 212 "-u", |
207 "[CWD]/src/testing/scripts/get_compile_targets.py", | 213 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
208 "--output", | 214 "--output", |
209 "/path/to/tmp/json", | 215 "/path/to/tmp/json", |
210 "--", | 216 "--", |
211 "--build-config-fs", | 217 "--build-config-fs", |
212 "Release", | 218 "Release", |
213 "--paths", | 219 "--paths", |
214 "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/
scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/s
lave/runtest.py\"}", | 220 "{\"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\"}", |
215 "--properties", | 221 "--properties", |
216 "{\"buildername\": \"Mac GN\", \"buildnumber\": 571, \"mastername\": \"chr
omium.webrtc.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\": \"mac
\"}" | 222 "{\"buildername\": \"Mac GN\", \"buildnumber\": 571, \"mastername\": \"chr
omium.webrtc.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\": \"mac
\"}" |
217 ], | 223 ], |
| 224 "cwd": "[SLAVE_BUILD]", |
218 "name": "get compile targets for scripts", | 225 "name": "get compile targets for scripts", |
219 "~followup_annotations": [ | 226 "~followup_annotations": [ |
220 "@@@STEP_LOG_LINE@json.output@{}@@@", | 227 "@@@STEP_LOG_LINE@json.output@{}@@@", |
221 "@@@STEP_LOG_END@json.output@@@" | 228 "@@@STEP_LOG_END@json.output@@@" |
222 ] | 229 ] |
223 }, | 230 }, |
224 { | 231 { |
225 "cmd": [ | 232 "cmd": [ |
226 "python", | 233 "python", |
227 "-u", | 234 "-u", |
228 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 235 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
229 "[CWD]/src/testing/buildbot/chromium.webrtc.fyi.json", | 236 "[SLAVE_BUILD]/src/testing/buildbot/chromium.webrtc.fyi.json", |
230 "/path/to/tmp/json" | 237 "/path/to/tmp/json" |
231 ], | 238 ], |
| 239 "cwd": "[SLAVE_BUILD]", |
232 "name": "read test spec", | 240 "name": "read test spec", |
233 "~followup_annotations": [ | 241 "~followup_annotations": [ |
234 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.webrtc.fyi.json@@@
", | 242 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.webrtc.fyi
.json@@@", |
235 "@@@STEP_LOG_LINE@json.output@{@@@", | 243 "@@@STEP_LOG_LINE@json.output@{@@@", |
236 "@@@STEP_LOG_LINE@json.output@ \"Mac GN\": {@@@", | 244 "@@@STEP_LOG_LINE@json.output@ \"Mac GN\": {@@@", |
237 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | 245 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
238 "@@@STEP_LOG_LINE@json.output@ {@@@", | 246 "@@@STEP_LOG_LINE@json.output@ {@@@", |
239 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | 247 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
240 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | 248 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", |
241 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 249 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
242 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | 250 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", |
243 "@@@STEP_LOG_LINE@json.output@ }@@@", | 251 "@@@STEP_LOG_LINE@json.output@ }@@@", |
244 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 252 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
245 "@@@STEP_LOG_LINE@json.output@ }@@@", | 253 "@@@STEP_LOG_LINE@json.output@ }@@@", |
246 "@@@STEP_LOG_LINE@json.output@}@@@", | 254 "@@@STEP_LOG_LINE@json.output@}@@@", |
247 "@@@STEP_LOG_END@json.output@@@" | 255 "@@@STEP_LOG_END@json.output@@@" |
248 ] | 256 ] |
249 }, | 257 }, |
250 { | 258 { |
251 "cmd": [ | 259 "cmd": [ |
252 "python", | 260 "python", |
253 "-u", | 261 "-u", |
254 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 262 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
255 "--show-path", | 263 "--show-path", |
256 "python", | 264 "python", |
257 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 265 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
258 ], | 266 ], |
| 267 "cwd": "[SLAVE_BUILD]", |
259 "name": "cleanup_temp" | 268 "name": "cleanup_temp" |
260 }, | 269 }, |
261 { | 270 { |
262 "cmd": [ | 271 "cmd": [ |
263 "python", | 272 "python", |
264 "-u", | 273 "-u", |
265 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 274 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
266 "--build-dir", | 275 "--build-dir", |
267 "[CWD]/src/out/Release", | 276 "[SLAVE_BUILD]/src/out/Release", |
268 "--clean-isolated-files" | 277 "--clean-isolated-files" |
269 ], | 278 ], |
| 279 "cwd": "[SLAVE_BUILD]", |
270 "name": "clean isolated files" | 280 "name": "clean isolated files" |
271 }, | 281 }, |
272 { | 282 { |
273 "cmd": [ | 283 "cmd": [ |
274 "python", | 284 "python", |
275 "-u", | 285 "-u", |
276 "[CWD]/src/tools/mb/mb.py", | 286 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
277 "gen", | 287 "gen", |
278 "-m", | 288 "-m", |
279 "chromium.webrtc.fyi", | 289 "chromium.webrtc.fyi", |
280 "-b", | 290 "-b", |
281 "Mac GN", | 291 "Mac GN", |
282 "--config-file", | 292 "--config-file", |
283 "[CWD]/src/tools/mb/mb_config.pyl", | 293 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
284 "--goma-dir", | 294 "--goma-dir", |
285 "[ROOT]/b/build/slave/cache/cipd/goma", | 295 "[CACHE]/cipd/goma", |
286 "--swarming-targets-file", | 296 "--swarming-targets-file", |
287 "browser_tests\n", | 297 "browser_tests\n", |
288 "//out/Release" | 298 "//out/Release" |
289 ], | 299 ], |
| 300 "cwd": "[SLAVE_BUILD]", |
290 "name": "generate_build_files", | 301 "name": "generate_build_files", |
291 "~followup_annotations": [ | 302 "~followup_annotations": [ |
292 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@", | 303 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests@@@", |
293 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" | 304 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" |
294 ] | 305 ] |
295 }, | 306 }, |
296 { | 307 { |
297 "allow_subannotations": true, | 308 "allow_subannotations": true, |
298 "cmd": [ | 309 "cmd": [ |
299 "python", | 310 "python", |
300 "-u", | 311 "-u", |
301 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | 312 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
302 "--src-dir", | 313 "--src-dir", |
303 "[CWD]/src", | 314 "[SLAVE_BUILD]/src", |
304 "--output-json", | 315 "--output-json", |
305 "/path/to/tmp/json" | 316 "/path/to/tmp/json" |
306 ], | 317 ], |
| 318 "cwd": "[SLAVE_BUILD]", |
307 "env": { | 319 "env": { |
308 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 320 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
309 }, | 321 }, |
310 "name": "clang_revision", | 322 "name": "clang_revision", |
311 "~followup_annotations": [ | 323 "~followup_annotations": [ |
312 "@@@STEP_LOG_LINE@json.output@{@@@", | 324 "@@@STEP_LOG_LINE@json.output@{@@@", |
313 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 325 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
314 "@@@STEP_LOG_LINE@json.output@}@@@", | 326 "@@@STEP_LOG_LINE@json.output@}@@@", |
315 "@@@STEP_LOG_END@json.output@@@" | 327 "@@@STEP_LOG_END@json.output@@@" |
316 ] | 328 ] |
317 }, | 329 }, |
318 { | 330 { |
319 "cmd": [ | 331 "cmd": [ |
320 "python", | 332 "python", |
321 "-u", | 333 "-u", |
322 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 334 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
323 "--show-path", | 335 "--show-path", |
324 "python", | 336 "python", |
325 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 337 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
326 "--gsutil-py-path", | 338 "--gsutil-py-path", |
327 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 339 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
328 "--ninja-path", | 340 "--ninja-path", |
329 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 341 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
330 "--target", | 342 "--target", |
331 "Release", | 343 "Release", |
332 "--src-dir", | 344 "--src-dir", |
333 "[CWD]/src", | 345 "[SLAVE_BUILD]/src", |
334 "--goma-cache-dir", | 346 "--goma-cache-dir", |
335 "[ROOT]/b/build/slave/goma_cache", | 347 "[GOMA_CACHE]", |
336 "--build-tool", | 348 "--build-tool", |
337 "ninja", | 349 "ninja", |
338 "--build-data-dir", | 350 "--build-data-dir", |
339 "[ROOT]/build_data_dir", | 351 "[ROOT]/build_data_dir", |
340 "--compiler", | 352 "--compiler", |
341 "goma-clang", | 353 "goma-clang", |
342 "--goma-jsonstatus", | 354 "--goma-jsonstatus", |
343 "/path/to/tmp/json", | 355 "/path/to/tmp/json", |
344 "--goma-service-account-json-file", | 356 "--goma-service-account-json-file", |
345 "/creds/service_accounts/service-account-goma-client.json", | 357 "/creds/service_accounts/service-account-goma-client.json", |
346 "--goma-dir", | 358 "--goma-dir", |
347 "[ROOT]/b/build/slave/cache/cipd/goma", | 359 "[CACHE]/cipd/goma", |
348 "--", | 360 "--", |
349 "browser_tests", | 361 "browser_tests", |
350 "browser_tests_run" | 362 "browser_tests_run" |
351 ], | 363 ], |
| 364 "cwd": "[SLAVE_BUILD]", |
352 "env": { | 365 "env": { |
353 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 366 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
354 }, | 367 }, |
355 "name": "compile", | 368 "name": "compile", |
356 "~followup_annotations": [ | 369 "~followup_annotations": [ |
357 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 370 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
358 "@@@STEP_LOG_END@json.output (invalid)@@@" | 371 "@@@STEP_LOG_END@json.output (invalid)@@@" |
359 ] | 372 ] |
360 }, | 373 }, |
361 { | 374 { |
362 "cmd": [ | 375 "cmd": [ |
363 "python", | 376 "python", |
364 "-u", | 377 "-u", |
365 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 378 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
366 "--build-dir", | 379 "--build-dir", |
367 "[CWD]/src/out/Release", | 380 "[SLAVE_BUILD]/src/out/Release", |
368 "--src-dir", | 381 "--src-dir", |
369 "[CWD]/src" | 382 "[SLAVE_BUILD]/src" |
370 ], | 383 ], |
371 "cwd": "[CWD]", | 384 "cwd": "[SLAVE_BUILD]", |
372 "name": "remove_build_metadata" | 385 "name": "remove_build_metadata" |
373 }, | 386 }, |
374 { | 387 { |
375 "cmd": [ | 388 "cmd": [ |
376 "python", | 389 "python", |
377 "-u", | 390 "-u", |
378 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 391 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
379 "[CWD]/src/tools/swarming_client", | 392 "[SLAVE_BUILD]/src/tools/swarming_client", |
380 "batcharchive", | 393 "batcharchive", |
381 "--dump-json", | 394 "--dump-json", |
382 "/path/to/tmp/json", | 395 "/path/to/tmp/json", |
383 "--isolate-server", | 396 "--isolate-server", |
384 "https://isolateserver.appspot.com", | 397 "https://isolateserver.appspot.com", |
385 "--verbose", | 398 "--verbose", |
386 "[CWD]/src/out/Release/browser_tests.isolated.gen.json" | 399 "[SLAVE_BUILD]/src/out/Release/browser_tests.isolated.gen.json" |
387 ], | 400 ], |
| 401 "cwd": "[SLAVE_BUILD]", |
388 "name": "isolate tests", | 402 "name": "isolate tests", |
389 "~followup_annotations": [ | 403 "~followup_annotations": [ |
390 "@@@STEP_LOG_LINE@json.output@{@@@", | 404 "@@@STEP_LOG_LINE@json.output@{@@@", |
391 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows
er_tests]\"@@@", | 405 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\": \"[dummy hash for brows
er_tests]\"@@@", |
392 "@@@STEP_LOG_LINE@json.output@}@@@", | 406 "@@@STEP_LOG_LINE@json.output@}@@@", |
393 "@@@STEP_LOG_END@json.output@@@" | 407 "@@@STEP_LOG_END@json.output@@@" |
394 ] | 408 ] |
395 }, | 409 }, |
396 { | 410 { |
397 "cmd": [ | 411 "cmd": [ |
398 "python", | 412 "python", |
399 "-u", | 413 "-u", |
400 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 414 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
401 "--build-dir", | 415 "--build-dir", |
402 "[CWD]/src/out/Release", | 416 "[SLAVE_BUILD]/src/out/Release", |
403 "--output-json", | 417 "--output-json", |
404 "/path/to/tmp/json" | 418 "/path/to/tmp/json" |
405 ], | 419 ], |
| 420 "cwd": "[SLAVE_BUILD]", |
406 "name": "find isolated tests", | 421 "name": "find isolated tests", |
407 "~followup_annotations": [ | 422 "~followup_annotations": [ |
408 "@@@STEP_LOG_LINE@json.output@{@@@", | 423 "@@@STEP_LOG_LINE@json.output@{@@@", |
409 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 424 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
410 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 425 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
411 "@@@STEP_LOG_LINE@json.output@}@@@", | 426 "@@@STEP_LOG_LINE@json.output@}@@@", |
412 "@@@STEP_LOG_END@json.output@@@", | 427 "@@@STEP_LOG_END@json.output@@@", |
413 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 428 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
414 ] | 429 ] |
415 }, | 430 }, |
416 { | 431 { |
417 "cmd": [ | 432 "cmd": [ |
418 "python", | 433 "python", |
419 "-u", | 434 "-u", |
420 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | 435 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", |
421 "browser_tests" | 436 "browser_tests" |
422 ], | 437 ], |
| 438 "cwd": "[SLAVE_BUILD]", |
423 "name": "[error] browser_tests", | 439 "name": "[error] browser_tests", |
424 "~followup_annotations": [ | 440 "~followup_annotations": [ |
425 "@@@STEP_LOG_LINE@python.inline@@@@", | 441 "@@@STEP_LOG_LINE@python.inline@@@@", |
426 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 442 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
427 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | 443 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", |
428 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 444 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
429 "@@@STEP_LOG_END@python.inline@@@" | 445 "@@@STEP_LOG_END@python.inline@@@" |
430 ] | 446 ] |
431 }, | 447 }, |
432 { | 448 { |
433 "cmd": [ | 449 "cmd": [ |
434 "python", | 450 "python", |
435 "-u", | 451 "-u", |
436 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | 452 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, |
437 "browser_tests" | 453 "browser_tests" |
438 ], | 454 ], |
| 455 "cwd": "[SLAVE_BUILD]", |
439 "name": "[collect error] browser_tests", | 456 "name": "[collect error] browser_tests", |
440 "~followup_annotations": [ | 457 "~followup_annotations": [ |
441 "@@@STEP_LOG_LINE@python.inline@@@@", | 458 "@@@STEP_LOG_LINE@python.inline@@@@", |
442 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 459 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
443 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | 460 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", |
444 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 461 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
445 "@@@STEP_LOG_END@python.inline@@@" | 462 "@@@STEP_LOG_END@python.inline@@@" |
446 ] | 463 ] |
447 }, | 464 }, |
448 { | 465 { |
449 "name": "$result", | 466 "name": "$result", |
450 "recipe_result": null, | 467 "recipe_result": null, |
451 "status_code": 0 | 468 "status_code": 0 |
452 } | 469 } |
453 ] | 470 ] |
OLD | NEW |