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

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

Powered by Google App Engine
This is Rietveld 408576698