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.fyi", | 8 "chromium.fyi", |
9 "--builder", | 9 "--builder", |
10 "Android Cloud Tests", | 10 "Android Cloud Tests", |
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'}]\ntarget_os = ['an
droid']", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url'
: 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.
chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr
omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t
runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m
irror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", |
15 "--root", | 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 "linux-amd64", | 111 "linux-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/linux-amd64 release", | 136 "infra_internal/goma/client/linux-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/linux-amd64\"@@@", | 150 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-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 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 161 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
158 "runhooks" | 162 "runhooks" |
159 ], | 163 ], |
| 164 "cwd": "[SLAVE_BUILD]", |
160 "env": { | 165 "env": { |
161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 166 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
162 "GYP_CHROMIUM_NO_ACTION": "1", | 167 "GYP_CHROMIUM_NO_ACTION": "1", |
163 "GYP_CROSSCOMPILE": "1", | 168 "GYP_CROSSCOMPILE": "1", |
164 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/slave/cache/cipd/goma' target_arch=ia32 use_goma=1", | 169 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=ia32 use_goma=1", |
165 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 170 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
166 }, | 171 }, |
167 "name": "gclient runhooks" | 172 "name": "gclient runhooks" |
168 }, | 173 }, |
169 { | 174 { |
170 "cmd": [ | 175 "cmd": [ |
171 "python", | 176 "python", |
172 "-u", | 177 "-u", |
173 "[CWD]/src/testing/scripts/get_compile_targets.py", | 178 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
174 "--output", | 179 "--output", |
175 "/path/to/tmp/json", | 180 "/path/to/tmp/json", |
176 "--", | 181 "--", |
177 "--build-config-fs", | 182 "--build-config-fs", |
178 "Release", | 183 "Release", |
179 "--paths", | 184 "--paths", |
180 "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/
scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/s
lave/runtest.py\"}", | 185 "{\"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\"}", |
181 "--properties", | 186 "--properties", |
182 "{\"buildername\": \"Android Cloud Tests\", \"buildnumber\": 571, \"master
name\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\":
\"android\"}" | 187 "{\"buildername\": \"Android Cloud Tests\", \"buildnumber\": 571, \"master
name\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\":
\"android\"}" |
183 ], | 188 ], |
| 189 "cwd": "[SLAVE_BUILD]", |
184 "name": "get compile targets for scripts", | 190 "name": "get compile targets for scripts", |
185 "~followup_annotations": [ | 191 "~followup_annotations": [ |
186 "@@@STEP_LOG_LINE@json.output@{}@@@", | 192 "@@@STEP_LOG_LINE@json.output@{}@@@", |
187 "@@@STEP_LOG_END@json.output@@@" | 193 "@@@STEP_LOG_END@json.output@@@" |
188 ] | 194 ] |
189 }, | 195 }, |
190 { | 196 { |
191 "cmd": [ | 197 "cmd": [ |
192 "python", | 198 "python", |
193 "-u", | 199 "-u", |
194 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 200 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
195 "[CWD]/src/testing/buildbot/chromium.fyi.json", | 201 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", |
196 "/path/to/tmp/json" | 202 "/path/to/tmp/json" |
197 ], | 203 ], |
| 204 "cwd": "[SLAVE_BUILD]", |
198 "name": "read test spec", | 205 "name": "read test spec", |
199 "~followup_annotations": [ | 206 "~followup_annotations": [ |
200 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.fyi.json@@@", | 207 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@
@", |
201 "@@@STEP_LOG_LINE@json.output@{@@@", | 208 "@@@STEP_LOG_LINE@json.output@{@@@", |
202 "@@@STEP_LOG_LINE@json.output@ \"Android Cloud Tests\": {@@@", | 209 "@@@STEP_LOG_LINE@json.output@ \"Android Cloud Tests\": {@@@", |
203 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", | 210 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", |
204 "@@@STEP_LOG_LINE@json.output@ {@@@", | 211 "@@@STEP_LOG_LINE@json.output@ {@@@", |
205 "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@", | 212 "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@", |
206 "@@@STEP_LOG_LINE@json.output@ \"--isolate-file-path=src/base/bas
e_unittests.isolate\"@@@", | 213 "@@@STEP_LOG_LINE@json.output@ \"--isolate-file-path=src/base/bas
e_unittests.isolate\"@@@", |
207 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 214 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
208 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_unittests\"@@@", | 215 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_unittests\"@@@", |
209 "@@@STEP_LOG_LINE@json.output@ }@@@", | 216 "@@@STEP_LOG_LINE@json.output@ }@@@", |
210 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 217 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
211 "@@@STEP_LOG_LINE@json.output@ }@@@", | 218 "@@@STEP_LOG_LINE@json.output@ }@@@", |
212 "@@@STEP_LOG_LINE@json.output@}@@@", | 219 "@@@STEP_LOG_LINE@json.output@}@@@", |
213 "@@@STEP_LOG_END@json.output@@@" | 220 "@@@STEP_LOG_END@json.output@@@" |
214 ] | 221 ] |
215 }, | 222 }, |
216 { | 223 { |
217 "cmd": [ | 224 "cmd": [ |
218 "python", | 225 "python", |
219 "-u", | 226 "-u", |
220 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 227 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
221 "--show-path", | 228 "--show-path", |
222 "python", | 229 "python", |
223 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 230 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
224 ], | 231 ], |
| 232 "cwd": "[SLAVE_BUILD]", |
225 "name": "cleanup_temp" | 233 "name": "cleanup_temp" |
226 }, | 234 }, |
227 { | 235 { |
228 "cmd": [ | 236 "cmd": [ |
229 "python", | 237 "python", |
230 "-u", | 238 "-u", |
231 "\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", | 239 "\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", |
232 "[CWD]/src/out/Release/debug_info_dumps", | 240 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
233 "[CWD]/src/out/Release/test_logs", | 241 "[SLAVE_BUILD]/src/out/Release/test_logs", |
234 "[CWD]/src/out/build_product.zip", | 242 "[SLAVE_BUILD]/src/out/build_product.zip", |
235 "[CWD]/src" | 243 "[SLAVE_BUILD]/src" |
236 ], | 244 ], |
| 245 "cwd": "[SLAVE_BUILD]", |
237 "name": "clean local files", | 246 "name": "clean local files", |
238 "~followup_annotations": [ | 247 "~followup_annotations": [ |
239 "@@@STEP_LOG_LINE@python.inline@@@@", | 248 "@@@STEP_LOG_LINE@python.inline@@@@", |
240 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 249 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
241 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 250 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
242 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 251 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
243 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 252 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
244 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 253 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
245 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 254 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
246 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 255 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
247 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 256 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
248 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 257 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
249 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 258 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
250 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 259 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
251 "@@@STEP_LOG_END@python.inline@@@" | 260 "@@@STEP_LOG_END@python.inline@@@" |
252 ] | 261 ] |
253 }, | 262 }, |
254 { | 263 { |
255 "allow_subannotations": false, | 264 "allow_subannotations": false, |
256 "cmd": [ | 265 "cmd": [ |
257 "[CWD]/src/build/tree_truth.sh", | 266 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
258 "[CWD]/src", | 267 "[SLAVE_BUILD]/src", |
259 "src" | 268 "src" |
260 ], | 269 ], |
| 270 "cwd": "[SLAVE_BUILD]", |
261 "name": "tree truth steps" | 271 "name": "tree truth steps" |
262 }, | 272 }, |
263 { | 273 { |
264 "cmd": [ | 274 "cmd": [ |
265 "python", | 275 "python", |
266 "-u", | 276 "-u", |
267 "[CWD]/src/tools/mb/mb.py", | 277 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
268 "gen", | 278 "gen", |
269 "-m", | 279 "-m", |
270 "chromium.fyi", | 280 "chromium.fyi", |
271 "-b", | 281 "-b", |
272 "Android Cloud Tests", | 282 "Android Cloud Tests", |
273 "--config-file", | 283 "--config-file", |
274 "[CWD]/src/tools/mb/mb_config.pyl", | 284 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
275 "--goma-dir", | 285 "--goma-dir", |
276 "[ROOT]/b/build/slave/cache/cipd/goma", | 286 "[CACHE]/cipd/goma", |
277 "//out/Release" | 287 "//out/Release" |
278 ], | 288 ], |
| 289 "cwd": "[SLAVE_BUILD]", |
279 "name": "generate_build_files" | 290 "name": "generate_build_files" |
280 }, | 291 }, |
281 { | 292 { |
282 "cmd": [ | 293 "cmd": [ |
283 "python", | 294 "python", |
284 "-u", | 295 "-u", |
285 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 296 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
286 "--show-path", | 297 "--show-path", |
287 "python", | 298 "python", |
288 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 299 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
289 "--gsutil-py-path", | 300 "--gsutil-py-path", |
290 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 301 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
291 "--ninja-path", | 302 "--ninja-path", |
292 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 303 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
293 "--target", | 304 "--target", |
294 "Release", | 305 "Release", |
295 "--src-dir", | 306 "--src-dir", |
296 "[CWD]/src", | 307 "[SLAVE_BUILD]/src", |
297 "--goma-cache-dir", | 308 "--goma-cache-dir", |
298 "[ROOT]/b/build/slave/goma_cache", | 309 "[GOMA_CACHE]", |
299 "--build-tool", | 310 "--build-tool", |
300 "ninja", | 311 "ninja", |
301 "--compiler", | 312 "--compiler", |
302 "goma", | 313 "goma", |
303 "--goma-jsonstatus", | 314 "--goma-jsonstatus", |
304 "/path/to/tmp/json", | 315 "/path/to/tmp/json", |
305 "--goma-service-account-json-file", | 316 "--goma-service-account-json-file", |
306 "/creds/service_accounts/service-account-goma-client.json", | 317 "/creds/service_accounts/service-account-goma-client.json", |
307 "--goma-dir", | 318 "--goma-dir", |
308 "[ROOT]/b/build/slave/cache/cipd/goma", | 319 "[CACHE]/cipd/goma", |
309 "--", | 320 "--", |
310 "base_unittests_apk" | 321 "base_unittests_apk" |
311 ], | 322 ], |
| 323 "cwd": "[SLAVE_BUILD]", |
312 "env": { | 324 "env": { |
313 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 325 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
314 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 326 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
315 }, | 327 }, |
316 "name": "compile", | 328 "name": "compile", |
317 "~followup_annotations": [ | 329 "~followup_annotations": [ |
318 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 330 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
319 "@@@STEP_LOG_END@json.output (invalid)@@@" | 331 "@@@STEP_LOG_END@json.output (invalid)@@@" |
320 ] | 332 ] |
321 }, | 333 }, |
322 { | 334 { |
323 "cmd": [ | 335 "cmd": [ |
324 "python", | 336 "python", |
325 "-u", | 337 "-u", |
326 "[CWD]/src/build/symlink.py", | 338 "[SLAVE_BUILD]/src/build/symlink.py", |
327 "-f", | 339 "-f", |
328 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 340 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
329 "~/adb" | 341 "~/adb" |
330 ], | 342 ], |
| 343 "cwd": "[SLAVE_BUILD]", |
331 "name": "create adb symlink" | 344 "name": "create adb symlink" |
332 }, | 345 }, |
333 { | 346 { |
334 "cmd": [ | 347 "cmd": [ |
335 "python", | 348 "python", |
336 "-u", | 349 "-u", |
337 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", | 350 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", |
338 "TestSlavename", | 351 "TestSlavename", |
339 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 352 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
340 "--n", | 353 "--n", |
341 "6", | 354 "6", |
342 "launch", | 355 "launch", |
343 "--snapshot", | 356 "--snapshot", |
344 "clean-22-l-phone-snapshot" | 357 "clean-22-l-phone-snapshot" |
345 ], | 358 ], |
| 359 "cwd": "[SLAVE_BUILD]", |
346 "name": "launch_instances" | 360 "name": "launch_instances" |
347 }, | 361 }, |
348 { | 362 { |
349 "cmd": [ | 363 "cmd": [ |
350 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 364 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
351 "--", | 365 "--", |
352 "[CWD]/src/build/android/adb_logcat_monitor.py", | 366 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
353 "[CWD]/src/out/logcat" | 367 "[SLAVE_BUILD]/src/out/logcat" |
354 ], | 368 ], |
| 369 "cwd": "[SLAVE_BUILD]", |
355 "env": { | 370 "env": { |
356 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 371 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
357 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 372 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
358 }, | 373 }, |
359 "name": "spawn_logcat_monitor" | 374 "name": "spawn_logcat_monitor" |
360 }, | 375 }, |
361 { | 376 { |
362 "cmd": [ | 377 "cmd": [ |
363 "python", | 378 "python", |
364 "-u", | 379 "-u", |
365 "[CWD]/src/build/android/provision_devices.py", | 380 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
366 "-t", | 381 "-t", |
367 "Release", | 382 "Release", |
368 "--blacklist-file", | 383 "--blacklist-file", |
369 "[CWD]/src/out/bad_devices.json", | 384 "[SLAVE_BUILD]/src/out/bad_devices.json", |
370 "--output-device-blacklist", | 385 "--output-device-blacklist", |
371 "/path/to/tmp/json", | 386 "/path/to/tmp/json", |
372 "--emulators" | 387 "--emulators" |
373 ], | 388 ], |
| 389 "cwd": "[SLAVE_BUILD]", |
374 "env": { | 390 "env": { |
375 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 391 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
376 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 392 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
377 }, | 393 }, |
378 "name": "provision_devices" | 394 "name": "provision_devices" |
379 }, | 395 }, |
380 { | 396 { |
381 "cmd": [ | 397 "cmd": [ |
382 "python", | 398 "python", |
383 "-u", | 399 "-u", |
384 "[CWD]/src/out/Release/bin/run_base_unittests", | 400 "[SLAVE_BUILD]/src/out/Release/bin/run_base_unittests", |
385 "--isolate-file-path=src/base/base_unittests.isolate", | 401 "--isolate-file-path=src/base/base_unittests.isolate", |
386 "--blacklist-file", | 402 "--blacklist-file", |
387 "[CWD]/src/out/bad_devices.json", | 403 "[SLAVE_BUILD]/src/out/bad_devices.json", |
388 "--verbose", | 404 "--verbose", |
389 "--flakiness-dashboard-server=test-results.appspot.com", | 405 "--flakiness-dashboard-server=test-results.appspot.com", |
390 "--json-results-file", | 406 "--json-results-file", |
391 "/path/to/tmp/json" | 407 "/path/to/tmp/json" |
392 ], | 408 ], |
| 409 "cwd": "[SLAVE_BUILD]", |
393 "env": { | 410 "env": { |
394 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 411 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
395 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 412 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
396 }, | 413 }, |
397 "name": "base_unittests" | 414 "name": "base_unittests" |
398 }, | 415 }, |
399 { | 416 { |
400 "cmd": [ | 417 "cmd": [ |
401 "python", | 418 "python", |
402 "-u", | 419 "-u", |
403 "[CWD]/src/build/android/adb_logcat_printer.py", | 420 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
404 "--output-path", | 421 "--output-path", |
405 "[CWD]/src/out/Release/full_log", | 422 "[SLAVE_BUILD]/src/out/Release/full_log", |
406 "[CWD]/src/out/logcat" | 423 "[SLAVE_BUILD]/src/out/logcat" |
407 ], | 424 ], |
| 425 "cwd": "[SLAVE_BUILD]", |
408 "name": "logcat_dump" | 426 "name": "logcat_dump" |
409 }, | 427 }, |
410 { | 428 { |
411 "cmd": [ | 429 "cmd": [ |
412 "python", | 430 "python", |
413 "-u", | 431 "-u", |
414 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 432 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
415 "--", | 433 "--", |
416 "[ROOT]/b/depot_tools/gsutil.py", | 434 "[DEPOT_TOOLS]/gsutil.py", |
417 "--force-version", | 435 "--force-version", |
418 "4.7", | 436 "4.7", |
419 "-o", | 437 "-o", |
420 "GSUtil:parallel_composite_upload_threshold=50M", | 438 "GSUtil:parallel_composite_upload_threshold=50M", |
421 "----", | 439 "----", |
422 "cp", | 440 "cp", |
423 "[CWD]/src/out/Release/full_log", | 441 "[SLAVE_BUILD]/src/out/Release/full_log", |
424 "gs://chromium-android/logcat_dumps/Android Cloud Tests/571" | 442 "gs://chromium-android/logcat_dumps/Android Cloud Tests/571" |
425 ], | 443 ], |
| 444 "cwd": "[SLAVE_BUILD]", |
426 "name": "gsutil upload", | 445 "name": "gsutil upload", |
427 "~followup_annotations": [ | 446 "~followup_annotations": [ |
428 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Cloud Tests/571@@@" | 447 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Cloud Tests/571@@@" |
429 ] | 448 ] |
430 }, | 449 }, |
431 { | 450 { |
432 "cmd": [ | 451 "cmd": [ |
433 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 452 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
434 "--arch", | 453 "--arch", |
435 "x86", | 454 "x86", |
436 "--more-info", | 455 "--more-info", |
437 "[CWD]/src/out/Release/full_log" | 456 "[SLAVE_BUILD]/src/out/Release/full_log" |
438 ], | 457 ], |
| 458 "cwd": "[SLAVE_BUILD]", |
439 "env": { | 459 "env": { |
440 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 460 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
441 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 461 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
442 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 462 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
443 }, | 463 }, |
444 "name": "stack_tool_with_logcat_dump" | 464 "name": "stack_tool_with_logcat_dump" |
445 }, | 465 }, |
446 { | 466 { |
447 "cmd": [ | 467 "cmd": [ |
448 "[CWD]/src/build/android/tombstones.py", | 468 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
449 "-a", | 469 "-a", |
450 "-s", | 470 "-s", |
451 "-w" | 471 "-w" |
452 ], | 472 ], |
| 473 "cwd": "[SLAVE_BUILD]", |
453 "env": { | 474 "env": { |
454 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 475 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
455 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 476 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
456 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 477 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
457 }, | 478 }, |
458 "name": "stack_tool_for_tombstones" | 479 "name": "stack_tool_for_tombstones" |
459 }, | 480 }, |
460 { | 481 { |
461 "cmd": [ | 482 "cmd": [ |
462 "python", | 483 "python", |
463 "-u", | 484 "-u", |
464 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", | 485 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", |
465 "TestSlavename", | 486 "TestSlavename", |
466 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 487 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
467 "--n", | 488 "--n", |
468 "6", | 489 "6", |
469 "shutdown" | 490 "shutdown" |
470 ], | 491 ], |
| 492 "cwd": "[SLAVE_BUILD]", |
471 "name": "shutdown_instances" | 493 "name": "shutdown_instances" |
472 }, | 494 }, |
473 { | 495 { |
474 "cmd": [ | 496 "cmd": [ |
475 "python", | 497 "python", |
476 "-u", | 498 "-u", |
477 "\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", | 499 "\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", |
478 "[CWD]/src/out/Release/test_logs/*.log" | 500 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
479 ], | 501 ], |
| 502 "cwd": "[SLAVE_BUILD]", |
480 "name": "test_report", | 503 "name": "test_report", |
481 "~followup_annotations": [ | 504 "~followup_annotations": [ |
482 "@@@STEP_LOG_LINE@python.inline@@@@", | 505 "@@@STEP_LOG_LINE@python.inline@@@@", |
483 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 506 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
484 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 507 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
485 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 508 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
486 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 509 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
487 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 510 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
488 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 511 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
489 "@@@STEP_LOG_END@python.inline@@@" | 512 "@@@STEP_LOG_END@python.inline@@@" |
490 ] | 513 ] |
491 }, | 514 }, |
492 { | 515 { |
493 "name": "$result", | 516 "name": "$result", |
494 "recipe_result": null, | 517 "recipe_result": null, |
495 "status_code": 0 | 518 "status_code": 0 |
496 } | 519 } |
497 ] | 520 ] |
OLD | NEW |