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.linux", | 8 "chromium.linux", |
9 "--builder", | 9 "--builder", |
10 "Android Tests", | 10 "Android 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 "[CWD]/src/tools/swarming_client/swarming.py", | 161 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", |
158 "--version" | 162 "--version" |
159 ], | 163 ], |
| 164 "cwd": "[SLAVE_BUILD]", |
160 "name": "swarming.py --version", | 165 "name": "swarming.py --version", |
161 "stdout": "/path/to/tmp/", | 166 "stdout": "/path/to/tmp/", |
162 "~followup_annotations": [ | 167 "~followup_annotations": [ |
163 "@@@STEP_TEXT@0.4.10@@@" | 168 "@@@STEP_TEXT@0.4.10@@@" |
164 ] | 169 ] |
165 }, | 170 }, |
166 { | 171 { |
167 "cmd": [ | 172 "cmd": [ |
168 "python", | 173 "python", |
169 "-u", | 174 "-u", |
170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 175 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
171 "runhooks" | 176 "runhooks" |
172 ], | 177 ], |
| 178 "cwd": "[SLAVE_BUILD]", |
173 "env": { | 179 "env": { |
174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 180 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
175 "GYP_CHROMIUM_NO_ACTION": "1", | 181 "GYP_CHROMIUM_NO_ACTION": "1", |
176 "GYP_CROSSCOMPILE": "1", | 182 "GYP_CROSSCOMPILE": "1", |
177 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/slave/cache/cipd/goma' target_arch=arm test_isolation_mode=prepare
use_goma=1", | 183 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", |
178 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 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]" |
179 }, | 185 }, |
180 "name": "gclient runhooks" | 186 "name": "gclient runhooks" |
181 }, | 187 }, |
182 { | 188 { |
183 "cmd": [ | 189 "cmd": [ |
184 "python", | 190 "python", |
185 "-u", | 191 "-u", |
186 "[CWD]/src/testing/scripts/get_compile_targets.py", | 192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
187 "--output", | 193 "--output", |
188 "/path/to/tmp/json", | 194 "/path/to/tmp/json", |
189 "--", | 195 "--", |
190 "--build-config-fs", | 196 "--build-config-fs", |
191 "Release", | 197 "Release", |
192 "--use-src-side-runtest-py", | 198 "--use-src-side-runtest-py", |
193 "--paths", | 199 "--paths", |
194 "{\"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 "{\"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\"}", |
195 "--properties", | 201 "--properties", |
196 "{\"buildername\": \"Android Tests\", \"buildnumber\": 571, \"mastername\"
: \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"a
ndroid\"}" | 202 "{\"buildername\": \"Android Tests\", \"buildnumber\": 571, \"mastername\"
: \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"a
ndroid\"}" |
197 ], | 203 ], |
| 204 "cwd": "[SLAVE_BUILD]", |
198 "name": "get compile targets for scripts", | 205 "name": "get compile targets for scripts", |
199 "~followup_annotations": [ | 206 "~followup_annotations": [ |
200 "@@@STEP_LOG_LINE@json.output@{}@@@", | 207 "@@@STEP_LOG_LINE@json.output@{}@@@", |
201 "@@@STEP_LOG_END@json.output@@@" | 208 "@@@STEP_LOG_END@json.output@@@" |
202 ] | 209 ] |
203 }, | 210 }, |
204 { | 211 { |
205 "cmd": [ | 212 "cmd": [ |
206 "python", | 213 "python", |
207 "-u", | 214 "-u", |
208 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
209 "[CWD]/src/testing/buildbot/chromium.linux.json", | 216 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", |
210 "/path/to/tmp/json" | 217 "/path/to/tmp/json" |
211 ], | 218 ], |
| 219 "cwd": "[SLAVE_BUILD]", |
212 "name": "read test spec", | 220 "name": "read test spec", |
213 "~followup_annotations": [ | 221 "~followup_annotations": [ |
214 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.linux.json@@@", | 222 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json
@@@", |
215 "@@@STEP_LOG_LINE@json.output@{@@@", | 223 "@@@STEP_LOG_LINE@json.output@{@@@", |
216 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", | 224 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", |
217 "@@@STEP_LOG_LINE@json.output@ \"instrumentation_tests\": [@@@", | 225 "@@@STEP_LOG_LINE@json.output@ \"instrumentation_tests\": [@@@", |
218 "@@@STEP_LOG_LINE@json.output@ {@@@", | 226 "@@@STEP_LOG_LINE@json.output@ {@@@", |
219 "@@@STEP_LOG_LINE@json.output@ \"additional_apks\": [@@@", | 227 "@@@STEP_LOG_LINE@json.output@ \"additional_apks\": [@@@", |
220 "@@@STEP_LOG_LINE@json.output@ \"another_apk\", @@@", | 228 "@@@STEP_LOG_LINE@json.output@ \"another_apk\", @@@", |
221 "@@@STEP_LOG_LINE@json.output@ \"omg_so_many_apks\"@@@", | 229 "@@@STEP_LOG_LINE@json.output@ \"omg_so_many_apks\"@@@", |
222 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 230 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
223 "@@@STEP_LOG_LINE@json.output@ \"apk_under_test\": \"second_apk\",
@@@", | 231 "@@@STEP_LOG_LINE@json.output@ \"apk_under_test\": \"second_apk\",
@@@", |
224 "@@@STEP_LOG_LINE@json.output@ \"test\": \"ChromePublicTest\", @@@"
, | 232 "@@@STEP_LOG_LINE@json.output@ \"test\": \"ChromePublicTest\", @@@"
, |
225 "@@@STEP_LOG_LINE@json.output@ \"test_apk\": \"one_apk\"@@@", | 233 "@@@STEP_LOG_LINE@json.output@ \"test_apk\": \"one_apk\"@@@", |
226 "@@@STEP_LOG_LINE@json.output@ }@@@", | 234 "@@@STEP_LOG_LINE@json.output@ }@@@", |
227 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 235 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
228 "@@@STEP_LOG_LINE@json.output@ }@@@", | 236 "@@@STEP_LOG_LINE@json.output@ }@@@", |
229 "@@@STEP_LOG_LINE@json.output@}@@@", | 237 "@@@STEP_LOG_LINE@json.output@}@@@", |
230 "@@@STEP_LOG_END@json.output@@@" | 238 "@@@STEP_LOG_END@json.output@@@" |
231 ] | 239 ] |
232 }, | 240 }, |
233 { | 241 { |
234 "cmd": [ | 242 "cmd": [ |
235 "python", | 243 "python", |
236 "-u", | 244 "-u", |
237 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 245 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
238 "--show-path", | 246 "--show-path", |
239 "python", | 247 "python", |
240 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 248 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
241 ], | 249 ], |
| 250 "cwd": "[SLAVE_BUILD]", |
242 "name": "cleanup_temp" | 251 "name": "cleanup_temp" |
243 }, | 252 }, |
244 { | 253 { |
245 "cmd": [ | 254 "cmd": [ |
246 "python", | 255 "python", |
247 "-u", | 256 "-u", |
248 "\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", | 257 "\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", |
249 "[CWD]/src/out/Release/debug_info_dumps", | 258 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
250 "[CWD]/src/out/Release/test_logs", | 259 "[SLAVE_BUILD]/src/out/Release/test_logs", |
251 "[CWD]/src/out/build_product.zip", | 260 "[SLAVE_BUILD]/src/out/build_product.zip", |
252 "[CWD]/src" | 261 "[SLAVE_BUILD]/src" |
253 ], | 262 ], |
| 263 "cwd": "[SLAVE_BUILD]", |
254 "name": "clean local files", | 264 "name": "clean local files", |
255 "~followup_annotations": [ | 265 "~followup_annotations": [ |
256 "@@@STEP_LOG_LINE@python.inline@@@@", | 266 "@@@STEP_LOG_LINE@python.inline@@@@", |
257 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 267 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
258 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 268 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
259 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 269 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
260 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 270 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
261 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 271 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
262 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 272 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
263 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 273 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
264 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 274 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
265 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 275 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
266 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 276 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
267 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 277 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
268 "@@@STEP_LOG_END@python.inline@@@" | 278 "@@@STEP_LOG_END@python.inline@@@" |
269 ] | 279 ] |
270 }, | 280 }, |
271 { | 281 { |
272 "allow_subannotations": false, | 282 "allow_subannotations": false, |
273 "cmd": [ | 283 "cmd": [ |
274 "[CWD]/src/build/tree_truth.sh", | 284 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
275 "[CWD]/src", | 285 "[SLAVE_BUILD]/src", |
276 "src" | 286 "src" |
277 ], | 287 ], |
| 288 "cwd": "[SLAVE_BUILD]", |
278 "name": "tree truth steps" | 289 "name": "tree truth steps" |
279 }, | 290 }, |
280 { | 291 { |
281 "cmd": [ | 292 "cmd": [ |
282 "python", | 293 "python", |
283 "-u", | 294 "-u", |
284 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | 295 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", |
285 "[CWD]/src/out/Release" | 296 "[SLAVE_BUILD]/src/out/Release" |
286 ], | 297 ], |
| 298 "cwd": "[SLAVE_BUILD]", |
287 "name": "rmtree build directory", | 299 "name": "rmtree build directory", |
288 "~followup_annotations": [ | 300 "~followup_annotations": [ |
289 "@@@STEP_LOG_LINE@python.inline@@@@", | 301 "@@@STEP_LOG_LINE@python.inline@@@@", |
290 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 302 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
291 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 303 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
292 "@@@STEP_LOG_LINE@python.inline@@@@", | 304 "@@@STEP_LOG_LINE@python.inline@@@@", |
293 "@@@STEP_LOG_LINE@python.inline@@@@", | 305 "@@@STEP_LOG_LINE@python.inline@@@@", |
294 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 306 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
295 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 307 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
296 "@@@STEP_LOG_END@python.inline@@@" | 308 "@@@STEP_LOG_END@python.inline@@@" |
(...skipping 11 matching lines...) Expand all Loading... |
308 "Release", | 320 "Release", |
309 "--build-url", | 321 "--build-url", |
310 "gs://chromium-linux-archive/chromium.linux/Android Builder/full-build-lin
ux.zip", | 322 "gs://chromium-linux-archive/chromium.linux/Android Builder/full-build-lin
ux.zip", |
311 "--build_revision", | 323 "--build_revision", |
312 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", | 324 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", |
313 "--master-name", | 325 "--master-name", |
314 "chromium.linux", | 326 "chromium.linux", |
315 "--build-number", | 327 "--build-number", |
316 "571" | 328 "571" |
317 ], | 329 ], |
| 330 "cwd": "[SLAVE_BUILD]", |
318 "name": "extract build" | 331 "name": "extract build" |
319 }, | 332 }, |
320 { | 333 { |
321 "cmd": [ | 334 "cmd": [ |
322 "python", | 335 "python", |
323 "-u", | 336 "-u", |
324 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 337 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
325 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']
", | 338 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
326 "/path/to/tmp/json" | 339 "/path/to/tmp/json" |
327 ], | 340 ], |
| 341 "cwd": "[SLAVE_BUILD]", |
328 "name": "List adb devices", | 342 "name": "List adb devices", |
329 "~followup_annotations": [ | 343 "~followup_annotations": [ |
330 "@@@STEP_LOG_LINE@json.output@[@@@", | 344 "@@@STEP_LOG_LINE@json.output@[@@@", |
331 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 345 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
332 "@@@STEP_LOG_LINE@json.output@]@@@", | 346 "@@@STEP_LOG_LINE@json.output@]@@@", |
333 "@@@STEP_LOG_END@json.output@@@" | 347 "@@@STEP_LOG_END@json.output@@@" |
334 ] | 348 ] |
335 }, | 349 }, |
336 { | 350 { |
337 "cmd": [ | 351 "cmd": [ |
338 "python", | 352 "python", |
339 "-u", | 353 "-u", |
340 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", | 354 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", |
341 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 355 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
342 "014E1F310401C009" | 356 "014E1F310401C009" |
343 ], | 357 ], |
| 358 "cwd": "[SLAVE_BUILD]", |
344 "name": "Root devices", | 359 "name": "Root devices", |
345 "~followup_annotations": [ | 360 "~followup_annotations": [ |
346 "@@@STEP_LOG_LINE@python.inline@@@@", | 361 "@@@STEP_LOG_LINE@python.inline@@@@", |
347 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 362 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
348 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 363 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
349 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 364 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
350 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 365 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
351 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 366 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
352 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 367 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
353 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 368 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
354 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 369 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
355 "@@@STEP_LOG_END@python.inline@@@" | 370 "@@@STEP_LOG_END@python.inline@@@" |
356 ] | 371 ] |
357 }, | 372 }, |
358 { | 373 { |
359 "cmd": [ | 374 "cmd": [ |
360 "python", | 375 "python", |
361 "-u", | 376 "-u", |
362 "[CWD]/src/build/symlink.py", | 377 "[SLAVE_BUILD]/src/build/symlink.py", |
363 "-f", | 378 "-f", |
364 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 379 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
365 "~/adb" | 380 "~/adb" |
366 ], | 381 ], |
| 382 "cwd": "[SLAVE_BUILD]", |
367 "name": "create adb symlink" | 383 "name": "create adb symlink" |
368 }, | 384 }, |
369 { | 385 { |
370 "cmd": [ | 386 "cmd": [ |
371 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 387 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
372 "--", | 388 "--", |
373 "[CWD]/src/build/android/adb_logcat_monitor.py", | 389 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
374 "[CWD]/src/out/logcat" | 390 "[SLAVE_BUILD]/src/out/logcat" |
375 ], | 391 ], |
| 392 "cwd": "[SLAVE_BUILD]", |
376 "env": { | 393 "env": { |
377 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 394 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
378 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 395 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
379 }, | 396 }, |
380 "name": "spawn_logcat_monitor" | 397 "name": "spawn_logcat_monitor" |
381 }, | 398 }, |
382 { | 399 { |
383 "cmd": [ | 400 "cmd": [ |
384 "python", | 401 "python", |
385 "-u", | 402 "-u", |
386 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | 403 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
387 "--verbose", | 404 "--verbose", |
388 "--adb-path", | 405 "--adb-path", |
389 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" | 406 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
390 ], | 407 ], |
| 408 "cwd": "[SLAVE_BUILD]", |
391 "env": { | 409 "env": { |
392 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 410 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
393 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 411 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
394 }, | 412 }, |
395 "name": "authorize_adb_devices" | 413 "name": "authorize_adb_devices" |
396 }, | 414 }, |
397 { | 415 { |
398 "cmd": [ | 416 "cmd": [ |
399 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", | 417 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
400 "--json-output", | 418 "--json-output", |
401 "/path/to/tmp/json", | 419 "/path/to/tmp/json", |
402 "--blacklist-file", | 420 "--blacklist-file", |
403 "[CWD]/src/out/bad_devices.json", | 421 "[SLAVE_BUILD]/src/out/bad_devices.json", |
404 "--known-devices-file", | 422 "--known-devices-file", |
405 "[ROOT]/b/build/site_config/.known_devices" | 423 "[BUILD]/site_config/.known_devices" |
406 ], | 424 ], |
| 425 "cwd": "[SLAVE_BUILD]", |
407 "env": { | 426 "env": { |
408 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 427 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
409 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 428 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
410 }, | 429 }, |
411 "name": "device_status_check", | 430 "name": "device_status_check", |
412 "~followup_annotations": [ | 431 "~followup_annotations": [ |
413 "@@@STEP_TEXT@Online devices: 1@@@", | 432 "@@@STEP_TEXT@Online devices: 1@@@", |
414 "@@@STEP_LOG_LINE@json.output@[@@@", | 433 "@@@STEP_LOG_LINE@json.output@[@@@", |
415 "@@@STEP_LOG_LINE@json.output@ {@@@", | 434 "@@@STEP_LOG_LINE@json.output@ {@@@", |
416 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 435 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
417 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 436 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
418 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 437 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
419 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 438 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 520 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
502 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 521 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
503 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 522 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
504 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 523 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
505 ] | 524 ] |
506 }, | 525 }, |
507 { | 526 { |
508 "cmd": [ | 527 "cmd": [ |
509 "python", | 528 "python", |
510 "-u", | 529 "-u", |
511 "[CWD]/src/build/android/provision_devices.py", | 530 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
512 "-t", | 531 "-t", |
513 "Release", | 532 "Release", |
514 "--blacklist-file", | 533 "--blacklist-file", |
515 "[CWD]/src/out/bad_devices.json", | 534 "[SLAVE_BUILD]/src/out/bad_devices.json", |
516 "--output-device-blacklist", | 535 "--output-device-blacklist", |
517 "/path/to/tmp/json" | 536 "/path/to/tmp/json" |
518 ], | 537 ], |
| 538 "cwd": "[SLAVE_BUILD]", |
519 "env": { | 539 "env": { |
520 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 540 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
521 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 541 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
522 }, | 542 }, |
523 "name": "provision_devices" | 543 "name": "provision_devices" |
524 }, | 544 }, |
525 { | 545 { |
526 "cmd": [ | 546 "cmd": [ |
527 "python", | 547 "python", |
528 "-u", | 548 "-u", |
529 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 549 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
530 "--action", | 550 "--action", |
531 "restart", | 551 "restart", |
532 "--pid-file-path", | 552 "--pid-file-path", |
533 "/tmp/device_monitor.pid", | 553 "/tmp/device_monitor.pid", |
534 "--", | 554 "--", |
535 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, | 555 "RECIPE_MODULE[build::chromium_android]/resources/spawn_device_monitor.py"
, |
536 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 556 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
537 "[\"07a00ca4\"]", | 557 "[\"07a00ca4\"]", |
538 "chromium.linux", | 558 "chromium.linux", |
539 "Android Tests", | 559 "Android Tests", |
540 "--blacklist-file", | 560 "--blacklist-file", |
541 "[CWD]/src/out/bad_devices.json" | 561 "[SLAVE_BUILD]/src/out/bad_devices.json" |
542 ], | 562 ], |
| 563 "cwd": "[SLAVE_BUILD]", |
543 "name": "spawn_device_monitor" | 564 "name": "spawn_device_monitor" |
544 }, | 565 }, |
545 { | 566 { |
546 "cmd": [ | 567 "cmd": [ |
547 "python", | 568 "python", |
548 "-u", | 569 "-u", |
549 "[CWD]/src/out/Release/bin/run_chrome_public_test_apk", | 570 "[SLAVE_BUILD]/src/out/Release/bin/run_chrome_public_test_apk", |
550 "--blacklist-file", | 571 "--blacklist-file", |
551 "[CWD]/src/out/bad_devices.json", | 572 "[SLAVE_BUILD]/src/out/bad_devices.json", |
552 "--verbose", | 573 "--verbose", |
553 "--json-results-file", | 574 "--json-results-file", |
554 "/path/to/tmp/json" | 575 "/path/to/tmp/json" |
555 ], | 576 ], |
| 577 "cwd": "[SLAVE_BUILD]", |
556 "name": "Instrumentation test ChromePublicTest", | 578 "name": "Instrumentation test ChromePublicTest", |
557 "~followup_annotations": [ | 579 "~followup_annotations": [ |
558 "step returned non-zero exit code: 1", | 580 "step returned non-zero exit code: 1", |
559 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", | 581 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", |
560 "@@@STEP_FAILURE@@@" | 582 "@@@STEP_FAILURE@@@" |
561 ] | 583 ] |
562 }, | 584 }, |
563 { | 585 { |
564 "cmd": [ | 586 "cmd": [ |
565 "python", | 587 "python", |
566 "-u", | 588 "-u", |
567 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py
", | 589 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py
", |
568 "--input-gtest-json", | 590 "--input-gtest-json", |
569 "/path/to/tmp/json", | 591 "/path/to/tmp/json", |
570 "--master-name", | 592 "--master-name", |
571 "chromium.linux", | 593 "chromium.linux", |
572 "--builder-name", | 594 "--builder-name", |
573 "Android Tests", | 595 "Android Tests", |
574 "--build-number", | 596 "--build-number", |
575 "571", | 597 "571", |
576 "--test-type", | 598 "--test-type", |
577 "ChromePublicTest", | 599 "ChromePublicTest", |
578 "--test-results-server", | 600 "--test-results-server", |
579 "test-results.appspot.com", | 601 "test-results.appspot.com", |
580 "--chrome-revision", | 602 "--chrome-revision", |
581 "refs/heads/master@{#170242}" | 603 "refs/heads/master@{#170242}" |
582 ], | 604 ], |
| 605 "cwd": "[SLAVE_BUILD]", |
583 "name": "Upload to test-results [ChromePublicTest]" | 606 "name": "Upload to test-results [ChromePublicTest]" |
584 }, | 607 }, |
585 { | 608 { |
586 "cmd": [ | 609 "cmd": [ |
587 "python", | 610 "python", |
588 "-u", | 611 "-u", |
589 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 612 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
590 "--action", | 613 "--action", |
591 "stop", | 614 "stop", |
592 "--pid-file-path", | 615 "--pid-file-path", |
593 "/tmp/device_monitor.pid" | 616 "/tmp/device_monitor.pid" |
594 ], | 617 ], |
| 618 "cwd": "[SLAVE_BUILD]", |
595 "name": "shutdown_device_monitor" | 619 "name": "shutdown_device_monitor" |
596 }, | 620 }, |
597 { | 621 { |
598 "cmd": [ | 622 "cmd": [ |
599 "python", | 623 "python", |
600 "-u", | 624 "-u", |
601 "[CWD]/src/build/android/adb_logcat_printer.py", | 625 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
602 "--output-path", | 626 "--output-path", |
603 "[CWD]/src/out/Release/full_log", | 627 "[SLAVE_BUILD]/src/out/Release/full_log", |
604 "[CWD]/src/out/logcat" | 628 "[SLAVE_BUILD]/src/out/logcat" |
605 ], | 629 ], |
| 630 "cwd": "[SLAVE_BUILD]", |
606 "name": "logcat_dump" | 631 "name": "logcat_dump" |
607 }, | 632 }, |
608 { | 633 { |
609 "cmd": [ | 634 "cmd": [ |
610 "python", | 635 "python", |
611 "-u", | 636 "-u", |
612 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 637 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
613 "--", | 638 "--", |
614 "[ROOT]/b/depot_tools/gsutil.py", | 639 "[DEPOT_TOOLS]/gsutil.py", |
615 "--force-version", | 640 "--force-version", |
616 "4.7", | 641 "4.7", |
617 "-o", | 642 "-o", |
618 "GSUtil:parallel_composite_upload_threshold=50M", | 643 "GSUtil:parallel_composite_upload_threshold=50M", |
619 "----", | 644 "----", |
620 "cp", | 645 "cp", |
621 "[CWD]/src/out/Release/full_log", | 646 "[SLAVE_BUILD]/src/out/Release/full_log", |
622 "gs://chromium-android/logcat_dumps/Android Tests/571" | 647 "gs://chromium-android/logcat_dumps/Android Tests/571" |
623 ], | 648 ], |
| 649 "cwd": "[SLAVE_BUILD]", |
624 "name": "gsutil upload", | 650 "name": "gsutil upload", |
625 "~followup_annotations": [ | 651 "~followup_annotations": [ |
626 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Tests/571@@@" | 652 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Tests/571@@@" |
627 ] | 653 ] |
628 }, | 654 }, |
629 { | 655 { |
630 "cmd": [ | 656 "cmd": [ |
631 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 657 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
632 "--arch", | 658 "--arch", |
633 "arm", | 659 "arm", |
634 "--more-info", | 660 "--more-info", |
635 "[CWD]/src/out/Release/full_log" | 661 "[SLAVE_BUILD]/src/out/Release/full_log" |
636 ], | 662 ], |
| 663 "cwd": "[SLAVE_BUILD]", |
637 "env": { | 664 "env": { |
638 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 665 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
639 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 666 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
640 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 667 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
641 }, | 668 }, |
642 "name": "stack_tool_with_logcat_dump" | 669 "name": "stack_tool_with_logcat_dump" |
643 }, | 670 }, |
644 { | 671 { |
645 "cmd": [ | 672 "cmd": [ |
646 "[CWD]/src/build/android/tombstones.py", | 673 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
647 "-a", | 674 "-a", |
648 "-s", | 675 "-s", |
649 "-w" | 676 "-w" |
650 ], | 677 ], |
| 678 "cwd": "[SLAVE_BUILD]", |
651 "env": { | 679 "env": { |
652 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 680 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
653 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 681 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
654 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 682 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
655 }, | 683 }, |
656 "name": "stack_tool_for_tombstones" | 684 "name": "stack_tool_for_tombstones" |
657 }, | 685 }, |
658 { | 686 { |
659 "cmd": [ | 687 "cmd": [ |
660 "python", | 688 "python", |
661 "-u", | 689 "-u", |
662 "\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", | 690 "\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", |
663 "[CWD]/src/out/Release/test_logs/*.log" | 691 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
664 ], | 692 ], |
| 693 "cwd": "[SLAVE_BUILD]", |
665 "name": "test_report", | 694 "name": "test_report", |
666 "~followup_annotations": [ | 695 "~followup_annotations": [ |
667 "@@@STEP_LOG_LINE@python.inline@@@@", | 696 "@@@STEP_LOG_LINE@python.inline@@@@", |
668 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 697 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
669 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 698 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
670 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 699 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
671 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 700 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
672 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 701 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
673 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 702 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
674 "@@@STEP_LOG_END@python.inline@@@" | 703 "@@@STEP_LOG_END@python.inline@@@" |
675 ] | 704 ] |
676 }, | 705 }, |
677 { | 706 { |
678 "name": "$result", | 707 "name": "$result", |
679 "reason": "1 tests failed: ['ChromePublicTest']", | 708 "reason": "1 tests failed: ['ChromePublicTest']", |
680 "status_code": 1 | 709 "status_code": 1 |
681 } | 710 } |
682 ] | 711 ] |
OLD | NEW |