Index: infra/recipes/android/perf.expected/src_side_script_fails.json |
diff --git a/infra/recipes/android/perf.expected/src_side_script_fails.json b/infra/recipes/android/perf.expected/src_side_script_fails.json |
index d07ec95e25322614faafe319f45189191d556df9..67d393b609ee071fa4b6d06aa086daf65343f1bf 100644 |
--- a/infra/recipes/android/perf.expected/src_side_script_fails.json |
+++ b/infra/recipes/android/perf.expected/src_side_script_fails.json |
@@ -173,6 +173,24 @@ |
"cmd": [ |
"python", |
"-u", |
+ "\nimport sys\nsys.path.append(sys.argv[1])\nfrom devil import devil_env\ndevil_env.config.Initialize()\ndevil_env.config.PrefetchPaths(dependencies=['adb'])\n", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil" |
+ ], |
+ "name": "initialize devil", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@python.inline@@@@", |
+ "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
+ "@@@STEP_LOG_LINE@python.inline@sys.path.append(sys.argv[1])@@@", |
+ "@@@STEP_LOG_LINE@python.inline@from devil import devil_env@@@", |
+ "@@@STEP_LOG_LINE@python.inline@devil_env.config.Initialize()@@@", |
+ "@@@STEP_LOG_LINE@python.inline@devil_env.config.PrefetchPaths(dependencies=['adb'])@@@", |
+ "@@@STEP_LOG_END@python.inline@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
"RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
"--", |
"RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
@@ -200,7 +218,7 @@ |
"-u", |
"[SLAVE_BUILD]/src/build/symlink.py", |
"-f", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"~/adb" |
], |
"name": "create adb symlink" |
@@ -211,7 +229,7 @@ |
"--", |
"[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
"[SLAVE_BUILD]/src/out/logcat", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb" |
], |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
@@ -231,7 +249,7 @@ |
"--", |
"[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_monitor.py", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json" |
], |
@@ -244,7 +262,7 @@ |
"RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py", |
"--verbose", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb" |
], |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
@@ -260,7 +278,7 @@ |
"--known-devices-file", |
"[HOME]/.android/known_devices.json", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"-v", |
"--enable-usb-reset" |
], |
@@ -276,7 +294,7 @@ |
"-u", |
"[SLAVE_BUILD]/src/build/android/provision_devices.py", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--output-device-blacklist", |
@@ -308,7 +326,7 @@ |
"--buildbot-path", |
"/home/chrome-bot/.adb_device_info", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"-v", |
"--overwrite-known-devices-files" |
], |
@@ -430,7 +448,7 @@ |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--release" |
], |
"env": { |
@@ -620,7 +638,7 @@ |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb" |
], |
"env": { |
"CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
@@ -677,7 +695,7 @@ |
"page_cycler.foo", |
"--verbose", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--enable-platform-mode" |
@@ -729,7 +747,7 @@ |
"perf_test.foo", |
"--verbose", |
"--adb-path", |
- "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
+ "[SLAVE_BUILD]/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb", |
"--blacklist-file", |
"[SLAVE_BUILD]/src/out/bad_devices.json", |
"--enable-platform-mode" |