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