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