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...) Expand all Loading... |
37 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_os = ['android']", | 38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_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'}]\ntarg
et_os = ['android']" | 65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True
, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg
et_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...) Expand all 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/Release/debug_info_dumps", | 124 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
121 "[SLAVE_BUILD]/src/out/Release/test_logs", | 125 "[SLAVE_BUILD]/src/out/Release/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=1 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=1 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 "Release", | 168 "Release", |
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 "python", | 191 "python", |
185 "-u", | 192 "-u", |
186 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 193 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
187 "--", | 194 "--", |
188 "[DEPOT_TOOLS]/gsutil.py", | 195 "[DEPOT_TOOLS]/gsutil.py", |
189 "--force-version", | 196 "--force-version", |
190 "3.25", | 197 "3.25", |
191 "--", | 198 "--", |
192 "cp", | 199 "cp", |
193 "[SLAVE_BUILD]/src/out/Release/cronet/VERSION", | 200 "[SLAVE_BUILD]/src/out/Release/cronet/VERSION", |
194 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00/VERSION" | 201 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00/VERSION" |
195 ], | 202 ], |
| 203 "cwd": "[SLAVE_BUILD]", |
196 "name": "gsutil upload_cronet_version", | 204 "name": "gsutil upload_cronet_version", |
197 "~followup_annotations": [ | 205 "~followup_annotations": [ |
198 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@" | 206 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@" |
199 ] | 207 ] |
200 }, | 208 }, |
201 { | 209 { |
202 "cmd": [ | 210 "cmd": [ |
203 "python", | 211 "python", |
204 "-u", | 212 "-u", |
205 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 213 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
206 "--", | 214 "--", |
207 "[DEPOT_TOOLS]/gsutil.py", | 215 "[DEPOT_TOOLS]/gsutil.py", |
208 "--force-version", | 216 "--force-version", |
209 "3.25", | 217 "3.25", |
210 "--", | 218 "--", |
211 "cp", | 219 "cp", |
212 "-R", | 220 "-R", |
213 "[SLAVE_BUILD]/src/out/Release/cronet", | 221 "[SLAVE_BUILD]/src/out/Release/cronet", |
214 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00" | 222 "gs://chromium-cronet/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc
8ad589c8a00" |
215 ], | 223 ], |
| 224 "cwd": "[SLAVE_BUILD]", |
216 "name": "gsutil upload_cronet_package", | 225 "name": "gsutil upload_cronet_package", |
217 "~followup_annotations": [ | 226 "~followup_annotations": [ |
218 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" | 227 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro
net/android/cronet-Release-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" |
219 ] | 228 ] |
220 }, | 229 }, |
221 { | 230 { |
222 "cmd": [ | 231 "cmd": [ |
223 "[BUILD]/scripts/slave/daemonizer.py", | 232 "[BUILD]/scripts/slave/daemonizer.py", |
224 "--", | 233 "--", |
225 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 234 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
226 "[SLAVE_BUILD]/src/out/logcat" | 235 "[SLAVE_BUILD]/src/out/logcat" |
227 ], | 236 ], |
| 237 "cwd": "[SLAVE_BUILD]", |
228 "env": { | 238 "env": { |
229 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 239 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
230 }, | 240 }, |
231 "name": "spawn_logcat_monitor" | 241 "name": "spawn_logcat_monitor" |
232 }, | 242 }, |
233 { | 243 { |
234 "cmd": [ | 244 "cmd": [ |
235 "python", | 245 "python", |
236 "-u", | 246 "-u", |
237 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", | 247 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", |
238 "--adb-path", | 248 "--adb-path", |
239 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 249 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
240 ], | 250 ], |
| 251 "cwd": "[SLAVE_BUILD]", |
241 "env": { | 252 "env": { |
242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 253 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
243 }, | 254 }, |
244 "name": "authorize_adb_devices" | 255 "name": "authorize_adb_devices" |
245 }, | 256 }, |
246 { | 257 { |
247 "cmd": [ | 258 "cmd": [ |
248 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 259 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
249 "--json-output", | 260 "--json-output", |
250 "/path/to/tmp/json" | 261 "/path/to/tmp/json" |
251 ], | 262 ], |
| 263 "cwd": "[SLAVE_BUILD]", |
252 "env": { | 264 "env": { |
253 "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" |
254 }, | 266 }, |
255 "name": "device_status_check", | 267 "name": "device_status_check", |
256 "~followup_annotations": [ | 268 "~followup_annotations": [ |
257 "@@@STEP_TEXT@Online devices: 1@@@", | 269 "@@@STEP_TEXT@Online devices: 1@@@", |
258 "@@@STEP_LOG_LINE@json.output@[@@@", | 270 "@@@STEP_LOG_LINE@json.output@[@@@", |
259 "@@@STEP_LOG_LINE@json.output@ {@@@", | 271 "@@@STEP_LOG_LINE@json.output@ {@@@", |
260 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 272 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
261 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 273 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
(...skipping 20 matching lines...) Expand all Loading... |
282 ] | 294 ] |
283 }, | 295 }, |
284 { | 296 { |
285 "cmd": [ | 297 "cmd": [ |
286 "python", | 298 "python", |
287 "-u", | 299 "-u", |
288 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 300 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
289 "-t", | 301 "-t", |
290 "Release" | 302 "Release" |
291 ], | 303 ], |
| 304 "cwd": "[SLAVE_BUILD]", |
292 "env": { | 305 "env": { |
293 "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" |
294 }, | 307 }, |
295 "name": "provision_devices" | 308 "name": "provision_devices" |
296 }, | 309 }, |
297 { | 310 { |
298 "cmd": [ | 311 "cmd": [ |
299 "python", | 312 "python", |
300 "-u", | 313 "-u", |
301 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 314 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
302 "gtest", | 315 "gtest", |
303 "-s", | 316 "-s", |
304 "net_unittests", | 317 "net_unittests", |
305 "--verbose", | 318 "--verbose", |
306 "--release" | 319 "--release" |
307 ], | 320 ], |
| 321 "cwd": "[SLAVE_BUILD]", |
308 "env": { | 322 "env": { |
309 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
310 }, | 324 }, |
311 "name": "net_unittests" | 325 "name": "net_unittests" |
312 }, | 326 }, |
313 { | 327 { |
314 "cmd": [ | 328 "cmd": [ |
315 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 329 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
316 "--apk", | 330 "--apk", |
317 "CronetSample.apk", | 331 "CronetSample.apk", |
318 "--apk_package", | 332 "--apk_package", |
319 "org.chromium.cronet_sample_apk", | 333 "org.chromium.cronet_sample_apk", |
320 "--release" | 334 "--release" |
321 ], | 335 ], |
| 336 "cwd": "[SLAVE_BUILD]", |
322 "env": { | 337 "env": { |
323 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 338 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
324 }, | 339 }, |
325 "name": "install CronetSample.apk" | 340 "name": "install CronetSample.apk" |
326 }, | 341 }, |
327 { | 342 { |
328 "cmd": [ | 343 "cmd": [ |
329 "python", | 344 "python", |
330 "-u", | 345 "-u", |
331 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 346 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
332 "instrumentation", | 347 "instrumentation", |
333 "--test-apk", | 348 "--test-apk", |
334 "CronetSampleTest", | 349 "CronetSampleTest", |
335 "--verbose", | 350 "--verbose", |
336 "--release" | 351 "--release" |
337 ], | 352 ], |
| 353 "cwd": "[SLAVE_BUILD]", |
338 "name": "Instrumentation test CronetSampleTest" | 354 "name": "Instrumentation test CronetSampleTest" |
339 }, | 355 }, |
340 { | 356 { |
341 "cmd": [ | 357 "cmd": [ |
342 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 358 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
343 "--apk", | 359 "--apk", |
344 "CronetTest.apk", | 360 "CronetTest.apk", |
345 "--apk_package", | 361 "--apk_package", |
346 "org.chromium.net", | 362 "org.chromium.net", |
347 "--release" | 363 "--release" |
348 ], | 364 ], |
| 365 "cwd": "[SLAVE_BUILD]", |
349 "env": { | 366 "env": { |
350 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 367 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
351 }, | 368 }, |
352 "name": "install CronetTest.apk" | 369 "name": "install CronetTest.apk" |
353 }, | 370 }, |
354 { | 371 { |
355 "cmd": [ | 372 "cmd": [ |
356 "python", | 373 "python", |
357 "-u", | 374 "-u", |
358 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 375 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
359 "instrumentation", | 376 "instrumentation", |
360 "--test-apk", | 377 "--test-apk", |
361 "CronetTestInstrumentation", | 378 "CronetTestInstrumentation", |
362 "--verbose", | 379 "--verbose", |
363 "--release" | 380 "--release" |
364 ], | 381 ], |
| 382 "cwd": "[SLAVE_BUILD]", |
365 "name": "Instrumentation test CronetTestInstrumentation" | 383 "name": "Instrumentation test CronetTestInstrumentation" |
366 }, | 384 }, |
367 { | 385 { |
368 "cmd": [ | 386 "cmd": [ |
369 "python", | 387 "python", |
370 "-u", | 388 "-u", |
371 "[BUILD]/scripts/slave/tee.py", | 389 "[BUILD]/scripts/slave/tee.py", |
372 "[SLAVE_BUILD]/src/out/Release/full_log", | 390 "[SLAVE_BUILD]/src/out/Release/full_log", |
373 "--", | 391 "--", |
374 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 392 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
375 "[SLAVE_BUILD]/src/out/logcat" | 393 "[SLAVE_BUILD]/src/out/logcat" |
376 ], | 394 ], |
| 395 "cwd": "[SLAVE_BUILD]", |
377 "name": "logcat_dump" | 396 "name": "logcat_dump" |
378 }, | 397 }, |
379 { | 398 { |
380 "cmd": [ | 399 "cmd": [ |
381 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 400 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
382 "--arch", | 401 "--arch", |
383 "arm", | 402 "arm", |
384 "--more-info", | 403 "--more-info", |
385 "[SLAVE_BUILD]/src/out/Release/full_log" | 404 "[SLAVE_BUILD]/src/out/Release/full_log" |
386 ], | 405 ], |
| 406 "cwd": "[SLAVE_BUILD]", |
387 "env": { | 407 "env": { |
388 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 408 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
389 }, | 409 }, |
390 "name": "stack_tool_with_logcat_dump" | 410 "name": "stack_tool_with_logcat_dump" |
391 }, | 411 }, |
392 { | 412 { |
393 "cmd": [ | 413 "cmd": [ |
394 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 414 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
395 "-a", | 415 "-a", |
396 "-s", | 416 "-s", |
397 "-w" | 417 "-w" |
398 ], | 418 ], |
| 419 "cwd": "[SLAVE_BUILD]", |
399 "env": { | 420 "env": { |
400 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
401 }, | 422 }, |
402 "name": "stack_tool_for_tombstones" | 423 "name": "stack_tool_for_tombstones" |
403 }, | 424 }, |
404 { | 425 { |
405 "cmd": [ | 426 "cmd": [ |
406 "python", | 427 "python", |
407 "-u", | 428 "-u", |
408 "\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", | 429 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
409 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | 430 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
410 ], | 431 ], |
| 432 "cwd": "[SLAVE_BUILD]", |
411 "name": "test_report", | 433 "name": "test_report", |
412 "~followup_annotations": [ | 434 "~followup_annotations": [ |
413 "@@@STEP_LOG_LINE@python.inline@@@@", | 435 "@@@STEP_LOG_LINE@python.inline@@@@", |
414 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 436 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
415 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 437 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
416 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 438 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
417 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 439 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
418 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 440 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
419 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 441 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
420 "@@@STEP_LOG_END@python.inline@@@" | 442 "@@@STEP_LOG_END@python.inline@@@" |
421 ] | 443 ] |
422 } | 444 } |
423 ] | 445 ] |
OLD | NEW |