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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_android_Android_Swarm_Builder.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, 7 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.android", 8 "chromium.android",
9 "--builder", 9 "--builder",
10 "Android Swarm Builder", 10 "Android Swarm Builder",
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
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 "[CWD]/src/tools/swarming_client/swarming.py", 161 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py",
158 "--version" 162 "--version"
159 ], 163 ],
164 "cwd": "[SLAVE_BUILD]",
160 "name": "swarming.py --version", 165 "name": "swarming.py --version",
161 "stdout": "/path/to/tmp/", 166 "stdout": "/path/to/tmp/",
162 "~followup_annotations": [ 167 "~followup_annotations": [
163 "@@@STEP_TEXT@0.4.10@@@" 168 "@@@STEP_TEXT@0.4.10@@@"
164 ] 169 ]
165 }, 170 },
166 { 171 {
167 "cmd": [ 172 "cmd": [
168 "python", 173 "python",
169 "-u", 174 "-u",
170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 175 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
171 "runhooks" 176 "runhooks"
172 ], 177 ],
178 "cwd": "[SLAVE_BUILD]",
173 "env": { 179 "env": {
174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 180 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
175 "GYP_CHROMIUM_NO_ACTION": "1", 181 "GYP_CHROMIUM_NO_ACTION": "1",
176 "GYP_CROSSCOMPILE": "1", 182 "GYP_CROSSCOMPILE": "1",
177 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 ffmpeg_bra nding=Chrome gomadir='[ROOT]/b/build/slave/cache/cipd/goma' proprietary_codecs=1 target_arch=arm test_isolation_mode=prepare use_goma=1", 183 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 ffmpeg_bra nding=Chrome gomadir='[CACHE]/cipd/goma' proprietary_codecs=1 target_arch=arm te st_isolation_mode=prepare use_goma=1",
178 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 184 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
179 }, 185 },
180 "name": "gclient runhooks" 186 "name": "gclient runhooks"
181 }, 187 },
182 { 188 {
183 "cmd": [ 189 "cmd": [
184 "python", 190 "python",
185 "-u", 191 "-u",
186 "[CWD]/src/testing/scripts/get_compile_targets.py", 192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
187 "--output", 193 "--output",
188 "/path/to/tmp/json", 194 "/path/to/tmp/json",
189 "--", 195 "--",
190 "--build-config-fs", 196 "--build-config-fs",
191 "Release", 197 "Release",
192 "--paths", 198 "--paths",
193 "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/ scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/s lave/runtest.py\"}", 199 "{\"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\"}",
194 "--properties", 200 "--properties",
195 "{\"buildername\": \"Android Swarm Builder\", \"buildnumber\": 571, \"mast ername\": \"chromium.android\", \"slavename\": \"TestSlavename\", \"target_platf orm\": \"android\"}" 201 "{\"buildername\": \"Android Swarm Builder\", \"buildnumber\": 571, \"mast ername\": \"chromium.android\", \"slavename\": \"TestSlavename\", \"target_platf orm\": \"android\"}"
196 ], 202 ],
203 "cwd": "[SLAVE_BUILD]",
197 "name": "get compile targets for scripts", 204 "name": "get compile targets for scripts",
198 "~followup_annotations": [ 205 "~followup_annotations": [
199 "@@@STEP_LOG_LINE@json.output@{}@@@", 206 "@@@STEP_LOG_LINE@json.output@{}@@@",
200 "@@@STEP_LOG_END@json.output@@@" 207 "@@@STEP_LOG_END@json.output@@@"
201 ] 208 ]
202 }, 209 },
203 { 210 {
204 "cmd": [ 211 "cmd": [
205 "python", 212 "python",
206 "-u", 213 "-u",
207 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 214 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
208 "[CWD]/src/testing/buildbot/chromium.android.json", 215 "[SLAVE_BUILD]/src/testing/buildbot/chromium.android.json",
209 "/path/to/tmp/json" 216 "/path/to/tmp/json"
210 ], 217 ],
218 "cwd": "[SLAVE_BUILD]",
211 "name": "read test spec", 219 "name": "read test spec",
212 "~followup_annotations": [ 220 "~followup_annotations": [
213 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.android.json@@@", 221 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.android.js on@@@",
214 "@@@STEP_LOG_LINE@json.output@{@@@", 222 "@@@STEP_LOG_LINE@json.output@{@@@",
215 "@@@STEP_LOG_LINE@json.output@ \"Android Swarm Builder\": {@@@", 223 "@@@STEP_LOG_LINE@json.output@ \"Android Swarm Builder\": {@@@",
216 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", 224 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
217 "@@@STEP_LOG_LINE@json.output@ {@@@", 225 "@@@STEP_LOG_LINE@json.output@ {@@@",
218 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", 226 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
219 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@", 227 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
220 "@@@STEP_LOG_LINE@json.output@ }, @@@", 228 "@@@STEP_LOG_LINE@json.output@ }, @@@",
221 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", 229 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
222 "@@@STEP_LOG_LINE@json.output@ }@@@", 230 "@@@STEP_LOG_LINE@json.output@ }@@@",
223 "@@@STEP_LOG_LINE@json.output@ ]@@@", 231 "@@@STEP_LOG_LINE@json.output@ ]@@@",
224 "@@@STEP_LOG_LINE@json.output@ }@@@", 232 "@@@STEP_LOG_LINE@json.output@ }@@@",
225 "@@@STEP_LOG_LINE@json.output@}@@@", 233 "@@@STEP_LOG_LINE@json.output@}@@@",
226 "@@@STEP_LOG_END@json.output@@@" 234 "@@@STEP_LOG_END@json.output@@@"
227 ] 235 ]
228 }, 236 },
229 { 237 {
230 "cmd": [ 238 "cmd": [
231 "python", 239 "python",
232 "-u", 240 "-u",
233 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 241 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
234 "--show-path", 242 "--show-path",
235 "python", 243 "python",
236 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 244 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
237 ], 245 ],
246 "cwd": "[SLAVE_BUILD]",
238 "name": "cleanup_temp" 247 "name": "cleanup_temp"
239 }, 248 },
240 { 249 {
241 "cmd": [ 250 "cmd": [
242 "python", 251 "python",
243 "-u", 252 "-u",
244 "\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", 253 "\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",
245 "[CWD]/src/out/Release/debug_info_dumps", 254 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
246 "[CWD]/src/out/Release/test_logs", 255 "[SLAVE_BUILD]/src/out/Release/test_logs",
247 "[CWD]/src/out/build_product.zip", 256 "[SLAVE_BUILD]/src/out/build_product.zip",
248 "[CWD]/src" 257 "[SLAVE_BUILD]/src"
249 ], 258 ],
259 "cwd": "[SLAVE_BUILD]",
250 "name": "clean local files", 260 "name": "clean local files",
251 "~followup_annotations": [ 261 "~followup_annotations": [
252 "@@@STEP_LOG_LINE@python.inline@@@@", 262 "@@@STEP_LOG_LINE@python.inline@@@@",
253 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 263 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
254 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 264 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
255 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 265 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
256 "@@@STEP_LOG_LINE@python.inline@try:@@@", 266 "@@@STEP_LOG_LINE@python.inline@try:@@@",
257 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 267 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
258 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 268 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
259 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 269 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
260 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 270 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
261 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 271 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
262 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 272 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
263 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 273 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
264 "@@@STEP_LOG_END@python.inline@@@" 274 "@@@STEP_LOG_END@python.inline@@@"
265 ] 275 ]
266 }, 276 },
267 { 277 {
268 "allow_subannotations": false, 278 "allow_subannotations": false,
269 "cmd": [ 279 "cmd": [
270 "[CWD]/src/build/tree_truth.sh", 280 "[SLAVE_BUILD]/src/build/tree_truth.sh",
271 "[CWD]/src", 281 "[SLAVE_BUILD]/src",
272 "src" 282 "src"
273 ], 283 ],
284 "cwd": "[SLAVE_BUILD]",
274 "name": "tree truth steps" 285 "name": "tree truth steps"
275 }, 286 },
276 { 287 {
277 "cmd": [ 288 "cmd": [
278 "python", 289 "python",
279 "-u", 290 "-u",
280 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 291 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
281 "--build-dir", 292 "--build-dir",
282 "[CWD]/src/out/Release", 293 "[SLAVE_BUILD]/src/out/Release",
283 "--clean-isolated-files" 294 "--clean-isolated-files"
284 ], 295 ],
296 "cwd": "[SLAVE_BUILD]",
285 "name": "clean isolated files" 297 "name": "clean isolated files"
286 }, 298 },
287 { 299 {
288 "cmd": [ 300 "cmd": [
289 "python", 301 "python",
290 "-u", 302 "-u",
291 "[CWD]/src/tools/mb/mb.py", 303 "[SLAVE_BUILD]/src/tools/mb/mb.py",
292 "gen", 304 "gen",
293 "-m", 305 "-m",
294 "chromium.android", 306 "chromium.android",
295 "-b", 307 "-b",
296 "Android Swarm Builder", 308 "Android Swarm Builder",
297 "--config-file", 309 "--config-file",
298 "[CWD]/src/tools/mb/mb_config.pyl", 310 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
299 "--goma-dir", 311 "--goma-dir",
300 "[ROOT]/b/build/slave/cache/cipd/goma", 312 "[CACHE]/cipd/goma",
301 "--swarming-targets-file", 313 "--swarming-targets-file",
302 "browser_tests_apk\n", 314 "browser_tests_apk\n",
303 "//out/Release" 315 "//out/Release"
304 ], 316 ],
317 "cwd": "[SLAVE_BUILD]",
305 "name": "generate_build_files", 318 "name": "generate_build_files",
306 "~followup_annotations": [ 319 "~followup_annotations": [
307 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests_apk@@@", 320 "@@@STEP_LOG_LINE@swarming-targets-file.txt@browser_tests_apk@@@",
308 "@@@STEP_LOG_END@swarming-targets-file.txt@@@" 321 "@@@STEP_LOG_END@swarming-targets-file.txt@@@"
309 ] 322 ]
310 }, 323 },
311 { 324 {
312 "cmd": [ 325 "cmd": [
313 "python", 326 "python",
314 "-u", 327 "-u",
315 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 328 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
316 "--show-path", 329 "--show-path",
317 "python", 330 "python",
318 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 331 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
319 "--gsutil-py-path", 332 "--gsutil-py-path",
320 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 333 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
321 "--ninja-path", 334 "--ninja-path",
322 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 335 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
323 "--target", 336 "--target",
324 "Release", 337 "Release",
325 "--src-dir", 338 "--src-dir",
326 "[CWD]/src", 339 "[SLAVE_BUILD]/src",
327 "--goma-cache-dir", 340 "--goma-cache-dir",
328 "[ROOT]/b/build/slave/goma_cache", 341 "[GOMA_CACHE]",
329 "--build-tool", 342 "--build-tool",
330 "ninja", 343 "ninja",
331 "--build-data-dir", 344 "--build-data-dir",
332 "[ROOT]/build_data_dir", 345 "[ROOT]/build_data_dir",
333 "--compiler", 346 "--compiler",
334 "goma", 347 "goma",
335 "--goma-jsonstatus", 348 "--goma-jsonstatus",
336 "/path/to/tmp/json", 349 "/path/to/tmp/json",
337 "--goma-service-account-json-file", 350 "--goma-service-account-json-file",
338 "/creds/service_accounts/service-account-goma-client.json", 351 "/creds/service_accounts/service-account-goma-client.json",
339 "--goma-dir", 352 "--goma-dir",
340 "[ROOT]/b/build/slave/cache/cipd/goma", 353 "[CACHE]/cipd/goma",
341 "--", 354 "--",
342 "browser_tests_apk_run" 355 "browser_tests_apk_run"
343 ], 356 ],
357 "cwd": "[SLAVE_BUILD]",
344 "env": { 358 "env": {
345 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 359 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
346 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 360 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
347 }, 361 },
348 "name": "compile", 362 "name": "compile",
349 "~followup_annotations": [ 363 "~followup_annotations": [
350 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 364 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
351 "@@@STEP_LOG_END@json.output (invalid)@@@" 365 "@@@STEP_LOG_END@json.output (invalid)@@@"
352 ] 366 ]
353 }, 367 },
354 { 368 {
355 "cmd": [ 369 "cmd": [
356 "python", 370 "python",
357 "-u", 371 "-u",
358 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", 372 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py",
359 "--build-dir", 373 "--build-dir",
360 "[CWD]/src/out/Release", 374 "[SLAVE_BUILD]/src/out/Release",
361 "--src-dir", 375 "--src-dir",
362 "[CWD]/src" 376 "[SLAVE_BUILD]/src"
363 ], 377 ],
364 "cwd": "[CWD]", 378 "cwd": "[SLAVE_BUILD]",
365 "name": "remove_build_metadata" 379 "name": "remove_build_metadata"
366 }, 380 },
367 { 381 {
368 "cmd": [ 382 "cmd": [
369 "python", 383 "python",
370 "-u", 384 "-u",
371 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 385 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
372 "[CWD]/src/tools/swarming_client", 386 "[SLAVE_BUILD]/src/tools/swarming_client",
373 "batcharchive", 387 "batcharchive",
374 "--dump-json", 388 "--dump-json",
375 "/path/to/tmp/json", 389 "/path/to/tmp/json",
376 "--isolate-server", 390 "--isolate-server",
377 "https://isolateserver.appspot.com", 391 "https://isolateserver.appspot.com",
378 "--verbose", 392 "--verbose",
379 "[CWD]/src/out/Release/browser_tests_apk.isolated.gen.json" 393 "[SLAVE_BUILD]/src/out/Release/browser_tests_apk.isolated.gen.json"
380 ], 394 ],
395 "cwd": "[SLAVE_BUILD]",
381 "name": "isolate tests", 396 "name": "isolate tests",
382 "~followup_annotations": [ 397 "~followup_annotations": [
383 "@@@STEP_LOG_LINE@json.output@{@@@", 398 "@@@STEP_LOG_LINE@json.output@{@@@",
384 "@@@STEP_LOG_LINE@json.output@ \"browser_tests_apk\": \"[dummy hash for b rowser_tests_apk]\"@@@", 399 "@@@STEP_LOG_LINE@json.output@ \"browser_tests_apk\": \"[dummy hash for b rowser_tests_apk]\"@@@",
385 "@@@STEP_LOG_LINE@json.output@}@@@", 400 "@@@STEP_LOG_LINE@json.output@}@@@",
386 "@@@STEP_LOG_END@json.output@@@" 401 "@@@STEP_LOG_END@json.output@@@"
387 ] 402 ]
388 }, 403 },
389 { 404 {
390 "cmd": [ 405 "cmd": [
391 "python", 406 "python",
392 "-u", 407 "-u",
393 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 408 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
394 "--build-dir", 409 "--build-dir",
395 "[CWD]/src/out/Release", 410 "[SLAVE_BUILD]/src/out/Release",
396 "--output-json", 411 "--output-json",
397 "/path/to/tmp/json" 412 "/path/to/tmp/json"
398 ], 413 ],
414 "cwd": "[SLAVE_BUILD]",
399 "name": "find isolated tests", 415 "name": "find isolated tests",
400 "~followup_annotations": [ 416 "~followup_annotations": [
401 "@@@STEP_LOG_LINE@json.output@{@@@", 417 "@@@STEP_LOG_LINE@json.output@{@@@",
402 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@", 418 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
403 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@", 419 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
404 "@@@STEP_LOG_LINE@json.output@}@@@", 420 "@@@STEP_LOG_LINE@json.output@}@@@",
405 "@@@STEP_LOG_END@json.output@@@", 421 "@@@STEP_LOG_END@json.output@@@",
406 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" 422 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
407 ] 423 ]
408 }, 424 },
409 { 425 {
410 "cmd": [ 426 "cmd": [
411 "python", 427 "python",
412 "-u", 428 "-u",
413 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n", 429 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
414 "browser_tests_apk" 430 "browser_tests_apk"
415 ], 431 ],
432 "cwd": "[SLAVE_BUILD]",
416 "name": "[error] browser_tests", 433 "name": "[error] browser_tests",
417 "~followup_annotations": [ 434 "~followup_annotations": [
418 "@@@STEP_LOG_LINE@python.inline@@@@", 435 "@@@STEP_LOG_LINE@python.inline@@@@",
419 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 436 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
420 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@", 437 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
421 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", 438 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
422 "@@@STEP_LOG_END@python.inline@@@" 439 "@@@STEP_LOG_END@python.inline@@@"
423 ] 440 ]
424 }, 441 },
425 { 442 {
426 "cmd": [ 443 "cmd": [
427 "python", 444 "python",
428 "-u", 445 "-u",
429 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" , 446 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" ,
430 "browser_tests" 447 "browser_tests"
431 ], 448 ],
449 "cwd": "[SLAVE_BUILD]",
432 "name": "[collect error] browser_tests", 450 "name": "[collect error] browser_tests",
433 "~followup_annotations": [ 451 "~followup_annotations": [
434 "@@@STEP_LOG_LINE@python.inline@@@@", 452 "@@@STEP_LOG_LINE@python.inline@@@@",
435 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 453 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
436 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@", 454 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@",
437 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", 455 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
438 "@@@STEP_LOG_END@python.inline@@@" 456 "@@@STEP_LOG_END@python.inline@@@"
439 ] 457 ]
440 }, 458 },
441 { 459 {
442 "cmd": [ 460 "cmd": [
443 "python", 461 "python",
444 "-u", 462 "-u",
445 "\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", 463 "\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",
446 "[CWD]/src/out/Release/test_logs/*.log" 464 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log"
447 ], 465 ],
466 "cwd": "[SLAVE_BUILD]",
448 "name": "test_report", 467 "name": "test_report",
449 "~followup_annotations": [ 468 "~followup_annotations": [
450 "@@@STEP_LOG_LINE@python.inline@@@@", 469 "@@@STEP_LOG_LINE@python.inline@@@@",
451 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 470 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
452 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 471 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
453 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 472 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
454 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 473 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
455 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 474 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
456 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 475 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
457 "@@@STEP_LOG_END@python.inline@@@" 476 "@@@STEP_LOG_END@python.inline@@@"
458 ] 477 ]
459 }, 478 },
460 { 479 {
461 "name": "$result", 480 "name": "$result",
462 "recipe_result": null, 481 "recipe_result": null,
463 "status_code": 0 482 "status_code": 0
464 } 483 }
465 ] 484 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698