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

Side by Side Diff: scripts/slave/recipes/chromium.expected/dynamic_junit_test.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@HEAD", 24 "src@HEAD",
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\": \"HEAD\"@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@",
(...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-amd64", 109 "linux-amd64",
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-amd64 release", 133 "infra_internal/goma/client/linux-amd64 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-amd64\"@@@", 146 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
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@ \"junit_tests\": [@@@", 217 "@@@STEP_LOG_LINE@json.output@ \"junit_tests\": [@@@",
226 "@@@STEP_LOG_LINE@json.output@ {@@@", 218 "@@@STEP_LOG_LINE@json.output@ {@@@",
227 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_junit_tests\"@@@", 219 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_junit_tests\"@@@",
228 "@@@STEP_LOG_LINE@json.output@ }@@@", 220 "@@@STEP_LOG_LINE@json.output@ }@@@",
229 "@@@STEP_LOG_LINE@json.output@ ]@@@", 221 "@@@STEP_LOG_LINE@json.output@ ]@@@",
230 "@@@STEP_LOG_LINE@json.output@ }@@@", 222 "@@@STEP_LOG_LINE@json.output@ }@@@",
231 "@@@STEP_LOG_LINE@json.output@}@@@", 223 "@@@STEP_LOG_LINE@json.output@}@@@",
232 "@@@STEP_LOG_END@json.output@@@" 224 "@@@STEP_LOG_END@json.output@@@"
233 ] 225 ]
234 }, 226 },
235 { 227 {
236 "cmd": [ 228 "cmd": [
237 "python", 229 "python",
238 "-u", 230 "-u",
239 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 231 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
240 "--show-path", 232 "--show-path",
241 "python", 233 "python",
242 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 234 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
243 ], 235 ],
244 "cwd": "[SLAVE_BUILD]",
245 "name": "cleanup_temp" 236 "name": "cleanup_temp"
246 }, 237 },
247 { 238 {
248 "cmd": [ 239 "cmd": [
249 "python", 240 "python",
250 "-u", 241 "-u",
251 "\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",
252 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 243 "[CWD]/src/out/Release/debug_info_dumps",
253 "[SLAVE_BUILD]/src/out/Release/test_logs", 244 "[CWD]/src/out/Release/test_logs",
254 "[SLAVE_BUILD]/src/out/build_product.zip", 245 "[CWD]/src/out/build_product.zip",
255 "[SLAVE_BUILD]/src" 246 "[CWD]/src"
256 ], 247 ],
257 "cwd": "[SLAVE_BUILD]",
258 "name": "clean local files", 248 "name": "clean local files",
259 "~followup_annotations": [ 249 "~followup_annotations": [
260 "@@@STEP_LOG_LINE@python.inline@@@@", 250 "@@@STEP_LOG_LINE@python.inline@@@@",
261 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 251 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
262 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 252 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
263 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 253 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
264 "@@@STEP_LOG_LINE@python.inline@try:@@@", 254 "@@@STEP_LOG_LINE@python.inline@try:@@@",
265 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 255 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
266 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 256 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
267 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 257 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
268 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 258 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
269 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 259 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
270 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 260 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
271 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 261 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
272 "@@@STEP_LOG_END@python.inline@@@" 262 "@@@STEP_LOG_END@python.inline@@@"
273 ] 263 ]
274 }, 264 },
275 { 265 {
276 "allow_subannotations": false, 266 "allow_subannotations": false,
277 "cmd": [ 267 "cmd": [
278 "[SLAVE_BUILD]/src/build/tree_truth.sh", 268 "[CWD]/src/build/tree_truth.sh",
279 "[SLAVE_BUILD]/src", 269 "[CWD]/src",
280 "src" 270 "src"
281 ], 271 ],
282 "cwd": "[SLAVE_BUILD]",
283 "name": "tree truth steps" 272 "name": "tree truth steps"
284 }, 273 },
285 { 274 {
286 "cmd": [ 275 "cmd": [
287 "python", 276 "python",
288 "-u", 277 "-u",
289 "\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", 278 "\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",
290 "[SLAVE_BUILD]/src/out/Release" 279 "[CWD]/src/out/Release"
291 ], 280 ],
292 "cwd": "[SLAVE_BUILD]",
293 "name": "rmtree build directory", 281 "name": "rmtree build directory",
294 "~followup_annotations": [ 282 "~followup_annotations": [
295 "@@@STEP_LOG_LINE@python.inline@@@@", 283 "@@@STEP_LOG_LINE@python.inline@@@@",
296 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 284 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
297 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 285 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
298 "@@@STEP_LOG_LINE@python.inline@@@@", 286 "@@@STEP_LOG_LINE@python.inline@@@@",
299 "@@@STEP_LOG_LINE@python.inline@@@@", 287 "@@@STEP_LOG_LINE@python.inline@@@@",
300 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 288 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
301 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 289 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
302 "@@@STEP_LOG_END@python.inline@@@" 290 "@@@STEP_LOG_END@python.inline@@@"
(...skipping 11 matching lines...) Expand all
314 "Release", 302 "Release",
315 "--build-url", 303 "--build-url",
316 "gs://chromium-linux-archive/chromium.linux/Android Builder/full-build-lin ux.zip", 304 "gs://chromium-linux-archive/chromium.linux/Android Builder/full-build-lin ux.zip",
317 "--build_revision", 305 "--build_revision",
318 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", 306 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
319 "--master-name", 307 "--master-name",
320 "chromium.linux", 308 "chromium.linux",
321 "--build-number", 309 "--build-number",
322 "571" 310 "571"
323 ], 311 ],
324 "cwd": "[SLAVE_BUILD]",
325 "name": "extract build" 312 "name": "extract build"
326 }, 313 },
327 { 314 {
328 "cmd": [ 315 "cmd": [
329 "python", 316 "python",
330 "-u", 317 "-u",
331 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 318 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
332 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 319 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ",
333 "/path/to/tmp/json" 320 "/path/to/tmp/json"
334 ], 321 ],
335 "cwd": "[SLAVE_BUILD]",
336 "name": "List adb devices", 322 "name": "List adb devices",
337 "~followup_annotations": [ 323 "~followup_annotations": [
338 "@@@STEP_LOG_LINE@json.output@[@@@", 324 "@@@STEP_LOG_LINE@json.output@[@@@",
339 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 325 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
340 "@@@STEP_LOG_LINE@json.output@]@@@", 326 "@@@STEP_LOG_LINE@json.output@]@@@",
341 "@@@STEP_LOG_END@json.output@@@" 327 "@@@STEP_LOG_END@json.output@@@"
342 ] 328 ]
343 }, 329 },
344 { 330 {
345 "cmd": [ 331 "cmd": [
346 "python", 332 "python",
347 "-u", 333 "-u",
348 "\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", 334 "\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",
349 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 335 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb",
350 "014E1F310401C009" 336 "014E1F310401C009"
351 ], 337 ],
352 "cwd": "[SLAVE_BUILD]",
353 "name": "Root devices", 338 "name": "Root devices",
354 "~followup_annotations": [ 339 "~followup_annotations": [
355 "@@@STEP_LOG_LINE@python.inline@@@@", 340 "@@@STEP_LOG_LINE@python.inline@@@@",
356 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 341 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
357 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 342 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
358 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 343 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
359 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 344 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
360 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 345 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
361 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 346 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
362 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 347 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
363 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 348 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
364 "@@@STEP_LOG_END@python.inline@@@" 349 "@@@STEP_LOG_END@python.inline@@@"
365 ] 350 ]
366 }, 351 },
367 { 352 {
368 "cmd": [ 353 "cmd": [
369 "python", 354 "python",
370 "-u", 355 "-u",
371 "[SLAVE_BUILD]/src/build/android/test_runner.py", 356 "[CWD]/src/build/android/test_runner.py",
372 "junit", 357 "junit",
373 "-s", 358 "-s",
374 "base_junit_tests", 359 "base_junit_tests",
375 "--verbose", 360 "--verbose",
376 "--release", 361 "--release",
377 "--json-results-file", 362 "--json-results-file",
378 "/path/to/tmp/json" 363 "/path/to/tmp/json"
379 ], 364 ],
380 "cwd": "[SLAVE_BUILD]",
381 "env": { 365 "env": {
382 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 366 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release",
383 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 367 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
384 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 368 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
385 }, 369 },
386 "name": "base_junit_tests", 370 "name": "base_junit_tests",
387 "~followup_annotations": [ 371 "~followup_annotations": [
388 "step returned non-zero exit code: 1", 372 "step returned non-zero exit code: 1",
389 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@", 373 "@@@STEP_TEXT@<br/>failures:<br/>Test.Two<br/>@@@",
390 "@@@STEP_FAILURE@@@" 374 "@@@STEP_FAILURE@@@"
391 ] 375 ]
392 }, 376 },
393 { 377 {
394 "cmd": [ 378 "cmd": [
395 "python", 379 "python",
396 "-u", 380 "-u",
397 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py ", 381 "RECIPE_MODULE[build::test_results]/resources/upload_gtest_test_results.py ",
398 "--input-gtest-json", 382 "--input-gtest-json",
399 "/path/to/tmp/json", 383 "/path/to/tmp/json",
400 "--master-name", 384 "--master-name",
401 "chromium.linux", 385 "chromium.linux",
402 "--builder-name", 386 "--builder-name",
403 "Android Tests", 387 "Android Tests",
404 "--build-number", 388 "--build-number",
405 "571", 389 "571",
406 "--test-type", 390 "--test-type",
407 "base_junit_tests", 391 "base_junit_tests",
408 "--test-results-server", 392 "--test-results-server",
409 "test-results.appspot.com", 393 "test-results.appspot.com",
410 "--chrome-revision", 394 "--chrome-revision",
411 "refs/heads/master@{#170242}" 395 "refs/heads/master@{#170242}"
412 ], 396 ],
413 "cwd": "[SLAVE_BUILD]",
414 "name": "Upload to test-results [base_junit_tests]" 397 "name": "Upload to test-results [base_junit_tests]"
415 }, 398 },
416 { 399 {
417 "cmd": [ 400 "cmd": [
418 "python", 401 "python",
419 "-u", 402 "-u",
420 "\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", 403 "\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",
421 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" 404 "[CWD]/src/out/Release/test_logs/*.log"
422 ], 405 ],
423 "cwd": "[SLAVE_BUILD]",
424 "name": "test_report", 406 "name": "test_report",
425 "~followup_annotations": [ 407 "~followup_annotations": [
426 "@@@STEP_LOG_LINE@python.inline@@@@", 408 "@@@STEP_LOG_LINE@python.inline@@@@",
427 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", 409 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@",
428 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", 410 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@",
429 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", 411 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@",
430 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", 412 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@",
431 "@@@STEP_LOG_LINE@python.inline@ print l@@@", 413 "@@@STEP_LOG_LINE@python.inline@ print l@@@",
432 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 414 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
433 "@@@STEP_LOG_END@python.inline@@@" 415 "@@@STEP_LOG_END@python.inline@@@"
434 ] 416 ]
435 }, 417 },
436 { 418 {
437 "name": "$result", 419 "name": "$result",
438 "reason": "1 tests failed: ['base_junit_tests']", 420 "reason": "1 tests failed: ['base_junit_tests']",
439 "status_code": 1 421 "status_code": 1
440 } 422 }
441 ] 423 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698