OLD | NEW |
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 18 matching lines...) Loading... |
37 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]\n
target_os = ['android']", | 38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]\n
target_os = ['android']", |
38 "--root", | 39 "--root", |
39 "src", | 40 "src", |
40 "--revision_mapping_file", | 41 "--revision_mapping_file", |
41 "{}", | 42 "{}", |
42 "--output_json", | 43 "--output_json", |
43 "/path/to/tmp/json", | 44 "/path/to/tmp/json", |
44 "--revision", | 45 "--revision", |
45 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" | 46 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" |
46 ], | 47 ], |
| 48 "cwd": "[SLAVE_BUILD]", |
47 "name": "bot_update", | 49 "name": "bot_update", |
48 "~followup_annotations": [ | 50 "~followup_annotations": [ |
49 "@@@STEP_LOG_LINE@json.output@{@@@", | 51 "@@@STEP_LOG_LINE@json.output@{@@@", |
50 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", | 52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", |
51 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", | 53 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", |
52 "@@@STEP_LOG_LINE@json.output@}@@@", | 54 "@@@STEP_LOG_LINE@json.output@}@@@", |
53 "@@@STEP_LOG_END@json.output@@@" | 55 "@@@STEP_LOG_END@json.output@@@" |
54 ] | 56 ] |
55 }, | 57 }, |
56 { | 58 { |
57 "cmd": [ | 59 "cmd": [ |
58 "python", | 60 "python", |
59 "-u", | 61 "-u", |
60 "[DEPOT_TOOLS]/gclient.py", | 62 "[DEPOT_TOOLS]/gclient.py", |
61 "config", | 63 "config", |
62 "--spec", | 64 "--spec", |
63 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]\n
target_os = ['android']" | 65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]\n
target_os = ['android']" |
64 ], | 66 ], |
| 67 "cwd": "[SLAVE_BUILD]", |
65 "name": "gclient setup" | 68 "name": "gclient setup" |
66 }, | 69 }, |
67 { | 70 { |
68 "cmd": [ | 71 "cmd": [ |
69 "python", | 72 "python", |
70 "-u", | 73 "-u", |
71 "[DEPOT_TOOLS]/gclient.py", | 74 "[DEPOT_TOOLS]/gclient.py", |
72 "sync", | 75 "sync", |
73 "--nohooks", | 76 "--nohooks", |
74 "--force", | 77 "--force", |
75 "--verbose", | 78 "--verbose", |
76 "--delete_unversioned_trees", | 79 "--delete_unversioned_trees", |
77 "--revision", | 80 "--revision", |
78 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 81 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
79 "--output-json", | 82 "--output-json", |
80 "/path/to/tmp/json" | 83 "/path/to/tmp/json" |
81 ], | 84 ], |
| 85 "cwd": "[SLAVE_BUILD]", |
82 "name": "gclient sync", | 86 "name": "gclient sync", |
83 "~followup_annotations": [ | 87 "~followup_annotations": [ |
84 "@@@STEP_LOG_LINE@json.output@{@@@", | 88 "@@@STEP_LOG_LINE@json.output@{@@@", |
85 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 89 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
86 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 90 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
87 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | 91 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
88 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 92 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
89 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", | 93 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", |
90 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", | 94 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", |
91 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 95 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 23 matching lines...) Loading... |
115 { | 119 { |
116 "cmd": [ | 120 "cmd": [ |
117 "python", | 121 "python", |
118 "-u", | 122 "-u", |
119 "\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", | 123 "\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", |
120 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", | 124 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", |
121 "[SLAVE_BUILD]/src/out/Debug/test_logs", | 125 "[SLAVE_BUILD]/src/out/Debug/test_logs", |
122 "[SLAVE_BUILD]/src/out/build_product.zip", | 126 "[SLAVE_BUILD]/src/out/build_product.zip", |
123 "[SLAVE_BUILD]/src" | 127 "[SLAVE_BUILD]/src" |
124 ], | 128 ], |
| 129 "cwd": "[SLAVE_BUILD]", |
125 "name": "clean local files", | 130 "name": "clean local files", |
126 "~followup_annotations": [ | 131 "~followup_annotations": [ |
127 "@@@STEP_LOG_LINE@python.inline@@@@", | 132 "@@@STEP_LOG_LINE@python.inline@@@@", |
128 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 133 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
129 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 134 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
130 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
131 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 136 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
132 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 137 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
133 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 138 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
134 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 139 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
135 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 140 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
136 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 141 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
137 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 142 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
138 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 143 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
139 "@@@STEP_LOG_END@python.inline@@@" | 144 "@@@STEP_LOG_END@python.inline@@@" |
140 ] | 145 ] |
141 }, | 146 }, |
142 { | 147 { |
143 "cmd": [ | 148 "cmd": [ |
144 "python", | 149 "python", |
145 "-u", | 150 "-u", |
146 "[DEPOT_TOOLS]/gclient.py", | 151 "[DEPOT_TOOLS]/gclient.py", |
147 "runhooks" | 152 "runhooks" |
148 ], | 153 ], |
| 154 "cwd": "[SLAVE_BUILD]", |
149 "env": { | 155 "env": { |
150 "GYP_CROSSCOMPILE": "1", | 156 "GYP_CROSSCOMPILE": "1", |
151 "GYP_DEFINES": "OS=android component=static_library disable_file_support=1
disable_ftp_support=1 enable_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' ta
rget_arch=arm use_goma=0 use_icu_alternatives_on_android=1", | 157 "GYP_DEFINES": "OS=android component=static_library disable_file_support=1
disable_ftp_support=1 enable_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' ta
rget_arch=arm use_goma=0 use_icu_alternatives_on_android=1", |
152 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 158 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
153 }, | 159 }, |
154 "name": "gclient runhooks" | 160 "name": "gclient runhooks" |
155 }, | 161 }, |
156 { | 162 { |
157 "cmd": [ | 163 "cmd": [ |
158 "python", | 164 "python", |
159 "-u", | 165 "-u", |
160 "[BUILD]/scripts/slave/compile.py", | 166 "[BUILD]/scripts/slave/compile.py", |
161 "--target", | 167 "--target", |
162 "Debug", | 168 "Debug", |
163 "--src-dir", | 169 "--src-dir", |
164 "[SLAVE_BUILD]/src", | 170 "[SLAVE_BUILD]/src", |
165 "--build-tool", | 171 "--build-tool", |
166 "ninja", | 172 "ninja", |
167 "--compiler", | 173 "--compiler", |
168 "goma", | 174 "goma", |
169 "--goma-dir", | 175 "--goma-dir", |
170 "[BUILD]/goma", | 176 "[BUILD]/goma", |
171 "--clobber", | 177 "--clobber", |
172 "--", | 178 "--", |
173 "cronet_package", | 179 "cronet_package", |
174 "cronet_sample_test_apk", | 180 "cronet_sample_test_apk", |
175 "cronet_test_instrumentation_apk" | 181 "cronet_test_instrumentation_apk" |
176 ], | 182 ], |
| 183 "cwd": "[SLAVE_BUILD]", |
177 "env": { | 184 "env": { |
178 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 185 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
179 }, | 186 }, |
180 "name": "compile" | 187 "name": "compile" |
181 }, | 188 }, |
182 { | 189 { |
183 "cmd": [ | 190 "cmd": [ |
184 "[BUILD]/scripts/slave/daemonizer.py", | 191 "[BUILD]/scripts/slave/daemonizer.py", |
185 "--", | 192 "--", |
186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 193 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
187 "[SLAVE_BUILD]/src/out/logcat" | 194 "[SLAVE_BUILD]/src/out/logcat" |
188 ], | 195 ], |
| 196 "cwd": "[SLAVE_BUILD]", |
189 "env": { | 197 "env": { |
190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 198 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
191 }, | 199 }, |
192 "name": "spawn_logcat_monitor" | 200 "name": "spawn_logcat_monitor" |
193 }, | 201 }, |
194 { | 202 { |
195 "cmd": [ | 203 "cmd": [ |
196 "python", | 204 "python", |
197 "-u", | 205 "-u", |
198 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", | 206 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", |
199 "--adb-path", | 207 "--adb-path", |
200 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 208 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
201 ], | 209 ], |
| 210 "cwd": "[SLAVE_BUILD]", |
202 "env": { | 211 "env": { |
203 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 212 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
204 }, | 213 }, |
205 "name": "authorize_adb_devices" | 214 "name": "authorize_adb_devices" |
206 }, | 215 }, |
207 { | 216 { |
208 "cmd": [ | 217 "cmd": [ |
209 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 218 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
210 "--json-output", | 219 "--json-output", |
211 "/path/to/tmp/json" | 220 "/path/to/tmp/json" |
212 ], | 221 ], |
| 222 "cwd": "[SLAVE_BUILD]", |
213 "env": { | 223 "env": { |
214 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 224 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
215 }, | 225 }, |
216 "name": "device_status_check", | 226 "name": "device_status_check", |
217 "~followup_annotations": [ | 227 "~followup_annotations": [ |
218 "@@@STEP_TEXT@Online devices: 1@@@", | 228 "@@@STEP_TEXT@Online devices: 1@@@", |
219 "@@@STEP_LOG_LINE@json.output@[@@@", | 229 "@@@STEP_LOG_LINE@json.output@[@@@", |
220 "@@@STEP_LOG_LINE@json.output@ {@@@", | 230 "@@@STEP_LOG_LINE@json.output@ {@@@", |
221 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 231 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
222 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 232 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
(...skipping 20 matching lines...) Loading... |
243 ] | 253 ] |
244 }, | 254 }, |
245 { | 255 { |
246 "cmd": [ | 256 "cmd": [ |
247 "python", | 257 "python", |
248 "-u", | 258 "-u", |
249 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 259 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
250 "-t", | 260 "-t", |
251 "Debug" | 261 "Debug" |
252 ], | 262 ], |
| 263 "cwd": "[SLAVE_BUILD]", |
253 "env": { | 264 "env": { |
254 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 265 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
255 }, | 266 }, |
256 "name": "provision_devices" | 267 "name": "provision_devices" |
257 }, | 268 }, |
258 { | 269 { |
259 "cmd": [ | 270 "cmd": [ |
260 "python", | 271 "python", |
261 "-u", | 272 "-u", |
262 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 273 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
263 "gtest", | 274 "gtest", |
264 "-s", | 275 "-s", |
265 "net_unittests", | 276 "net_unittests", |
266 "--verbose" | 277 "--verbose" |
267 ], | 278 ], |
| 279 "cwd": "[SLAVE_BUILD]", |
268 "env": { | 280 "env": { |
269 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 281 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
270 }, | 282 }, |
271 "name": "net_unittests" | 283 "name": "net_unittests" |
272 }, | 284 }, |
273 { | 285 { |
274 "cmd": [ | 286 "cmd": [ |
275 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 287 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
276 "--apk", | 288 "--apk", |
277 "CronetSample.apk", | 289 "CronetSample.apk", |
278 "--apk_package", | 290 "--apk_package", |
279 "org.chromium.cronet_sample_apk" | 291 "org.chromium.cronet_sample_apk" |
280 ], | 292 ], |
| 293 "cwd": "[SLAVE_BUILD]", |
281 "env": { | 294 "env": { |
282 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 295 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
283 }, | 296 }, |
284 "name": "install CronetSample.apk" | 297 "name": "install CronetSample.apk" |
285 }, | 298 }, |
286 { | 299 { |
287 "cmd": [ | 300 "cmd": [ |
288 "python", | 301 "python", |
289 "-u", | 302 "-u", |
290 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 303 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
291 "instrumentation", | 304 "instrumentation", |
292 "--test-apk", | 305 "--test-apk", |
293 "CronetSampleTest", | 306 "CronetSampleTest", |
294 "--verbose" | 307 "--verbose" |
295 ], | 308 ], |
| 309 "cwd": "[SLAVE_BUILD]", |
296 "name": "Instrumentation test CronetSampleTest" | 310 "name": "Instrumentation test CronetSampleTest" |
297 }, | 311 }, |
298 { | 312 { |
299 "cmd": [ | 313 "cmd": [ |
300 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 314 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
301 "--apk", | 315 "--apk", |
302 "CronetTest.apk", | 316 "CronetTest.apk", |
303 "--apk_package", | 317 "--apk_package", |
304 "org.chromium.net" | 318 "org.chromium.net" |
305 ], | 319 ], |
| 320 "cwd": "[SLAVE_BUILD]", |
306 "env": { | 321 "env": { |
307 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 322 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
308 }, | 323 }, |
309 "name": "install CronetTest.apk" | 324 "name": "install CronetTest.apk" |
310 }, | 325 }, |
311 { | 326 { |
312 "cmd": [ | 327 "cmd": [ |
313 "python", | 328 "python", |
314 "-u", | 329 "-u", |
315 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 330 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
316 "instrumentation", | 331 "instrumentation", |
317 "--test-apk", | 332 "--test-apk", |
318 "CronetTestInstrumentation", | 333 "CronetTestInstrumentation", |
319 "--verbose" | 334 "--verbose" |
320 ], | 335 ], |
| 336 "cwd": "[SLAVE_BUILD]", |
321 "name": "Instrumentation test CronetTestInstrumentation" | 337 "name": "Instrumentation test CronetTestInstrumentation" |
322 }, | 338 }, |
323 { | 339 { |
324 "cmd": [ | 340 "cmd": [ |
325 "python", | 341 "python", |
326 "-u", | 342 "-u", |
327 "[BUILD]/scripts/slave/tee.py", | 343 "[BUILD]/scripts/slave/tee.py", |
328 "[SLAVE_BUILD]/src/out/Debug/full_log", | 344 "[SLAVE_BUILD]/src/out/Debug/full_log", |
329 "--", | 345 "--", |
330 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 346 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
331 "[SLAVE_BUILD]/src/out/logcat" | 347 "[SLAVE_BUILD]/src/out/logcat" |
332 ], | 348 ], |
| 349 "cwd": "[SLAVE_BUILD]", |
333 "name": "logcat_dump" | 350 "name": "logcat_dump" |
334 }, | 351 }, |
335 { | 352 { |
336 "cmd": [ | 353 "cmd": [ |
337 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 354 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
338 "--arch", | 355 "--arch", |
339 "arm", | 356 "arm", |
340 "--more-info", | 357 "--more-info", |
341 "[SLAVE_BUILD]/src/out/Debug/full_log" | 358 "[SLAVE_BUILD]/src/out/Debug/full_log" |
342 ], | 359 ], |
| 360 "cwd": "[SLAVE_BUILD]", |
343 "env": { | 361 "env": { |
344 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 362 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
345 }, | 363 }, |
346 "name": "stack_tool_with_logcat_dump" | 364 "name": "stack_tool_with_logcat_dump" |
347 }, | 365 }, |
348 { | 366 { |
349 "cmd": [ | 367 "cmd": [ |
350 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 368 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
351 "-a", | 369 "-a", |
352 "-s", | 370 "-s", |
353 "-w" | 371 "-w" |
354 ], | 372 ], |
| 373 "cwd": "[SLAVE_BUILD]", |
355 "env": { | 374 "env": { |
356 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 375 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
357 }, | 376 }, |
358 "name": "stack_tool_for_tombstones" | 377 "name": "stack_tool_for_tombstones" |
359 }, | 378 }, |
360 { | 379 { |
361 "cmd": [ | 380 "cmd": [ |
362 "python", | 381 "python", |
363 "-u", | 382 "-u", |
364 "\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", | 383 "\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", |
365 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" | 384 "[SLAVE_BUILD]/src/out/Debug/test_logs/*.log" |
366 ], | 385 ], |
| 386 "cwd": "[SLAVE_BUILD]", |
367 "name": "test_report", | 387 "name": "test_report", |
368 "~followup_annotations": [ | 388 "~followup_annotations": [ |
369 "@@@STEP_LOG_LINE@python.inline@@@@", | 389 "@@@STEP_LOG_LINE@python.inline@@@@", |
370 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 390 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
371 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 391 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
372 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 392 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
373 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 393 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
374 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 394 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
375 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 395 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
376 "@@@STEP_LOG_END@python.inline@@@" | 396 "@@@STEP_LOG_END@python.inline@@@" |
377 ] | 397 ] |
378 } | 398 } |
379 ] | 399 ] |
OLD | NEW |