Disable live-lock kill daemon for tests.
I think this might be causing "no devices/emulators found"
issues in our long running gcstress tests if adbd gets killed.
Bug: 187295147
Bug: 142039427
Test: art/tools/buildbot-sync.sh
Change-Id: I0b5de3cd13cfde35f031f632760aa1dd679baf0d
diff --git a/tools/buildbot-setup-device.sh b/tools/buildbot-setup-device.sh
index 2176f47..5c6ddcd 100755
--- a/tools/buildbot-setup-device.sh
+++ b/tools/buildbot-setup-device.sh
@@ -51,6 +51,13 @@
seconds_per_hour=3600
+# b/187295147 : Disable live-lock kill daemon.
+# It can confuse long running processes for issues and kill them.
+# This usually manifests as temporarily lost adb connection.
+echo -e "${green}Killing llkd, seen killing adb${nc}"
+adb shell setprop ctl.stop llkd-0
+adb shell setprop ctl.stop llkd-1
+
# Kill logd first, so that when we set the adb buffer size later in this file,
# it is brought up again.
echo -e "${green}Killing logd, seen leaking on fugu/N${nc}"