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

Side by Side Diff: infra/recipes/android/perf.expected/provision_devices.json

Issue 2437013002: Revert of [Android] Always use devil's adb in the perf recipes. (Closed)
Patch Set: Created 4 years, 2 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 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat a/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src /data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_test s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int ernal.git'}]\ntarget_os = ['android']", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat a/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src /data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_test s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name': 'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int ernal.git'}]\ntarget_os = ['android']",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
159 "@@@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))@@@" ,
160 "@@@STEP_LOG_END@python.inline@@@" 160 "@@@STEP_LOG_END@python.inline@@@"
161 ] 161 ]
162 }, 162 },
163 { 163 {
164 "cmd": [ 164 "cmd": [
165 "python", 165 "python",
166 "-u", 166 "-u",
167 "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\n devil_env.config.Initialize()\n",
168 "[SLAVE_BUILD]/src/third_party/catapult/devil"
169 ],
170 "name": "initialize devil",
171 "~followup_annotations": [
172 "@@@STEP_LOG_LINE@python.inline@@@@",
173 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
174 "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@",
175 "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@",
176 "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@",
177 "@@@STEP_LOG_END@python.inline@@@"
178 ]
179 },
180 {
181 "cmd": [
182 "python",
183 "-u",
184 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 167 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
185 "--", 168 "--",
186 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 169 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
187 "--force-version", 170 "--force-version",
188 "4.7", 171 "4.7",
189 "----", 172 "----",
190 "cp", 173 "cp",
191 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip", 174 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip",
192 "[SLAVE_BUILD]/src/out/build_product.zip" 175 "[SLAVE_BUILD]/src/out/build_product.zip"
193 ], 176 ],
194 "name": "gsutil download_build_product" 177 "name": "gsutil download_build_product"
195 }, 178 },
196 { 179 {
197 "cmd": [ 180 "cmd": [
198 "unzip", 181 "unzip",
199 "-o", 182 "-o",
200 "[SLAVE_BUILD]/src/out/build_product.zip" 183 "[SLAVE_BUILD]/src/out/build_product.zip"
201 ], 184 ],
202 "cwd": "[SLAVE_BUILD]/src", 185 "cwd": "[SLAVE_BUILD]/src",
203 "name": "unzip_build_product" 186 "name": "unzip_build_product"
204 }, 187 },
205 { 188 {
206 "cmd": [ 189 "cmd": [
207 "python", 190 "python",
208 "-u", 191 "-u",
209 "[SLAVE_BUILD]/src/build/symlink.py", 192 "[SLAVE_BUILD]/src/build/symlink.py",
210 "-f", 193 "-f",
211 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db", 194 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
212 "~/adb" 195 "~/adb"
213 ], 196 ],
214 "name": "create adb symlink" 197 "name": "create adb symlink"
215 }, 198 },
216 { 199 {
217 "cmd": [ 200 "cmd": [
218 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 201 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
219 "--", 202 "--",
220 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 203 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
221 "[SLAVE_BUILD]/src/out/logcat", 204 "[SLAVE_BUILD]/src/out/logcat",
222 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db" 205 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
223 ], 206 ],
224 "env": { 207 "env": {
225 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 208 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
226 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 209 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
227 }, 210 },
228 "name": "spawn_logcat_monitor" 211 "name": "spawn_logcat_monitor"
229 }, 212 },
230 { 213 {
231 "cmd": [ 214 "cmd": [
232 "python", 215 "python",
233 "-u", 216 "-u",
234 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 217 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
235 "--action", 218 "--action",
236 "restart", 219 "restart",
237 "--pid-file-path", 220 "--pid-file-path",
238 "/tmp/device_monitor.pid", 221 "/tmp/device_monitor.pid",
239 "--", 222 "--",
240 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py", 223 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_m onitor.py",
241 "--adb-path", 224 "--adb-path",
242 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db", 225 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
243 "--blacklist-file", 226 "--blacklist-file",
244 "[SLAVE_BUILD]/src/out/bad_devices.json" 227 "[SLAVE_BUILD]/src/out/bad_devices.json"
245 ], 228 ],
246 "name": "spawn_device_monitor" 229 "name": "spawn_device_monitor"
247 }, 230 },
248 { 231 {
249 "cmd": [ 232 "cmd": [
250 "python", 233 "python",
251 "-u", 234 "-u",
252 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
253 "--verbose", 236 "--verbose",
254 "--adb-path", 237 "--adb-path",
255 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db" 238 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
256 ], 239 ],
257 "env": { 240 "env": {
258 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 241 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
259 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
260 }, 243 },
261 "name": "authorize_adb_devices" 244 "name": "authorize_adb_devices"
262 }, 245 },
263 { 246 {
264 "cmd": [ 247 "cmd": [
265 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py", 248 "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_r ecovery.py",
266 "--blacklist-file", 249 "--blacklist-file",
267 "[SLAVE_BUILD]/src/out/bad_devices.json", 250 "[SLAVE_BUILD]/src/out/bad_devices.json",
268 "--known-devices-file", 251 "--known-devices-file",
269 "[HOME]/.android/known_devices.json", 252 "[HOME]/.android/known_devices.json",
270 "--adb-path", 253 "--adb-path",
271 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db", 254 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
272 "-v", 255 "-v",
273 "--enable-usb-reset" 256 "--enable-usb-reset"
274 ], 257 ],
275 "env": { 258 "env": {
276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 259 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
277 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 260 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
278 }, 261 },
279 "name": "device_recovery" 262 "name": "device_recovery"
280 }, 263 },
281 { 264 {
282 "cmd": [ 265 "cmd": [
283 "python", 266 "python",
284 "-u", 267 "-u",
285 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 268 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
286 "--adb-path", 269 "--adb-path",
287 "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/a db", 270 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
288 "--blacklist-file", 271 "--blacklist-file",
289 "[SLAVE_BUILD]/src/out/bad_devices.json", 272 "[SLAVE_BUILD]/src/out/bad_devices.json",
290 "--output-device-blacklist", 273 "--output-device-blacklist",
291 "/path/to/tmp/json", 274 "/path/to/tmp/json",
292 "-t", 275 "-t",
293 "Release", 276 "Release",
294 "--min-battery-level", 277 "--min-battery-level",
295 "95", 278 "95",
296 "--disable-network", 279 "--disable-network",
297 "--disable-java-debug", 280 "--disable-java-debug",
(...skipping 10 matching lines...) Expand all
308 "@@@STEP_EXCEPTION@@@" 291 "@@@STEP_EXCEPTION@@@"
309 ] 292 ]
310 }, 293 },
311 { 294 {
312 "name": "$result", 295 "name": "$result",
313 "reason": "Infra Failure: Step('provision_devices') returned 1", 296 "reason": "Infra Failure: Step('provision_devices') returned 1",
314 "recipe_result": null, 297 "recipe_result": null,
315 "status_code": 1 298 "status_code": 1
316 } 299 }
317 ] 300 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698