Chromium Code Reviews

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/perf_tests_failure.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
9 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
10 "~followup_annotations": [ 11 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
(...skipping 20 matching lines...)
39 "src/repo", 40 "src/repo",
40 "--revision_mapping_file", 41 "--revision_mapping_file",
41 "{}", 42 "{}",
42 "--patch_url", 43 "--patch_url",
43 "https://the.patch.url/the.patch", 44 "https://the.patch.url/the.patch",
44 "--output_json", 45 "--output_json",
45 "/path/to/tmp/json", 46 "/path/to/tmp/json",
46 "--revision", 47 "--revision",
47 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" 48 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00"
48 ], 49 ],
50 "cwd": "[SLAVE_BUILD]",
49 "name": "bot_update", 51 "name": "bot_update",
50 "~followup_annotations": [ 52 "~followup_annotations": [
51 "@@@STEP_LOG_LINE@json.output@{@@@", 53 "@@@STEP_LOG_LINE@json.output@{@@@",
52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 54 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
53 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 55 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
54 "@@@STEP_LOG_LINE@json.output@}@@@", 56 "@@@STEP_LOG_LINE@json.output@}@@@",
55 "@@@STEP_LOG_END@json.output@@@" 57 "@@@STEP_LOG_END@json.output@@@"
56 ] 58 ]
57 }, 59 },
58 { 60 {
59 "cmd": [ 61 "cmd": [
60 "python", 62 "python",
61 "-u", 63 "-u",
62 "[DEPOT_TOOLS]/gclient.py", 64 "[DEPOT_TOOLS]/gclient.py",
63 "config", 65 "config",
64 "--spec", 66 "--spec",
65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']" 67 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
66 ], 68 ],
69 "cwd": "[SLAVE_BUILD]",
67 "name": "gclient setup" 70 "name": "gclient setup"
68 }, 71 },
69 { 72 {
70 "cmd": [ 73 "cmd": [
71 "python", 74 "python",
72 "-u", 75 "-u",
73 "[BUILD]/scripts/slave/gclient_safe_revert.py", 76 "[BUILD]/scripts/slave/gclient_safe_revert.py",
74 ".", 77 ".",
75 "[DEPOT_TOOLS]/gclient" 78 "[DEPOT_TOOLS]/gclient"
76 ], 79 ],
80 "cwd": "[SLAVE_BUILD]",
77 "name": "gclient revert" 81 "name": "gclient revert"
78 }, 82 },
79 { 83 {
80 "cmd": [ 84 "cmd": [
81 "python", 85 "python",
82 "-u", 86 "-u",
83 "[DEPOT_TOOLS]/gclient.py", 87 "[DEPOT_TOOLS]/gclient.py",
84 "sync", 88 "sync",
85 "--nohooks", 89 "--nohooks",
86 "--force", 90 "--force",
87 "--verbose", 91 "--verbose",
88 "--delete_unversioned_trees", 92 "--delete_unversioned_trees",
89 "--revision", 93 "--revision",
90 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 94 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
91 "--output-json", 95 "--output-json",
92 "/path/to/tmp/json" 96 "/path/to/tmp/json"
93 ], 97 ],
98 "cwd": "[SLAVE_BUILD]",
94 "name": "gclient sync", 99 "name": "gclient sync",
95 "~followup_annotations": [ 100 "~followup_annotations": [
96 "@@@STEP_LOG_LINE@json.output@{@@@", 101 "@@@STEP_LOG_LINE@json.output@{@@@",
97 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 102 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
98 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 103 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 104 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
100 "@@@STEP_LOG_LINE@json.output@ }, @@@", 105 "@@@STEP_LOG_LINE@json.output@ }, @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 106 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
102 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 107 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
103 "@@@STEP_LOG_LINE@json.output@ }, @@@", 108 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 26 matching lines...)
130 { 135 {
131 "cmd": [ 136 "cmd": [
132 "python", 137 "python",
133 "-u", 138 "-u",
134 "\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", 139 "\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",
135 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 140 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
136 "[SLAVE_BUILD]/src/out/Release/test_logs", 141 "[SLAVE_BUILD]/src/out/Release/test_logs",
137 "[SLAVE_BUILD]/src/out/build_product.zip", 142 "[SLAVE_BUILD]/src/out/build_product.zip",
138 "[SLAVE_BUILD]/src" 143 "[SLAVE_BUILD]/src"
139 ], 144 ],
145 "cwd": "[SLAVE_BUILD]",
140 "name": "clean local files", 146 "name": "clean local files",
141 "~followup_annotations": [ 147 "~followup_annotations": [
142 "@@@STEP_LOG_LINE@python.inline@@@@", 148 "@@@STEP_LOG_LINE@python.inline@@@@",
143 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 149 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
144 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 150 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
145 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 151 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
146 "@@@STEP_LOG_LINE@python.inline@try:@@@", 152 "@@@STEP_LOG_LINE@python.inline@try:@@@",
147 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 154 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
149 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 155 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 156 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
154 "@@@STEP_LOG_END@python.inline@@@" 160 "@@@STEP_LOG_END@python.inline@@@"
155 ] 161 ]
156 }, 162 },
157 { 163 {
158 "cmd": [ 164 "cmd": [
159 "python", 165 "python",
160 "-u", 166 "-u",
161 "[DEPOT_TOOLS]/gclient.py", 167 "[DEPOT_TOOLS]/gclient.py",
162 "runhooks" 168 "runhooks"
163 ], 169 ],
170 "cwd": "[SLAVE_BUILD]",
164 "env": { 171 "env": {
165 "GYP_CROSSCOMPILE": "1", 172 "GYP_CROSSCOMPILE": "1",
166 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm", 173 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm",
167 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
168 }, 175 },
169 "name": "gclient runhooks" 176 "name": "gclient runhooks"
170 }, 177 },
171 { 178 {
172 "allow_subannotations": false, 179 "allow_subannotations": false,
173 "cmd": [ 180 "cmd": [
174 "[SLAVE_BUILD]/src/build/tree_truth.sh", 181 "[SLAVE_BUILD]/src/build/tree_truth.sh",
175 "[SLAVE_BUILD]/src", 182 "[SLAVE_BUILD]/src",
176 "src", 183 "src",
177 "foo", 184 "foo",
178 "src/repo" 185 "src/repo"
179 ], 186 ],
187 "cwd": "[SLAVE_BUILD]",
180 "name": "tree truth steps" 188 "name": "tree truth steps"
181 }, 189 },
182 { 190 {
183 "cmd": [ 191 "cmd": [
184 "cat", 192 "cat",
185 "[SLAVE_BUILD]/src/chrome/VERSION" 193 "[SLAVE_BUILD]/src/chrome/VERSION"
186 ], 194 ],
195 "cwd": "[SLAVE_BUILD]",
187 "name": "get version", 196 "name": "get version",
188 "stdout": "/path/to/tmp/version" 197 "stdout": "/path/to/tmp/version"
189 }, 198 },
190 { 199 {
191 "cmd": [ 200 "cmd": [
192 "python", 201 "python",
193 "-u", 202 "-u",
194 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 203 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
195 "--", 204 "--",
196 "[DEPOT_TOOLS]/gsutil.py", 205 "[DEPOT_TOOLS]/gsutil.py",
197 "--force-version", 206 "--force-version",
198 "4.7", 207 "4.7",
199 "--", 208 "--",
200 "cp", 209 "cp",
201 "gs://build-bucket/build_product.zip", 210 "gs://build-bucket/build_product.zip",
202 "[SLAVE_BUILD]/src/out/build_product.zip" 211 "[SLAVE_BUILD]/src/out/build_product.zip"
203 ], 212 ],
213 "cwd": "[SLAVE_BUILD]",
204 "name": "gsutil download_build_product" 214 "name": "gsutil download_build_product"
205 }, 215 },
206 { 216 {
207 "cmd": [ 217 "cmd": [
208 "unzip", 218 "unzip",
209 "-o", 219 "-o",
210 "[SLAVE_BUILD]/src/out/build_product.zip" 220 "[SLAVE_BUILD]/src/out/build_product.zip"
211 ], 221 ],
212 "cwd": "[SLAVE_BUILD]/src", 222 "cwd": "[SLAVE_BUILD]/src",
213 "name": "unzip_build_product" 223 "name": "unzip_build_product"
214 }, 224 },
215 { 225 {
216 "cmd": [ 226 "cmd": [
217 "[DEPOT_TOOLS]/git_number.py" 227 "[DEPOT_TOOLS]/git_number.py"
218 ], 228 ],
219 "cwd": "[SLAVE_BUILD]/src", 229 "cwd": "[SLAVE_BUILD]/src",
220 "name": "git_number", 230 "name": "git_number",
221 "stdout": "/path/to/tmp/" 231 "stdout": "/path/to/tmp/"
222 }, 232 },
223 { 233 {
224 "cmd": [ 234 "cmd": [
225 "python", 235 "python",
226 "-u", 236 "-u",
227 "RECIPE_MODULE[adb]/resources/list_devices.py", 237 "RECIPE_MODULE[adb]/resources/list_devices.py",
228 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 238 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
229 "/path/to/tmp/json" 239 "/path/to/tmp/json"
230 ], 240 ],
241 "cwd": "[SLAVE_BUILD]",
231 "name": "List adb devices", 242 "name": "List adb devices",
232 "~followup_annotations": [ 243 "~followup_annotations": [
233 "@@@STEP_LOG_LINE@json.output@[@@@", 244 "@@@STEP_LOG_LINE@json.output@[@@@",
234 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 245 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
235 "@@@STEP_LOG_LINE@json.output@]@@@", 246 "@@@STEP_LOG_LINE@json.output@]@@@",
236 "@@@STEP_LOG_END@json.output@@@" 247 "@@@STEP_LOG_END@json.output@@@"
237 ] 248 ]
238 }, 249 },
239 { 250 {
240 "cmd": [ 251 "cmd": [
241 "python", 252 "python",
242 "-u", 253 "-u",
243 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n", 254 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n",
244 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 255 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
245 "014E1F310401C009" 256 "014E1F310401C009"
246 ], 257 ],
258 "cwd": "[SLAVE_BUILD]",
247 "name": "Root devices", 259 "name": "Root devices",
248 "~followup_annotations": [ 260 "~followup_annotations": [
249 "@@@STEP_LOG_LINE@python.inline@@@@", 261 "@@@STEP_LOG_LINE@python.inline@@@@",
250 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 262 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
251 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 263 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
252 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 264 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
253 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 265 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
254 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 266 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
255 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 267 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
256 "@@@STEP_LOG_END@python.inline@@@" 268 "@@@STEP_LOG_END@python.inline@@@"
257 ] 269 ]
258 }, 270 },
259 { 271 {
260 "cmd": [ 272 "cmd": [
261 "[BUILD]/scripts/slave/daemonizer.py", 273 "[BUILD]/scripts/slave/daemonizer.py",
262 "--", 274 "--",
263 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 275 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
264 "[SLAVE_BUILD]/src/out/logcat" 276 "[SLAVE_BUILD]/src/out/logcat"
265 ], 277 ],
278 "cwd": "[SLAVE_BUILD]",
266 "env": { 279 "env": {
267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 280 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
268 }, 281 },
269 "name": "spawn_logcat_monitor" 282 "name": "spawn_logcat_monitor"
270 }, 283 },
271 { 284 {
272 "cmd": [ 285 "cmd": [
273 "python", 286 "python",
274 "-u", 287 "-u",
275 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", 288 "[BUILD]/scripts/slave/android/authorize_adb_devices.py",
276 "--adb-path", 289 "--adb-path",
277 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 290 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
278 ], 291 ],
292 "cwd": "[SLAVE_BUILD]",
279 "env": { 293 "env": {
280 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 294 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
281 }, 295 },
282 "name": "authorize_adb_devices" 296 "name": "authorize_adb_devices"
283 }, 297 },
284 { 298 {
285 "cmd": [ 299 "cmd": [
286 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 300 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
287 "--json-output", 301 "--json-output",
288 "/path/to/tmp/json" 302 "/path/to/tmp/json"
289 ], 303 ],
304 "cwd": "[SLAVE_BUILD]",
290 "env": { 305 "env": {
291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 306 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
292 }, 307 },
293 "name": "device_status_check", 308 "name": "device_status_check",
294 "~followup_annotations": [ 309 "~followup_annotations": [
295 "@@@STEP_TEXT@Online devices: 1@@@", 310 "@@@STEP_TEXT@Online devices: 1@@@",
296 "@@@STEP_LOG_LINE@json.output@[@@@", 311 "@@@STEP_LOG_LINE@json.output@[@@@",
297 "@@@STEP_LOG_LINE@json.output@ {@@@", 312 "@@@STEP_LOG_LINE@json.output@ {@@@",
298 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 313 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
299 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 314 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 20 matching lines...)
320 ] 335 ]
321 }, 336 },
322 { 337 {
323 "cmd": [ 338 "cmd": [
324 "python", 339 "python",
325 "-u", 340 "-u",
326 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 341 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
327 "-t", 342 "-t",
328 "Release" 343 "Release"
329 ], 344 ],
345 "cwd": "[SLAVE_BUILD]",
330 "env": { 346 "env": {
331 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 347 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
332 }, 348 },
333 "name": "provision_devices" 349 "name": "provision_devices"
334 }, 350 },
335 { 351 {
336 "cmd": [ 352 "cmd": [
337 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 353 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
338 "--json-output", 354 "--json-output",
339 "/path/to/tmp/json" 355 "/path/to/tmp/json"
340 ], 356 ],
357 "cwd": "[SLAVE_BUILD]",
341 "env": { 358 "env": {
342 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 359 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
343 }, 360 },
344 "name": "device_status_check (2)", 361 "name": "device_status_check (2)",
345 "~followup_annotations": [ 362 "~followup_annotations": [
346 "@@@STEP_TEXT@Online devices: 1@@@", 363 "@@@STEP_TEXT@Online devices: 1@@@",
347 "@@@STEP_LOG_LINE@json.output@[@@@", 364 "@@@STEP_LOG_LINE@json.output@[@@@",
348 "@@@STEP_LOG_LINE@json.output@ {@@@", 365 "@@@STEP_LOG_LINE@json.output@ {@@@",
349 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 366 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
350 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 367 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 20 matching lines...)
371 ] 388 ]
372 }, 389 },
373 { 390 {
374 "cmd": [ 391 "cmd": [
375 "python", 392 "python",
376 "-u", 393 "-u",
377 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 394 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
378 "-t", 395 "-t",
379 "Release" 396 "Release"
380 ], 397 ],
398 "cwd": "[SLAVE_BUILD]",
381 "env": { 399 "env": {
382 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 400 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
383 }, 401 },
384 "name": "provision_devices (2)" 402 "name": "provision_devices (2)"
385 }, 403 },
386 { 404 {
387 "cmd": [ 405 "cmd": [
388 "python", 406 "python",
389 "-u", 407 "-u",
390 "[SLAVE_BUILD]/src/build/android/test_runner.py", 408 "[SLAVE_BUILD]/src/build/android/test_runner.py",
391 "monkey", 409 "monkey",
392 "-v", 410 "-v",
393 "--package=chrome", 411 "--package=chrome",
394 "--event-count=50000" 412 "--event-count=50000"
395 ], 413 ],
414 "cwd": "[SLAVE_BUILD]",
396 "env": { 415 "env": {
397 "BUILDTYPE": "Release" 416 "BUILDTYPE": "Release"
398 }, 417 },
399 "name": "Monkey Test" 418 "name": "Monkey Test"
400 }, 419 },
401 { 420 {
402 "cmd": [ 421 "cmd": [
403 "python", 422 "python",
404 "-u", 423 "-u",
405 "[SLAVE_BUILD]/src/build/android/test_runner.py", 424 "[SLAVE_BUILD]/src/build/android/test_runner.py",
(...skipping 13 matching lines...)
419 }, 438 },
420 { 439 {
421 "cmd": [ 440 "cmd": [
422 "[SLAVE_BUILD]/src/build/android/test_runner.py", 441 "[SLAVE_BUILD]/src/build/android/test_runner.py",
423 "perf", 442 "perf",
424 "--steps", 443 "--steps",
425 "fake_config.json", 444 "fake_config.json",
426 "--output-json-list", 445 "--output-json-list",
427 "/path/to/tmp/json" 446 "/path/to/tmp/json"
428 ], 447 ],
448 "cwd": "[SLAVE_BUILD]",
429 "env": { 449 "env": {
430 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 450 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
431 }, 451 },
432 "name": "get perf test list", 452 "name": "get perf test list",
433 "~followup_annotations": [ 453 "~followup_annotations": [
434 "@@@STEP_LOG_LINE@json.output@[@@@", 454 "@@@STEP_LOG_LINE@json.output@[@@@",
435 "@@@STEP_LOG_LINE@json.output@ {@@@", 455 "@@@STEP_LOG_LINE@json.output@ {@@@",
436 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", 456 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
437 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", 457 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
438 "@@@STEP_LOG_LINE@json.output@ }, @@@", 458 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 25 matching lines...)
464 "--builder-name=perf_runner", 484 "--builder-name=perf_runner",
465 "--slave-name=tehslave", 485 "--slave-name=tehslave",
466 "--build-number=571", 486 "--build-number=571",
467 "--run-python-script", 487 "--run-python-script",
468 "[SLAVE_BUILD]/src/build/android/test_runner.py", 488 "[SLAVE_BUILD]/src/build/android/test_runner.py",
469 "perf", 489 "perf",
470 "--print-step", 490 "--print-step",
471 "page_cycler.foo", 491 "page_cycler.foo",
472 "--verbose" 492 "--verbose"
473 ], 493 ],
494 "cwd": "[SLAVE_BUILD]",
474 "env": { 495 "env": {
475 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 496 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
476 }, 497 },
477 "name": "page_cycler.foo", 498 "name": "page_cycler.foo",
478 "~followup_annotations": [ 499 "~followup_annotations": [
479 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" 500 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@"
480 ] 501 ]
481 }, 502 },
482 { 503 {
483 "allow_subannotations": true, 504 "allow_subannotations": true,
(...skipping 15 matching lines...)
499 "--builder-name=perf_runner", 520 "--builder-name=perf_runner",
500 "--slave-name=tehslave", 521 "--slave-name=tehslave",
501 "--build-number=571", 522 "--build-number=571",
502 "--run-python-script", 523 "--run-python-script",
503 "[SLAVE_BUILD]/src/build/android/test_runner.py", 524 "[SLAVE_BUILD]/src/build/android/test_runner.py",
504 "perf", 525 "perf",
505 "--print-step", 526 "--print-step",
506 "perf_test.foo", 527 "perf_test.foo",
507 "--verbose" 528 "--verbose"
508 ], 529 ],
530 "cwd": "[SLAVE_BUILD]",
509 "env": { 531 "env": {
510 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 532 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
511 }, 533 },
512 "name": "perf_test.foo", 534 "name": "perf_test.foo",
513 "~followup_annotations": [ 535 "~followup_annotations": [
514 "step returned non-zero exit code: 1", 536 "step returned non-zero exit code: 1",
515 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", 537 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@",
516 "@@@STEP_FAILURE@@@" 538 "@@@STEP_FAILURE@@@"
517 ] 539 ]
518 }, 540 },
(...skipping 12 matching lines...)
531 "-A", 553 "-A",
532 "SmallTest", 554 "SmallTest",
533 "-E", 555 "-E",
534 "FlakyTest", 556 "FlakyTest",
535 "--screenshot", 557 "--screenshot",
536 "--release", 558 "--release",
537 "--host-driven-root", 559 "--host-driven-root",
538 "[SLAVE_BUILD]/src/chrome/test", 560 "[SLAVE_BUILD]/src/chrome/test",
539 "--official-build" 561 "--official-build"
540 ], 562 ],
563 "cwd": "[SLAVE_BUILD]",
541 "name": "Instrumentation test SmallTest" 564 "name": "Instrumentation test SmallTest"
542 }, 565 },
543 { 566 {
544 "cmd": [ 567 "cmd": [
545 "python", 568 "python",
546 "-u", 569 "-u",
547 "[SLAVE_BUILD]/src/build/android/test_runner.py", 570 "[SLAVE_BUILD]/src/build/android/test_runner.py",
548 "gtest", 571 "gtest",
549 "-s", 572 "-s",
550 "unittests", 573 "unittests",
551 "--verbose", 574 "--verbose",
552 "--release", 575 "--release",
553 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 576 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
554 "--gtest_filter=WebRtc*", 577 "--gtest_filter=WebRtc*",
555 "--tool=asan" 578 "--tool=asan"
556 ], 579 ],
580 "cwd": "[SLAVE_BUILD]",
557 "env": { 581 "env": {
558 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 582 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
559 }, 583 },
560 "name": "unittests" 584 "name": "unittests"
561 }, 585 },
562 { 586 {
563 "cmd": [ 587 "cmd": [
564 "python", 588 "python",
565 "-u", 589 "-u",
566 "[BUILD]/scripts/slave/tee.py", 590 "[BUILD]/scripts/slave/tee.py",
567 "[SLAVE_BUILD]/src/out/Release/full_log", 591 "[SLAVE_BUILD]/src/out/Release/full_log",
568 "--", 592 "--",
569 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 593 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
570 "[SLAVE_BUILD]/src/out/logcat" 594 "[SLAVE_BUILD]/src/out/logcat"
571 ], 595 ],
596 "cwd": "[SLAVE_BUILD]",
572 "name": "logcat_dump" 597 "name": "logcat_dump"
573 }, 598 },
574 { 599 {
575 "cmd": [ 600 "cmd": [
576 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 601 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
577 "--arch", 602 "--arch",
578 "arm", 603 "arm",
579 "--more-info", 604 "--more-info",
580 "[SLAVE_BUILD]/src/out/Release/full_log" 605 "[SLAVE_BUILD]/src/out/Release/full_log"
581 ], 606 ],
607 "cwd": "[SLAVE_BUILD]",
582 "env": { 608 "env": {
583 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 609 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
584 }, 610 },
585 "name": "stack_tool_with_logcat_dump" 611 "name": "stack_tool_with_logcat_dump"
586 }, 612 },
587 { 613 {
588 "cmd": [ 614 "cmd": [
589 "[SLAVE_BUILD]/src/build/android/tombstones.py", 615 "[SLAVE_BUILD]/src/build/android/tombstones.py",
590 "-a", 616 "-a",
591 "-s", 617 "-s",
592 "-w" 618 "-w"
593 ], 619 ],
620 "cwd": "[SLAVE_BUILD]",
594 "env": { 621 "env": {
595 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 622 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
596 }, 623 },
597 "name": "stack_tool_for_tombstones" 624 "name": "stack_tool_for_tombstones"
598 }, 625 },
599 { 626 {
600 "cmd": [ 627 "cmd": [
601 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 628 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
602 "-l", 629 "-l",
603 "[SLAVE_BUILD]/src/out/Release/full_log" 630 "[SLAVE_BUILD]/src/out/Release/full_log"
604 ], 631 ],
632 "cwd": "[SLAVE_BUILD]",
605 "env": { 633 "env": {
606 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 634 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
607 }, 635 },
608 "name": "stack_tool_for_asan" 636 "name": "stack_tool_for_asan"
609 }, 637 },
610 { 638 {
611 "name": "$final_result", 639 "name": "$final_result",
612 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]", 640 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa iled with return_code 1\",)]",
613 "status_code": 1 641 "status_code": 1
614 } 642 }
615 ] 643 ]
OLDNEW

Powered by Google App Engine