Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: scripts/slave/recipes/chromium.expected/amp_split_recipe_instrumentation_trigger_failure.json

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 Tests (amp instrumentation test split)", 10 "Android Tests (amp instrumentation test split)",
11 "--slave", 11 "--slave",
12 "build1-a1", 12 "build1-a1",
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
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_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 Tests (amp instrumentation test split)\", \"b uildnumber\": \"77457\", \"mastername\": \"chromium.fyi\", \"slavename\": \"buil d1-a1\", \"target_platform\": \"android\"}" 186 "{\"buildername\": \"Android Tests (amp instrumentation test split)\", \"b uildnumber\": \"77457\", \"mastername\": \"chromium.fyi\", \"slavename\": \"buil d1-a1\", \"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 "77457" 296 "77457"
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 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 345 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
332 "--", 346 "--",
333 "[ROOT]/b/depot_tools/gsutil.py", 347 "[DEPOT_TOOLS]/gsutil.py",
334 "----", 348 "----",
335 "cp", 349 "cp",
336 "gs://chrome-amp-keys/main_pool/api_key", 350 "gs://chrome-amp-keys/main_pool/api_key",
337 "[ROOT]/b/build/site_config/.amp_main_pool_key" 351 "[BUILD]/site_config/.amp_main_pool_key"
338 ], 352 ],
353 "cwd": "[SLAVE_BUILD]",
339 "name": "gsutil download amp api key" 354 "name": "gsutil download amp api key"
340 }, 355 },
341 { 356 {
342 "cmd": [ 357 "cmd": [
343 "python", 358 "python",
344 "-u", 359 "-u",
345 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 360 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
346 "--", 361 "--",
347 "[ROOT]/b/depot_tools/gsutil.py", 362 "[DEPOT_TOOLS]/gsutil.py",
348 "----", 363 "----",
349 "cp", 364 "cp",
350 "gs://chrome-amp-keys/main_pool/api_secret", 365 "gs://chrome-amp-keys/main_pool/api_secret",
351 "[ROOT]/b/build/site_config/.amp_main_pool_secret" 366 "[BUILD]/site_config/.amp_main_pool_secret"
352 ], 367 ],
368 "cwd": "[SLAVE_BUILD]",
353 "name": "gsutil download amp api secret" 369 "name": "gsutil download amp api secret"
354 }, 370 },
355 { 371 {
356 "cmd": [ 372 "cmd": [
357 "python", 373 "python",
358 "-u", 374 "-u",
359 "[CWD]/src/build/android/test_runner.py", 375 "[SLAVE_BUILD]/src/build/android/test_runner.py",
360 "instrumentation", 376 "instrumentation",
361 "--apk-under-test", 377 "--apk-under-test",
362 "AndroidWebView", 378 "AndroidWebView",
363 "--test-apk", 379 "--test-apk",
364 "AndroidWebViewTest", 380 "AndroidWebViewTest",
365 "--isolate-file-path", 381 "--isolate-file-path",
366 "[CWD]/src/android_webview/android_webview_test_apk.isolate", 382 "[SLAVE_BUILD]/src/android_webview/android_webview_test_apk.isolate",
367 "--enable-platform-mode", 383 "--enable-platform-mode",
368 "-e", 384 "-e",
369 "remote_device", 385 "remote_device",
370 "--api-key-file", 386 "--api-key-file",
371 "[ROOT]/b/build/site_config/.amp_main_pool_key", 387 "[BUILD]/site_config/.amp_main_pool_key",
372 "--api-secret-file", 388 "--api-secret-file",
373 "[ROOT]/b/build/site_config/.amp_main_pool_secret", 389 "[BUILD]/site_config/.amp_main_pool_secret",
374 "--api-address", 390 "--api-address",
375 "172.22.21.180", 391 "172.22.21.180",
376 "--api-port", 392 "--api-port",
377 "80", 393 "80",
378 "--api-protocol", 394 "--api-protocol",
379 "http", 395 "http",
380 "--device-type", 396 "--device-type",
381 "Android", 397 "Android",
382 "--remote-device", 398 "--remote-device",
383 "Nexus 5", 399 "Nexus 5",
384 "--remote-device-os", 400 "--remote-device-os",
385 "4.4.2", 401 "4.4.2",
386 "--trigger", 402 "--trigger",
387 "/path/to/tmp/json", 403 "/path/to/tmp/json",
388 "--verbose", 404 "--verbose",
389 "--release" 405 "--release"
390 ], 406 ],
407 "cwd": "[SLAVE_BUILD]",
391 "env": { 408 "env": {
392 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 409 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
393 }, 410 },
394 "name": "[trigger] AndroidWebViewTest", 411 "name": "[trigger] AndroidWebViewTest",
395 "~followup_annotations": [ 412 "~followup_annotations": [
396 "step returned non-zero exit code: 1", 413 "step returned non-zero exit code: 1",
397 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 414 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
398 "@@@STEP_LOG_END@json.output (invalid)@@@", 415 "@@@STEP_LOG_END@json.output (invalid)@@@",
399 "@@@STEP_FAILURE@@@" 416 "@@@STEP_FAILURE@@@"
400 ] 417 ]
401 }, 418 },
402 { 419 {
403 "cmd": [ 420 "cmd": [
404 "python", 421 "python",
405 "-u", 422 "-u",
406 "\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", 423 "\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",
407 "[CWD]/src/out/Release/test_logs/*.log" 424 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log"
408 ], 425 ],
426 "cwd": "[SLAVE_BUILD]",
409 "name": "test_report", 427 "name": "test_report",
410 "~followup_annotations": [ 428 "~followup_annotations": [
411 "@@@STEP_LOG_LINE@python.inline@@@@", 429 "@@@STEP_LOG_LINE@python.inline@@@@",
412 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 430 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
413 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 431 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
414 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 432 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
415 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 433 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
416 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 434 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
417 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 435 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
418 "@@@STEP_LOG_END@python.inline@@@" 436 "@@@STEP_LOG_END@python.inline@@@"
419 ] 437 ]
420 }, 438 },
421 { 439 {
422 "name": "$result", 440 "name": "$result",
423 "recipe_result": null, 441 "recipe_result": null,
424 "status_code": 0 442 "status_code": 0
425 } 443 }
426 ] 444 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698