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