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

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

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge 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 | Annotate | Revision Log
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.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Android Tests", 10 "Android Tests",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = '[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']", 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']",
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 "[GIT_CACHE]", 20 "[ROOT]/b/build/slave/cache_dir",
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]",
29 "env": { 28 "env": {
30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
31 }, 30 },
32 "name": "bot_update", 31 "name": "bot_update",
33 "~followup_annotations": [ 32 "~followup_annotations": [
34 "@@@STEP_TEXT@Some step text@@@", 33 "@@@STEP_TEXT@Some step text@@@",
35 "@@@STEP_LOG_LINE@json.output@{@@@", 34 "@@@STEP_LOG_LINE@json.output@{@@@",
36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
38 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671 d43e399\"@@@", 91 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671 d43e399\"@@@",
93 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@ @", 92 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@ @",
94 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master @{#276089}\"@@@", 93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master @{#276089}\"@@@",
95 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644 }\"@@@", 94 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644 }\"@@@",
96 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" , 95 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" ,
97 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@" 96 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@"
98 ] 97 ]
99 }, 98 },
100 { 99 {
101 "cmd": [], 100 "cmd": [],
102 "cwd": "[SLAVE_BUILD]",
103 "name": "ensure_goma" 101 "name": "ensure_goma"
104 }, 102 },
105 { 103 {
106 "cmd": [ 104 "cmd": [
107 "python", 105 "python",
108 "-u", 106 "-u",
109 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", 107 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
110 "--platform", 108 "--platform",
111 "linux-386", 109 "linux-386",
112 "--dest-directory", 110 "--dest-directory",
113 "[SLAVE_BUILD]/cipd", 111 "[CWD]/cipd",
114 "--json-output", 112 "--json-output",
115 "/path/to/tmp/json" 113 "/path/to/tmp/json"
116 ], 114 ],
117 "cwd": "[SLAVE_BUILD]",
118 "name": "ensure_goma.install cipd", 115 "name": "ensure_goma.install cipd",
119 "~followup_annotations": [ 116 "~followup_annotations": [
120 "@@@STEP_NEST_LEVEL@1@@@", 117 "@@@STEP_NEST_LEVEL@1@@@",
121 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @", 118 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
122 "@@@STEP_LOG_LINE@json.output@{@@@", 119 "@@@STEP_LOG_LINE@json.output@{@@@",
123 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@", 120 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@", 121 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
125 "@@@STEP_LOG_LINE@json.output@}@@@", 122 "@@@STEP_LOG_LINE@json.output@}@@@",
126 "@@@STEP_LOG_END@json.output@@@" 123 "@@@STEP_LOG_END@json.output@@@"
127 ] 124 ]
128 }, 125 },
129 { 126 {
130 "cmd": [ 127 "cmd": [
131 "[SLAVE_BUILD]/cipd/cipd", 128 "fake_slave_build/cipd",
132 "ensure", 129 "ensure",
133 "--root", 130 "--root",
134 "[CACHE]/cipd/goma", 131 "[ROOT]/b/build/slave/cache/cipd/goma",
135 "--list", 132 "--list",
136 "infra_internal/goma/client/linux-386 release", 133 "infra_internal/goma/client/linux-386 release",
137 "--json-output", 134 "--json-output",
138 "/path/to/tmp/json", 135 "/path/to/tmp/json",
139 "--service-account-json", 136 "--service-account-json",
140 "/creds/service_accounts/service-account-goma-client.json" 137 "/creds/service_accounts/service-account-goma-client.json"
141 ], 138 ],
142 "cwd": "[SLAVE_BUILD]",
143 "name": "ensure_goma.ensure_installed", 139 "name": "ensure_goma.ensure_installed",
144 "~followup_annotations": [ 140 "~followup_annotations": [
145 "@@@STEP_NEST_LEVEL@1@@@", 141 "@@@STEP_NEST_LEVEL@1@@@",
146 "@@@STEP_LOG_LINE@json.output@{@@@", 142 "@@@STEP_LOG_LINE@json.output@{@@@",
147 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", 143 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
148 "@@@STEP_LOG_LINE@json.output@ {@@@", 144 "@@@STEP_LOG_LINE@json.output@ {@@@",
149 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@", 145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-386\"@@@", 146 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-386\"@@@",
151 "@@@STEP_LOG_LINE@json.output@ }@@@", 147 "@@@STEP_LOG_LINE@json.output@ }@@@",
152 "@@@STEP_LOG_LINE@json.output@ ]@@@", 148 "@@@STEP_LOG_LINE@json.output@ ]@@@",
153 "@@@STEP_LOG_LINE@json.output@}@@@", 149 "@@@STEP_LOG_LINE@json.output@}@@@",
154 "@@@STEP_LOG_END@json.output@@@" 150 "@@@STEP_LOG_END@json.output@@@"
155 ] 151 ]
156 }, 152 },
157 { 153 {
158 "cmd": [ 154 "cmd": [
159 "python", 155 "python",
160 "-u", 156 "-u",
161 "[SLAVE_BUILD]/src/tools/swarming_client/swarming.py", 157 "[CWD]/src/tools/swarming_client/swarming.py",
162 "--version" 158 "--version"
163 ], 159 ],
164 "cwd": "[SLAVE_BUILD]",
165 "name": "swarming.py --version", 160 "name": "swarming.py --version",
166 "stdout": "/path/to/tmp/", 161 "stdout": "/path/to/tmp/",
167 "~followup_annotations": [ 162 "~followup_annotations": [
168 "@@@STEP_TEXT@0.4.10@@@" 163 "@@@STEP_TEXT@0.4.10@@@"
169 ] 164 ]
170 }, 165 },
171 { 166 {
172 "cmd": [ 167 "cmd": [
173 "python", 168 "python",
174 "-u", 169 "-u",
175 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 170 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
176 "runhooks" 171 "runhooks"
177 ], 172 ],
178 "cwd": "[SLAVE_BUILD]",
179 "env": { 173 "env": {
180 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 174 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
181 "GYP_CHROMIUM_NO_ACTION": "1", 175 "GYP_CHROMIUM_NO_ACTION": "1",
182 "GYP_CROSSCOMPILE": "1", 176 "GYP_CROSSCOMPILE": "1",
183 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ CACHE]/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", 177 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ ROOT]/b/build/slave/cache/cipd/goma' target_arch=arm test_isolation_mode=prepare use_goma=1",
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]" 178 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
185 }, 179 },
186 "name": "gclient runhooks" 180 "name": "gclient runhooks"
187 }, 181 },
188 { 182 {
189 "cmd": [ 183 "cmd": [
190 "python", 184 "python",
191 "-u", 185 "-u",
192 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 186 "[CWD]/src/testing/scripts/get_compile_targets.py",
193 "--output", 187 "--output",
194 "/path/to/tmp/json", 188 "/path/to/tmp/json",
195 "--", 189 "--",
196 "--build-config-fs", 190 "--build-config-fs",
197 "Release", 191 "Release",
198 "--use-src-side-runtest-py", 192 "--use-src-side-runtest-py",
199 "--paths", 193 "--paths",
200 "{\"checkout\": \"[SLAVE_BUILD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO [build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/s cripts/slave/runtest.py\"}", 194 "{\"checkout\": \"[CWD]/src\", \"runit.py\": \"RECIPE_PACKAGE_REPO[build]/ scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_PACKAGE_REPO[build]/scripts/s lave/runtest.py\"}",
201 "--properties", 195 "--properties",
202 "{\"buildername\": \"Android Tests\", \"buildnumber\": 571, \"mastername\" : \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"a ndroid\"}" 196 "{\"buildername\": \"Android Tests\", \"buildnumber\": 571, \"mastername\" : \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\": \"a ndroid\"}"
203 ], 197 ],
204 "cwd": "[SLAVE_BUILD]",
205 "name": "get compile targets for scripts", 198 "name": "get compile targets for scripts",
206 "~followup_annotations": [ 199 "~followup_annotations": [
207 "@@@STEP_LOG_LINE@json.output@{}@@@", 200 "@@@STEP_LOG_LINE@json.output@{}@@@",
208 "@@@STEP_LOG_END@json.output@@@" 201 "@@@STEP_LOG_END@json.output@@@"
209 ] 202 ]
210 }, 203 },
211 { 204 {
212 "cmd": [ 205 "cmd": [
213 "python", 206 "python",
214 "-u", 207 "-u",
215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 208 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
216 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", 209 "[CWD]/src/testing/buildbot/chromium.linux.json",
217 "/path/to/tmp/json" 210 "/path/to/tmp/json"
218 ], 211 ],
219 "cwd": "[SLAVE_BUILD]",
220 "name": "read test spec", 212 "name": "read test spec",
221 "~followup_annotations": [ 213 "~followup_annotations": [
222 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@", 214 "@@@STEP_TEXT@path: [CWD]/src/testing/buildbot/chromium.linux.json@@@",
223 "@@@STEP_LOG_LINE@json.output@{@@@", 215 "@@@STEP_LOG_LINE@json.output@{@@@",
224 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@", 216 "@@@STEP_LOG_LINE@json.output@ \"Android Tests\": {@@@",
225 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@", 217 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
226 "@@@STEP_LOG_LINE@json.output@ {@@@", 218 "@@@STEP_LOG_LINE@json.output@ {@@@",
227 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", 219 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
228 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@", 220 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": true@@@",
229 "@@@STEP_LOG_LINE@json.output@ }, @@@", 221 "@@@STEP_LOG_LINE@json.output@ }, @@@",
230 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@", 222 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
231 "@@@STEP_LOG_LINE@json.output@ }@@@", 223 "@@@STEP_LOG_LINE@json.output@ }@@@",
232 "@@@STEP_LOG_LINE@json.output@ ]@@@", 224 "@@@STEP_LOG_LINE@json.output@ ]@@@",
233 "@@@STEP_LOG_LINE@json.output@ }@@@", 225 "@@@STEP_LOG_LINE@json.output@ }@@@",
234 "@@@STEP_LOG_LINE@json.output@}@@@", 226 "@@@STEP_LOG_LINE@json.output@}@@@",
235 "@@@STEP_LOG_END@json.output@@@" 227 "@@@STEP_LOG_END@json.output@@@"
236 ] 228 ]
237 }, 229 },
238 { 230 {
239 "cmd": [ 231 "cmd": [
240 "python", 232 "python",
241 "-u", 233 "-u",
242 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 234 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
243 "--show-path", 235 "--show-path",
244 "python", 236 "python",
245 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 237 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
246 ], 238 ],
247 "cwd": "[SLAVE_BUILD]",
248 "name": "cleanup_temp" 239 "name": "cleanup_temp"
249 }, 240 },
250 { 241 {
251 "cmd": [ 242 "cmd": [
252 "python", 243 "python",
253 "-u", 244 "-u",
254 "\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 "\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",
255 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 246 "[CWD]/src/out/Release/debug_info_dumps",
256 "[SLAVE_BUILD]/src/out/Release/test_logs", 247 "[CWD]/src/out/Release/test_logs",
257 "[SLAVE_BUILD]/src/out/build_product.zip", 248 "[CWD]/src/out/build_product.zip",
258 "[SLAVE_BUILD]/src" 249 "[CWD]/src"
259 ], 250 ],
260 "cwd": "[SLAVE_BUILD]",
261 "name": "clean local files", 251 "name": "clean local files",
262 "~followup_annotations": [ 252 "~followup_annotations": [
263 "@@@STEP_LOG_LINE@python.inline@@@@", 253 "@@@STEP_LOG_LINE@python.inline@@@@",
264 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 254 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
265 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 255 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
266 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 256 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
267 "@@@STEP_LOG_LINE@python.inline@try:@@@", 257 "@@@STEP_LOG_LINE@python.inline@try:@@@",
268 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 258 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
269 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 259 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
270 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 260 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
271 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 261 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
272 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 262 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
273 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 263 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
274 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 264 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
275 "@@@STEP_LOG_END@python.inline@@@" 265 "@@@STEP_LOG_END@python.inline@@@"
276 ] 266 ]
277 }, 267 },
278 { 268 {
279 "allow_subannotations": false, 269 "allow_subannotations": false,
280 "cmd": [ 270 "cmd": [
281 "[SLAVE_BUILD]/src/build/tree_truth.sh", 271 "[CWD]/src/build/tree_truth.sh",
282 "[SLAVE_BUILD]/src", 272 "[CWD]/src",
283 "src" 273 "src"
284 ], 274 ],
285 "cwd": "[SLAVE_BUILD]",
286 "name": "tree truth steps" 275 "name": "tree truth steps"
287 }, 276 },
288 { 277 {
289 "cmd": [ 278 "cmd": [
290 "python", 279 "python",
291 "-u", 280 "-u",
292 "\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", 281 "\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",
293 "[SLAVE_BUILD]/src/out/Release" 282 "[CWD]/src/out/Release"
294 ], 283 ],
295 "cwd": "[SLAVE_BUILD]",
296 "name": "rmtree build directory", 284 "name": "rmtree build directory",
297 "~followup_annotations": [ 285 "~followup_annotations": [
298 "@@@STEP_LOG_LINE@python.inline@@@@", 286 "@@@STEP_LOG_LINE@python.inline@@@@",
299 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 287 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
300 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 288 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
301 "@@@STEP_LOG_LINE@python.inline@@@@", 289 "@@@STEP_LOG_LINE@python.inline@@@@",
302 "@@@STEP_LOG_LINE@python.inline@@@@", 290 "@@@STEP_LOG_LINE@python.inline@@@@",
303 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 291 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
304 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 292 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
305 "@@@STEP_LOG_END@python.inline@@@" 293 "@@@STEP_LOG_END@python.inline@@@"
306 ] 294 ]
307 }, 295 },
308 { 296 {
309 "cmd": [ 297 "cmd": [
310 "python", 298 "python",
311 "-u", 299 "-u",
312 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 300 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
313 "--show-path", 301 "--show-path",
314 "python", 302 "python",
315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", 303 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py",
316 "--target", 304 "--target",
317 "Release", 305 "Release",
318 "--build-archive-url", 306 "--build-archive-url",
319 "gs://test-domain/test-archive.zip", 307 "gs://test-domain/test-archive.zip",
320 "--master-name", 308 "--master-name",
321 "chromium.linux", 309 "chromium.linux",
322 "--build-number", 310 "--build-number",
323 "571" 311 "571"
324 ], 312 ],
325 "cwd": "[SLAVE_BUILD]",
326 "name": "extract build" 313 "name": "extract build"
327 }, 314 },
328 { 315 {
329 "cmd": [ 316 "cmd": [
330 "python", 317 "python",
331 "-u", 318 "-u",
332 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", 319 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py",
333 "--build-dir", 320 "--build-dir",
334 "[SLAVE_BUILD]/src/out/Release", 321 "[CWD]/src/out/Release",
335 "--output-json", 322 "--output-json",
336 "/path/to/tmp/json" 323 "/path/to/tmp/json"
337 ], 324 ],
338 "cwd": "[SLAVE_BUILD]",
339 "name": "find isolated tests", 325 "name": "find isolated tests",
340 "~followup_annotations": [ 326 "~followup_annotations": [
341 "@@@STEP_LOG_LINE@json.output@{@@@", 327 "@@@STEP_LOG_LINE@json.output@{@@@",
342 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@", 328 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
343 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@", 329 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
344 "@@@STEP_LOG_LINE@json.output@}@@@", 330 "@@@STEP_LOG_LINE@json.output@}@@@",
345 "@@@STEP_LOG_END@json.output@@@", 331 "@@@STEP_LOG_END@json.output@@@",
346 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@" 332 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
347 ] 333 ]
348 }, 334 },
349 { 335 {
350 "cmd": [ 336 "cmd": [
351 "python", 337 "python",
352 "-u", 338 "-u",
353 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 339 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
354 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 340 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ",
355 "/path/to/tmp/json" 341 "/path/to/tmp/json"
356 ], 342 ],
357 "cwd": "[SLAVE_BUILD]",
358 "name": "List adb devices", 343 "name": "List adb devices",
359 "~followup_annotations": [ 344 "~followup_annotations": [
360 "@@@STEP_LOG_LINE@json.output@[@@@", 345 "@@@STEP_LOG_LINE@json.output@[@@@",
361 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 346 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
362 "@@@STEP_LOG_LINE@json.output@]@@@", 347 "@@@STEP_LOG_LINE@json.output@]@@@",
363 "@@@STEP_LOG_END@json.output@@@" 348 "@@@STEP_LOG_END@json.output@@@"
364 ] 349 ]
365 }, 350 },
366 { 351 {
367 "cmd": [ 352 "cmd": [
368 "python", 353 "python",
369 "-u", 354 "-u",
370 "\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", 355 "\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",
371 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 356 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb",
372 "014E1F310401C009" 357 "014E1F310401C009"
373 ], 358 ],
374 "cwd": "[SLAVE_BUILD]",
375 "name": "Root devices", 359 "name": "Root devices",
376 "~followup_annotations": [ 360 "~followup_annotations": [
377 "@@@STEP_LOG_LINE@python.inline@@@@", 361 "@@@STEP_LOG_LINE@python.inline@@@@",
378 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 362 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
379 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 363 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
380 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 364 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
381 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 365 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
382 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 366 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
383 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 367 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
384 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 368 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
385 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 369 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
386 "@@@STEP_LOG_END@python.inline@@@" 370 "@@@STEP_LOG_END@python.inline@@@"
387 ] 371 ]
388 }, 372 },
389 { 373 {
390 "cmd": [ 374 "cmd": [
391 "python", 375 "python",
392 "-u", 376 "-u",
393 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n", 377 "\nimport sys\nprint '*.isolated file for target %s is missing' % sys.argv [1]\nsys.exit(1)\n",
394 "browser_tests_apk" 378 "browser_tests_apk"
395 ], 379 ],
396 "cwd": "[SLAVE_BUILD]",
397 "name": "[error] browser_tests", 380 "name": "[error] browser_tests",
398 "~followup_annotations": [ 381 "~followup_annotations": [
399 "@@@STEP_LOG_LINE@python.inline@@@@", 382 "@@@STEP_LOG_LINE@python.inline@@@@",
400 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 383 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
401 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@", 384 "@@@STEP_LOG_LINE@python.inline@print '*.isolated file for target %s is mi ssing' % sys.argv[1]@@@",
402 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", 385 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
403 "@@@STEP_LOG_END@python.inline@@@" 386 "@@@STEP_LOG_END@python.inline@@@"
404 ] 387 ]
405 }, 388 },
406 { 389 {
407 "cmd": [ 390 "cmd": [
408 "python", 391 "python",
409 "-u", 392 "-u",
410 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" , 393 "\nimport sys\nprint '%s wasn\\'t triggered' % sys.argv[1]\nsys.exit(1)\n" ,
411 "browser_tests" 394 "browser_tests"
412 ], 395 ],
413 "cwd": "[SLAVE_BUILD]",
414 "name": "[collect error] browser_tests", 396 "name": "[collect error] browser_tests",
415 "~followup_annotations": [ 397 "~followup_annotations": [
416 "@@@STEP_LOG_LINE@python.inline@@@@", 398 "@@@STEP_LOG_LINE@python.inline@@@@",
417 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 399 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
418 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@", 400 "@@@STEP_LOG_LINE@python.inline@print '%s wasn\\'t triggered' % sys.argv[1 ]@@@",
419 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@", 401 "@@@STEP_LOG_LINE@python.inline@sys.exit(1)@@@",
420 "@@@STEP_LOG_END@python.inline@@@" 402 "@@@STEP_LOG_END@python.inline@@@"
421 ] 403 ]
422 }, 404 },
423 { 405 {
424 "cmd": [ 406 "cmd": [
425 "python", 407 "python",
426 "-u", 408 "-u",
427 "\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", 409 "\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",
428 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" 410 "[CWD]/src/out/Release/test_logs/*.log"
429 ], 411 ],
430 "cwd": "[SLAVE_BUILD]",
431 "name": "test_report", 412 "name": "test_report",
432 "~followup_annotations": [ 413 "~followup_annotations": [
433 "@@@STEP_LOG_LINE@python.inline@@@@", 414 "@@@STEP_LOG_LINE@python.inline@@@@",
434 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 415 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
435 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 416 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
436 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 417 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
437 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 418 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
438 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 419 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
439 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 420 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
440 "@@@STEP_LOG_END@python.inline@@@" 421 "@@@STEP_LOG_END@python.inline@@@"
441 ] 422 ]
442 }, 423 },
443 { 424 {
444 "name": "$result", 425 "name": "$result",
445 "recipe_result": null, 426 "recipe_result": null,
446 "status_code": 0 427 "status_code": 0
447 } 428 }
448 ] 429 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698