OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "chromium.fyi", | 8 "chromium.fyi", |
9 "--builder", | 9 "--builder", |
10 "Android Cloud Tests", | 10 "Android Cloud Tests", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_vars'
: {'googlecode_url': 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn
://svn-mirror.golo.chromium.org/native_client/trunk', 'sourceforge_url': 'svn://
svn-mirror.golo.chromium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.c
hromium.org/blink/trunk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src',
'url': 'svn://svn-mirror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['an
droid']", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url'
: 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.
chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr
omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t
runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m
irror.golo.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", | 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/angle\": \"got_angle_revision\", \"src/third_party/webrtc\":
\"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_re
vision\", \"src/v8\": \"got_v8_revision\"}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "src@HEAD", | 24 "src@HEAD", |
25 "--force", | 25 "--force", |
26 "--output_manifest" | 26 "--output_manifest" |
27 ], | 27 ], |
| 28 "cwd": "[SLAVE_BUILD]", |
28 "env": { | 29 "env": { |
29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
30 }, | 31 }, |
31 "name": "bot_update", | 32 "name": "bot_update", |
32 "~followup_annotations": [ | 33 "~followup_annotations": [ |
33 "@@@STEP_TEXT@Some step text@@@", | 34 "@@@STEP_TEXT@Some step text@@@", |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | 35 "@@@STEP_LOG_LINE@json.output@{@@@", |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | 92 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", |
92 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | 93 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", |
93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | 94 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", |
94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | 95 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", |
95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | 96 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, |
96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" | 97 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@" |
97 ] | 98 ] |
98 }, | 99 }, |
99 { | 100 { |
100 "cmd": [], | 101 "cmd": [], |
| 102 "cwd": "[SLAVE_BUILD]", |
101 "name": "ensure_goma" | 103 "name": "ensure_goma" |
102 }, | 104 }, |
103 { | 105 { |
104 "cmd": [ | 106 "cmd": [ |
105 "python", | 107 "python", |
106 "-u", | 108 "-u", |
107 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", | 109 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
108 "--platform", | 110 "--platform", |
109 "linux-amd64", | 111 "linux-amd64", |
110 "--dest-directory", | 112 "--dest-directory", |
111 "[CWD]/cipd", | 113 "[SLAVE_BUILD]/cipd", |
112 "--json-output", | 114 "--json-output", |
113 "/path/to/tmp/json" | 115 "/path/to/tmp/json" |
114 ], | 116 ], |
| 117 "cwd": "[SLAVE_BUILD]", |
115 "name": "ensure_goma.install cipd", | 118 "name": "ensure_goma.install cipd", |
116 "~followup_annotations": [ | 119 "~followup_annotations": [ |
117 "@@@STEP_NEST_LEVEL@1@@@", | 120 "@@@STEP_NEST_LEVEL@1@@@", |
118 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | 121 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", |
119 "@@@STEP_LOG_LINE@json.output@{@@@", | 122 "@@@STEP_LOG_LINE@json.output@{@@@", |
120 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\",
@@@", | 123 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", |
121 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | 124 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", |
122 "@@@STEP_LOG_LINE@json.output@}@@@", | 125 "@@@STEP_LOG_LINE@json.output@}@@@", |
123 "@@@STEP_LOG_END@json.output@@@" | 126 "@@@STEP_LOG_END@json.output@@@" |
124 ] | 127 ] |
125 }, | 128 }, |
126 { | 129 { |
127 "cmd": [ | 130 "cmd": [ |
128 "fake_slave_build/cipd", | 131 "[SLAVE_BUILD]/cipd/cipd", |
129 "ensure", | 132 "ensure", |
130 "--root", | 133 "--root", |
131 "[ROOT]/b/build/slave/cache/cipd/goma", | 134 "[CACHE]/cipd/goma", |
132 "--list", | 135 "--list", |
133 "infra_internal/goma/client/linux-amd64 release", | 136 "infra_internal/goma/client/linux-amd64 release", |
134 "--json-output", | 137 "--json-output", |
135 "/path/to/tmp/json", | 138 "/path/to/tmp/json", |
136 "--service-account-json", | 139 "--service-account-json", |
137 "/creds/service_accounts/service-account-goma-client.json" | 140 "/creds/service_accounts/service-account-goma-client.json" |
138 ], | 141 ], |
| 142 "cwd": "[SLAVE_BUILD]", |
139 "name": "ensure_goma.ensure_installed", | 143 "name": "ensure_goma.ensure_installed", |
140 "~followup_annotations": [ | 144 "~followup_annotations": [ |
141 "@@@STEP_NEST_LEVEL@1@@@", | 145 "@@@STEP_NEST_LEVEL@1@@@", |
142 "@@@STEP_LOG_LINE@json.output@{@@@", | 146 "@@@STEP_LOG_LINE@json.output@{@@@", |
143 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | 147 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
144 "@@@STEP_LOG_LINE@json.output@ {@@@", | 148 "@@@STEP_LOG_LINE@json.output@ {@@@", |
145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | 149 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", |
146 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", | 150 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", |
147 "@@@STEP_LOG_LINE@json.output@ }@@@", | 151 "@@@STEP_LOG_LINE@json.output@ }@@@", |
148 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 152 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
149 "@@@STEP_LOG_LINE@json.output@}@@@", | 153 "@@@STEP_LOG_LINE@json.output@}@@@", |
150 "@@@STEP_LOG_END@json.output@@@" | 154 "@@@STEP_LOG_END@json.output@@@" |
151 ] | 155 ] |
152 }, | 156 }, |
153 { | 157 { |
154 "cmd": [ | 158 "cmd": [ |
155 "python", | 159 "python", |
156 "-u", | 160 "-u", |
157 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 161 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
158 "runhooks" | 162 "runhooks" |
159 ], | 163 ], |
| 164 "cwd": "[SLAVE_BUILD]", |
160 "env": { | 165 "env": { |
161 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 166 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
162 "GYP_CHROMIUM_NO_ACTION": "1", | 167 "GYP_CHROMIUM_NO_ACTION": "1", |
163 "GYP_CROSSCOMPILE": "1", | 168 "GYP_CROSSCOMPILE": "1", |
164 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/slave/cache/cipd/goma' target_arch=ia32 use_goma=1", | 169 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
CACHE]/cipd/goma' target_arch=ia32 use_goma=1", |
165 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 170 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
166 }, | 171 }, |
167 "name": "gclient runhooks" | 172 "name": "gclient runhooks" |
168 }, | 173 }, |
169 { | 174 { |
170 "cmd": [ | 175 "cmd": [ |
171 "python", | 176 "python", |
172 "-u", | 177 "-u", |
173 "[CWD]/src/testing/scripts/get_compile_targets.py", | 178 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
174 "--output", | 179 "--output", |
175 "/path/to/tmp/json", | 180 "/path/to/tmp/json", |
176 "--", | 181 "--", |
177 "--build-config-fs", | 182 "--build-config-fs", |
178 "Release", | 183 "Release", |
179 "--paths", | 184 "--paths", |
180 "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/
scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/s
lave/runtest.py\"}", | 185 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO
[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s
cripts/slave/runtest.py\"}", |
181 "--properties", | 186 "--properties", |
182 "{\"buildername\": \"Android Cloud Tests\", \"buildnumber\": 571, \"master
name\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\":
\"android\"}" | 187 "{\"buildername\": \"Android Cloud Tests\", \"buildnumber\": 571, \"master
name\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform\":
\"android\"}" |
183 ], | 188 ], |
| 189 "cwd": "[SLAVE_BUILD]", |
184 "name": "get compile targets for scripts", | 190 "name": "get compile targets for scripts", |
185 "~followup_annotations": [ | 191 "~followup_annotations": [ |
186 "@@@STEP_LOG_LINE@json.output@{}@@@", | 192 "@@@STEP_LOG_LINE@json.output@{}@@@", |
187 "@@@STEP_LOG_END@json.output@@@" | 193 "@@@STEP_LOG_END@json.output@@@" |
188 ] | 194 ] |
189 }, | 195 }, |
190 { | 196 { |
191 "cmd": [ | 197 "cmd": [ |
192 "python", | 198 "python", |
193 "-u", | 199 "-u", |
194 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 200 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
195 "[CWD]/src/testing/buildbot/chromium.fyi.json", | 201 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", |
196 "/path/to/tmp/json" | 202 "/path/to/tmp/json" |
197 ], | 203 ], |
| 204 "cwd": "[SLAVE_BUILD]", |
198 "name": "read test spec", | 205 "name": "read test spec", |
199 "~followup_annotations": [ | 206 "~followup_annotations": [ |
200 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.fyi.json@@@", | 207 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@
@", |
201 "@@@STEP_LOG_LINE@json.output@{@@@", | 208 "@@@STEP_LOG_LINE@json.output@{@@@", |
202 "@@@STEP_LOG_LINE@json.output@ \"Android Cloud Tests\": {@@@", | 209 "@@@STEP_LOG_LINE@json.output@ \"Android Cloud Tests\": {@@@", |
203 "@@@STEP_LOG_LINE@json.output@ \"instrumentation_tests\": [@@@", | 210 "@@@STEP_LOG_LINE@json.output@ \"instrumentation_tests\": [@@@", |
204 "@@@STEP_LOG_LINE@json.output@ {@@@", | 211 "@@@STEP_LOG_LINE@json.output@ {@@@", |
205 "@@@STEP_LOG_LINE@json.output@ \"additional_apks\": [@@@", | 212 "@@@STEP_LOG_LINE@json.output@ \"additional_apks\": [@@@", |
206 "@@@STEP_LOG_LINE@json.output@ \"another_apk\", @@@", | 213 "@@@STEP_LOG_LINE@json.output@ \"another_apk\", @@@", |
207 "@@@STEP_LOG_LINE@json.output@ \"omg_so_many_apks\"@@@", | 214 "@@@STEP_LOG_LINE@json.output@ \"omg_so_many_apks\"@@@", |
208 "@@@STEP_LOG_LINE@json.output@ ], @@@", | 215 "@@@STEP_LOG_LINE@json.output@ ], @@@", |
209 "@@@STEP_LOG_LINE@json.output@ \"apk_under_test\": \"second_apk\",
@@@", | 216 "@@@STEP_LOG_LINE@json.output@ \"apk_under_test\": \"second_apk\",
@@@", |
210 "@@@STEP_LOG_LINE@json.output@ \"test\": \"ChromePublicTest\", @@@"
, | 217 "@@@STEP_LOG_LINE@json.output@ \"test\": \"ChromePublicTest\", @@@"
, |
211 "@@@STEP_LOG_LINE@json.output@ \"test_apk\": \"one_apk\"@@@", | 218 "@@@STEP_LOG_LINE@json.output@ \"test_apk\": \"one_apk\"@@@", |
212 "@@@STEP_LOG_LINE@json.output@ }@@@", | 219 "@@@STEP_LOG_LINE@json.output@ }@@@", |
213 "@@@STEP_LOG_LINE@json.output@ ]@@@", | 220 "@@@STEP_LOG_LINE@json.output@ ]@@@", |
214 "@@@STEP_LOG_LINE@json.output@ }@@@", | 221 "@@@STEP_LOG_LINE@json.output@ }@@@", |
215 "@@@STEP_LOG_LINE@json.output@}@@@", | 222 "@@@STEP_LOG_LINE@json.output@}@@@", |
216 "@@@STEP_LOG_END@json.output@@@" | 223 "@@@STEP_LOG_END@json.output@@@" |
217 ] | 224 ] |
218 }, | 225 }, |
219 { | 226 { |
220 "cmd": [ | 227 "cmd": [ |
221 "python", | 228 "python", |
222 "-u", | 229 "-u", |
223 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 230 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
224 "--show-path", | 231 "--show-path", |
225 "python", | 232 "python", |
226 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" | 233 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" |
227 ], | 234 ], |
| 235 "cwd": "[SLAVE_BUILD]", |
228 "name": "cleanup_temp" | 236 "name": "cleanup_temp" |
229 }, | 237 }, |
230 { | 238 { |
231 "cmd": [ | 239 "cmd": [ |
232 "python", | 240 "python", |
233 "-u", | 241 "-u", |
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", | 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", |
235 "[CWD]/src/out/Release/debug_info_dumps", | 243 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
236 "[CWD]/src/out/Release/test_logs", | 244 "[SLAVE_BUILD]/src/out/Release/test_logs", |
237 "[CWD]/src/out/build_product.zip", | 245 "[SLAVE_BUILD]/src/out/build_product.zip", |
238 "[CWD]/src" | 246 "[SLAVE_BUILD]/src" |
239 ], | 247 ], |
| 248 "cwd": "[SLAVE_BUILD]", |
240 "name": "clean local files", | 249 "name": "clean local files", |
241 "~followup_annotations": [ | 250 "~followup_annotations": [ |
242 "@@@STEP_LOG_LINE@python.inline@@@@", | 251 "@@@STEP_LOG_LINE@python.inline@@@@", |
243 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 252 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
244 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 253 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
245 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 254 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
246 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 255 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
247 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 256 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
248 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 257 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
249 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 258 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
250 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 259 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
251 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 260 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
252 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 261 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
253 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 262 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
254 "@@@STEP_LOG_END@python.inline@@@" | 263 "@@@STEP_LOG_END@python.inline@@@" |
255 ] | 264 ] |
256 }, | 265 }, |
257 { | 266 { |
258 "allow_subannotations": false, | 267 "allow_subannotations": false, |
259 "cmd": [ | 268 "cmd": [ |
260 "[CWD]/src/build/tree_truth.sh", | 269 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
261 "[CWD]/src", | 270 "[SLAVE_BUILD]/src", |
262 "src" | 271 "src" |
263 ], | 272 ], |
| 273 "cwd": "[SLAVE_BUILD]", |
264 "name": "tree truth steps" | 274 "name": "tree truth steps" |
265 }, | 275 }, |
266 { | 276 { |
267 "cmd": [ | 277 "cmd": [ |
268 "python", | 278 "python", |
269 "-u", | 279 "-u", |
270 "[CWD]/src/tools/mb/mb.py", | 280 "[SLAVE_BUILD]/src/tools/mb/mb.py", |
271 "gen", | 281 "gen", |
272 "-m", | 282 "-m", |
273 "chromium.fyi", | 283 "chromium.fyi", |
274 "-b", | 284 "-b", |
275 "Android Cloud Tests", | 285 "Android Cloud Tests", |
276 "--config-file", | 286 "--config-file", |
277 "[CWD]/src/tools/mb/mb_config.pyl", | 287 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", |
278 "--goma-dir", | 288 "--goma-dir", |
279 "[ROOT]/b/build/slave/cache/cipd/goma", | 289 "[CACHE]/cipd/goma", |
280 "//out/Release" | 290 "//out/Release" |
281 ], | 291 ], |
| 292 "cwd": "[SLAVE_BUILD]", |
282 "name": "generate_build_files" | 293 "name": "generate_build_files" |
283 }, | 294 }, |
284 { | 295 { |
285 "cmd": [ | 296 "cmd": [ |
286 "python", | 297 "python", |
287 "-u", | 298 "-u", |
288 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 299 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
289 "--show-path", | 300 "--show-path", |
290 "python", | 301 "python", |
291 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 302 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
292 "--gsutil-py-path", | 303 "--gsutil-py-path", |
293 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 304 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
294 "--ninja-path", | 305 "--ninja-path", |
295 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 306 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
296 "--target", | 307 "--target", |
297 "Release", | 308 "Release", |
298 "--src-dir", | 309 "--src-dir", |
299 "[CWD]/src", | 310 "[SLAVE_BUILD]/src", |
300 "--goma-cache-dir", | 311 "--goma-cache-dir", |
301 "[ROOT]/b/build/slave/goma_cache", | 312 "[GOMA_CACHE]", |
302 "--build-tool", | 313 "--build-tool", |
303 "ninja", | 314 "ninja", |
304 "--compiler", | 315 "--compiler", |
305 "goma", | 316 "goma", |
306 "--goma-jsonstatus", | 317 "--goma-jsonstatus", |
307 "/path/to/tmp/json", | 318 "/path/to/tmp/json", |
308 "--goma-service-account-json-file", | 319 "--goma-service-account-json-file", |
309 "/creds/service_accounts/service-account-goma-client.json", | 320 "/creds/service_accounts/service-account-goma-client.json", |
310 "--goma-dir", | 321 "--goma-dir", |
311 "[ROOT]/b/build/slave/cache/cipd/goma", | 322 "[CACHE]/cipd/goma", |
312 "--", | 323 "--", |
313 "chrome_public_test_apk" | 324 "chrome_public_test_apk" |
314 ], | 325 ], |
| 326 "cwd": "[SLAVE_BUILD]", |
315 "env": { | 327 "env": { |
316 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 328 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
317 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 329 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
318 }, | 330 }, |
319 "name": "compile", | 331 "name": "compile", |
320 "~followup_annotations": [ | 332 "~followup_annotations": [ |
321 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 333 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
322 "@@@STEP_LOG_END@json.output (invalid)@@@" | 334 "@@@STEP_LOG_END@json.output (invalid)@@@" |
323 ] | 335 ] |
324 }, | 336 }, |
325 { | 337 { |
326 "cmd": [ | 338 "cmd": [ |
327 "python", | 339 "python", |
328 "-u", | 340 "-u", |
329 "[CWD]/src/build/symlink.py", | 341 "[SLAVE_BUILD]/src/build/symlink.py", |
330 "-f", | 342 "-f", |
331 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 343 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
332 "~/adb" | 344 "~/adb" |
333 ], | 345 ], |
| 346 "cwd": "[SLAVE_BUILD]", |
334 "name": "create adb symlink" | 347 "name": "create adb symlink" |
335 }, | 348 }, |
336 { | 349 { |
337 "cmd": [ | 350 "cmd": [ |
338 "python", | 351 "python", |
339 "-u", | 352 "-u", |
340 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", | 353 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", |
341 "TestSlavename", | 354 "TestSlavename", |
342 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 355 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
343 "--n", | 356 "--n", |
344 "6", | 357 "6", |
345 "launch", | 358 "launch", |
346 "--snapshot", | 359 "--snapshot", |
347 "clean-22-l-phone-snapshot" | 360 "clean-22-l-phone-snapshot" |
348 ], | 361 ], |
| 362 "cwd": "[SLAVE_BUILD]", |
349 "name": "launch_instances" | 363 "name": "launch_instances" |
350 }, | 364 }, |
351 { | 365 { |
352 "cmd": [ | 366 "cmd": [ |
353 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 367 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
354 "--", | 368 "--", |
355 "[CWD]/src/build/android/adb_logcat_monitor.py", | 369 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
356 "[CWD]/src/out/logcat" | 370 "[SLAVE_BUILD]/src/out/logcat" |
357 ], | 371 ], |
| 372 "cwd": "[SLAVE_BUILD]", |
358 "env": { | 373 "env": { |
359 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 374 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
360 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 375 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
361 }, | 376 }, |
362 "name": "spawn_logcat_monitor" | 377 "name": "spawn_logcat_monitor" |
363 }, | 378 }, |
364 { | 379 { |
365 "cmd": [ | 380 "cmd": [ |
366 "python", | 381 "python", |
367 "-u", | 382 "-u", |
368 "[CWD]/src/build/android/provision_devices.py", | 383 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
369 "-t", | 384 "-t", |
370 "Release", | 385 "Release", |
371 "--blacklist-file", | 386 "--blacklist-file", |
372 "[CWD]/src/out/bad_devices.json", | 387 "[SLAVE_BUILD]/src/out/bad_devices.json", |
373 "--output-device-blacklist", | 388 "--output-device-blacklist", |
374 "/path/to/tmp/json", | 389 "/path/to/tmp/json", |
375 "--emulators" | 390 "--emulators" |
376 ], | 391 ], |
| 392 "cwd": "[SLAVE_BUILD]", |
377 "env": { | 393 "env": { |
378 "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", |
379 "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" |
380 }, | 396 }, |
381 "name": "provision_devices" | 397 "name": "provision_devices" |
382 }, | 398 }, |
383 { | 399 { |
384 "cmd": [ | 400 "cmd": [ |
385 "python", | 401 "python", |
386 "-u", | 402 "-u", |
387 "[CWD]/src/out/Release/bin/run_chrome_public_test_apk", | 403 "[SLAVE_BUILD]/src/out/Release/bin/run_chrome_public_test_apk", |
388 "--blacklist-file", | 404 "--blacklist-file", |
389 "[CWD]/src/out/bad_devices.json", | 405 "[SLAVE_BUILD]/src/out/bad_devices.json", |
390 "--verbose", | 406 "--verbose", |
391 "--json-results-file", | 407 "--json-results-file", |
392 "/path/to/tmp/json" | 408 "/path/to/tmp/json" |
393 ], | 409 ], |
| 410 "cwd": "[SLAVE_BUILD]", |
394 "name": "Instrumentation test ChromePublicTest", | 411 "name": "Instrumentation test ChromePublicTest", |
395 "~followup_annotations": [ | 412 "~followup_annotations": [ |
396 "step returned non-zero exit code: 1", | 413 "step returned non-zero exit code: 1", |
397 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", | 414 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", |
398 "@@@STEP_FAILURE@@@" | 415 "@@@STEP_FAILURE@@@" |
399 ] | 416 ] |
400 }, | 417 }, |
401 { | 418 { |
402 "cmd": [ | 419 "cmd": [ |
403 "python", | 420 "python", |
404 "-u", | 421 "-u", |
405 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py
", | 422 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py
", |
406 "--input-gtest-json", | 423 "--input-gtest-json", |
407 "/path/to/tmp/json", | 424 "/path/to/tmp/json", |
408 "--master-name", | 425 "--master-name", |
409 "chromium.fyi", | 426 "chromium.fyi", |
410 "--builder-name", | 427 "--builder-name", |
411 "Android Cloud Tests", | 428 "Android Cloud Tests", |
412 "--build-number", | 429 "--build-number", |
413 "571", | 430 "571", |
414 "--test-type", | 431 "--test-type", |
415 "ChromePublicTest", | 432 "ChromePublicTest", |
416 "--test-results-server", | 433 "--test-results-server", |
417 "test-results.appspot.com", | 434 "test-results.appspot.com", |
418 "--chrome-revision", | 435 "--chrome-revision", |
419 "refs/heads/master@{#170242}" | 436 "refs/heads/master@{#170242}" |
420 ], | 437 ], |
| 438 "cwd": "[SLAVE_BUILD]", |
421 "name": "Upload to test-results [ChromePublicTest]" | 439 "name": "Upload to test-results [ChromePublicTest]" |
422 }, | 440 }, |
423 { | 441 { |
424 "cmd": [ | 442 "cmd": [ |
425 "python", | 443 "python", |
426 "-u", | 444 "-u", |
427 "[CWD]/src/build/android/adb_logcat_printer.py", | 445 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
428 "--output-path", | 446 "--output-path", |
429 "[CWD]/src/out/Release/full_log", | 447 "[SLAVE_BUILD]/src/out/Release/full_log", |
430 "[CWD]/src/out/logcat" | 448 "[SLAVE_BUILD]/src/out/logcat" |
431 ], | 449 ], |
| 450 "cwd": "[SLAVE_BUILD]", |
432 "name": "logcat_dump" | 451 "name": "logcat_dump" |
433 }, | 452 }, |
434 { | 453 { |
435 "cmd": [ | 454 "cmd": [ |
436 "python", | 455 "python", |
437 "-u", | 456 "-u", |
438 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 457 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
439 "--", | 458 "--", |
440 "[ROOT]/b/depot_tools/gsutil.py", | 459 "[DEPOT_TOOLS]/gsutil.py", |
441 "--force-version", | 460 "--force-version", |
442 "4.7", | 461 "4.7", |
443 "-o", | 462 "-o", |
444 "GSUtil:parallel_composite_upload_threshold=50M", | 463 "GSUtil:parallel_composite_upload_threshold=50M", |
445 "----", | 464 "----", |
446 "cp", | 465 "cp", |
447 "[CWD]/src/out/Release/full_log", | 466 "[SLAVE_BUILD]/src/out/Release/full_log", |
448 "gs://chromium-android/logcat_dumps/Android Cloud Tests/571" | 467 "gs://chromium-android/logcat_dumps/Android Cloud Tests/571" |
449 ], | 468 ], |
| 469 "cwd": "[SLAVE_BUILD]", |
450 "name": "gsutil upload", | 470 "name": "gsutil upload", |
451 "~followup_annotations": [ | 471 "~followup_annotations": [ |
452 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Cloud Tests/571@@@" | 472 "@@@STEP_LINK@logcat dump@https://storage.cloud.google.com/chromium-androi
d/logcat_dumps/Android Cloud Tests/571@@@" |
453 ] | 473 ] |
454 }, | 474 }, |
455 { | 475 { |
456 "cmd": [ | 476 "cmd": [ |
457 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 477 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
458 "--arch", | 478 "--arch", |
459 "x86", | 479 "x86", |
460 "--more-info", | 480 "--more-info", |
461 "[CWD]/src/out/Release/full_log" | 481 "[SLAVE_BUILD]/src/out/Release/full_log" |
462 ], | 482 ], |
| 483 "cwd": "[SLAVE_BUILD]", |
463 "env": { | 484 "env": { |
464 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 485 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
465 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 486 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
466 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 487 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
467 }, | 488 }, |
468 "name": "stack_tool_with_logcat_dump" | 489 "name": "stack_tool_with_logcat_dump" |
469 }, | 490 }, |
470 { | 491 { |
471 "cmd": [ | 492 "cmd": [ |
472 "[CWD]/src/build/android/tombstones.py", | 493 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
473 "-a", | 494 "-a", |
474 "-s", | 495 "-s", |
475 "-w" | 496 "-w" |
476 ], | 497 ], |
| 498 "cwd": "[SLAVE_BUILD]", |
477 "env": { | 499 "env": { |
478 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 500 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
479 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 501 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
480 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 502 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
481 }, | 503 }, |
482 "name": "stack_tool_for_tombstones" | 504 "name": "stack_tool_for_tombstones" |
483 }, | 505 }, |
484 { | 506 { |
485 "cmd": [ | 507 "cmd": [ |
486 "python", | 508 "python", |
487 "-u", | 509 "-u", |
488 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", | 510 "RECIPE_MODULE[build::chromium_android]/resources/gce_manager.py", |
489 "TestSlavename", | 511 "TestSlavename", |
490 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 512 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
491 "--n", | 513 "--n", |
492 "6", | 514 "6", |
493 "shutdown" | 515 "shutdown" |
494 ], | 516 ], |
| 517 "cwd": "[SLAVE_BUILD]", |
495 "name": "shutdown_instances" | 518 "name": "shutdown_instances" |
496 }, | 519 }, |
497 { | 520 { |
498 "cmd": [ | 521 "cmd": [ |
499 "python", | 522 "python", |
500 "-u", | 523 "-u", |
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", | 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", |
502 "[CWD]/src/out/Release/test_logs/*.log" | 525 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
503 ], | 526 ], |
| 527 "cwd": "[SLAVE_BUILD]", |
504 "name": "test_report", | 528 "name": "test_report", |
505 "~followup_annotations": [ | 529 "~followup_annotations": [ |
506 "@@@STEP_LOG_LINE@python.inline@@@@", | 530 "@@@STEP_LOG_LINE@python.inline@@@@", |
507 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 531 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
508 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 532 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
509 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 533 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
510 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 534 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
511 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 535 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
512 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 536 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
513 "@@@STEP_LOG_END@python.inline@@@" | 537 "@@@STEP_LOG_END@python.inline@@@" |
514 ] | 538 ] |
515 }, | 539 }, |
516 { | 540 { |
517 "name": "$result", | 541 "name": "$result", |
518 "reason": "1 tests failed: ['ChromePublicTest']", | 542 "reason": "1 tests failed: ['ChromePublicTest']", |
519 "status_code": 1 | 543 "status_code": 1 |
520 } | 544 } |
521 ] | 545 ] |
OLD | NEW |