I've been trying to see what the perf impact on Android of a change would be, like this:
tools/perf/run_benchmark trybot android-nexus6 blink_perf.bindings --story-filter=structured-clone --page-repeat=20 --also-run-disabled-tests
But while this works for linux, on Android bots it can't seem to find the browser it just compiled (either android-nexus6 or android-one). I see this in the failure output:
/usr/bin/python /b/c/b/android_nexus6_perf_bisect/src/tools/perf/run_benchmark --browser=android-chromium blink_perf.bindings --story-filter=structured-clone --page-repeat=20 --also-run-disabled-tests --verbose --reset-results --upload-results --results-label=Patch
CRITICAL:root:(TimeoutThread-1-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 1 of 3: AdbCommandFailedError('adb devices: failed with exit status 1 and output:\n- ** daemon still not running\n- error: cannot connect to daemon: Connection refused\n- error: cannot connect to daemon: Connection refused\n- List of devices attached\n- adb server is out of date. killing...\n- * daemon started successfully *\n',)
CRITICAL:root:(TimeoutThread-1-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 1 of 3: AdbCommandFailedError("adb devices: failed with exit status 1 and output:\n- cannot bind 'tcp:5037': Address already in use\n- ADB server didn't ACK\n- * failed to start daemon *\n- error: \n- error: \n- List of devices attached\n- adb server is out of date. killing...\n",)
CRITICAL:root:(TimeoutThread-2-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 2 of 3: AdbCommandFailedError("adb devices: failed with exit status 1 and output:\n- cannot bind 'tcp:5037': Address already in use\n- ADB server didn't ACK\n- * failed to start daemon *\n- error: \n- error: \n- List of devices attached\n- adb server is out of date. killing...\n",)
CRITICAL:root:(TimeoutThread-1-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 1 of 3: AdbCommandFailedError('adb devices: failed with exit status 1 and output:\n- ** daemon still not running\n- error: cannot connect to daemon: Connection refused\n- error: cannot connect to daemon: Connection refused\n- List of devices attached\n- adb server is out of date. killing...\n- * daemon started successfully *\n',)
CRITICAL:root:(TimeoutThread-1-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 1 of 3: AdbCommandFailedError("adb devices: failed with exit status 1 and output:\n- cannot bind 'tcp:5037': Address already in use\n- ADB server didn't ACK\n- * failed to start daemon *\n- error: \n- error: \n- List of devices attached\n- adb server is out of date. killing...\n",)
CRITICAL:root:(TimeoutThread-2-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 2 of 3: AdbCommandFailedError("adb devices: failed with exit status 1 and output:\n- cannot bind 'tcp:5037': Address already in use\n- ADB server didn't ACK\n- * failed to start daemon *\n- error: \n- error: \n- List of devices attached\n- adb server is out of date. killing...\n",)
INFO:devil.utils.cmd_helper:[host]> /b/c/b/android_nexus6_perf_bisect/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb devices
CRITICAL:root:(TimeoutThread-1-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 1 of 3: AdbCommandFailedError("adb devices: failed with exit status 1 and output:\n- cannot bind 'tcp:5037': Address already in use\n- ADB server didn't ACK\n- * failed to start daemon *\n- error: \n- error: \n- List of devices attached\n- adb server is out of date. killing...\n",)
INFO:devil.utils.cmd_helper:[host]> /b/c/b/android_nexus6_perf_bisect/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb devices
CRITICAL:root:(TimeoutThread-2-for-MainThread) Exception on _RunAdbCmd(<class 'devil.android.sdk.adb_wrapper.AdbWrapper'>, ['devices'], retries=2, timeout=30), attempt 2 of 3: AdbCommandFailedError("adb devices: failed with exit status 1 and output:\n- cannot bind 'tcp:5037': Address already in use\n- ADB server didn't ACK\n- * failed to start daemon *\n- error: \n- error: \n- List of devices attached\n- adb server is out of date. killing...\n",)
INFO:devil.utils.cmd_helper:[host]> /b/c/b/android_nexus6_perf_bisect/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb devices
INFO:devil.utils.cmd_helper:[host]> /b/c/b/android_nexus6_perf_bisect/src/third_party/catapult/devil/bin/deps/linux2/x86_64/bin/adb kill-server
Cannot find browser of type android-chromium. To list out all available browsers, rerun your command with --browser=list
https://build.chromium.org/p/tryserver.chromium.perf/builders/android_one_perf_bisect/builds/1750
https://build.chromium.org/p/tryserver.chromium.perf/builders/android_nexus6_perf_bisect/builds/2684
Comment 1 by nedngu...@google.com
, Oct 21 2016