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.android", | 8 "chromium.android", |
9 "--builder", | 9 "--builder", |
10 "Android Swarm Builder", | 10 "Android Swarm Builder", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 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']", | 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'}]\ntarget_os = ['an
droid']", |
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 "[GIT_CACHE]", | 20 "[ROOT]/b/build/slave/cache_dir", |
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]", | |
29 "env": { | 28 "env": { |
30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
31 }, | 30 }, |
32 "name": "bot_update", | 31 "name": "bot_update", |
33 "~followup_annotations": [ | 32 "~followup_annotations": [ |
34 "@@@STEP_TEXT@Some step text@@@", | 33 "@@@STEP_TEXT@Some step text@@@", |
35 "@@@STEP_LOG_LINE@json.output@{@@@", | 34 "@@@STEP_LOG_LINE@json.output@{@@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
38 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | 91 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", |
93 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | 92 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", |
94 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | 93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", |
95 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
96 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | 95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, |
97 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
98 ] | 97 ] |
99 }, | 98 }, |
100 { | 99 { |
101 "cmd": [], | 100 "cmd": [], |
102 "cwd": "[SLAVE_BUILD]", | |
103 "name": "ensure_goma" | 101 "name": "ensure_goma" |
104 }, | 102 }, |
105 { | 103 { |
106 "cmd": [ | 104 "cmd": [ |
107 "python", | 105 "python", |
108 "-u", | 106 "-u", |
109 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", | 107 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
110 "--platform", | 108 "--platform", |
111 "linux-386", | 109 "linux-386", |
112 "--dest-directory", | 110 "--dest-directory", |
113 "[SLAVE_BUILD]/cipd", | 111 "[CWD]/cipd", |
114 "--json-output", | 112 "--json-output", |
115 "/path/to/tmp/json" | 113 "/path/to/tmp/json" |
116 ], | 114 ], |
117 "cwd": "[SLAVE_BUILD]", | |
118 "name": "ensure_goma.install cipd", | 115 "name": "ensure_goma.install cipd", |
119 "~followup_annotations": [ | 116 "~followup_annotations": [ |
120 "@@@STEP_NEST_LEVEL@1@@@", | 117 "@@@STEP_NEST_LEVEL@1@@@", |
121 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | 118 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
122 "@@@STEP_LOG_LINE@json.output@{@@@", | 119 "@@@STEP_LOG_LINE@json.output@{@@@", |
123 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | 120 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\",
@@@", |
124 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | 121 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
125 "@@@STEP_LOG_LINE@json.output@}@@@", | 122 "@@@STEP_LOG_LINE@json.output@}@@@", |
126 "@@@STEP_LOG_END@json.output@@@" | 123 "@@@STEP_LOG_END@json.output@@@" |
127 ] | 124 ] |
128 }, | 125 }, |
129 { | 126 { |
130 "cmd": [ | 127 "cmd": [ |
131 "[SLAVE_BUILD]/cipd/cipd", | 128 "fake_slave_build/cipd", |
132 "ensure", | 129 "ensure", |
133 "--root", | 130 "--root", |
134 "[CACHE]/cipd/goma", | 131 "[ROOT]/b/build/slave/cache/cipd/goma", |
135 "--list", | 132 "--list", |
136 "infra_internal/goma/client/linux-386 release", | 133 "infra_internal/goma/client/linux-386 release", |
137 "--json-output", | 134 "--json-output", |
138 "/path/to/tmp/json", | 135 "/path/to/tmp/json", |
139 "--service-account-json", | 136 "--service-account-json", |
140 "/creds/service_accounts/service-account-goma-client.json" | 137 "/creds/service_accounts/service-account-goma-client.json" |
141 ], | 138 ], |
142 "cwd": "[SLAVE_BUILD]", | |
143 "name": "ensure_goma.ensure_installed", | 139 "name": "ensure_goma.ensure_installed", |
144 "~followup_annotations": [ | 140 "~followup_annotations": [ |
145 "@@@STEP_NEST_LEVEL@1@@@", | 141 "@@@STEP_NEST_LEVEL@1@@@", |
146 "@@@STEP_LOG_LINE@json.output@{@@@", | 142 "@@@STEP_LOG_LINE@json.output@{@@@", |
147 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | 143 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
148 "@@@STEP_LOG_LINE@json.output@ {@@@", | 144 "@@@STEP_LOG_LINE@json.output@ {@@@", |
149 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | 145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
150 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-386\"@@@", | 146 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-386\"@@@", |
151 "@@@STEP_LOG_LINE@json.output@ }@@@", | 147 "@@@STEP_LOG_LINE@json.output@ }@@@", |
152 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 148 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
153 "@@@STEP_LOG_LINE@json.output@}@@@", | 149 "@@@STEP_LOG_LINE@json.output@}@@@", |
154 "@@@STEP_LOG_END@json.output@@@" | 150 "@@@STEP_LOG_END@json.output@@@" |
155 ] | 151 ] |
156 }, | 152 }, |
157 { | 153 { |
158 "cmd": [ | 154 "cmd": [ |
159 "python", | 155 "python", |
160 "-u", | 156 "-u", |
161 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", | 157 "[CWD]/src/tools/swarming_client/swarming.py", |
162 "--version" | 158 "--version" |
163 ], | 159 ], |
164 "cwd": "[SLAVE_BUILD]", | |
165 "name": "swarming.py --version", | 160 "name": "swarming.py --version", |
166 "stdout": "/path/to/tmp/", | 161 "stdout": "/path/to/tmp/", |
167 "~followup_annotations": [ | 162 "~followup_annotations": [ |
168 "@@@STEP_TEXT@0.4.10@@@" | 163 "@@@STEP_TEXT@0.4.10@@@" |
169 ] | 164 ] |
170 }, | 165 }, |
171 { | 166 { |
172 "cmd": [ | 167 "cmd": [ |
173 "python", | 168 "python", |
174 "-u", | 169 "-u", |
175 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
176 "runhooks" | 171 "runhooks" |
177 ], | 172 ], |
178 "cwd": "[SLAVE_BUILD]", | |
179 "env": { | 173 "env": { |
180 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
181 "GYP_CHROMIUM_NO_ACTION": "1", | 175 "GYP_CHROMIUM_NO_ACTION": "1", |
182 "GYP_CROSSCOMPILE": "1", | 176 "GYP_CROSSCOMPILE": "1", |
183 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 ffmpeg_bra
nding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=arm te
st_isolation_mode=prepare use_goma=1", | 177 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 ffmpeg_bra
nding=Chrome gomadir='[ROOT]/b/build/slave/cache/cipd/goma' proprietary_codecs=1
target_arch=arm test_isolation_mode=prepare use_goma=1", |
184 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 178 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
185 }, | 179 }, |
186 "name": "gclient runhooks" | 180 "name": "gclient runhooks" |
187 }, | 181 }, |
188 { | 182 { |
189 "cmd": [ | 183 "cmd": [ |
190 "python", | 184 "python", |
191 "-u", | 185 "-u", |
192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", | 186 "[CWD]/src/testing/scripts/get_compile_targets.py", |
193 "--output", | 187 "--output", |
194 "/path/to/tmp/json", | 188 "/path/to/tmp/json", |
195 "--", | 189 "--", |
196 "--build-config-fs", | 190 "--build-config-fs", |
197 "Release", | 191 "Release", |
198 "--paths", | 192 "--paths", |
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\"}", | 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\"}", |
200 "--properties", | 194 "--properties", |
201 "{\"buildername\": \"Android Swarm Builder\", \"buildnumber\": 571, \"mast
ername\": \"chromium.android\", \"slavename\": \"TestSlavename\", \"target_platf
orm\": \"android\"}" | 195 "{\"buildername\": \"Android Swarm Builder\", \"buildnumber\": 571, \"mast
ername\": \"chromium.android\", \"slavename\": \"TestSlavename\", \"target_platf
orm\": \"android\"}" |
202 ], | 196 ], |
203 "cwd": "[SLAVE_BUILD]", | |
204 "name": "get compile targets for scripts", | 197 "name": "get compile targets for scripts", |
205 "~followup_annotations": [ | 198 "~followup_annotations": [ |
206 "@@@STEP_LOG_LINE@json.output@{}@@@", | 199 "@@@STEP_LOG_LINE@json.output@{}@@@", |
207 "@@@STEP_LOG_END@json.output@@@" | 200 "@@@STEP_LOG_END@json.output@@@" |
208 ] | 201 ] |
209 }, | 202 }, |
210 { | 203 { |
211 "cmd": [ | 204 "cmd": [ |
212 "python", | 205 "python", |
213 "-u", | 206 "-u", |
214 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 207 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
215 "[SLAVE_BUILD]/src/testing/buildbot/chromium.android.json", | 208 "[CWD]/src/testing/buildbot/chromium.android.json", |
216 "/path/to/tmp/json" | 209 "/path/to/tmp/json" |
217 ], | 210 ], |
218 "cwd": "[SLAVE_BUILD]", | |
219 "name": "read test spec", | 211 "name": "read test spec", |
220 "~followup_annotations": [ | 212 "~followup_annotations": [ |
221 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.android.js
on@@@", | 213 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.android.json@@@", |
222 "@@@STEP_LOG_LINE@json.output@{@@@", | 214 "@@@STEP_LOG_LINE@json.output@{@@@", |
223 "@@@STEP_LOG_LINE@json.output@ \"Android Swarm Builder\": {@@@", | 215 "@@@STEP_LOG_LINE@json.output@ \"Android Swarm Builder\": {@@@", |
224 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | 216 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
225 "@@@STEP_LOG_LINE@json.output@ {@@@", | 217 "@@@STEP_LOG_LINE@json.output@ {@@@", |
226 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", | 218 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
227 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", | 219 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\":
true@@@", |
228 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 220 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
229 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", | 221 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", |
230 "@@@STEP_LOG_LINE@json.output@ }@@@", | 222 "@@@STEP_LOG_LINE@json.output@ }@@@", |
231 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 223 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
232 "@@@STEP_LOG_LINE@json.output@ }@@@", | 224 "@@@STEP_LOG_LINE@json.output@ }@@@", |
233 "@@@STEP_LOG_LINE@json.output@}@@@", | 225 "@@@STEP_LOG_LINE@json.output@}@@@", |
234 "@@@STEP_LOG_END@json.output@@@" | 226 "@@@STEP_LOG_END@json.output@@@" |
235 ] | 227 ] |
236 }, | 228 }, |
237 { | 229 { |
238 "cmd": [ | 230 "cmd": [ |
239 "python", | 231 "python", |
240 "-u", | 232 "-u", |
241 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 233 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
242 "--show-path", | 234 "--show-path", |
243 "python", | 235 "python", |
244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 236 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
245 ], | 237 ], |
246 "cwd": "[SLAVE_BUILD]", | |
247 "name": "cleanup_temp" | 238 "name": "cleanup_temp" |
248 }, | 239 }, |
249 { | 240 { |
250 "cmd": [ | 241 "cmd": [ |
251 "python", | 242 "python", |
252 "-u", | 243 "-u", |
253 "\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", | 244 "\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", |
254 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 245 "[CWD]/src/out/Release/debug_info_dumps", |
255 "[SLAVE_BUILD]/src/out/Release/test_logs", | 246 "[CWD]/src/out/Release/test_logs", |
256 "[SLAVE_BUILD]/src/out/build_product.zip", | 247 "[CWD]/src/out/build_product.zip", |
257 "[SLAVE_BUILD]/src" | 248 "[CWD]/src" |
258 ], | 249 ], |
259 "cwd": "[SLAVE_BUILD]", | |
260 "name": "clean local files", | 250 "name": "clean local files", |
261 "~followup_annotations": [ | 251 "~followup_annotations": [ |
262 "@@@STEP_LOG_LINE@python.inline@@@@", | 252 "@@@STEP_LOG_LINE@python.inline@@@@", |
263 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 253 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
264 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 254 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
265 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 255 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
266 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 256 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
267 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 257 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
268 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 258 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
269 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 259 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
270 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 260 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
271 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 261 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
272 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 262 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
273 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 263 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
274 "@@@STEP_LOG_END@python.inline@@@" | 264 "@@@STEP_LOG_END@python.inline@@@" |
275 ] | 265 ] |
276 }, | 266 }, |
277 { | 267 { |
278 "allow_subannotations": false, | 268 "allow_subannotations": false, |
279 "cmd": [ | 269 "cmd": [ |
280 "[SLAVE_BUILD]/src/build/tree_truth.sh", | 270 "[CWD]/src/build/tree_truth.sh", |
281 "[SLAVE_BUILD]/src", | 271 "[CWD]/src", |
282 "src" | 272 "src" |
283 ], | 273 ], |
284 "cwd": "[SLAVE_BUILD]", | |
285 "name": "tree truth steps" | 274 "name": "tree truth steps" |
286 }, | 275 }, |
287 { | 276 { |
288 "cmd": [ | 277 "cmd": [ |
289 "python", | 278 "python", |
290 "-u", | 279 "-u", |
291 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 280 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
292 "--build-dir", | 281 "--build-dir", |
293 "[SLAVE_BUILD]/src/out/Release", | 282 "[CWD]/src/out/Release", |
294 "--clean-isolated-files" | 283 "--clean-isolated-files" |
295 ], | 284 ], |
296 "cwd": "[SLAVE_BUILD]", | |
297 "name": "clean isolated files" | 285 "name": "clean isolated files" |
298 }, | 286 }, |
299 { | 287 { |
300 "cmd": [ | 288 "cmd": [ |
301 "python", | 289 "python", |
302 "-u", | 290 "-u", |
303 "[SLAVE_BUILD]/src/tools/mb/mb.py", | 291 "[CWD]/src/tools/mb/mb.py", |
304 "gen", | 292 "gen", |
305 "-m", | 293 "-m", |
306 "chromium.android", | 294 "chromium.android", |
307 "-b", | 295 "-b", |
308 "Android Swarm Builder", | 296 "Android Swarm Builder", |
309 "--config-file", | 297 "--config-file", |
310 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", | 298 "[CWD]/src/tools/mb/mb_config.pyl", |
311 "--goma-dir", | 299 "--goma-dir", |
312 "[CACHE]/cipd/goma", | 300 "[ROOT]/b/build/slave/cache/cipd/goma", |
313 "--swarming-targets-file", | 301 "--swarming-targets-file", |
314 "browser_tests_apk\n", | 302 "browser_tests_apk\n", |
315 "//out/Release" | 303 "//out/Release" |
316 ], | 304 ], |
317 "cwd": "[SLAVE_BUILD]", | |
318 "name": "generate_build_files", | 305 "name": "generate_build_files", |
319 "~followup_annotations": [ | 306 "~followup_annotations": [ |
320 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests_apk@@@", | 307 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests_apk@@@", |
321 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" | 308 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" |
322 ] | 309 ] |
323 }, | 310 }, |
324 { | 311 { |
325 "cmd": [ | 312 "cmd": [ |
326 "python", | 313 "python", |
327 "-u", | 314 "-u", |
328 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 315 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
329 "--show-path", | 316 "--show-path", |
330 "python", | 317 "python", |
331 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 318 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
332 "--gsutil-py-path", | 319 "--gsutil-py-path", |
333 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 320 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
334 "--ninja-path", | 321 "--ninja-path", |
335 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 322 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
336 "--target", | 323 "--target", |
337 "Release", | 324 "Release", |
338 "--src-dir", | 325 "--src-dir", |
339 "[SLAVE_BUILD]/src", | 326 "[CWD]/src", |
340 "--goma-cache-dir", | 327 "--goma-cache-dir", |
341 "[GOMA_CACHE]", | 328 "[ROOT]/b/build/slave/goma_cache", |
342 "--build-tool", | 329 "--build-tool", |
343 "ninja", | 330 "ninja", |
344 "--build-data-dir", | 331 "--build-data-dir", |
345 "[ROOT]/build_data_dir", | 332 "[ROOT]/build_data_dir", |
346 "--compiler", | 333 "--compiler", |
347 "goma", | 334 "goma", |
348 "--goma-jsonstatus", | 335 "--goma-jsonstatus", |
349 "/path/to/tmp/json", | 336 "/path/to/tmp/json", |
350 "--goma-service-account-json-file", | 337 "--goma-service-account-json-file", |
351 "/creds/service_accounts/service-account-goma-client.json", | 338 "/creds/service_accounts/service-account-goma-client.json", |
352 "--goma-dir", | 339 "--goma-dir", |
353 "[CACHE]/cipd/goma", | 340 "[ROOT]/b/build/slave/cache/cipd/goma", |
354 "--", | 341 "--", |
355 "browser_tests_apk_run" | 342 "browser_tests_apk_run" |
356 ], | 343 ], |
357 "cwd": "[SLAVE_BUILD]", | |
358 "env": { | 344 "env": { |
359 "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", |
360 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 346 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
361 }, | 347 }, |
362 "name": "compile", | 348 "name": "compile", |
363 "~followup_annotations": [ | 349 "~followup_annotations": [ |
364 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 350 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
365 "@@@STEP_LOG_END@json.output (invalid)@@@" | 351 "@@@STEP_LOG_END@json.output (invalid)@@@" |
366 ] | 352 ] |
367 }, | 353 }, |
368 { | 354 { |
369 "cmd": [ | 355 "cmd": [ |
370 "python", | 356 "python", |
371 "-u", | 357 "-u", |
372 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 358 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", |
373 "--build-dir", | 359 "--build-dir", |
374 "[SLAVE_BUILD]/src/out/Release", | 360 "[CWD]/src/out/Release", |
375 "--src-dir", | 361 "--src-dir", |
376 "[SLAVE_BUILD]/src" | 362 "[CWD]/src" |
377 ], | 363 ], |
378 "cwd": "[SLAVE_BUILD]", | 364 "cwd": "[CWD]", |
379 "name": "remove_build_metadata" | 365 "name": "remove_build_metadata" |
380 }, | 366 }, |
381 { | 367 { |
382 "cmd": [ | 368 "cmd": [ |
383 "python", | 369 "python", |
384 "-u", | 370 "-u", |
385 "RECIPE_MODULE[build::isolate]/resources/isolate.py", | 371 "RECIPE_MODULE[build::isolate]/resources/isolate.py", |
386 "[SLAVE_BUILD]/src/tools/swarming_client", | 372 "[CWD]/src/tools/swarming_client", |
387 "batcharchive", | 373 "batcharchive", |
388 "--dump-json", | 374 "--dump-json", |
389 "/path/to/tmp/json", | 375 "/path/to/tmp/json", |
390 "--isolate-server", | 376 "--isolate-server", |
391 "https://isolateserver.appspot.com", | 377 "https://isolateserver.appspot.com", |
392 "--verbose", | 378 "--verbose", |
393 "[SLAVE_BUILD]/src/out/Release/browser_tests_apk.isolated.gen.json" | 379 "[CWD]/src/out/Release/browser_tests_apk.isolated.gen.json" |
394 ], | 380 ], |
395 "cwd": "[SLAVE_BUILD]", | |
396 "name": "isolate tests", | 381 "name": "isolate tests", |
397 "~followup_annotations": [ | 382 "~followup_annotations": [ |
398 "@@@STEP_LOG_LINE@json.output@{@@@", | 383 "@@@STEP_LOG_LINE@json.output@{@@@", |
399 "@@@STEP_LOG_LINE@json.output@ \"browser_tests_apk\": \"[dummy hash for b
rowser_tests_apk]\"@@@", | 384 "@@@STEP_LOG_LINE@json.output@ \"browser_tests_apk\": \"[dummy hash for b
rowser_tests_apk]\"@@@", |
400 "@@@STEP_LOG_LINE@json.output@}@@@", | 385 "@@@STEP_LOG_LINE@json.output@}@@@", |
401 "@@@STEP_LOG_END@json.output@@@" | 386 "@@@STEP_LOG_END@json.output@@@" |
402 ] | 387 ] |
403 }, | 388 }, |
404 { | 389 { |
405 "cmd": [ | 390 "cmd": [ |
406 "python", | 391 "python", |
407 "-u", | 392 "-u", |
408 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 393 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
409 "--build-dir", | 394 "--build-dir", |
410 "[SLAVE_BUILD]/src/out/Release", | 395 "[CWD]/src/out/Release", |
411 "--output-json", | 396 "--output-json", |
412 "/path/to/tmp/json" | 397 "/path/to/tmp/json" |
413 ], | 398 ], |
414 "cwd": "[SLAVE_BUILD]", | |
415 "name": "find isolated tests", | 399 "name": "find isolated tests", |
416 "~followup_annotations": [ | 400 "~followup_annotations": [ |
417 "@@@STEP_LOG_LINE@json.output@{@@@", | 401 "@@@STEP_LOG_LINE@json.output@{@@@", |
418 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", | 402 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm
y_target_1]\", @@@", |
419 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", | 403 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm
y_target_2]\"@@@", |
420 "@@@STEP_LOG_LINE@json.output@}@@@", | 404 "@@@STEP_LOG_LINE@json.output@}@@@", |
421 "@@@STEP_LOG_END@json.output@@@", | 405 "@@@STEP_LOG_END@json.output@@@", |
422 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" | 406 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for
dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" |
423 ] | 407 ] |
424 }, | 408 }, |
425 { | 409 { |
426 "cmd": [ | 410 "cmd": [ |
427 "python", | 411 "python", |
428 "-u", | 412 "-u", |
429 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", | 413 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv
[1]\nsys.exit(1)\n", |
430 "browser_tests_apk" | 414 "browser_tests_apk" |
431 ], | 415 ], |
432 "cwd": "[SLAVE_BUILD]", | |
433 "name": "[error] browser_tests", | 416 "name": "[error] browser_tests", |
434 "~followup_annotations": [ | 417 "~followup_annotations": [ |
435 "@@@STEP_LOG_LINE@python.inline@@@@", | 418 "@@@STEP_LOG_LINE@python.inline@@@@", |
436 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 419 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
437 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", | 420 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi
ssing' % sys.argv[1]@@@", |
438 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 421 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
439 "@@@STEP_LOG_END@python.inline@@@" | 422 "@@@STEP_LOG_END@python.inline@@@" |
440 ] | 423 ] |
441 }, | 424 }, |
442 { | 425 { |
443 "cmd": [ | 426 "cmd": [ |
444 "python", | 427 "python", |
445 "-u", | 428 "-u", |
446 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, | 429 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n"
, |
447 "browser_tests" | 430 "browser_tests" |
448 ], | 431 ], |
449 "cwd": "[SLAVE_BUILD]", | |
450 "name": "[collect error] browser_tests", | 432 "name": "[collect error] browser_tests", |
451 "~followup_annotations": [ | 433 "~followup_annotations": [ |
452 "@@@STEP_LOG_LINE@python.inline@@@@", | 434 "@@@STEP_LOG_LINE@python.inline@@@@", |
453 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 435 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
454 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", | 436 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1
]@@@", |
455 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", | 437 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", |
456 "@@@STEP_LOG_END@python.inline@@@" | 438 "@@@STEP_LOG_END@python.inline@@@" |
457 ] | 439 ] |
458 }, | 440 }, |
459 { | 441 { |
460 "cmd": [ | 442 "cmd": [ |
461 "python", | 443 "python", |
462 "-u", | 444 "-u", |
463 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | 445 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
464 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | 446 "[CWD]/src/out/Release/test_logs/*.log" |
465 ], | 447 ], |
466 "cwd": "[SLAVE_BUILD]", | |
467 "name": "test_report", | 448 "name": "test_report", |
468 "~followup_annotations": [ | 449 "~followup_annotations": [ |
469 "@@@STEP_LOG_LINE@python.inline@@@@", | 450 "@@@STEP_LOG_LINE@python.inline@@@@", |
470 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 451 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
471 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 452 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
472 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 453 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
473 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 454 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
474 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 455 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
475 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 456 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
476 "@@@STEP_LOG_END@python.inline@@@" | 457 "@@@STEP_LOG_END@python.inline@@@" |
477 ] | 458 ] |
478 }, | 459 }, |
479 { | 460 { |
480 "name": "$result", | 461 "name": "$result", |
481 "recipe_result": null, | 462 "recipe_result": null, |
482 "status_code": 0 | 463 "status_code": 0 |
483 } | 464 } |
484 ] | 465 ] |
OLD | NEW |