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

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

Issue 2434403002: Revert of [Android] Always use devil's adb in the perf recipes. (RELAND) (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()\ndevil_env.config.PrefetchPaths(dependencies=['adb '])\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_LINE@python.inline@devil_env.config.PrefetchPaths(dependencie s=['adb'])@@@",
178 "@@@STEP_LOG_END@python.inline@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
185 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 167 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
186 "--", 168 "--",
187 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 169 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
188 "--force-version", 170 "--force-version",
189 "4.7", 171 "4.7",
190 "----", 172 "----",
191 "cp", 173 "cp",
192 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip", 174 "gs://chrome-perf/Android Builder/full-build-linux_deadbeef.zip",
193 "[SLAVE_BUILD]/src/out/build_product.zip" 175 "[SLAVE_BUILD]/src/out/build_product.zip"
194 ], 176 ],
195 "name": "gsutil download_build_product" 177 "name": "gsutil download_build_product"
196 }, 178 },
197 { 179 {
198 "cmd": [ 180 "cmd": [
199 "unzip", 181 "unzip",
200 "-o", 182 "-o",
201 "[SLAVE_BUILD]/src/out/build_product.zip" 183 "[SLAVE_BUILD]/src/out/build_product.zip"
202 ], 184 ],
203 "cwd": "[SLAVE_BUILD]/src", 185 "cwd": "[SLAVE_BUILD]/src",
204 "name": "unzip_build_product" 186 "name": "unzip_build_product"
205 }, 187 },
206 { 188 {
207 "cmd": [ 189 "cmd": [
208 "python", 190 "python",
209 "-u", 191 "-u",
210 "[SLAVE_BUILD]/src/build/symlink.py", 192 "[SLAVE_BUILD]/src/build/symlink.py",
211 "-f", 193 "-f",
212 "[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",
213 "~/adb" 195 "~/adb"
214 ], 196 ],
215 "name": "create adb symlink" 197 "name": "create adb symlink"
216 }, 198 },
217 { 199 {
218 "cmd": [ 200 "cmd": [
219 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 201 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
220 "--", 202 "--",
221 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 203 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
222 "[SLAVE_BUILD]/src/out/logcat", 204 "[SLAVE_BUILD]/src/out/logcat",
223 "[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"
224 ], 206 ],
225 "env": { 207 "env": {
226 "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",
227 "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"
228 }, 210 },
229 "name": "spawn_logcat_monitor" 211 "name": "spawn_logcat_monitor"
230 }, 212 },
231 { 213 {
232 "cmd": [ 214 "cmd": [
233 "python", 215 "python",
234 "-u", 216 "-u",
235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 217 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
236 "--action", 218 "--action",
237 "restart", 219 "restart",
238 "--pid-file-path", 220 "--pid-file-path",
239 "/tmp/device_monitor.pid", 221 "/tmp/device_monitor.pid",
240 "--", 222 "--",
241 "[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",
242 "--adb-path", 224 "--adb-path",
243 "[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",
244 "--blacklist-file", 226 "--blacklist-file",
245 "[SLAVE_BUILD]/src/out/bad_devices.json" 227 "[SLAVE_BUILD]/src/out/bad_devices.json"
246 ], 228 ],
247 "name": "spawn_device_monitor" 229 "name": "spawn_device_monitor"
248 }, 230 },
249 { 231 {
250 "cmd": [ 232 "cmd": [
251 "python", 233 "python",
252 "-u", 234 "-u",
253 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 235 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
254 "--verbose", 236 "--verbose",
255 "--adb-path", 237 "--adb-path",
256 "[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"
257 ], 239 ],
258 "env": { 240 "env": {
259 "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",
260 "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"
261 }, 243 },
262 "name": "authorize_adb_devices" 244 "name": "authorize_adb_devices"
263 }, 245 },
264 { 246 {
265 "cmd": [ 247 "cmd": [
266 "[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",
267 "--blacklist-file", 249 "--blacklist-file",
268 "[SLAVE_BUILD]/src/out/bad_devices.json", 250 "[SLAVE_BUILD]/src/out/bad_devices.json",
269 "--known-devices-file", 251 "--known-devices-file",
270 "[HOME]/.android/known_devices.json", 252 "[HOME]/.android/known_devices.json",
271 "--adb-path", 253 "--adb-path",
272 "[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",
273 "-v", 255 "-v",
274 "--enable-usb-reset" 256 "--enable-usb-reset"
275 ], 257 ],
276 "env": { 258 "env": {
277 "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",
278 "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"
279 }, 261 },
280 "name": "device_recovery" 262 "name": "device_recovery"
281 }, 263 },
282 { 264 {
283 "cmd": [ 265 "cmd": [
284 "python", 266 "python",
285 "-u", 267 "-u",
286 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 268 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
287 "--adb-path", 269 "--adb-path",
288 "[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",
289 "--blacklist-file", 271 "--blacklist-file",
290 "[SLAVE_BUILD]/src/out/bad_devices.json", 272 "[SLAVE_BUILD]/src/out/bad_devices.json",
291 "--output-device-blacklist", 273 "--output-device-blacklist",
292 "/path/to/tmp/json", 274 "/path/to/tmp/json",
293 "-t", 275 "-t",
294 "Release", 276 "Release",
295 "--min-battery-level", 277 "--min-battery-level",
296 "95", 278 "95",
297 "--disable-network", 279 "--disable-network",
298 "--disable-java-debug", 280 "--disable-java-debug",
(...skipping 10 matching lines...) Expand all
309 "@@@STEP_EXCEPTION@@@" 291 "@@@STEP_EXCEPTION@@@"
310 ] 292 ]
311 }, 293 },
312 { 294 {
313 "name": "$result", 295 "name": "$result",
314 "reason": "Infra Failure: Step('provision_devices') returned 1", 296 "reason": "Infra Failure: Step('provision_devices') returned 1",
315 "recipe_result": null, 297 "recipe_result": null,
316 "status_code": 1 298 "status_code": 1
317 } 299 }
318 ] 300 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698