| Index: scripts/slave/recipes/android/perf.expected/src_side_script_fails.json
|
| diff --git a/scripts/slave/recipes/android/perf.expected/src_side_script_fails.json b/scripts/slave/recipes/android/perf.expected/src_side_script_fails.json
|
| index 4a097b92971ff0302a399a11a15280bd5cc14b21..1e57c9e8d6fe029a4204600229a6c8a19ba50d0d 100644
|
| --- a/scripts/slave/recipes/android/perf.expected/src_side_script_fails.json
|
| +++ b/scripts/slave/recipes/android/perf.expected/src_side_script_fails.json
|
| @@ -242,21 +242,68 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
|
| + "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_recovery.py",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--known-devices-file",
|
| + "[CACHE]/known_android_devices",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "-v"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "device_recovery"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "[SLAVE_BUILD]/src/build/android/provision_devices.py",
|
| "--adb-path",
|
| "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| "--blacklist-file",
|
| "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| + "--output-device-blacklist",
|
| + "/path/to/tmp/json",
|
| + "-t",
|
| + "Release",
|
| + "--min-battery-level",
|
| + "95",
|
| + "--disable-network",
|
| + "--disable-java-debug",
|
| + "--max-battery-temp",
|
| + "350"
|
| + ],
|
| + "env": {
|
| + "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| + "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| + },
|
| + "name": "provision_devices"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/src/third_party/catapult/devil/devil/android/tools/device_status.py",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| + "--blacklist-file",
|
| + "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| "--known-devices-file",
|
| - "[CACHE]/known_android_devices"
|
| + "[CACHE]/known_android_devices",
|
| + "--buildbot-path",
|
| + "/home/chrome-bot/.adb_device_info",
|
| + "--adb-path",
|
| + "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| + "-v",
|
| + "--overwrite-known-devices-files"
|
| ],
|
| "env": {
|
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| },
|
| - "name": "device_status_check",
|
| + "name": "device_status",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@Online devices: 1@@@",
|
| "@@@STEP_LOG_LINE@json.output@[@@@",
|
| @@ -356,32 +403,6 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/src/build/android/provision_devices.py",
|
| - "--adb-path",
|
| - "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
|
| - "--blacklist-file",
|
| - "[SLAVE_BUILD]/src/out/bad_devices.json",
|
| - "--output-device-blacklist",
|
| - "/path/to/tmp/json",
|
| - "-t",
|
| - "Release",
|
| - "--min-battery-level",
|
| - "95",
|
| - "--disable-network",
|
| - "--disable-java-debug",
|
| - "--max-battery-temp",
|
| - "350"
|
| - ],
|
| - "env": {
|
| - "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json",
|
| - "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s"
|
| - },
|
| - "name": "provision_devices"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
|
| "--action",
|
| "restart",
|
|
|